Skip to content

Commit 365d86b

Browse files
authored
Merge pull request #40 from KubrickCode/develop/shlee/39
Refactor extension packaging workflow to use root directory
2 parents a7e135e + eea6b18 commit 365d86b

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ web_modules/
6262
# Output of 'npm pack'
6363
*.tgz
6464

65+
# VS Code extension packages
66+
*.vsix
67+
6568
# Yarn Integrity file
6669
.yarn-integrity
6770

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Quick Command Buttons",
44
"icon": "public/logo.png",
55
"description": "Add customizable buttons to quickly execute commands in VS Code",
6-
"version": "0.2.3",
6+
"version": "0.2.5",
77
"publisher": "KubrickCode",
88
"license": "MIT",
99
"repository": {
@@ -263,8 +263,8 @@
263263
}
264264
},
265265
"scripts": {
266-
"package": "vsce package --out versions/",
267-
"install-package": "code --install-extension versions/quick-command-buttons-$npm_package_version.vsix",
266+
"package": "vsce package && find . -maxdepth 1 -name '*.vsix' ! -name '*'$npm_package_version'.vsix' -delete",
267+
"install-package": "code --install-extension quick-command-buttons-$npm_package_version.vsix",
268268
"vsce-publish": "vsce publish",
269269
"ovsx-publish": "ovsx publish"
270270
},
-452 KB
Binary file not shown.
-38.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)