Skip to content

shinijs/templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Shinijs Templates

Templates repository for @shinijs/cli - a CLI tool for scaffolding NestJS libraries.

Available Templates

nestjs-lib

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

Usage

These templates are used by @shinijs/cli. To create a new project:

pnpm create @shinijs my-library --template nestjs-lib

Template Structure

Each template contains:

  • template.json - Template metadata and variable definitions
  • Source files with Handlebars variables (e.g., {{projectName}}, {{moduleName}})
  • Configuration files
  • Documentation templates
  • Test files

Contributing

To add a new template:

  1. Create a new directory under templates/
  2. Add a template.json file with metadata
  3. Create template files with Handlebars variables
  4. Submit a pull request

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published