diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c11568..92651d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,13 +70,20 @@ jobs: - name: Package run: npx --yes @vscode/vsce package + - name: Package Marketplace build (name quantum-fluidity) + run: | + mkdir -p marketplace + node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));p.name='quantum-fluidity';fs.writeFileSync('package.json',JSON.stringify(p,null,2)+'\n')" + npx --yes @vscode/vsce package -o "marketplace/quantum-fluidity-$VERSION.vsix" + git checkout -- package.json + - name: Check what is already published id: published run: | OVSX=$(curl -sf "https://open-vsx.org/api/I4cTime/quantum-fluidity-theme/$VERSION" >/dev/null && echo true || echo false) VSM=$(curl -sf -X POST "https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery" \ -H "Content-Type: application/json" -H "Accept: application/json;api-version=3.0-preview.1" \ - -d '{"filters":[{"criteria":[{"filterType":7,"value":"I4cTime.quantum-fluidity-theme"}]}],"flags":1}' \ + -d '{"filters":[{"criteria":[{"filterType":7,"value":"I4cTime.quantum-fluidity"}]}],"flags":1}' \ | grep -q "\"version\":\"$VERSION\"" && echo true || echo false) echo "openvsx=$OVSX" >> "$GITHUB_OUTPUT" echo "marketplace=$VSM" >> "$GITHUB_OUTPUT" @@ -89,7 +96,7 @@ jobs: - name: Publish to VS Code Marketplace if: steps.published.outputs.marketplace != 'true' && env.VSCE_PAT != '' - run: npx --yes @vscode/vsce publish --packagePath ./*.vsix + run: npx --yes @vscode/vsce publish --packagePath ./marketplace/*.vsix env: VSCE_PAT: ${{ secrets.VSCE_PAT }} diff --git a/CHANGELOG.md b/CHANGELOG.md index bf95366..35bb50c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to **Quantum Fluidity** are documented here. - **More semantic tokens.** Keywords, operators, strings, numbers, regexps and comments at the semantic layer, plus Pylance (`selfParameter`, `builtinConstant`, `magicFunction`) and rust-analyzer (`lifetime`, `selfKeyword`, `builtinAttribute`, `derive`) token types. - **More TextMate scopes.** YAML, TOML and INI keys in cyan; decorators and annotations; Rust lifetimes and macros; docstrings read as comments; template-literal expressions no longer inherit string pink; markdown strikethrough, fenced-code content, list bullets and rules; diff headers; log-output levels. - **Real previews of all four variants** in the README, plus a hero card. +- **VS Code Marketplace listing** under the `I4cTime` publisher as `I4cTime.quantum-fluidity` (the `-theme` name is permanently reserved there by the retired `i4cdeath` listing). Open VSX stays `I4cTime.quantum-fluidity-theme`. ### Changed - `package.json` now carries homepage, bugs, Q&A, sponsor, pricing and a CI badge; the project is MIT again: `LICENSE` had been switched to AGPL-3.0-only in 2.0.0's prep while `package.json` still said MIT; both now say MIT. diff --git a/README.md b/README.md index 5f41018..738bc9b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

CI Open VSX version - VS Marketplace version + VS Marketplace version License: MIT

@@ -66,6 +66,8 @@ Each role keeps its meaning across all four variants: 2. Search for `Quantum Fluidity` and click **Install**. 3. `Ctrl+K Ctrl+T` (or Command Palette, `Preferences: Color Theme`) and pick your variant. +From the command line: `code --install-extension I4cTime.quantum-fluidity`. The Marketplace ID is `I4cTime.quantum-fluidity` (the `-theme` name is permanently reserved there by an old listing); Open VSX uses `I4cTime.quantum-fluidity-theme`. Same extension, same contents. + ### Cursor Cursor reads the same extension format. Search `Quantum Fluidity` in Cursor's Extensions panel (served from Open VSX), or install the `.vsix` manually (below).