Skip to content

Commit a2dc89c

Browse files
committed
chore: project
1 parent 44dbef1 commit a2dc89c

File tree

4 files changed

+29
-18
lines changed

4 files changed

+29
-18
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: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@
1717
"build.angular": "lerna run build.angular",
1818
"build.angular.win": "lerna run build.angular.win",
1919
"build.win": "lerna run build.win",
20-
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metada 'packages/**/angular/ng-package.json'",
20+
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metada' 'packages/**/angular/ng-package.json'",
2121
"clean.win": "rimraf packages\\**\\*.d.ts packages\\**\\*.js packages\\**\\*.js.map packages\\**\\*.metadata.json packages\\**\\*.ngsummary.json node_modules package-lock.json",
2222
"commitmsg": "commitlint -e $GIT_PARAMS",
23-
"demo.ng.android": "cd ./demo-ng && ns run android --no-hmr",
23+
"demo.ng.android": "cd ./demo-ng && ns run android --no-hmr --env.watchNodeModules",
2424
"demo.ng.clean": "cd ./demo-ng && ns clean",
25-
"demo.ng.ios": "cd ./demo-ng && ns run ios --no-hmr",
26-
"demo.react.android": "cd ./demo-react && ns run android --no-hmr",
25+
"demo.ng.ios": "cd ./demo-ng && ns run ios --no-hmr --env.watchNodeModules",
26+
"demo.react.android": "cd ./demo-react && ns run android --no-hmr --env.watchNodeModules",
2727
"demo.react.clean": "cd ./demo-react && ns clean",
28-
"demo.react.ios": "cd ./demo-react && ns run ios --no-hmr",
29-
"demo.svelte.android": "cd ./demo-svelte && ns run android --no-hmr",
28+
"demo.react.ios": "cd ./demo-react && ns run ios --no-hmr --env.watchNodeModules",
29+
"demo.svelte.android": "cd ./demo-svelte && ns run android --no-hmr --env.watchNodeModules",
3030
"demo.svelte.clean": "cd ./demo-svelte && ns clean",
31-
"demo.svelte.ios": "cd ./demo-svelte && ns run ios --no-hmr",
32-
"demo.vue.android": "cd ./demo-vue && ns run android --no-hmr",
31+
"demo.svelte.ios": "cd ./demo-svelte && ns run ios --no-hmr --env.watchNodeModules",
32+
"demo.vue.android": "cd ./demo-vue && ns run android --no-hmr --env.watchNodeModules",
3333
"demo.vue.clean": "cd ./demo-vue && ns clean",
34-
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr",
34+
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr --env.watchNodeModules",
3535
"postinstall": "npm run setup",
36-
"publish": "npm run clean && npm run build.all && lerna publish --create-release=github --force-publish",
36+
"publish": "npm run clean && npm run build.all && npm run readme && lerna publish --no-private --create-release=github --force-publish",
3737
"readme": "node ./tools/readme.js",
3838
"setup": "npm run submodules && ts-patch install",
3939
"start": "./node_modules/.bin/ntl -A -s 15 -o",
@@ -42,7 +42,7 @@
4242
"sync.test": "node ./tools/sync.js",
4343
"tsc": "cpy '**/*.d.ts' '../plugin' --parents --cwd=src && tsc -skipLibCheck -d",
4444
"update": "node ./tools/update.js",
45-
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
45+
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'demo-*/hooks' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
4646
"doc": "node tools/builddoc.mjs && git add docs/* && git commit -m \"chore:doc\""
4747
},
4848
"commitlint": {
@@ -72,10 +72,15 @@
7272
},
7373
"engines": {
7474
"npm": "please use yarn or pnpm",
75-
"yarn": ">= 1.19.1",
76-
"pnpm": ">= 7.0.0"
75+
"yarn": ">=1.19.1",
76+
"pnpm": ">=7.0.0"
7777
},
7878
"workspaces": [
79-
"packages/*"
79+
"packages/*",
80+
"demo-vue",
81+
"demo-ng",
82+
"demo-svelte",
83+
"demo-react",
84+
"demo-snippets"
8085
]
8186
}

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-*

references.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios.d.ts" />
2-
/// <reference path="./node_modules/@nativescript/types-android/lib/android-28.d.ts" />
3-
/// <reference path="./node_modules/@nativescript/core/global-types.d.ts" />

0 commit comments

Comments
 (0)