@npm-factory/init
v0.3.0
Published
Ink-powered monorepo initializer for ESM-only TypeScript npm packages with DOT-driven docs.
Readme
@npm-factory/init
Ink-powered initializer for user-owned monorepos that publish ESM-only TypeScript packages with DOT-driven docs.
This repository is the factory. It is not the user monorepo.
Usage (in a user repo root)
npx @npm-factory/initNon-interactive usage
npx @npm-factory/init --project plane --scope @your-scope --modules core,react --playground singleWhat it generates
apps/<project>-site(Next.js docs site)packages/<project>-config(DOT single source of truth)packages/<module>(publishable ESM-only packages)- root guardrail scripts and monorepo plumbing (patched, not overwritten)
Scripts
pnpm buildpnpm checkpnpm test:integration
Local integration test
pnpm test:integrationThis test runs the generator against fixtures/empty-user-repo and verifies patching and rerun safety.
