@rxap/plugin-nestjs 17.0.1-dev.0 → 17.0.1
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
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## [17.0.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@17.0.1-dev.0...@rxap/plugin-nestjs@17.0.1) (2024-05-29)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- support async package json reading ([6b8a163](https://gitlab.com/rxap/packages/commit/6b8a16323b25108a81291ccf976ee7c2aaedacc3))
|
|
11
|
+
|
|
6
12
|
## [17.0.1-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/plugin-nestjs@16.3.1...@rxap/plugin-nestjs@17.0.1-dev.0) (2024-05-29)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @rxap/plugin-nestjs
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ yarn add @rxap/plugin-nestjs
|
|
|
19
19
|
```
|
|
20
20
|
**Install peer dependencies:**
|
|
21
21
|
```bash
|
|
22
|
-
yarn add @nx/devkit@^17.3.2 @nx/js@^17.3.2 @nx/nest@^17.3.2 @rxap/node-utilities@^1.2.2
|
|
22
|
+
yarn add @nx/devkit@^17.3.2 @nx/js@^17.3.2 @nx/nest@^17.3.2 @rxap/node-utilities@^1.2.2 @rxap/plugin-application@^17.0.1 @rxap/plugin-library@^17.0.1 @rxap/plugin-utilities@^17.0.1 @rxap/ts-morph@^1.2.2 @rxap/utilities@^16.2.2 @rxap/workspace-ts-morph@^16.1.3 @rxap/workspace-utilities@^16.3.2 colors@^1.4.0 ts-morph@^18.0.0
|
|
23
23
|
```
|
|
24
24
|
**Execute the init generator:**
|
|
25
25
|
```bash
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "17.0.1
|
|
2
|
+
"version": "17.0.1",
|
|
3
3
|
"name": "@rxap/plugin-nestjs",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"@nx/devkit": "^17.3.2",
|
|
11
11
|
"@nx/js": "^17.3.2",
|
|
12
12
|
"@nx/nest": "^17.3.2",
|
|
13
|
-
"@rxap/node-utilities": "^1.2.2
|
|
14
|
-
"@rxap/plugin-application": "^17.0.1
|
|
15
|
-
"@rxap/plugin-library": "^17.0.1
|
|
16
|
-
"@rxap/plugin-utilities": "^17.0.1
|
|
17
|
-
"@rxap/ts-morph": "^1.2.2
|
|
18
|
-
"@rxap/utilities": "^16.2.2
|
|
19
|
-
"@rxap/workspace-ts-morph": "^16.1.3
|
|
20
|
-
"@rxap/workspace-utilities": "^16.3.2
|
|
13
|
+
"@rxap/node-utilities": "^1.2.2",
|
|
14
|
+
"@rxap/plugin-application": "^17.0.1",
|
|
15
|
+
"@rxap/plugin-library": "^17.0.1",
|
|
16
|
+
"@rxap/plugin-utilities": "^17.0.1",
|
|
17
|
+
"@rxap/ts-morph": "^1.2.2",
|
|
18
|
+
"@rxap/utilities": "^16.2.2",
|
|
19
|
+
"@rxap/workspace-ts-morph": "^16.1.3",
|
|
20
|
+
"@rxap/workspace-utilities": "^16.3.2",
|
|
21
21
|
"colors": "^1.4.0",
|
|
22
22
|
"ts-morph": "^18.0.0"
|
|
23
23
|
},
|
|
@@ -57,39 +57,39 @@
|
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"package": "@rxap/generator-ts-morph",
|
|
60
|
-
"version": "1.0.5
|
|
60
|
+
"version": "1.0.5"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"package": "@rxap/node-utilities",
|
|
64
|
-
"version": "1.2.2
|
|
64
|
+
"version": "1.2.2"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"package": "@rxap/plugin-application",
|
|
68
|
-
"version": "17.0.1
|
|
68
|
+
"version": "17.0.1"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"package": "@rxap/plugin-library",
|
|
72
|
-
"version": "17.0.1
|
|
72
|
+
"version": "17.0.1"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"package": "@rxap/plugin-utilities",
|
|
76
|
-
"version": "17.0.1
|
|
76
|
+
"version": "17.0.1"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"package": "@rxap/ts-morph",
|
|
80
|
-
"version": "1.2.2
|
|
80
|
+
"version": "1.2.2"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"package": "@rxap/utilities",
|
|
84
|
-
"version": "16.2.2
|
|
84
|
+
"version": "16.2.2"
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"package": "@rxap/workspace-ts-morph",
|
|
88
|
-
"version": "16.1.3
|
|
88
|
+
"version": "16.1.3"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"package": "@rxap/workspace-utilities",
|
|
92
|
-
"version": "16.3.2
|
|
92
|
+
"version": "16.3.2"
|
|
93
93
|
}
|
|
94
94
|
]
|
|
95
95
|
},
|
|
@@ -104,6 +104,6 @@
|
|
|
104
104
|
},
|
|
105
105
|
"schematics": "./generators.json",
|
|
106
106
|
"type": "commonjs",
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "5fbe2959907b2f431b9bb9309415df831b8ff520",
|
|
108
108
|
"main": "./src/index.js"
|
|
109
109
|
}
|
|
@@ -9,12 +9,12 @@ function runExecutor(options, context) {
|
|
|
9
9
|
var _a, _b, _c, _d;
|
|
10
10
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
11
11
|
console.log('Executor ran for PackageJson', options);
|
|
12
|
-
(0, plugin_utilities_1.
|
|
12
|
+
yield (0, plugin_utilities_1.LoadProjectToPackageMappingWithRetry)(context);
|
|
13
13
|
const dependencies = (0, plugin_utilities_1.GetAllPackageDependenciesForProject)(context);
|
|
14
14
|
console.log('resolved local published package dependencies', JSON.stringify(dependencies));
|
|
15
15
|
if (options.dependencies) {
|
|
16
16
|
console.log('adding dependencies from options', options.dependencies.join(', '));
|
|
17
|
-
const rootPackageJson = (0, node_utilities_1.
|
|
17
|
+
const rootPackageJson = yield (0, node_utilities_1.jsonFileWithRetry)((0, path_1.join)(context.root, 'package.json'));
|
|
18
18
|
for (const dependency of options.dependencies) {
|
|
19
19
|
dependencies[dependency] = (_d = (_b = (_a = rootPackageJson.dependencies) === null || _a === void 0 ? void 0 : _a[dependency]) !== null && _b !== void 0 ? _b : (_c = rootPackageJson.devDependencies) === null || _c === void 0 ? void 0 : _c[dependency]) !== null && _d !== void 0 ? _d : 'latest';
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/executors/package-json/executor.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/nestjs/src/executors/package-json/executor.ts"],"names":[],"mappings":";;;AACA,yDAAyD;AACzD,6DAKgC;AAEhC,2BAAmC;AACnC,+BAA4B;AAG5B,SAA8B,WAAW,CACvC,OAAkC,EAClC,OAAwB;;;QAExB,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;QAErD,MAAM,IAAA,uDAAoC,EAAC,OAAO,CAAC,CAAC;QAEpD,MAAM,YAAY,GAAG,IAAA,sDAAmC,EAAC,OAAO,CAAC,CAAC;QAElE,OAAO,CAAC,GAAG,CAAC,+CAA+C,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;QAE3F,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;YACzB,OAAO,CAAC,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