From 8a5af22171830e51b0e69b4d121cd675edbcc500 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 18 May 2026 15:28:41 -0700 Subject: [PATCH 1/2] Ensure README.md renders for Open VSX --- .github/workflows/publish.yml | 3 +++ README.vsce.md => README.package.md | 0 src/package-vsix.ts | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) rename README.vsce.md => README.package.md (100%) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac89c30..8e7b1fe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,6 +28,9 @@ jobs: - name: Rename package for extension publishing run: jq '.name = "pierre-theme"' package.json > tmp.json && mv tmp.json package.json + - name: Swap in VSCE README + run: cp README.package.md README.md + - name: Publish to VS Marketplace env: VSCE_PAT: ${{ secrets.VSCE_PAT }} diff --git a/README.vsce.md b/README.package.md similarity index 100% rename from README.vsce.md rename to README.package.md diff --git a/src/package-vsix.ts b/src/package-vsix.ts index 913b629..8c25dcc 100644 --- a/src/package-vsix.ts +++ b/src/package-vsix.ts @@ -5,7 +5,7 @@ import { join } from "path"; const root = join(__dirname, ".."); const pkgPath = join(root, "package.json"); const readmePath = join(root, "README.md"); -const vsceReadmePath = join(root, "README.vsce.md"); +const vsceReadmePath = join(root, "README.package.md"); const readmeBackupPath = join(root, "README.md.bak"); const original = readFileSync(pkgPath, "utf-8"); @@ -22,7 +22,7 @@ const hadReadme = existsSync(readmePath); try { writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + "\n"); - // Swap in the VSCE-specific README + // Swap in the package README if (hadReadme) renameSync(readmePath, readmeBackupPath); renameSync(vsceReadmePath, readmePath); From 6247fff916502d2a7f3fbe7097919ab7688df71d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 18 May 2026 15:29:14 -0700 Subject: [PATCH 2/2] bump properly --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e5fd1a0..be0fd80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@pierre/theme", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pierre/theme", - "version": "1.0.0", + "version": "1.0.2", "license": "MIT", "devDependencies": { "@vscode/vsce": "^3.2.2", diff --git a/package.json b/package.json index 8b57e2a..d044a7b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@pierre/theme", "displayName": "Pierre Theme", "description": "Pierre theme for Shiki, VS Code, and more", - "version": "1.0.0", + "version": "1.0.2", "publisher": "pierrecomputer", "icon": "icon.png", "galleryBanner": {