Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.25 KB

File metadata and controls

39 lines (27 loc) · 1.25 KB

Working with this repo

This repository is based on npm workspaces.

Always run npm ci in the root of this repository to ensure proper dependency installation.

Quick start

Before using, you need of course node installed (Version).
Nitro and the Nitro generator are currently tested with the node LTS versions 22 and 24.

  1. Install base project:
npm ci
  1. Start example project:
npm start --workspace=project-nitro

Sample projects

The sample projects located under 'packages/project-xxx' are used to develop new features before adding them to the yeoman generator in the package 'packages/generator-nitro'.

Develop a feature

  1. Develop your new feature in the respective sample project
  2. After it works there, enhance the yeoman generator
  3. Add a test in the folder 'packages/generator-nitro/tests'
  4. Run npm install in the root of the repo to link to the yeoman generator with your newest changes
  5. Test your yeoman generator change by creating a new project
    1. cd to the 'project-new' package
    2. Run npm start and use the yeoman config you adjusted / enhanced
    3. The generator runs with your local recent changes
    4. Compare the output with your change in the sample project