@rxap/plugin-nestjs 19.1.2-dev.16 → 19.1.2-dev.17
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 +4 -0
- package/README.md +52 -4
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.1.2-dev.17](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@19.1.2-dev.16...@rxap/plugin-nestjs@19.1.2-dev.17) (2024-07-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/plugin-nestjs
|
|
9
|
+
|
|
6
10
|
## [19.1.2-dev.16](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@19.1.2-dev.15...@rxap/plugin-nestjs@19.1.2-dev.16) (2024-07-26)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @rxap/plugin-nestjs
|
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|

|
|
9
9
|
|
|
10
10
|
- [Installation](#installation)
|
|
11
|
+
- [Guides](#guides)
|
|
11
12
|
- [Generators](#generators)
|
|
12
13
|
- [Executors](#executors)
|
|
13
14
|
|
|
@@ -17,14 +18,61 @@
|
|
|
17
18
|
```bash
|
|
18
19
|
yarn add @rxap/plugin-nestjs
|
|
19
20
|
```
|
|
20
|
-
**Install peer dependencies:**
|
|
21
|
-
```bash
|
|
22
|
-
yarn add @nx/devkit@^19.1.1 @nx/js@^19.1.1 @nx/nest@^19.1.1 @rxap/node-utilities@^1.2.2 @rxap/plugin-application@^19.0.2-dev.0 @rxap/plugin-library@^19.1.0-dev.1 @rxap/plugin-utilities@^19.0.2-dev.1 @rxap/ts-morph@^1.3.0-dev.2 @rxap/utilities@^16.2.2 @rxap/workspace-ts-morph@^19.0.2-dev.0 @rxap/workspace-utilities@^19.1.0-dev.1 colors@^1.4.0 ts-morph@^18.0.0
|
|
23
|
-
```
|
|
24
21
|
**Execute the init generator:**
|
|
25
22
|
```bash
|
|
26
23
|
yarn nx g @rxap/plugin-nestjs:init
|
|
27
24
|
```
|
|
25
|
+
# Guides
|
|
26
|
+
|
|
27
|
+
# Application
|
|
28
|
+
|
|
29
|
+
## Standalone
|
|
30
|
+
|
|
31
|
+
Use the nx generate to create a new application:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
NAME=app
|
|
35
|
+
nx g @nx/nest:application \
|
|
36
|
+
--name=service-$NAME \
|
|
37
|
+
--directory service/$NAME \
|
|
38
|
+
--projectNameAndRootFormat as-provided \
|
|
39
|
+
--tags service,nest
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Initialize the application:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
nx g @rxap/plugin-nestjs:init-application \
|
|
46
|
+
--project service-$NAME \
|
|
47
|
+
--cleanup \
|
|
48
|
+
--generateMain \
|
|
49
|
+
--overwrite
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Standalone Microservice
|
|
53
|
+
|
|
54
|
+
Use the nx generate to create a new standalone microservice:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
nx g @rxap/plugin-nestjs:frontend-microservice --name $NAME
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Frontend Microservice
|
|
61
|
+
|
|
62
|
+
Run the following command to create a new frontend microservice:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
nx g @rxap/plugin-nestjs:frontend-microservice --feature $FEATURE --frontend $PROJECT
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Feature Microservice
|
|
69
|
+
|
|
70
|
+
Run the following command to create a new feature microservice:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
nx g @rxap/plugin-nestjs:feature-microservice --feature $FEATURE --frontend $PROJECT
|
|
74
|
+
```
|
|
75
|
+
|
|
28
76
|
# Generators
|
|
29
77
|
|
|
30
78
|
## init
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "19.1.2-dev.
|
|
2
|
+
"version": "19.1.2-dev.17",
|
|
3
3
|
"name": "@rxap/plugin-nestjs",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"@nx/js": "19.4.2",
|
|
8
8
|
"@nx/nest": "19.4.2",
|
|
9
9
|
"@rxap/node-utilities": "^1.3.3-dev.0",
|
|
10
|
-
"@rxap/plugin-application": "^19.1.1-dev.
|
|
11
|
-
"@rxap/plugin-library": "^19.4.0-dev.
|
|
12
|
-
"@rxap/plugin-open-api": "^19.1.4-dev.
|
|
13
|
-
"@rxap/plugin-utilities": "^19.0.6-dev.
|
|
14
|
-
"@rxap/ts-morph": "^1.4.3-dev.
|
|
10
|
+
"@rxap/plugin-application": "^19.1.1-dev.8",
|
|
11
|
+
"@rxap/plugin-library": "^19.4.0-dev.3",
|
|
12
|
+
"@rxap/plugin-open-api": "^19.1.4-dev.15",
|
|
13
|
+
"@rxap/plugin-utilities": "^19.0.6-dev.8",
|
|
14
|
+
"@rxap/ts-morph": "^1.4.3-dev.4",
|
|
15
15
|
"@rxap/utilities": "^16.3.0-dev.2",
|
|
16
|
-
"@rxap/workspace-ts-morph": "^19.1.3-dev.
|
|
16
|
+
"@rxap/workspace-ts-morph": "^19.1.3-dev.8",
|
|
17
17
|
"@rxap/workspace-utilities": "^19.4.0-dev.6",
|
|
18
18
|
"colors": "1.4.0",
|
|
19
19
|
"semver": "7.5.3",
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
},
|
|
55
55
|
"schematics": "./generators.json",
|
|
56
56
|
"type": "commonjs",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "2fa112bca0576f297e701eb1ff3f3f58651de1aa",
|
|
58
58
|
"main": "./src/index.js"
|
|
59
59
|
}
|