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

create-aron-app

v0.1.7

Published

Scaffold a new Convex + Next.js + Clerk full-stack project

Readme

create-aron-app

CLI scaffolding tool that stamps out a production-ready Nx monorepo with Convex, Clerk, and either Next.js 15 or React Router v7.

Usage

npm create aron-app
# or
npx create-aron-app
# or
bunx create-aron-app

The CLI will ask a few questions and scaffold a new project:

  • Project name — lowercase alphanumeric + hyphens
  • Framework — Next.js 15 (App Router) or React Router v7 (SPA/Vite)
  • Output directory — where to create the project (defaults to ~/Desktop/<name>)
  • Package manager — Bun (recommended), pnpm, npm, or Yarn
  • Install dependencies — run install automatically
  • Initialize git — create an initial commit

What gets scaffolded

The output is an Nx monorepo with two apps:

my-app/
├── apps/
│   ├── api/          # Convex backend (convex-ents + Zod validation)
│   └── web/          # Next.js 15 or React Router v7 frontend
├── shared/
│   ├── ui/           # ~20 shadcn/Radix UI components + hooks
│   ├── utils/        # Convex client helpers, date utils
│   └── assets/       # global.css (Tailwind 4)
├── emails/           # React Email templates
├── scripts/          # sync_convex_env.ts
├── .cursor/          # Pre-configured Cursor AI rules and skills
└── .github/
    └── workflows/ci.yml

A working Todos feature is wired end-to-end as the canonical example of the data model pattern.

Stack

  • BackendConvex with convex-ents for relational modeling and Zod-validated function wrappers
  • FrontendNext.js 15 (App Router) or React Router v7 (SPA/Vite)
  • AuthClerk wired to both Convex and the frontend
  • Data fetchingTanStack Query v5
  • UI — Radix UI + Tailwind CSS 4 + shared component library
  • MonorepoNx with Bun workspaces
  • LintingBiome
  • AI — Pre-baked Cursor rules and skills for the entire stack

Development

Build

bun run build

Bundles src/index.ts into dist/index.js (a single Node.js-compatible file with a shebang).

Test locally

# Run the CLI directly with Bun (no build needed):
bun run start

# Or build and run the output file:
node dist/index.js

# Or link globally for the full `npm create` experience:
npm link
npm create aron-app

# Unlink when done:
npm unlink -g create-aron-app

Publish

# Patch release (bumps version + publishes):
npm run release

# Or manually:
npm publish --access public

Publishing is also automated via GitHub Actions — creating a GitHub Release triggers .github/workflows/publish.yml, which builds and publishes to npm.

Project structure

create-aron-app/
├── src/
│   ├── index.ts          # CLI entrypoint (prompts + orchestration)
│   ├── types.ts          # Shared TS types
│   └── utils/
│       ├── constant.ts   # Framework/PM options + dependency lists
│       └── helpers.ts    # File ops, template merging helpers
├── templates/
│   ├── _base/            # Shared monorepo skeleton (copied first)
│   ├── nextjs/           # Next.js 15 App Router variant
│   └── react-router/     # React Router v7 SPA variant
├── dist/                 # Built CLI output
└── .github/
    └── workflows/
        └── publish.yml   # Auto-publish on GitHub Release

How scaffolding works

  1. Copy templates/_base/ into the output directory
  2. Copy the framework-specific template into apps/web/
  3. Rename _gitignore files to .gitignore (npm strips dotfiles on publish)
  4. Merge framework deps into the root package.json
  5. Inject the right Nx plugins into nx.json
  6. Replace the project: placeholder with the actual project name in all project.json files
  7. Promote apps/web/.env.example to the root as .env.example
  8. Optionally: git init + initial commit
  9. Optionally: <pm> install