Minimal ESM-first Node.js CLI scaffold built with @clack/prompts and tsdown.
- Local dev:
npm install
npm run build
node dist/cli.js- Execute via the bin shim:
node bin/create-prisma.jsnpm run build– build with tsdown todist/npm run dev– rebuild on changesnpm run start– run the built CLI (dist/cli.js)npm run typecheck– TypeScript type-check only
- This project is ESM-first (
"type": "module"). - The executable entry is defined in
package.jsonbinand implemented inbin/create-prisma.js. - The actual CLI logic lives in
src/cli.tsand is built todist/cli.js.