Skip to content

ericis/generator-corpcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generates Corporate Code Generators

This project currently creates generators that are customized for corporate implementation.

Required: Install Node

Creating a Corporate Generator

  1. Install Node
  2. Install Yeoman Code Generator engine and register the command globally on your local machine with npm i yo -g
  3. Clone this code repository git clone https://github.com/ericis/generator-corpcode.git
  4. Install the generator's dependencies with npm i
  5. Link it as a global NPM command locally with npm link
  6. Create a new, empty directory to create the generator in.
  7. Create your corporate generator: yo corpcode widgetco "WidgetCo Java Microservices code generator" "WidgetCo" "com.widgetco" "Eric Swanson <[email protected]>"

Setup a Corporate Generator

  1. Install Node
  2. Install Yeoman Code Generator engine and register the command globally on your local machine with npm i yo -g
  3. After getting the source code for your Corporate generator on your local machine
  4. Install the generator's dependencies with npm i
  5. Link it as a global NPM command locally with npm link
  6. Create a new, empty directory.
  7. Run: yo widgetco:service example

Get help by running yo widgetco:service --help