Skip to content

Commit

Permalink
improved publishing scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoferretti committed Nov 19, 2020
1 parent 76a9a4a commit da69cc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"watch:core": "yarn workspace foam-core start",
"test:core": "yarn workspace foam-core test",
"vscode:package-extension": "yarn workspace foam-vscode package-extension",
"vscode:install-extension": "code --install-extension ./packages/foam-vscode/foam-vscode-$npm_package_version.vsix",
"vscode:publish-extension": "npx vsce publish --packagePath ./packages/foam-vscode/foam-vscode-$npm_package_version.vsix",
"vscode:install-extension": "yarn workspace foam-vscode install-extension",
"vscode:publish-extension": "yarn workspace foam-vscode publish-extension",
"clean": "lerna run clean",
"build": "lerna run build",
"test": "lerna run test",
Expand Down
3 changes: 2 additions & 1 deletion packages/foam-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@
"npm-install": "rimraf node_modules && npm i",
"npm-cleanup": "rimraf package-lock.json node_modules && yarn",
"package-extension": "npx vsce package && yarn npm-cleanup",
"publish-extension": "npx vsce publish && yarn npm-cleanup"
"install-extension": "code --install-extension ./foam-vscode-$npm_package_version.vsix",
"publish-extension": "npx vsce publish --packagePath foam-vscode-$npm_package_version.vsix && yarn npm-cleanup"
},
"devDependencies": {
"@babel/core": "^7.11.0",
Expand Down

0 comments on commit da69cc0

Please sign in to comment.