1 | # ng-ten CLI
|
2 |
|
3 | A simple CLI to help Ten Group with CI/CD process for Angular apps.
|
4 |
|
5 |
|
6 | ## Usage
|
7 |
|
8 | ```bash
|
9 | npm install -g @ten-group/ng-ten
|
10 | ng-ten --help
|
11 | ```
|
12 |
|
13 | ## Project config
|
14 |
|
15 | A project config named `.ng-ten.json` located at your project root is required. The config needs to implement the `[ProjectConfig](src/models/project-config.ts)` interface.
|
16 |
|
17 |
|
18 | ## How to deploy a new version
|
19 |
|
20 | Using `standard-version` create a tag that follows semver and commit a changelog:
|
21 | ```bash
|
22 | npm run release:prepare
|
23 | ```
|
24 | Confirm the git history looks as it should (tags, commits etc) and push & deploy using:
|
25 | ```bash
|
26 | npm run release:publish
|
27 | ```
|