chore: prep packages for public npm publish#5
Merged
Conversation
Adds the metadata npmjs.com renders on package pages and that npm clients use for resolution: - description, author, homepage (= tokenometer.vercel.app), repository (with directory pointer for monorepo), bugs, keywords - publishConfig.access = public on both (required for the scoped @tokenometer/core; harmless on tokenometer) - publishConfig.registry pinned to public registry (overrides any host ~/.npmrc that points to a private mirror) - per-package READMEs that show install + 1-glance usage (npm renders these on the package page) Tarball sizes after polish: - @tokenometer/core: 8.8 kB packed / 34.0 kB unpacked / 26 files - tokenometer: 6.8 kB packed / 23.6 kB unpacked / 14 files After this merges, publish flow is `npm login` once, then `npm publish` from each package dir.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
faraa2m
added a commit
that referenced
this pull request
May 11, 2026
Adds the metadata npmjs.com renders on package pages and that npm clients use for resolution: - description, author, homepage (= tokenometer.vercel.app), repository (with directory pointer for monorepo), bugs, keywords - publishConfig.access = public on both (required for the scoped @tokenometer/core; harmless on tokenometer) - publishConfig.registry pinned to public registry (overrides any host ~/.npmrc that points to a private mirror) - per-package READMEs that show install + 1-glance usage (npm renders these on the package page) Tarball sizes after polish: - @tokenometer/core: 8.8 kB packed / 34.0 kB unpacked / 26 files - tokenometer: 6.8 kB packed / 23.6 kB unpacked / 14 files After this merges, publish flow is `npm login` once, then `npm publish` from each package dir.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds description / author / homepage / repository / bugs / keywords / publishConfig and per-package READMEs to @tokenometer/core and tokenometer. After merge:
npm loginonce, thennpm publishfrom each package directory.