Skip to content

chore(package): carry the author URL and publishConfig, and state the metadata the npm page reads - #19

Merged
robrigo merged 1 commit into
mainfrom
docs/package-metadata
Aug 17, 2026
Merged

chore(package): carry the author URL and publishConfig, and state the metadata the npm page reads#19
robrigo merged 1 commit into
mainfrom
docs/package-metadata

Conversation

@robrigo

@robrigo robrigo commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Why

The npm page showed a bare author string, and publish access and provenance lived only in the workflow's flags, so a publish from any other path would have carried neither; nothing said which package.json fields a release keeps. author is now an object with the URL, publishConfig fixes public access and provenance in the package itself, the README carries the CI badge beside the version and license badges, and RELEASING.md lists the field set the npm page reads and the tarball check CI already runs (test/packaging.test.ts).

Validation

package.json parses with the new fields; CI runs the packaging test on this PR. No publish happens here; the fields take effect on the next release cut through the checklist.

… metadata the npm page reads

The npm page showed a bare author string and the publish access and provenance
lived only in the workflow's flags, so a publish from any other path would have
carried neither, and nothing said which package.json fields a release keeps.
author is now an object with the URL, publishConfig fixes public access and
provenance in the package itself, the README carries the CI badge beside the
version and license badges, and RELEASING.md lists the field set the npm page
reads and the tarball check CI already runs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates npm-facing package metadata and release documentation so releases consistently publish with the intended author/publish settings and the repository clearly documents which package.json fields are expected to appear on the npm package page.

Changes:

  • Update package.json to use an object-form author (including URL) and add publishConfig to enforce access: public and provenance: true.
  • Add a CI badge to the README header so the npm page shows build status alongside version/license.
  • Expand RELEASING.md to document the package metadata fields that are expected to be present and to reference the existing packaging/tarball verification test.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
RELEASING.md Documents the expected npm/package metadata field set and ties releases to the existing tarball verification test.
README.md Adds a CI status badge to improve npm page presentation.
package.json Carries structured author metadata and publishConfig so publishing behavior is encoded in the package itself.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@robrigo
robrigo merged commit 37fd7cc into main Aug 17, 2026
4 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.

2 participants