Skip to content

Commit b41e3c2

Browse files
committed
chore: porject update
1 parent f0a4b88 commit b41e3c2

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ build
4343
Pods
4444
!packages/platforms
4545
/packages/**/*.aar
46+
/demo-snippets/**/*.aar
4647
*.xcuserdatad
4748
/packages/README.md
4849
packages/**/*js.map

lerna.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"commitHooks": false,
1717
"private": false,
1818
"ignoreChanges": [
19-
"*.md"
19+
"*.md",
20+
"docs/**"
2021
]
2122
},
2223
"version": {
@@ -29,7 +30,8 @@
2930
"commitHooks": false,
3031
"private": false,
3132
"ignoreChanges": [
32-
"*.md"
33+
"*.md",
34+
"docs/**"
3335
]
3436
},
3537
"bootstrap": {

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"demo.vue.ios": "cd ./demo-vue && ns run ios --no-hmr --env.watchNodeModules",
3434
"postinstall": "npm run setup",
3535
"prepare": "npm run setup",
36-
"publish": "npm run clean && npm run build.all && npm run readme && npm run doc && lerna publish",
36+
"publish": "npm run clean ; npm run build.all ; npm run readme ; npm run doc ; npm run commit_readme_doc_changes ; lerna publish",
3737
"readme": "lerna run readme && node ./tools/readme.js",
3838
"setup": "npm run submodules && ts-patch install",
3939
"start": "./node_modules/.bin/ntl -A -s 15 -o",
@@ -44,7 +44,8 @@
4444
"update": "node ./tools/update.js",
4545
"watch": "npm run tsc -- -w",
4646
"doc": "node tools/builddoc.mjs",
47-
"pnpm.setup": "npm run setup && pnpm --filter @nativescript/template-* install"
47+
"pnpm.setup": "npm run setup && pnpm --filter @nativescript/template-* install",
48+
"commit_readme_doc_changes": "git add docs *.md ; git commit -m \"readme/doc\""
4849
},
4950
"commitlint": {
5051
"extends": [

0 commit comments

Comments
 (0)