https://github.com/criticalmanufacturing/ngx-schematics
Critical Manufacturing Angular Schematics Repository
https://github.com/criticalmanufacturing/ngx-schematics
angular criticalmanufacturing html typescript
Last synced: 4 months ago
JSON representation
Critical Manufacturing Angular Schematics Repository
- Host: GitHub
- URL: https://github.com/criticalmanufacturing/ngx-schematics
- Owner: criticalmanufacturing
- Created: 2022-02-23T16:04:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2026-01-21T10:46:07.000Z (5 months ago)
- Last Synced: 2026-01-21T22:10:48.359Z (5 months ago)
- Topics: angular, criticalmanufacturing, html, typescript
- Language: TypeScript
- Homepage:
- Size: 1.14 MB
- Stars: 4
- Watchers: 12
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Critical Manufacturing Schematics Repository**
**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.
## **Schematics Packages**
- [**IoT Schematics**](./packages/ngx-iot-schematics/README.md) - Schematics for getting started with IoT Tasks Projects.
- [**UI Schematics**](./packages/ngx-schematics/README.md) - Schematics for getting started with UI Customization Projects.
## **Getting Started**
1. Clone this repository into your repository root.
2. Run:
```
npm install
```
## **Testing**
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
```bash
schematics --help
```
## **Unit Testing**
`npm run test` will run the unit tests, using Vitest as a runner and test framework.
## **Publishing**
1. Update the root package.json version
2. Build the packages:
```bash
npm run build
```
3. Publish:
```bash
npm run publish [-- --dry-run]
```
4. Add tags (optional):
```bash
npm run add-tags [-- tag1 tag2 ...] [-- --dry-run]
```
**Examples:**
```bash
npm run publish # Publish packages
npm run publish -- --dry-run # Test without publishing
npm run add-tags # Add auto-generated tag
npm run add-tags -- latest # Add 'latest' tag
npm run add-tags -- latest beta-100 # Add multiple tags
```
**Note:** When publishing via GitHub Actions workflow, a GitHub release is automatically created for final versions (e.g., `1.0.0`), but not for pre-release versions (e.g., `1.0.0-beta`).