Skip to content

Commit 660abf7

Browse files
committed
chore: project
1 parent 3d80ee1 commit 660abf7

File tree

5 files changed

+33
-10
lines changed

5 files changed

+33
-10
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

demo-vue

lerna.json

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"version": "4.1.0",
23
"packages": [
34
"packages/*"
45
],
@@ -7,16 +8,36 @@
78
"command": {
89
"publish": {
910
"conventionalCommits": true,
11+
"conventionalBlacklist": [
12+
"chore"
13+
],
14+
"changelogPreset": "angular",
15+
"createRelease": "github",
16+
"commitHooks": false,
17+
"private": false,
1018
"ignoreChanges": [
11-
"ignored-file",
12-
"*.md"
19+
"*.md",
20+
"docs/**"
21+
]
22+
},
23+
"version": {
24+
"conventionalCommits": true,
25+
"conventionalBlacklist": [
26+
"chore"
27+
],
28+
"changelogPreset": "angular",
29+
"createRelease": "github",
30+
"commitHooks": false,
31+
"private": false,
32+
"ignoreChanges": [
33+
"*.md",
34+
"docs/**"
1335
]
1436
},
1537
"bootstrap": {
1638
"npmClientArgs": [
1739
"--no-package-lock"
1840
]
1941
}
20-
},
21-
"version": "4.1.0"
42+
}
2243
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"plugin.watch.android": "npm i && npm-watch build.android",
1717
"plugin.watch.ios": "npm i && npm-watch build.ios",
1818
"plugin.watch": "npm run plugin.watch.tsc & npm run plugin.watch.android & npm run plugin.watch.ios",
19-
"publish": "npm run clean && npm run build.all && npm run readme && npm run doc && lerna publish --no-private --create-release=github --force-publish",
19+
"publish": "npm run clean ; npm run build.all ; npm run readme ; npm run doc ; npm run commit_readme_doc_changes ; lerna publish",
2020
"publish.major": "npm run build && lerna publish major --create-release=github --force-publish",
2121
"sync": "node ./tools/sync.js",
2222
"commitmsg": "commitlint -e $GIT_PARAMS",
23-
"build.all": "npm run build",
23+
"build.all": "lerna run build.all",
2424
"fullclean": "npm run clean && rimraf 'packages/**/node_modules' 'demo-*/hooks' 'demo-*/node_modules' 'package-lock.json' 'pnpm-lock.yaml' 'node_modules'",
2525
"demo.vue.android": "cd ./demo-vue && ns run android --no-hmr --env.watchNodeModules",
2626
"demo.vue.clean": "cd ./demo-vue && ns clean",
@@ -31,7 +31,8 @@
3131
"setup": "npm run submodules && ts-patch install",
3232
"start": "./node_modules/.bin/ntl -A -s 15 -o",
3333
"submodules": "git submodule update --init",
34-
"update": "node ./tools/update.js"
34+
"update": "node ./tools/update.js",
35+
"commit_readme_doc_changes": "git add docs *.md ; git commit -m \"readme/doc\""
3536
},
3637
"keywords": [
3738
"secure",
@@ -88,8 +89,8 @@
8889
"ntl": {
8990
"descriptions": {
9091
"build": "Build the plugin",
91-
"build.all": "Build the plugin for all platforms",
9292
"build.angular": "Build the plugin for Angular",
93+
"build.all": "Build the plugin for all platforms",
9394
"clean": "Clean the local environment.",
9495
"demo.vue.android": "Runs the Vue demo on Android.",
9596
"demo.vue.ios": "Runs the Vue demo on iOS.",

0 commit comments

Comments
 (0)