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

@olonjs/stack

v1.0.163

Published

OlonJS tenant stack manifest - single source of truth for dependency versions

Readme

@olonjs/stack

Single source of truth for OlonJS tenant dependency versions (enterprise stack manifest).

Purpose

  • Core, React, Studio (post-ADR-0016 three-package split) each sync their own peerDependencies from this manifest via their own prepack script.
  • CLI uses this manifest when projecting a new tenant so npm install gets the exact versions defined here.
  • No version drift: one file to change when upgrading React, Vite, React Router, etc.

Peer dependency fields (post-ADR-0016)

@olonjs/core is framework-agnostic (zero React, per ADR-0016) — it must not peer on react/react-dom/react-router-dom. @olonjs/react and @olonjs/studio do need those. To keep each package's sync script pulling only what it actually needs:

  • corePeerDependencies — what @olonjs/core syncs (zod only).
  • reactBindingPeerDependencies — the shared React-family peer set synced into both @olonjs/react and @olonjs/studio (react, react-dom, react-router-dom). @olonjs/studio additionally merges in corePeerDependencies.zod (its FormFactory/AdminSidebar introspect tenant Zod schemas directly, per ECIP). @olonjs/react additionally preserves its own @olonjs/studio optional peer (the ADR-0016 D2 dynamic-import bridge), which is package-specific and not stack-driven.
  • peerDependencies — the full union, kept for CLI-projected tenant package.json files (a tenant app itself needs the whole stack).
  • packages — the three @olonjs/* package versions, coordinated (used to keep dependencies and any future CLI dependency-injection logic aligned).

Do not point any @olonjs/core sync script at the full peerDependencies block again — that was a real regression caught during Phase 4 of the package-split plan (it silently reintroduced React into Core's peer contract).

Workflow

  1. Upgrade stack: Edit stack-versions.json (dependencies, devDependencies, peerDependencies, corePeerDependencies, reactBindingPeerDependencies, packages). Keep these in sync with what Core/React/Studio actually support.
  2. Publish order: Publish @olonjs/stack first, then @olonjs/core, then @olonjs/react and @olonjs/studio, then @olonjs/cli (legacy aliases: @jsonpages/stack, @jsonpages/core, @jsonpages/cli).
  3. From repo: Run npm install at monorepo root so workspace deps resolve; then build/publish Core, React, Studio, and CLI as needed.

Consumers

| Package | Use | |----------------|-----| | @olonjs/core | prepack runs scripts/sync-peers-from-stack.js → copies corePeerDependencies into Core's package.json (zero-React). | | @olonjs/react | prepack runs scripts/sync-peers-from-stack.js → copies reactBindingPeerDependencies into React's package.json, preserving its own @olonjs/studio optional peer. | | @olonjs/studio | prepack runs scripts/sync-peers-from-stack.js → copies reactBindingPeerDependencies + zod (from corePeerDependencies) into Studio's package.json. | | @olonjs/cli | On olonjs new tenant <name> (legacy alias command: jsonpages new tenant <name>), the actual tenant package.json comes from the DNA script's embedded snapshot of apps/tenant-alpha's own file, not from reading this manifest directly — this manifest is the manual source of truth kept aligned with that snapshot. |

File layout

  • stack-versions.json — canonical versions (peerDependencies, corePeerDependencies, reactBindingPeerDependencies, packages, dependencies, devDependencies).
  • index.js — ESM export for Node (used by Core/React/Studio sync scripts and CLI).