@nx/nest 21.2.3 → 21.3.0-beta.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/nest",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.",
|
|
6
6
|
"repository": {
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@nestjs/schematics": "^11.0.0",
|
|
35
|
-
"@nx/devkit": "21.
|
|
36
|
-
"@nx/js": "21.
|
|
37
|
-
"@nx/eslint": "21.
|
|
38
|
-
"@nx/node": "21.
|
|
35
|
+
"@nx/devkit": "21.3.0-beta.0",
|
|
36
|
+
"@nx/js": "21.3.0-beta.0",
|
|
37
|
+
"@nx/eslint": "21.3.0-beta.0",
|
|
38
|
+
"@nx/node": "21.3.0-beta.0",
|
|
39
39
|
"tslib": "^2.3.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
@@ -17,6 +17,10 @@ async function libraryGenerator(tree, rawOptions) {
|
|
|
17
17
|
}
|
|
18
18
|
async function libraryGeneratorInternal(tree, rawOptions) {
|
|
19
19
|
const options = await (0, lib_1.normalizeOptions)(tree, rawOptions);
|
|
20
|
+
if (rawOptions.simpleName !== undefined && rawOptions.simpleName !== false) {
|
|
21
|
+
// TODO(v22): Remove simpleName as user should be using name.
|
|
22
|
+
devkit_1.logger.warn(`The "--simpleName" option is deprecated and will be removed in Nx 22. Please use the "--name" option to provide the exact name you want for the library.`);
|
|
23
|
+
}
|
|
20
24
|
const jsLibraryTask = await (0, js_1.libraryGenerator)(tree, (0, lib_1.toJsLibraryGeneratorOptions)(options));
|
|
21
25
|
updatePackageJson(tree, options);
|
|
22
26
|
const initTask = await (0, init_1.default)(tree, rawOptions);
|
|
@@ -132,7 +132,8 @@
|
|
|
132
132
|
"simpleName": {
|
|
133
133
|
"description": "Don't include the directory in the name of the module of the library.",
|
|
134
134
|
"type": "boolean",
|
|
135
|
-
"default": false
|
|
135
|
+
"default": false,
|
|
136
|
+
"x-deprecated": "Use the --name option to provide the exact name instead. This option will be removed in Nx 22."
|
|
136
137
|
},
|
|
137
138
|
"useProjectJson": {
|
|
138
139
|
"type": "boolean",
|