Skip to main content

Plugin plugin

This plugin generates scaffolding to create your own plugins and generators. It consists of two generators:

  1. Plugin generator: Generates scaffolding for a plugin
  2. Generator generator: Generates scaffolding for a generator

Installation

Prerequisites

Before installing this plugin, make sure that you have created a monorepo for your code. See Create a New Repo for instructions.

Add a dev dependency at the root of your code repository:

npm install @code-shaper/plugin

For step-by-step instructions on how to use this plugin, see Create 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