Skip to content

Commit 104e94e

Browse files
committed
chore: project
1 parent b38b205 commit 104e94e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"version": "1.0.0",
44
"scripts": {
55
"setup": "ts-patch install",
6+
"prepare": "npm run setup",
67
"clean": "rimraf ./plugin/**/*.d.ts ./plugin/**/*.js ./plugin/**/*.js.map plugin/node_modules plugin/package-lock.json plugin/README.md demo/node_modules demo-angular/node_modules",
78
"tsc": "cpy '**/*.d.ts' '../plugin' --parents --cwd=src && tsc -skipLibCheck -d",
89
"build": "cp README.md ./plugin && rm -f .tsbuildinfo && npm run tsc ",
9-
"publish": "npm run setup && npm run build && lerna publish --create-release=github",
10+
"publish": "npm run setup && npm run build && lerna publish --create-release=github --force-publish",
1011
"doc": "typedoc --out docs --tsconfig tsconfig.doc.json --includeDeclarations --excludeExternals --mode file --ignoreCompilerErrors --excludeNotExported --excludePrivate --theme minimal",
1112
"commitmsg": "commitlint -e $GIT_PARAMS"
1213
},

plugin/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
2+
pnpm-global/
23
src/
34
bin/
45
hooks/

0 commit comments

Comments
 (0)