We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1a2b0e commit 7fd95afCopy full SHA for 7fd95af
1 file changed
package.json
@@ -142,14 +142,13 @@
142
}
143
},
144
"scripts": {
145
- "vscode:prepublish": "pnpm run compile",
146
"compile": "tsc -p ./",
147
"watch": "tsc -watch -p ./",
148
"pretest": "pnpm run compile && pnpm run lint",
149
"lint": "eslint src",
150
"test": "vscode-test",
151
- "package": "vsce package",
152
- "publish:ovsx": "ovsx publish wtf-commit-${npm_package_version}.vsix",
+ "package": "pnpm run compile && vsce package",
+ "publish:ovsx": "sh -c 'if [ -n \"$OVSX_PAT\" ]; then ovsx publish \"wtf-commit-${npm_package_version}.vsix\" --pat \"$OVSX_PAT\"; else ovsx publish \"wtf-commit-${npm_package_version}.vsix\"; fi'",
153
"release": "pnpm run package && pnpm run publish:ovsx"
154
155
"devDependencies": {
0 commit comments