Skip to content

WEBDEV-9025: Add a CLAUDE.md covering the publish flow - #94

Open
jbuckner wants to merge 2 commits into
mainfrom
WEBDEV-9025-claude-md
Open

WEBDEV-9025: Add a CLAUDE.md covering the publish flow#94
jbuckner wants to merge 2 commits into
mainfrom
WEBDEV-9025-claude-md

Conversation

@jbuckner

@jbuckner jbuckner commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

The README's publishing section is written for the web UI ("Tap Draft a new release") and doesn't say what the pre-release checkbox does, so this writes down the bits that only live in npm-publish.yml: the prerelease flag is what picks the alpha vs latest dist-tag, package.json holds the version that actually gets published (not the tag name), and publishing is OIDC trusted publishing with no token so it can't be done from a laptop. Plus the gh release create commands and the worktree/merge conventions.

Everything in it was checked against the repo, the tags, the workflow run history and the npm registry.

Worth knowing separately: 0.2.12 is npm's current latest but has no v0.2.12 tag, no GitHub release, and no provenance attestation, so it was published by hand. Recorded on the ticket, not fixed here.

WEBDEV-9025: https://webarchive.jira.com/browse/WEBDEV-9025

🤖 Generated with Claude Code

https://claude.ai/code/session_01DaEr5YT1xpjK5ydNZPvjwx

The README's publishing section is written for the GitHub web UI, so it
doesn't say what the pre-release checkbox actually does or give a terminal
path. Write down the parts that only live in npm-publish.yml right now:

- The release's prerelease flag is what picks the dist-tag, alpha vs latest.
- package.json holds the version that gets published, not the tag name.
- Publishing is OIDC trusted publishing with no token, so it only works
  from the workflow, and a manual publish is identifiable by its missing
  provenance attestation.
- Finals come off main only, branches publish prereleases.

Also covers the worktree and merge-not-rebase conventions, and points at
the README for everything else.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DaEr5YT1xpjK5ydNZPvjwx
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

🚀 View preview at
https://internetarchive.github.io/elements/pr/pr-94/

Built to branch ghpages at 2026-09-04 18:53 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov-commenter

codecov-commenter commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.69%. Comparing base (d6888bb) to head (01ec094).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   84.69%   84.69%           
=======================================
  Files          38       38           
  Lines        1274     1274           
  Branches      303      303           
=======================================
  Hits         1079     1079           
  Misses        115      115           
  Partials       80       80           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…ixed

QA ran the documented commands. pnpm version writes a bare-version commit
message and a v-prefixed tag, so say where the prefix comes from.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DaEr5YT1xpjK5ydNZPvjwx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants