ngx-ws 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +45 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,2 +1,46 @@
1
1
  # ngx-ws
2
- ngx-ws
2
+
3
+ **Tool to generate [angular.json](https://angular.io/guide/workspace-config) from human readable definitions.**
4
+
5
+ ## Features
6
+
7
+ - [YAML](https://yaml.org/) and [JSON5](https://json5.org/) support.
8
+ - [JSON Reference](https://tools.ietf.org/id/draft-pbryan-zyp-json-ref-03.html) support.
9
+ - Recursive values interpolation.
10
+ - Simplify [scripts, styles and assets](https://angular.io/guide/workspace-config#styles-and-scripts-configuration) configuration.
11
+
12
+ ## Installation
13
+
14
+ Install globally:
15
+
16
+ ```sh
17
+ mpm install -g ngx-ws
18
+ ```
19
+
20
+ Or run with [npx](https://docs.npmjs.com/cli/v7/commands/npx):
21
+
22
+ ```sh
23
+ npx ngx-ws
24
+ ```
25
+
26
+ ## Usage
27
+
28
+ Run command in directory with `angular.json` file.
29
+
30
+ ```sh
31
+ rm angular.json ; ngx-ws -v
32
+ ```
33
+
34
+ See [example](https://github.com/saaivs/ng-multi-projects) and pay attention to [angular-workspace.yaml](https://github.com/saaivs/ng-multi-projects/blob/master/my-workspace/angular-workspace.yaml) and [angular-project.yaml](https://github.com/saaivs/ng-multi-projects/blob/master/my-workspace/projects/app1/angular-project.yaml) files.
35
+
36
+ ## Options
37
+
38
+ ```text
39
+ --deps Update package.json with project
40
+ specific dependence's.
41
+ --debug Debug mode (Don't delete temporary files).
42
+ --dry-run Dry run.
43
+ -v, --verbose Verbose output.
44
+ --version Show version number.
45
+ --help Show help.
46
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ngx-ws",
3
- "version": "1.0.2",
4
- "description": "Bundle angular.json",
3
+ "version": "1.0.3",
4
+ "description": "Tool to generate angular.json from human readable definitions.",
5
5
  "homepage": "https://github.com/art-ws/ngx-ws",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "dist"
25
25
  ],
26
26
  "engines": {
27
- "node": ">=14"
27
+ "node": ">=12"
28
28
  },
29
29
  "author": {
30
30
  "email": "art-ws@pm.me",