@nx/express 23.0.0-beta.5 → 23.0.0-beta.6
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/express",
|
|
3
|
-
"version": "23.0.0-beta.
|
|
3
|
+
"version": "23.0.0-beta.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Express contains executors and generators for allowing your workspace to create powerful Express Node applications and APIs.",
|
|
6
6
|
"repository": {
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"migrations": "./migrations.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nx/devkit": "23.0.0-beta.
|
|
36
|
-
"@nx/js": "23.0.0-beta.
|
|
37
|
-
"@nx/node": "23.0.0-beta.
|
|
35
|
+
"@nx/devkit": "23.0.0-beta.6",
|
|
36
|
+
"@nx/js": "23.0.0-beta.6",
|
|
37
|
+
"@nx/node": "23.0.0-beta.6",
|
|
38
38
|
"tslib": "^2.3.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.applicationGenerator = applicationGenerator;
|
|
4
4
|
exports.applicationGeneratorInternal = applicationGeneratorInternal;
|
|
5
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
5
6
|
const devkit_1 = require("@nx/devkit");
|
|
6
|
-
const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
|
|
7
7
|
const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
|
|
8
8
|
const node_1 = require("@nx/node");
|
|
9
9
|
const versions_1 = require("@nx/node/src/utils/versions");
|
|
@@ -74,8 +74,8 @@ async function applicationGeneratorInternal(tree, schema) {
|
|
|
74
74
|
}
|
|
75
75
|
exports.default = applicationGenerator;
|
|
76
76
|
async function normalizeOptions(host, options) {
|
|
77
|
-
await (0,
|
|
78
|
-
const { projectName: appProjectName, projectRoot: appProjectRoot } = await (0,
|
|
77
|
+
await (0, internal_1.ensureRootProjectName)(options, 'application');
|
|
78
|
+
const { projectName: appProjectName, projectRoot: appProjectRoot } = await (0, internal_1.determineProjectNameAndRootOptions)(host, {
|
|
79
79
|
name: options.name,
|
|
80
80
|
projectType: 'application',
|
|
81
81
|
directory: options.directory,
|