-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: vscode extension name cannot be scoped (#823)
* fix: vscode extension name cannot be scoped microsoft/vscode-vsce#186 also: fixed package script to fail on error
- Loading branch information
Roy Razon
authored
Mar 15, 2020
1 parent
2dcdebd
commit 17d9764
Showing
3 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#!/bin/bash | ||
set -xeuo pipefail | ||
|
||
mkdir -p ./tmp_pkg && vsce package --yarn -o ./tmp_pkg/salto.vsix | ||
cd ./tmp_pkg && unzip salto.vsix | ||
cp -r ../node_modules/* extension/node_modules/ | ||
zip -ur salto.vsix extension | ||
cd ./tmp_pkg && unzip salto.vsix | ||
cp -r ../node_modules/* extension/node_modules/ | ||
zip -ur salto.vsix extension | ||
cd .. | ||
mkdir -p ./pkg | ||
cp ./tmp_pkg/salto.vsix ./pkg/salto.vsix | ||
rm -rf ./tmp_pkg | ||
mkdir -p ./pkg | ||
cp ./tmp_pkg/salto.vsix ./pkg/salto.vsix | ||
rm -rf ./tmp_pkg |