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

@jztack/config

v0.3.5

Published

Shared presets for Justin's fleet: tsconfig bases, Biome 2 config with the Table-Driven Design GritQL plugin, Tailwind v4 bridge to @jztack/tokens, standard helper configs (Lefthook, Knip, Syncpack, Mise), and the shared agent-harness scripts.

Readme

@jztack/config

Shared presets for Justin's fleet, on the Biome 2 base (decided Dec 4, 2026; Oxlint/Oxfmt and Vite+ parked). Design and rollout: see the Config Presets Development goal files (preset-design.md, rollout-sequence.md, phase-0-tool-base-evaluation.md).

Status: published on npm — @jztack/[email protected] live Dec 6, 2026 (repo: jingyu120/jztack-config); 0.2.0 adds Table-Driven Design enforcement (see CHANGELOG). The shared Vitest preset lives in @jztack/pwa-kit (0.7.0) and is referenced here, never duplicated.

Consuming (one line each)

// tsconfig.json — pick ONE base
{ "extends": "@jztack/config/tsconfig/web-app.json" }       // Vite + React PWAs (CommonBoard / Wedding Ops / RentProof shape)
// { "extends": "@jztack/config/tsconfig/library.json" }    // published packages (pwa-kit shape)
// { "extends": "@jztack/config/tsconfig/node-service.json" } // NestJS services (TWJS sync-server shape)

// biome.json (or biome.jsonc — see rules below)
{ "extends": ["@jztack/config/biome/base.json"] }           // recommended rules, fleet formatting, Table-Driven plugin (auto-loaded)
// { "extends": ["@jztack/config/biome/tabbie-strict.json"] } // Tabbie only: base + its additive strict rules

Extending the base also loads the fleet GritQL boundary plugins (wired with resolutionKind: "config"): table-driven (string-literal union types and switch statements are errors, directing to PascalCase string enums + exhaustive as const satisfies Record<Enum, Config> dispatch tables; nullable enum unions stay legal), no-raw-env (raw import.meta.env / process.env access banned outside **/config/env.ts and test files), and no-unsafe-cast (as T / as unknown as T / <T>x assertions banned outside **/*.schema.ts, **/boundaries/**, and test files). All three plugins load through overrides with negated includes — the path exemptions live in the base's overrides (GritQL cannot see file paths, and Biome overrides are additive, so exemptions can only be expressed where the plugin is loaded), which is why extending the base is the supported route. table-driven is additionally exempt in test files, **/*.d.ts, and **/*.generated.* files. One known limit: a published string-union API in ordinary src/** files (public vocabulary that cannot become enums without breaking consumers) has no per-file plugin exemption in Biome 2.6 — the consumer-side bridge is a scoped linter.enabled: false override for exactly those files, accepting that the other plugins are also off there; keep the list explicit and minimal. The base also bans direct data-client imports from src/components/** and src/pages/** (noRestrictedImports: @supabase/supabase-js, drizzle-orm, *Api modules). Plugins can also be loaded by name via biome-manifest.json ("@jztack/config/presets/recommended") — but by-name loading applies them WITHOUT the base's path exemptions, so sanctioned files will be flagged; use it only where that is intended.

/* app CSS entry */
@import "@jztack/config/tailwind/bridge.css"; /* Tailwind v4 + @jztack/tokens/css, then your own @theme brand block */

Helper templates (copy into the repo, then own them): templates/lefthook.yml (pre-push runs typecheck + knip), templates/knip.config.ts, templates/knip.workspace.config.ts (workspace monorepos), templates/.syncpackrc.json, templates/mise.toml, .editorconfig. Shared agent-harness scripts are bundled under scripts/ as canonical copies — read scripts/README.md (provenance + drift) before adopting.

The bases

| Base | Shape it's codifying | Key choices | | ---------------------------- | ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | tsconfig/base.json | every fleet project | ES2022, bundler resolution, strict, isolatedModules, noImplicitOverride, noUncheckedIndexedAccess, exactOptionalPropertyTypes, verbatimModuleSyntax, noImplicitReturns. Parses under TS 5.8 and TS 7 — no version-only flags | | tsconfig/expo-app.json | design-system ui-native (Expo / RN) | base + react-jsx, noEmit, no DOM libs | | tsconfig/web-app.json | the three PC-stack apps' converged config | + DOM libs, react-jsx, noEmit, vitest/jest-dom types. Consumers set their own include (paths in a preset resolve relative to the preset, so presets never carry include) | | tsconfig/library.json | pwa-kit | + declaration + declarationMap, emit on. Consumer sets outDir/rootDir | | tsconfig/node-service.json | TWJS tsconfig.base | + legacy decorators + emitDecoratorMetadata, useDefineForClassFields false, sourceMap, node types |

Local divergences stay local overrides: Tabbie's path aliases + TS-7-only flags, TWJS's line width 80 + recommended-rule opt-outs, RentProof's brand @theme colours.

Standing rules baked into these presets

  1. A preset never forces a tool major. Bases pin the Biome 2.6 schema; adoption streams bump tools separately, never as a side effect.
  2. Baselining is explicit, never silent — scoped overrides or inline biome-ignore with a reason, recorded in the adopting repo's decisions doc.
  3. Comments require biome.jsonc. Biome parses biome.json as strict JSON and rejects comments; a consumer config that wants comments must be named biome.jsonc. The preset files themselves are strict JSON, comment-free.
  4. Extends use the published package form (@jztack/config/...) since 0.1.0 went live Dec 6, 2026. A consumer that must install from npm alone but cannot take the dependency yet inlines the base as app-owned config (InnTouch / starter pattern, Dec 5, 2026).
  5. Syncpack: caret ranges for prod/dev; peer dependencies ignored in both semver and version groups (compatibility floors); vendor exact/tilde pins live in per-repo groups, not the template.
  6. Lefthook must be build-approved in the adopting repo's pnpm-workspace.yaml under whichever key its pnpm uses (onlyBuiltDependencies or allowBuilds), or hooks silently never install. Build approval alone is not proof the hooks exist: the approved postinstall installed them on RentProof's PC clone but silently did not in Tabbie's PC scratch repo (Dec 5, 2026; root cause open). After pulling a Lefthook-adopting commit, run pnpm exec lefthook install once and verify .git/hooks/ is populated.