Skip to content

Commit

Permalink
Merge pull request #49 from alovajs/fix/publish-ovsx
Browse files Browse the repository at this point in the history
fix(extension): add pubilishing to ovsx
  • Loading branch information
JOU-amjs authored Nov 26, 2024
2 parents 5fd6b14 + 9a68bb5 commit 4cfc531
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_ALOVA_PUBLISH_TOKEN }}
# publish vscode extension to marketplace
VSCE_PAT: ${{ secrets.VSCODE_EXTENSION_TOKEN }}
# publish vscode extension to open-vsc
OVSX_PAT: ${{ secrets.OVSX_TOKEN }}
3 changes: 2 additions & 1 deletion packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"pack:pre": "vsce package --no-dependencies --pre-release",
"release:pre": "vsce publish --no-dependencies --pre-release",
"pack": "vsce package --no-dependencies",
"release": "vsce publish --no-dependencies"
"release": "vsce publish --no-dependencies && ovsx publish --no-dependencies"
},
"publisher": "Alova",
"license": "MIT",
Expand All @@ -72,6 +72,7 @@
"@vscode/vsce": "^2.29.0",
"esbuild": "^0.24.0",
"esbuild-plugin-alias": "^0.2.1",
"ovsx": "^0.10.1",
"sinon": "^19.0.2"
},
"dependencies": {
Expand Down
127 changes: 127 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4cfc531

Please sign in to comment.