An opinionated plop
generator for NestJS Colonel boilerplate.
This package is hosted on npm
.
npm install --save-dev @nicolasey/plop-colonel
You need to install Colonel NestJS based project. Those generators are specific.
Afterwards, be sure you have plop
installed. Then, add the following lines to your plopfile.js
.
const colonel =
require("@nicolasey/plop-colonel").default;
colonel(plop, defaultConfig);
so your plopfile.js
could look e.g. like this
const colonel =
require("@nicolasey/plop-colonel").default;
const config = plop => {
colonel(plop);
};
module.exports = config;
Now you'll have access to the plop-colonel
generator as shown below.
plop module
plop service
plop controller
Report bugs or provide feedback by filling issues
MIT see license.md