Skip to content

chore: prep packages for public npm publish#5

Merged
faraa2m merged 1 commit into
mainfrom
chore/npm-publish-prep
May 7, 2026
Merged

chore: prep packages for public npm publish#5
faraa2m merged 1 commit into
mainfrom
chore/npm-publish-prep

Conversation

@faraa2m
Copy link
Copy Markdown
Owner

@faraa2m faraa2m commented May 7, 2026

Adds description / author / homepage / repository / bugs / keywords / publishConfig and per-package READMEs to @tokenometer/core and tokenometer. After merge: npm login once, then npm publish from each package directory.

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.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tokenometer Ready Ready Preview, Comment May 7, 2026 6:55am

@faraa2m faraa2m merged commit 2904a34 into main May 7, 2026
3 checks passed
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.
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