Skip to content

Commit

Permalink
Merge pull request #69 from kieler/jep/fixBuild
Browse files Browse the repository at this point in the history
updated node and vsce version to fix "yarn package"
  • Loading branch information
Drakae authored Jan 14, 2025
2 parents 112b626 + 505a825 commit 1d39b64
Show file tree
Hide file tree
Showing 7 changed files with 623 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 23.x
- run: yarn
- run: yarn lint
- run: yarn build
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: package
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
package:
Expand All @@ -16,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 23.x
registry-url: 'https://registry.npmjs.org'
scope: '@kieler'
- run: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16.x"
node-version: "23.x"
registry-url: 'https://registry.npmjs.org'
scope: '@kieler'
- run: yarn
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16.x"
node-version: "23.x"
- run: yarn
- run: yarn package

Expand Down
4 changes: 0 additions & 4 deletions extension/.vscodeignore

This file was deleted.

7 changes: 0 additions & 7 deletions extension/build-util/prepare-extension-config.js

This file was deleted.

12 changes: 6 additions & 6 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -535,14 +535,14 @@
"onCommand:pasta.getLTLFormula"
],
"files": [
"extension",
"src",
"src-context-table",
"src-diagram-snippets",
"src-language-server",
"syntaxes",
"src-webview",
"pack"
"pack",
"icon.png"
],
"main": "./pack/src/extension.cjs",
"dependencies": {
Expand All @@ -554,12 +554,12 @@
"reflect-metadata": "^0.2.2",
"feather-icons": "^4.28.0",
"sprotty-vscode-webview": "^1.0.0",
"@kieler/table-webview": "^0.0.7",
"@kieler/table-webview": "^0.0.8",
"snabbdom": "^3.5.1",
"dayjs": "^1.11.8"
},
"devDependencies": {
"@types/node": "^14.17.3",
"@types/node": "^22.10.6",
"@types/vscode": "^1.50.0",
"@types/feather-icons": "^4.7.0",
"rimraf": "^3.0.2",
Expand All @@ -573,7 +573,7 @@
"file-loader": "^6.2.0",
"langium-cli": "^3.0.3",
"style-loader": "^3.3.3",
"vsce": "^2.15.0",
"@vscode/vsce": "^3.0.0",
"ovsx": "^0.6.0",
"esbuild": "^0.21.2"
},
Expand All @@ -586,7 +586,7 @@
"lint": "eslint .",
"build": "yarn run langium:generate && tsc -b src src-diagram-snippets src-language-server src-webview src-context-table && node esbuild.mjs",
"watch": "webpack --watch",
"package": "node build-util/prepare-extension-config.js && vsce package --yarn -o pasta.vsix",
"package": "vsce package --yarn -o pasta.vsix",
"predistribute": "yarn run package",
"distribute": "yarn run distribute:vsce && yarn run distribute:ovsx",
"distribute:vsce": "vsce publish --yarn --packagePath pasta.vsix",
Expand Down
Loading

0 comments on commit 1d39b64

Please sign in to comment.