@rxap/preset-angular 19.0.3-dev.9 → 19.0.4-dev.0
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.
- package/CHANGELOG.md +32 -0
- package/README.md +44 -21
- package/generators.json +12 -0
- package/package.json +5 -4
- package/src/generators/init/index.d.ts +2 -0
- package/src/generators/init/index.js +7 -0
- package/src/generators/init/index.js.map +1 -0
- package/src/generators/preset/__snapshots__/generator.spec.ts.snap +3 -9
- package/src/generators/preset/index.d.ts +2 -0
- package/src/generators/preset/index.js +7 -0
- package/src/generators/preset/index.js.map +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [19.0.4-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3...@rxap/preset-angular@19.0.4-dev.0) (2024-08-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
9
|
+
|
|
10
|
+
## [19.0.3](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.15...@rxap/preset-angular@19.0.3) (2024-07-30)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
13
|
+
|
|
14
|
+
## [19.0.3-dev.15](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.14...@rxap/preset-angular@19.0.3-dev.15) (2024-07-30)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
17
|
+
|
|
18
|
+
## [19.0.3-dev.14](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.13...@rxap/preset-angular@19.0.3-dev.14) (2024-07-26)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
21
|
+
|
|
22
|
+
## [19.0.3-dev.13](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.12...@rxap/preset-angular@19.0.3-dev.13) (2024-07-25)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
25
|
+
|
|
26
|
+
## [19.0.3-dev.12](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.11...@rxap/preset-angular@19.0.3-dev.12) (2024-07-24)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
29
|
+
|
|
30
|
+
## [19.0.3-dev.11](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.10...@rxap/preset-angular@19.0.3-dev.11) (2024-07-24)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
33
|
+
|
|
34
|
+
## [19.0.3-dev.10](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.9...@rxap/preset-angular@19.0.3-dev.10) (2024-07-22)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @rxap/preset-angular
|
|
37
|
+
|
|
6
38
|
## [19.0.3-dev.9](https://gitlab.com/rxap/packages/compare/@rxap/preset-angular@19.0.3-dev.8...@rxap/preset-angular@19.0.3-dev.9) (2024-07-10)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @rxap/preset-angular
|
package/README.md
CHANGED
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
#
|
|
2
|
-
@rxap/preset-angular
|
|
1
|
+
# @rxap/preset-angular
|
|
3
2
|
|
|
4
3
|
[](https://www.npmjs.com/package/@rxap/preset-angular)
|
|
5
|
-
[](https://github.com/prettier/prettier)
|
|
9
|
-

|
|
4
|
+
[](https://commitizen.github.io/cz-cli/)
|
|
5
|
+
[](https://github.com/prettier/prettier)
|
|
6
|
+

|
|
11
7
|

|
|
12
|
-

|
|
13
|
-
|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
- [Installation](#installation)
|
|
14
11
|
- [Guides](#guides)
|
|
15
12
|
- [Generators](#generators)
|
|
16
13
|
|
|
17
|
-
# Installation
|
|
18
|
-
|
|
14
|
+
# Installation
|
|
15
|
+
|
|
16
|
+
**Add the package to your workspace:**
|
|
17
|
+
```bash
|
|
18
|
+
yarn add @rxap/preset-angular
|
|
19
|
+
```
|
|
20
|
+
**Execute the init generator:**
|
|
21
|
+
```bash
|
|
22
|
+
yarn nx g @rxap/preset-angular:init
|
|
19
23
|
```
|
|
20
24
|
# Guides
|
|
21
25
|
|
|
22
|
-
|
|
26
|
+
# Create a new workspace
|
|
23
27
|
|
|
24
28
|
To create a new workspace, run the following command:
|
|
25
29
|
|
|
26
30
|
```bash
|
|
27
31
|
WORKSPACE_NAME=my-workspace
|
|
28
|
-
yarn create nx-workspace
|
|
32
|
+
yarn create nx-workspace --preset @rxap/preset-angular --pm yarn --name $WORKSPACE_NAME
|
|
29
33
|
```
|
|
30
34
|
|
|
31
35
|
Navigate to the newly created workspace and run the yarn install command:
|
|
@@ -37,11 +41,30 @@ yarn
|
|
|
37
41
|
|
|
38
42
|
# Generators
|
|
39
43
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
>
|
|
43
|
-
preset generator
|
|
44
|
+
## preset
|
|
45
|
+
> preset generator
|
|
44
46
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
```bash
|
|
48
|
+
yarn nx g @rxap/preset-angular:preset
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## init
|
|
52
|
+
> Initialize the package in the workspace
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
yarn nx g @rxap/preset-angular:init
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## preset
|
|
59
|
+
> preset generator
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
yarn nx g @rxap/preset-angular:preset
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## init
|
|
66
|
+
> Initialize the package in the workspace
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
yarn nx g @rxap/preset-angular:init
|
|
70
|
+
```
|
package/generators.json
CHANGED
|
@@ -11,5 +11,17 @@
|
|
|
11
11
|
"schema": "./src/generators/init/schema.json",
|
|
12
12
|
"description": "Initialize the package in the workspace"
|
|
13
13
|
}
|
|
14
|
+
},
|
|
15
|
+
"schematics": {
|
|
16
|
+
"preset": {
|
|
17
|
+
"factory": "./src/generators/preset/index",
|
|
18
|
+
"schema": "./src/generators/preset/schema.json",
|
|
19
|
+
"description": "preset generator"
|
|
20
|
+
},
|
|
21
|
+
"init": {
|
|
22
|
+
"factory": "./src/generators/init/index",
|
|
23
|
+
"schema": "./src/generators/init/schema.json",
|
|
24
|
+
"description": "Initialize the package in the workspace"
|
|
25
|
+
}
|
|
14
26
|
}
|
|
15
27
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.0.
|
|
2
|
+
"version": "19.0.4-dev.0",
|
|
3
3
|
"name": "@rxap/preset-angular",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@nx/devkit": "19.4.2",
|
|
7
|
-
"@rxap/plugin-angular": "^19.3.
|
|
8
|
-
"@rxap/plugin-workspace": "^19.1.
|
|
7
|
+
"@rxap/plugin-angular": "^19.3.2-dev.0",
|
|
8
|
+
"@rxap/plugin-workspace": "^19.1.4-dev.0",
|
|
9
9
|
"tslib": "2.6.2"
|
|
10
10
|
},
|
|
11
11
|
"author": {
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"url": "https://gitlab.com/rxap/packages.git",
|
|
38
38
|
"directory": "packages/preset/angular"
|
|
39
39
|
},
|
|
40
|
+
"schematics": "./generators.json",
|
|
40
41
|
"type": "commonjs",
|
|
41
42
|
"typings": "./src/index.d.ts",
|
|
42
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "956c346f3318983a186263380b0eed728b567a7b"
|
|
43
44
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const devkit_1 = require("@nx/devkit");
|
|
4
|
+
const generator_1 = require("./generator");
|
|
5
|
+
const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
|
|
6
|
+
exports.default = schematic;
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/preset/angular/src/generators/init/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
|
|
@@ -330,7 +330,6 @@ exports[`preset should use angular preset 3`] = `
|
|
|
330
330
|
},
|
|
331
331
|
"generators": {
|
|
332
332
|
"@nx/plugin:plugin": {
|
|
333
|
-
"directory": "plugin",
|
|
334
333
|
"publishable": false,
|
|
335
334
|
"tags": "plugin,nx,nx-plugin"
|
|
336
335
|
},
|
|
@@ -340,7 +339,6 @@ exports[`preset should use angular preset 3`] = `
|
|
|
340
339
|
"buildable": false
|
|
341
340
|
},
|
|
342
341
|
"@nx/nest:library": {
|
|
343
|
-
"directory": "nest",
|
|
344
342
|
"tags": "nest",
|
|
345
343
|
"publishable": false,
|
|
346
344
|
"buildable": false
|
|
@@ -348,8 +346,7 @@ exports[`preset should use angular preset 3`] = `
|
|
|
348
346
|
"@nx/nest:application": {
|
|
349
347
|
"e2eTestRunner": "none",
|
|
350
348
|
"tags": "nest",
|
|
351
|
-
"strict": true
|
|
352
|
-
"directory": "service"
|
|
349
|
+
"strict": true
|
|
353
350
|
},
|
|
354
351
|
"@nx/plugin:executor": {
|
|
355
352
|
"unitTestRunner": "none"
|
|
@@ -366,8 +363,7 @@ exports[`preset should use angular preset 3`] = `
|
|
|
366
363
|
"prefix": "rxap",
|
|
367
364
|
"standalone": true,
|
|
368
365
|
"addTailwind": true,
|
|
369
|
-
"routing": true
|
|
370
|
-
"directory": "user-interface"
|
|
366
|
+
"routing": true
|
|
371
367
|
},
|
|
372
368
|
"@nx/angular:host": {
|
|
373
369
|
"style": "scss",
|
|
@@ -390,8 +386,7 @@ exports[`preset should use angular preset 3`] = `
|
|
|
390
386
|
"prefix": "rxap",
|
|
391
387
|
"standalone": true,
|
|
392
388
|
"addTailwind": true,
|
|
393
|
-
"host": "shell"
|
|
394
|
-
"directory": "user-interface/feature"
|
|
389
|
+
"host": "shell"
|
|
395
390
|
},
|
|
396
391
|
"@nx/angular:component": {
|
|
397
392
|
"style": "scss",
|
|
@@ -405,7 +400,6 @@ exports[`preset should use angular preset 3`] = `
|
|
|
405
400
|
"changeDetection": "OnPush",
|
|
406
401
|
"standalone": true,
|
|
407
402
|
"style": "scss",
|
|
408
|
-
"directory": "angular",
|
|
409
403
|
"tags": "angular,ngx",
|
|
410
404
|
"prefix": "rxap",
|
|
411
405
|
"skipModule": true,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const devkit_1 = require("@nx/devkit");
|
|
4
|
+
const generator_1 = require("./generator");
|
|
5
|
+
const schematic = (0, devkit_1.convertNxGenerator)(generator_1.default);
|
|
6
|
+
exports.default = schematic;
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/preset/angular/src/generators/preset/index.ts"],"names":[],"mappings":";;AAAA,uCAAgD;AAChD,2CAAoC;AAEpC,MAAM,SAAS,GAAG,IAAA,2BAAkB,EAAC,mBAAS,CAAC,CAAC;AAChD,kBAAe,SAAS,CAAC"}
|