@nx/express 19.9.0-canary.20240921-a510b36 → 20.0.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/express",
|
3
|
-
"version": "
|
3
|
+
"version": "20.0.0-beta.0",
|
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": {
|
@@ -31,10 +31,10 @@
|
|
31
31
|
"migrations": "./migrations.json"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@nx/devkit": "
|
35
|
-
"@nx/node": "
|
34
|
+
"@nx/devkit": "20.0.0-beta.0",
|
35
|
+
"@nx/node": "20.0.0-beta.0",
|
36
36
|
"tslib": "^2.3.0",
|
37
|
-
"@nrwl/express": "
|
37
|
+
"@nrwl/express": "20.0.0-beta.0"
|
38
38
|
},
|
39
39
|
"peerDependencies": {
|
40
40
|
"express": "^4.18.1"
|
@@ -45,7 +45,6 @@ server.on('error', console.error);
|
|
45
45
|
async function applicationGenerator(tree, schema) {
|
46
46
|
return await applicationGeneratorInternal(tree, {
|
47
47
|
addPlugin: false,
|
48
|
-
projectNameAndRootFormat: 'derived',
|
49
48
|
...schema,
|
50
49
|
});
|
51
50
|
}
|
@@ -77,7 +76,6 @@ async function normalizeOptions(host, options) {
|
|
77
76
|
projectType: 'application',
|
78
77
|
directory: options.directory,
|
79
78
|
projectNameAndRootFormat: options.projectNameAndRootFormat,
|
80
|
-
callingGenerator: '@nx/express:application',
|
81
79
|
});
|
82
80
|
options.projectNameAndRootFormat = projectNameAndRootFormat;
|
83
81
|
const nxJson = (0, devkit_1.readNxJson)(host);
|
@@ -66,12 +66,6 @@
|
|
66
66
|
"default": false,
|
67
67
|
"x-deprecated": "Use --swcJest instead for faster compilation"
|
68
68
|
},
|
69
|
-
"pascalCaseFiles": {
|
70
|
-
"type": "boolean",
|
71
|
-
"description": "Use pascal case file names.",
|
72
|
-
"alias": "P",
|
73
|
-
"default": false
|
74
|
-
},
|
75
69
|
"js": {
|
76
70
|
"type": "boolean",
|
77
71
|
"description": "Generate JavaScript files rather than TypeScript files.",
|