Summary
Set up the initial project structure for js-template CLI scaffolding tool. This establishes the foundation for a Next.js + NestJS fullstack project generator.
Current State
The following directories and stub files
js-template/
├── src/
│ ├── cli.ts # Entry point (stub)
│ ├── generator.ts # Template copier (stub)
│ ├── addons.ts # Addon registry (interface defined)
│ └── utils.ts # Utilities (stub)
├── templates/
│ ├── frontend/ # Next.js template
│ ├── backend/ # NestJS template
├── addons/
│ ├── auth.ts # JWT/OAuth addon (stub)
│ ├── database.ts # Prisma addon (stub)
│ └── ci.ts # CI addon (stub)
├── bin/
├── tests/
├── package.json
└── tsconfig.json
Tasks
Acceptance Criteria
Related
This is the foundation for subsequent issues:
- CLI interactive prompts
- Template generation
- Addon system
Summary
Set up the initial project structure for
js-templateCLI scaffolding tool. This establishes the foundation for a Next.js + NestJS fullstack project generator.Current State
The following directories and stub files
Tasks
tsconfig.jsonwith proper paths)bin/cli.js)pnpm devruns the CLI stubpnpm buildcompiles todist/Acceptance Criteria
pnpm installsucceedspnpm devprints "js-template" to consolepnpm buildproducesdist/with compiled JSpnpm testruns (even if no tests yet)Related
This is the foundation for subsequent issues: