Skip to content

Commit 4b25e89

Browse files
mayurpiseclaude
andcommitted
docs(web): remove homepage version pill; drop web from version-sync
The homepage no longer carries any version label, so: - remove the hero release-pill (v3.2.1 + engine-only blurb) from index.html - sync-version.sh + test-version-sync.sh no longer touch/assert web/index.html - package.json version hook drops web/index.html from its git add - CLAUDE.md release-process note updated (three files synced, not four) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 46fb829 commit 4b25e89

5 files changed

Lines changed: 2 additions & 12 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ git push --follow-tags origin main
138138
npm publish
139139
```
140140

141-
The npm `version` lifecycle hook runs `scripts/sync-version.sh`, which propagates the new version into `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.json`, and the `web/index.html` release labels, then `git add`s them — so all four land in the bump commit atomically. Release *copy* (headlines, dates, changelog prose) stays hand-written. `tests/test-version-sync.sh` (in `make test`) fails CI if any consumer drifts from `package.json`; run `bash scripts/sync-version.sh` to fix.
141+
The npm `version` lifecycle hook runs `scripts/sync-version.sh`, which propagates the new version into `.claude-plugin/plugin.json` and `.claude-plugin/marketplace.json`, then `git add`s them — so all three land in the bump commit atomically (the website no longer carries a version label). Release *copy* (headlines, dates, changelog prose) stays hand-written. `tests/test-version-sync.sh` (in `make test`) fails CI if any consumer drifts from `package.json`; run `bash scripts/sync-version.sh` to fix.
142142

143143
## End-User Context
144144

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
],
2525
"scripts": {
2626
"test": "bash tests/test-cli.sh",
27-
"version": "bash scripts/sync-version.sh && git add .claude-plugin/plugin.json .claude-plugin/marketplace.json web/index.html",
27+
"version": "bash scripts/sync-version.sh && git add .claude-plugin/plugin.json .claude-plugin/marketplace.json",
2828
"prepublishOnly": "bash scripts/build-integrations.sh"
2929
},
3030
"repository": {

scripts/sync-version.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,4 @@ sed_i() { sed -i.bak -E "$1" "$2" && rm -f "$2.bak"; }
2727
sed_i "s/(\"version\":[[:space:]]*\")[0-9][^\"]*(\")/\1${VERSION}\2/" .claude-plugin/plugin.json
2828
sed_i "s/(\"version\":[[:space:]]*\")[0-9][^\"]*(\")/\1${VERSION}\2/" .claude-plugin/marketplace.json
2929

30-
# Website: release pill tag (number only).
31-
sed_i "s|(release-pill-tag\">v)[0-9][0-9.]*|\1${VERSION}|" web/index.html
32-
3330
echo "sync-version: all version-bearing files set to ${VERSION}"

tests/test-version-sync.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ echo ""
2828
# Extract the relevant version string from each consumer.
2929
plugin_v="$(node -p "require('./.claude-plugin/plugin.json').version")"
3030
market_v="$(node -p "require('./.claude-plugin/marketplace.json').plugins[0].version")"
31-
pill_v="$(grep -oE 'release-pill-tag">v[0-9][0-9.]*' web/index.html | grep -oE '[0-9][0-9.]*' | head -1)"
3231

3332
assert ".claude-plugin/plugin.json matches ($plugin_v)" "$([[ "$plugin_v" == "$VERSION" ]] && echo true || echo false)"
3433
assert ".claude-plugin/marketplace.json matches ($market_v)" "$([[ "$market_v" == "$VERSION" ]] && echo true || echo false)"
35-
assert "web/index.html release pill matches ($pill_v)" "$([[ "$pill_v" == "$VERSION" ]] && echo true || echo false)"
3634

3735
finish_test "version sync"

web/index.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@
232232
<section id="hero" class="section hero-section">
233233
<canvas id="hero-canvas" aria-hidden="true"></canvas>
234234
<div class="hero-content">
235-
<a href="changelog/" class="release-pill">
236-
<span class="release-pill-tag">v3.2.1</span>
237-
<span class="release-pill-text">The knowledge graph is now engine-only &mdash; indexed locally and queried live, with no machine-readable snapshot committed to your repo</span>
238-
<span class="release-pill-arrow"></span>
239-
</a>
240235
<h1>Stop shipping<br><span class="gradient-text">AI-generated bugs</span>.</h1>
241236
<p class="tagline">One command runs a three-stage review on your branch &mdash; validation, spec compliance, code quality &mdash; and writes the missing tests. Powered by a tree-sitter knowledge graph of your repo. <strong>Free forever.</strong> For Claude Code, Cursor, Copilot, Antigravity, and Gemini.</p>
242237
<div class="hero-actions">

0 commit comments

Comments
 (0)