Skip to content

Commit 2f6c8b9

Browse files
committed
release to marketplace
1 parent a6af8b8 commit 2f6c8b9

File tree

4 files changed

+288
-2
lines changed

4 files changed

+288
-2
lines changed

.changeset/sixty-bars-shout.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@learningmap/learningmap": minor
3+
"@learningmap/web-component": minor
4+
"learningmap-studio": minor
5+
---
6+
7+
Add new props and first release of vs code extension

.github/workflows/changeset-version.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,12 @@ jobs:
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
43+
- name: Publish VS Code extension
44+
if: steps.changesets.outputs.published == 'true'
45+
run: |
46+
pnpm --filter "learningmap-studio" vscode:publish
47+
pnpm --filter "learningmap-studio" ovsx:publish
48+
env:
49+
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}
50+
OVSX_PAT: ${{ secrets.OVSX_TOKEN }}

platforms/vscode/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,19 +298,22 @@
298298
"build": "node ../../scripts/build-vscode.mjs",
299299
"lint": "tsc --noEmit",
300300
"watch": "node ../../scripts/build-vscode.mjs --watch",
301-
"package": "vsce package"
301+
"package": "vsce package",
302+
"vscode:publish": "vsce publish --packagePath $(find . -iname *.vsix)",
303+
"ovsx:publish": "ovsx publish $(find . -iname *.vsix)"
302304
},
303305
"dependencies": {
304306
"@learningmap/learningmap": "workspace:*",
305307
"react": "^19.2.0",
306308
"react-dom": "^19.2.0"
307309
},
308310
"devDependencies": {
309-
"@types/vscode": "^1.80.0",
310311
"@types/node": "^24.7.2",
311312
"@types/react": "^19.2.2",
312313
"@types/react-dom": "^19.2.1",
314+
"@types/vscode": "^1.80.0",
313315
"@vscode/vsce": "^3.2.1",
316+
"ovsx": "^0.10.6",
314317
"typescript": "~5.9.3"
315318
},
316319
"vsce": {

0 commit comments

Comments
 (0)