Skip to content

docs: cover the SPA fallback and correct the release process - #25

Merged
vilenarios merged 1 commit into
mainfrom
docs/readme-refresh
Aug 29, 2026
Merged

docs: cover the SPA fallback and correct the release process#25
vilenarios merged 1 commit into
mainfrom
docs/readme-refresh

Conversation

@vilenarios

Copy link
Copy Markdown
Contributor

What changed

Leads with the promise. The opening line was "a Node.js command-line tool designed to streamline the deployment of web applications" — category-first, and the same weakness the old GitHub description had. Now it opens with what you get, and points at the GitHub Action, which the intro never mentioned despite being how most people adopt this.

New "Single-page apps" section. The fallback is the failure users actually hit, and it appeared only as one bullet in the feature list. The section explains why a manifest 404s unlisted paths, gives both fixes (cp index.html 404.html or --fallback-file index.html), and warns about the post-deploy cache window that makes a correct deploy look broken for about a minute.

--fallback-file added to the flag reference. It was missing entirely from Command Options.

--deploy-file now says what it does differently — single file, no manifest, so ArNS resolves straight to the file and manifest-only options do not apply. Previously the README only said "supports a folder or a single file", which hides the surprise.

Three new troubleshooting entries for the failures people will search: deep links 404ing, deep links 404ing right after a redeploy, and the relative-path error from --fallback-file.

Corrections

Changesets is documented but does not exist. No .changeset directory, not a dependency, and the contributing steps told people to run pnpm changeset. Replaced with how releases actually work: semantic-release on merge to main, which commit types trigger what, and that publishing runs over OIDC trusted publishing with no stored token.

Also: the Claude skill

examples/claude-skill/deploy.md had no fallback guidance at all, so an agent following it would ship exactly the bug this release fixed. Added the SPA section and — importantly — told it to verify a deep link after deploying rather than the homepage, since the homepage returns 200 either way and proves nothing.

The fallback is the failure people actually hit, and it appeared only as
a feature bullet. Also removes the changesets instructions — there is no
.changeset directory and releases run on semantic-release.
@vilenarios
vilenarios merged commit c2fae9e into main Aug 29, 2026
7 checks passed
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.

1 participant