mirror of
https://github.com/Silverquark/dance.git
synced 2024-09-11 10:45:43 +03:00
package.json: fix pre-release script
This commit is contained in:
parent
ec6cc87826
commit
7d73bfc024
@ -119,7 +119,7 @@ export const pkg = (modules: Builder.ParsedModule[]) => ({
|
|||||||
"test": "yarn run compile && node ./out/test/run.js",
|
"test": "yarn run compile && node ./out/test/run.js",
|
||||||
"package": "vsce package --allow-star-activation",
|
"package": "vsce package --allow-star-activation",
|
||||||
"publish": "vsce publish --allow-star-activation",
|
"publish": "vsce publish --allow-star-activation",
|
||||||
"publish:pre": `vsce publish --allow-star-activation --pre-release --no-git-tag-version --no-update-package-json --version ${version.replace(/\d+$/, "$&" + preRelease.toString().padStart(3, "0"))}`,
|
"publish:pre": `vsce publish --allow-star-activation --pre-release --no-git-tag-version --no-update-package-json ${version.replace(/\d+$/, "$&" + preRelease.toString().padStart(3, "0"))}`,
|
||||||
},
|
},
|
||||||
|
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
|
2
package.json
generated
2
package.json
generated
@ -29,7 +29,7 @@
|
|||||||
"test": "yarn run compile && node ./out/test/run.js",
|
"test": "yarn run compile && node ./out/test/run.js",
|
||||||
"package": "vsce package --allow-star-activation",
|
"package": "vsce package --allow-star-activation",
|
||||||
"publish": "vsce publish --allow-star-activation",
|
"publish": "vsce publish --allow-star-activation",
|
||||||
"publish:pre": "vsce publish --allow-star-activation --pre-release --no-git-tag-version --no-update-package-json --version 0.5.12001"
|
"publish:pre": "vsce publish --allow-star-activation --pre-release --no-git-tag-version --no-update-package-json 0.5.12001"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/glob": "^7.2.0",
|
"@types/glob": "^7.2.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user