Skip to content

Commit

Permalink
Fixing the node.js dependencies, so the VSCode plugin can be built ag…
Browse files Browse the repository at this point in the history
…ain (#5738)

Fixing node.js dependencies as:
```bash
enso/tools/enso4igv$ mvn clean install -Pvsix
```
was broken. Making sure the VSIX build is part of the _actions workflow_.

# Important Notes
To reproduce/verify remove `enso/tools/enso4igv/node_modules` first and try to build.
  • Loading branch information
JaroslavTulach authored Feb 28, 2023
1 parent a150abb commit 0778c85
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/enso4igv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ jobs:
with:
name: Enso IGV Plugin
path: tools/enso4igv/target/*.nbm

- name: Install Node.js modules
run: mvn -B -Pvsix npm:install --file tools/enso4igv/pom.xml

- name: Build VSCode Extension
run: mvn -B -Pvsix npm:run@vsix --file tools/enso4igv/pom.xml
20 changes: 10 additions & 10 deletions tools/enso4igv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@
"lint": "tslint -p ./"
},
"dependencies": {
"copy-webpack-plugin": "^10.2.4",
"decompress": "4.2.1",
"maven": "^5.0.0"
"copy-webpack-plugin": "=10.2.4",
"decompress": "=4.2.1",
"maven": "=5.0.0"
},
"devDependencies": {
"@types/vscode": "=1.49.0",
"@types/xml2js": "^0.4.8",
"ts-loader": "^6.2.1",
"tslint": "^6.1.0",
"typescript": "^3.9.10",
"vsce": "^2.6.4",
"webpack": "^5.40.0",
"webpack-cli": "^4.7.2"
"@types/xml2js": "=0.4.11",
"ts-loader": "=9.4.2",
"tslint": "=6.1.3",
"typescript": "=4.9.5",
"vsce": "=2.15.0",
"webpack": "=5.75.0",
"webpack-cli": "=5.0.1"
},
"extensionDependencies": [
"asf.apache-netbeans-java"
Expand Down

0 comments on commit 0778c85

Please sign in to comment.