Skip to content

Commit 1a385a5

Browse files
committed
chore: project
1 parent 54ef274 commit 1a385a5

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ yarn-error.log*
2121
.LSOverride
2222
.idea
2323
.cloud
24+
.gradle
2425
.project
26+
.yarn
2527
tmp/
2628
package-lock.json
29+
yarn.lock
2730

2831
!.eslintrc.js
2932
!.prettierrc.js
@@ -53,5 +56,4 @@ packages/angular
5356
packages/typings
5457
pnpm-lock.yaml
5558

56-
/blueprint.md
57-
.gradle
59+
/blueprint.md

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
shamefully-hoist=true
22
strict-peer-dependencies=false
33
loglevel=error
4-
engine-strict=true
4+
engine-strict=true

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"build.all": "lerna run build.all",
1818
"build.all.win": "lerna run build.all.win",
1919
"build.angular": "lerna run build.angular",
20-
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metadata.json' 'packages/**/*.ngsummary.json' 'packages/**/*.mjs' 'packages/**/*.mjs.map' 'packages/**/node_modules' 'packages/**/angular/package.json' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
20+
"clean": "rimraf 'packages/**/*.d.ts' 'packages/**/*.js' 'packages/**/*.js.map' 'packages/**/*.metadata.json' 'packages/**/*.ngsummary.json' 'packages/**/*.mjs' 'packages/**/*.mjs.map' 'packages/**/angular/package.json'",
21+
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
2122
"commitmsg": "commitlint -e $GIT_PARAMS",
2223
"demo.ng.android": "cd ./demo-ng && ns run android --no-hmr",
2324
"demo.ng.clean": "cd ./demo-ng && ns clean",
@@ -32,15 +33,16 @@
3233
"demo.vue.clean": "cd ./demo-vue && ns clean",
3334
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr",
3435
"postinstall": "npm run setup",
35-
"publish": "npm run setup && npm run build.all && lerna publish --create-release=github --force-publish",
36+
"publish": "npm run setup && npm run clean && npm run build.all && lerna publish --create-release=github --force-publish",
3637
"readme": "node ./tools/readme.js",
3738
"setup": "npm run submodules && ts-patch install",
3839
"start": "./node_modules/.bin/ntl -A -s 15 -o",
3940
"submodules": "git submodule update --init",
4041
"sync": "node ./tools/sync.js",
4142
"sync.test": "node ./tools/sync.js",
4243
"tsc": "cpy '**/*.d.ts' '../plugin' --parents --cwd=src && tsc -skipLibCheck -d",
43-
"update": "node ./tools/update.js"
44+
"update": "node ./tools/update.js",
45+
"doc": "node tools/builddoc.mjs && git add docs/* && git commit -m \"chore:doc\""
4446
},
4547
"keywords": [
4648
"NativeScript",
@@ -85,7 +87,7 @@
8587
}
8688
},
8789
"engines": {
88-
"npm": "please-use-yarn-or-pnpm",
90+
"npm": "please use yarn or pnpm",
8991
"yarn": ">= 1.19.1",
9092
"pnpm": ">= 7.0.0"
9193
}

0 commit comments

Comments
 (0)