0.3.0 • Published 1 year ago

@singlestone/plop-generators-sugar v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.