Templates repository for @shinijs/cli - a CLI tool for scaffolding NestJS libraries.
Template for creating NestJS libraries with:
- TypeScript configuration
- Jest testing setup
- ESLint and Prettier
- VitePress documentation (optional)
- GitHub Actions CI/CD (optional)
- Complete project structure
These templates are used by @shinijs/cli. To create a new project:
pnpm create @shinijs my-library --template nestjs-libEach template contains:
template.json- Template metadata and variable definitions- Source files with Handlebars variables (e.g.,
{{projectName}},{{moduleName}}) - Configuration files
- Documentation templates
- Test files
To add a new template:
- Create a new directory under
templates/ - Add a
template.jsonfile with metadata - Create template files with Handlebars variables
- Submit a pull request
MIT