Critical Manufacturing Schematics are meant to be a quick and easy way of getting started with CMF IoT Tasks and UI Customization projects, by providing a basic structure for the project and all the recommended tooling.
-
IoT Schematics - Schematics for getting started with IoT Tasks Projects.
-
UI Schematics - Schematics for getting started with UI Customization Projects.
-
Clone this repository into your repository root.
-
Run:
npm install
To test locally, install @criticalmanufacturing/ngx-iot-schematics
globally and use the schematics
command line tool. That tool acts the same as the generate
command of the Angular CLI, but also has a debug mode.
Check the documentation with
schematics --help
npm run test
will run the unit tests, using Jasmine as a runner and test framework.
To publish, simply do:
Update the root package.json version:
Run the following:
npm run build
node ./scripts/publish.js [tag]