Skip to content

mwagz/feature-schematic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A schematic is a way for us to specify a file or folder structure that we want to be able to scaffold. See that we are going to be generating a lot of features, I felt like this might be a use case to automate that creation.

How do I use it?

Well... in order for us to use this thing without publishing a node package (which maybe we should in the future), we have to install it locally and "link" the package.

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/mwagz/feature-schematic
cd feature-schematic
  1. Install package dependencies
npm install
  1. Install TypeScript Globally
npm install -g typescript
  1. Build the project
tsc -p tsconfig.json
  1. Link the package
npm link
  1. Navigate to your project directory
cd path/to/your/project
  1. Link the schematic to your project
npm link feature

Usage

ng generate feature:feature --name="feature name"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published