Skip to content

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

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#24
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 tightens published npm package metadata and documents what release artifacts/fields are expected, so releases consistently carry the same npm-facing information regardless of publish path.

Changes:

  • Updated package.json to use an object author (with URL) and added publishConfig (access: public, provenance: true).
  • Added a CI badge to the README header alongside existing npm version and license badges.
  • Expanded RELEASING.md with a “Package metadata” section and noted the packaging CI check during the release checklist.

Reviewed changes

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

File Description
RELEASING.md Documents which package.json fields/releases should preserve and references the CI packaging/tarball check.
README.md Adds CI badge so the npm-rendered README shows build status near other key badges.
package.json Ensures npm metadata includes author URL and enforces publish access/provenance via publishConfig.

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

@robrigo
robrigo merged commit 56317a2 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