0.0.11 • Published 7 months ago

node-schematics v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

Getting Started With Schematics

This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

Installation

npm i

Local environment

If you are going to make changes to the code run thw following command in one terminal to build the schematics in watch mode.

npm build -- --watch

Running Schematics in debug mode

REST Schematic

npx schematics ./src/collection.json:rest

GraphQL Schematic (WIP)

npx schematics ./src/collection.json:graphql

Running Schematics

Install the package globally with npm

npm i -g node-schematics

REST Schematic

nest g -c node-schematics rest

GraphQL Schematic (WIP)

nest g -c node-schematics graphql

Unit Testing

npm run test will run the unit tests, using Jasmine as a runner and test framework.

Publishing

Any time we perform changes to the schematics we have to publish those changes to the npm registry:

npm run build
npm publish
0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago

0.0.0

7 months ago