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

@hermesecommerce/create-store

v0.4.0

Published

Crea una tienda headless de Hermes (Next.js + @hermesecommerce/storefront) desde el template demo o el skeleton: npm create @hermesecommerce/store mi-tienda

Readme

@hermesecommerce/create-store

Crea una tienda headless de Hermes (Next.js 16 + @hermesecommerce/storefront) a partir de uno de los dos templates:

  • demo (el default): starter-demo/, una tienda con diseño completo, lista para mostrar (como la demo store de Hydrogen);
  • skeleton: starter/, la misma lógica con lo mínimo de diseño, para armar el tuyo.
npm create @hermesecommerce/store mi-tienda
# o: pnpm create @hermesecommerce/store mi-tienda · yarn create @hermesecommerce/store mi-tienda
# o, con la CLI global (npm install -g @hermesecommerce/cli): hermes create mi-tienda
npm create @hermesecommerce/store mi-tienda -- --template skeleton
  1. Si tu versión de Node no es una de las que soportan las dependencias del template (22 LTS, o 20/24; engines del package.json), avisa —«Estás con Node 23.7.0; recomendamos Node 22 LTS (o 20/24)»— y sigue.
  2. Elige el template: el de --template; si no, lo pregunta (con terminal) con demo por defecto; sin terminal (CI), demo.
  3. Lo copia en mi-tienda/ (sin node_modules, .next, .env ni lockfile).
  4. Le pone el nombre al package.json y cambia el SDK y la CLI locales (file:) por la versión publicada en npm (^<versión>). La CLI queda como devDependency: versión fija por proyecto, npm run dev / npm run deploy y npm run hermes -- <comando> sin instalar nada global.
  5. Instala las dependencias con el gestor que usaste (--no-install para saltearlo e imprimir los comandos).
  6. Si tenés la CLI de Hermes logueada (hermes login), te ofrece correr hermes link ahí mismo con la CLI que se acaba de instalar en la tienda (node_modules/.bin/hermes link; con --no-install --link, la publicada con versión exacta: npx --yes --prefer-online @hermesecommerce/cli@<versión> link). --link / --no-link para no preguntar.
  7. Imprime los próximos pasos con la CLI global (hermes login, hermes link, hermes dev, hermes deploy, hermes domains add) y la alternativa sin global (npm run hermes -- <comando>, npm run dev, npm run deploy). Nunca npx hermes: El comando se llama hermes, pero el paquete es @hermesecommerce/cli. No instales el paquete hermes de npm: es de un tercero.

| Opción | | |---|---| | --template <demo\|skeleton> | template (default: demo; con terminal, pregunta) | | --no-install | no instalar dependencias | | --pm <npm\|pnpm\|yarn\|bun> | gestor de paquetes (default: el que corrió el comando) | | --link / --no-link | correr (o no) hermes link al final sin preguntar |

Para probarlo desde el repo (toma los templates de starter-demo/ y starter/ de la raíz): cd packages/create-store && npm ci && npm run build && node dist/index.js /tmp/mi-tienda --no-install

Desarrollo

cd packages/create-store
npm ci
npm run typecheck && npm test && npm run build
node scripts/smoke-dist.mjs   # crea una tienda real en un dir temporal

Sin dependencias de runtime. Al publicar, prepack buildea y copia starter-demo/ y starter/ de la raíz del repo en templates/demo/ y templates/skeleton/ (.gitignore viaja como _gitignore, porque npm lo borra). El tarball pesa ~100 kB (el CI falla si pasa de 400 kB). La tienda nueva lleva su propio .npmrc con legacy-peer-deps=true (viaja como _npmrc por el mismo motivo; el .npmrc del template no se copia): npm 10, el de Node 20/22, falla con vitest 4 al resolver las peers («Cannot read properties of null (reading 'edgesOut')»); npm 11 no lo necesita. Las peers que hacen falta están declaradas en el package.json de cada template. VERSIONES_PUBLICADAS en src/create.ts tiene la versión del SDK que se escribe en la tienda nueva (un test verifica que coincida con packages/storefront/package.json y packages/cli/package.json). CI: .github/workflows/ci.yml.