Skip to content

Commit 26e372c

Browse files
committed
chore: project
1 parent bbb816a commit 26e372c

File tree

3 files changed

+28
-14
lines changed

3 files changed

+28
-14
lines changed

.npmrc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
shamefully-hoist=true
2+
public-hoist-pattern[]=*eslint*
3+
public-hoist-pattern[]=source-map-support
4+
public-hoist-pattern[]=ts-patch
5+
public-hoist-pattern[]=typescript
6+
public-hoist-pattern[]=cpy-cli
27
strict-peer-dependencies=false
8+
shell-emulator=true
9+
auto-install-peers=false
310
loglevel=error
4-
engine-strict=true

package.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@
1919
"build.all.win": "lerna run build.all.win",
2020
"build.angular": "lerna run build.angular",
2121
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metada 'packages/**/angular/ng-package.json'",
22-
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
22+
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'demo-*/hooks' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
2323
"commitmsg": "commitlint -e $GIT_PARAMS",
24-
"demo.ng.android": "cd ./demo-ng && ns run android --no-hmr",
24+
"demo.ng.android": "cd ./demo-ng && ns run android --no-hmr --env.watchNodeModules",
2525
"demo.ng.clean": "cd ./demo-ng && ns clean",
26-
"demo.ng.ios": "cd ./demo-ng && ns run ios --no-hmr",
27-
"demo.react.android": "cd ./demo-react && ns run android --no-hmr",
26+
"demo.ng.ios": "cd ./demo-ng && ns run ios --no-hmr --env.watchNodeModules",
27+
"demo.react.android": "cd ./demo-react && ns run android --no-hmr --env.watchNodeModules",
2828
"demo.react.clean": "cd ./demo-react && ns clean",
29-
"demo.react.ios": "cd ./demo-react && ns run ios --no-hmr",
30-
"demo.svelte.android": "cd ./demo-svelte && ns run android --no-hmr",
29+
"demo.react.ios": "cd ./demo-react && ns run ios --no-hmr --env.watchNodeModules",
30+
"demo.svelte.android": "cd ./demo-svelte && ns run android --no-hmr --env.watchNodeModules",
3131
"demo.svelte.clean": "cd ./demo-svelte && ns clean",
32-
"demo.svelte.ios": "cd ./demo-svelte && ns run ios --no-hmr",
33-
"demo.vue.android": "cd ./demo-vue && ns run android --no-hmr",
32+
"demo.svelte.ios": "cd ./demo-svelte && ns run ios --no-hmr --env.watchNodeModules",
33+
"demo.vue.android": "cd ./demo-vue && ns run android --no-hmr --env.watchNodeModules",
3434
"demo.vue.clean": "cd ./demo-vue && ns clean",
35-
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr",
35+
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr --env.watchNodeModules",
3636
"postinstall": "npm run setup",
37-
"publish": "npm run clean && npm run build.all && lerna publish --create-release=github --force-publish",
37+
"publish": "npm run clean && npm run build.all && npm run readme && lerna publish --create-release=github --force-publish",
3838
"readme": "node ./tools/readme.js",
3939
"setup": "npm run submodules && ts-patch install",
4040
"start": "./node_modules/.bin/ntl -A -s 15 -o",
@@ -83,11 +83,16 @@
8383
}
8484
},
8585
"workspaces": [
86-
"packages/*"
86+
"packages/*",
87+
"demo-vue",
88+
"demo-ng",
89+
"demo-svelte",
90+
"demo-react",
91+
"demo-snippets"
8792
],
8893
"engines": {
8994
"npm": "please use yarn or pnpm",
90-
"yarn": ">= 1.19.1",
91-
"pnpm": ">= 7.0.0"
95+
"yarn": ">=1.19.1",
96+
"pnpm": ">=7.0.0"
9297
}
9398
}

pnpm-workspace.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
packages:
2+
- packages/*
3+
- demo-*

0 commit comments

Comments
 (0)