@singlestone/plop-generators-sugar
v0.3.0
Published
Plop generators config for Sugar
Downloads
2
Keywords
Readme
plop-generators-sugar
plop generators for Sugar.
Installation
Inside the Sugar monorepo, install it with a dev dependency like so:
{
"devDependencies": {
"@singlestone/plop-generators-sugar": "workspace:^"
}
}
Outside the monorepo, install it with an actual version instead of workspace:^
.
Usage
Set up your plopfile.js like so:
const { plopGeneratorsSugar } = require("@singlestone/plop-generators-sugar");
module.exports = (
/** @type {import('plop').NodePlopAPI} */
plop
) => {
plopGeneratorsSugar(plop);
};
You can make any changes or overrides you might want to make by destructuring the results.