Skip to content

Commit 59ff6b1

Browse files
committed
add build:prep for license and npmignore
1 parent 2bb8c04 commit 59ff6b1

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.npmignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.DS_Store
22
.yarn
3-
**/tsconfig.*
4-
**/tsup.*
53
src
6-
**/node_modules
7-
**/package.json.backup
4+
tsconfig.*
5+
tsup.*
6+
node_modules
7+
package.json.backup

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
},
1212
"type": "module",
1313
"scripts": {
14-
"build": "run-s clean build:each",
14+
"build": "run-s clean build:prep build:each",
1515
"build:ide": "echo 'tsc -b' && tsc -b",
16+
"build:prep": "lerna exec --stream -- cp ../../.npmignore . && lerna exec --stream -- cp ../../LICENSE .",
1617
"build:each": "lerna exec --stream -- yarn build",
1718
"clean": "tsx ./scripts/clean.ts",
1819
"clean:yarn": "tsx ./scripts/clean-yarn.ts",

0 commit comments

Comments
 (0)