Skip to content

build: link the published packages to their folder, docs and author - #146

Merged
nclsndr merged 1 commit into
mainfrom
build/package-manifest-links
Dec 3, 2026
Merged

nclsndr merged 1 commit into
mainfrom
build/package-manifest-links

Conversation

@nclsndr

@nclsndr nclsndr commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Why

Someone on an npm page of Tack lands on the root of the monorepo, whichever package they look at, and the docs reader's page links to the same homepage as the CLI's. npm also has no author or keywords for either package.

What

Both published manifests now carry the links below. The build generates them, so they show on npm only at the next release; the published 0.1.0 does not change.

Field @tackup/cli @tackup/docs
repository.url unchanged unchanged
repository.directory apps/cli (new) packages/reader (new)
homepage https://tackup.dev, unchanged https://tackup.dev/docs/reference/docs (was https://tackup.dev)
bugs.url unchanged unchanged
author nclsndr, https://github.com/nclsndr (new) same (new)
keywords 14, mostly from the repository's topics (new) 5 (new)
license MIT, unchanged MIT, unchanged
  • repository.url stays byte-identical, because npm trusted publishing compares it with the GitHub repository. directory is a separate field.
  • The CLI keeps the site as its homepage. The reader's homepage is its own reference page, which its npm README links already.
  • bugs stays the plain issues page: no issue template exists, and no label separates the two packages.
  • No funding: the repository declares no funding link.
  • Each package's folder, homepage and keywords sit in one table in scripts/package/manifest.ts, which also gives the folder its npm README comes from. A test checks the generated fields of both packages.

Related to

#142

CI time

The slowest test shard took 138 s, against 307 s on the latest green CI run of main, which is from 20 November. Other changes landed between the two, so the difference is not from this PR. The two new test cases build no package.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying tack-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 36fc29e
Status: ✅  Deploy successful!
Preview URL: https://6646a2e4.tack-ayg.pages.dev
Branch Preview URL: https://build-package-manifest-links.tack-ayg.pages.dev

View logs

@nclsndr
nclsndr merged commit 32700d6 into main Dec 3, 2026
9 checks passed
@nclsndr
nclsndr deleted the build/package-manifest-links branch December 3, 2026 23:33
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