Skip to content

Commit

Permalink
Improve dependency management of VS Code extension
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1412
  • Loading branch information
treiher committed Nov 3, 2023
1 parent 3841cc7 commit ef99030
Show file tree
Hide file tree
Showing 4 changed files with 3,951 additions and 3 deletions.
1 change: 0 additions & 1 deletion ide/vscode/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
.vscode-test/
node_modules/
out/
package-lock.json
2 changes: 1 addition & 1 deletion ide/vscode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dist: $(VSIX)

$(VSIX): export PATH := $(dir $(abspath Makefile))/node_modules/.bin:$(PATH)
$(VSIX): node_modules out/extension.js
npm install @vscode/vsce && sed -i "s/\"version\": \".*\"/\"version\": \"$(shell python -m setuptools_scm | sed 's/\.dev/-dev/')\"/" package.json && vsce package -o recordflux.vsix && sed -i "s/\"version\": \".*\"/\"version\": \"0.0.0\"/" package.json
sed -i "s/\"version\": \".*\"/\"version\": \"$(shell python -m setuptools_scm | sed 's/\.dev/-dev/')\"/" package.json && vsce package -o recordflux.vsix && sed -i "s/\"version\": \".*\"/\"version\": \"0.0.0\"/" package.json

.PHONY: install

Expand Down
Loading

0 comments on commit ef99030

Please sign in to comment.