Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/vscode-ext-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,21 @@ jobs:
node-version: 24
- name: Install dependencies
run: |
npm install -g yarn
npm install -g vsce
npm install -g ovsx
yarn install
corepack enable
npm install -g @vscode/vsce ovsx
yarn install --immutable
working-directory: vscode-extension
# vsce/ovsx --yarn run `yarn list`, which Yarn 4 doesn't have, so we
# package with --no-yarn (npm list over the node_modules tree that Yarn
# created with nodeLinker: node-modules) and publish the built .vsix.
- name: publish-vs
run: |
vsce publish -p ${{ secrets.VS_MARKETPLACE_TOKEN }} --yarn --skip-duplicate
vsce package --no-yarn -o devbox-vs.vsix
vsce publish -p ${{ secrets.VS_MARKETPLACE_TOKEN }} --packagePath devbox-vs.vsix --skip-duplicate
working-directory: vscode-extension
- name: publish-ovsx
run: |
sed -i 's/"publisher": "jetpack-io"/"publisher": "Jetify"/g' package.json
ovsx publish --pat ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --yarn --skip-duplicate
vsce package --no-yarn -o devbox-ovsx.vsix
ovsx publish devbox-ovsx.vsix --pat ${{ secrets.OVSX_MARKETPLACE_TOKEN }} --skip-duplicate
working-directory: vscode-extension
7 changes: 6 additions & 1 deletion vscode-extension/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
node_modules
out
.vscode
.DS_Store
.DS_Store
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
*.vsix
3 changes: 2 additions & 1 deletion vscode-extension/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
.vscode-test/**
src/**
.gitignore
.yarnrc
.yarnrc.yml
.yarn/**
vsc-extension-quickstart.md
**/tsconfig.json
**/eslint.config.mjs
Expand Down
1 change: 0 additions & 1 deletion vscode-extension/.yarnrc

This file was deleted.

8 changes: 8 additions & 0 deletions vscode-extension/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
approvedGitRepositories:
- "**"

enableScripts: true

nodeLinker: node-modules

npmMinimalAgeGate: 0
3 changes: 2 additions & 1 deletion vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,6 @@
},
"dependencies": {
"which": "^7.0.0"
}
},
"packageManager": "yarn@4.18.1+sha512.b2e1e7524f654f2749d32b4ebcb4622473cb5bcbc485df2007e12a154e50162a4d795526768bc5f5b8f81717bfd79deb2472813d86fb5ae2eb551fa9c872b08f"
}
Loading
Loading