File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 142142 }
143143 },
144144 "scripts" : {
145- "vscode:prepublish" : " pnpm run compile" ,
146145 "compile" : " tsc -p ./" ,
147146 "watch" : " tsc -watch -p ./" ,
148147 "pretest" : " pnpm run compile && pnpm run lint" ,
149148 "lint" : " eslint src" ,
150149 "test" : " vscode-test" ,
151- "package" : " vsce package" ,
152- "publish:ovsx" : " ovsx publish wtf-commit-${npm_package_version}.vsix" ,
150+ "package" : " pnpm run compile && vsce package" ,
151+ "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' " ,
153152 "release" : " pnpm run package && pnpm run publish:ovsx"
154153 },
155154 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments