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

@goldencomm/create-baseline

v0.0.1

Published

Scaffold a standalone GoldenComm Baseline project — Next.js app, Shopify OS 2.0 theme, or WordPress site — wired to the @goldencomm/ds-* design-system packages. Run as `npm create @goldencomm/baseline`.

Readme

@goldencomm/create-baseline

Scaffolds a standalone project from a Baseline template — copies the template, then rewires it into its own project (names, README, the design-system deps, and platform-specific fixups). Zero dependencies; Node built-ins only.

Usage

Standalone (npm)

Because the package is named @goldencomm/create-baseline, npm's create prefix mapping means the exact command is:

npm create @goldencomm/baseline <platform> <name>
# flags need a `--` separator so npm doesn't eat them:
npm create @goldencomm/baseline <platform> <name> -- --dir ../my-app --ds-version ^0.0.1

(pnpm create @goldencomm/baseline … and npx @goldencomm/create-baseline … work too.)

Inside the monorepo

pnpm create-baseline <platform> <name> [options]
# or directly:
node tools/create-baseline/index.mjs <platform> <name> [options]

| Platform | Produces | |---|---| | next | Next.js App Router app (React + ds-core/ds-react) | | shopify | Shopify OS 2.0 theme (vendored baseline.css) | | wordpress | WordPress site scaffold (Composer + DDEV) | | dotnet | (no scaffold) — prints how to consume ds-html + baseline.css (Q-005) |

Options

| Flag | Default | Meaning | |---|---|---| | --dir <path> | ./<name> | Target directory | | --ds-version <ver> | ^0.0.1 | Version pinned for the @goldencomm/ds-* deps | | --force | — | Allow scaffolding into a non-empty directory |

pnpm create-baseline shopify acme-store
pnpm create-baseline next acme-proto --dir ../acme-proto --ds-version ^0.1.0
pnpm create-baseline wordpress acme-site

What it does

  1. Copies the template. Two auto-detected source modes:
    • monorepo — inside the design-system repo it copies the committed files of baselines/<platform> via git ls-files (so node_modules, dist, .next, .turbo, vendor are excluded automatically);
    • bundled — installed from npm it copies the templates/ snapshot that the prepack script (scripts/bundle-templates.mjs) baked into the package at publish time from the same git ls-files listing. (npm strips .gitignore/ .npmrc/.npmignore from tarballs, so those are stored renamed — _gitignore etc. — and restored on scaffold.)
  2. Rewires identifiers: package.json/composer.json name + description, the README title, and the Shopify theme_name.
  3. Rewrites DS deps — any workspace:* (@goldencomm/ds-core, ds-react) becomes --ds-version so the project resolves them from npm.
  4. Platform fixups:
    • shopify — repoints the dev token-watch at node_modules/@goldencomm/ds-core.
    • wordpress — removes the monorepo bind-mount (.ddev/docker-compose.packages.yaml), adds Composer require + VCS repos for goldencomm/wp-theme and goldencomm/wp-blocks-plugin, renames the DDEV project, and updates seed.sh (theme slug → wp-theme, site host → <name>.ddev.site).

Standalone readiness

  • Shopify — works now; baseline.css is vendored into assets/.
  • Next — needs @goldencomm/ds-core + ds-react on npm before npm install resolves (they ship at 0.0.1).
  • WordPressgoldencomm/wp-theme + wp-blocks-plugin are not published as Composer packages yet; composer install currently requires monorepo/Bitbucket VCS access and your own gitignored auth.json for the ACF/Gravity/Bitbucket credentials (never copied by the scaffolder). The scaffolder prints this caveat.

Publishing notes

  • templates/ is generated by prepack and gitignored — never commit it; it is rebuilt from the committed baselines on every pnpm pack / npm publish.
  • Packing/publishing must therefore happen from a monorepo checkout (prepack runs git ls-files).