npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@planning-board/contract

v1.2.2

Published

The tile contract of the Heppe Planning Board: the meta.json shape a publisher writes and the board reads, the registry shape, and the scrubbed reason line.

Readme

@planning-board/contract

The tile contract of the Heppe Planning Board: what a product repository publishes and the board reads.

  • The tile — BoardSummary, the shape of meta.json a publisher writes per environment, and isSummary, the guard the board validates it with. isSummary checks every field the board dereferences and tolerates fields it does not know.
  • The registry — Registry, the shape of a view's case registry (e2e/cases/<view>.json in the Heppe monorepo).
  • The reason line — reasonLine / REASON_MAX, the first line of a failure or skip message with anything shaped like an email address or a phone number redacted and the length capped: the only part of a message a public tile may carry.
  • The Linear project slug — linearProjectSlug, read out of a registry's links.linearProject, the one name a tile and a Linear plan share.

Who uses it

The Heppe monorepo's publish step (apps/admin/planning-board/*) imports the types, reasonLine and linearProjectSlug to write tiles; the board's own workspace imports it through @planning-board/planning. Nothing else of the board is shared.

Semver

Read from the board's side. Adding an optional field that readers tolerate is a minor release. Adding a required field, removing a field or narrowing one is a major release: a required addition breaks every producer that constructs BoardSummary and makes isSummary refuse every older tile. A field that is to become required goes in optional first.

test/fixtures/test-meta.json is a real tile from a nightly run; refresh it when the summariser's output changes shape, and let fixture-tile.test.ts say whether the change is minor or major.

Releasing

  1. Bump version in package.json on a pull request and merge it.
  2. On main, create the tag contract/vX.Y.Z and push the tag.
  3. .github/workflows/release-contract.yml builds, tests, packs with pnpm and stages the version by npm trusted publishing (no token anywhere). It refuses when the tag and the manifest disagree, or when the tag is not on main.
  4. A maintainer approves the staged version with 2FA, on npmjs.com under the package's Staged packages or from a terminal: npm stage list @planning-board/contract, then npm stage approve <stage-id>. Until then no consumer can install it; npm stage reject <stage-id> drops it.

The package ships compiled dist/ (built on prepack), because Node refuses to strip types from files under node_modules; inside this workspace it resolves to its source.

The publish entry

@planning-board/contract/publish is the publisher's side: proofCase names a test from its registry; allureReporter is the reporter entry that writes the labels; stripAttachments keeps screenshots and traces out of a public tile; summarize turns Allure results and registries into the tile (and runs as a CLI: node dist/publish/summarize.js --results <dir> --cases <registry dir> --environment <env> --out <meta.json>); listedTests and registryFindings hold a suite's registries and specs together, one finding per sentence.