Plugin plugin
This plugin generates scaffolding for creating your own plugins and generators. It consists of two generators:
- Plugin generator: Generates scaffolding for a plugin
- Generator generator: Generates scaffolding for a generator
Installation
Prerequisites
Before installing this plugin, make sure that you have installed the shaper
CLI and created a monorepo for your code. See
Setting up a monorepo for
instructions.
Add a dev dependency at the root of your code repository:
npm install -D @code-shaper/plugin
For step-by-step instructions on how to use this plugin, see Writing a custom generator.
Example
https://github.com/code-shaper/movie-magic/tree/main/plugins/react-patterns
Repository
https://github.com/code-shaper/code-shaper/tree/main/plugins/react