@nx/node 19.6.0-canary.20240726-b3c67de → 19.6.0-canary.20240730-acd9bb7
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/node",
|
3
|
-
"version": "19.6.0-canary.
|
3
|
+
"version": "19.6.0-canary.20240730-acd9bb7",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.",
|
6
6
|
"repository": {
|
@@ -32,11 +32,11 @@
|
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
34
|
"tslib": "^2.3.0",
|
35
|
-
"@nx/devkit": "19.6.0-canary.
|
36
|
-
"@nx/jest": "19.6.0-canary.
|
37
|
-
"@nx/js": "19.6.0-canary.
|
38
|
-
"@nx/eslint": "19.6.0-canary.
|
39
|
-
"@nrwl/node": "19.6.0-canary.
|
35
|
+
"@nx/devkit": "19.6.0-canary.20240730-acd9bb7",
|
36
|
+
"@nx/jest": "19.6.0-canary.20240730-acd9bb7",
|
37
|
+
"@nx/js": "19.6.0-canary.20240730-acd9bb7",
|
38
|
+
"@nx/eslint": "19.6.0-canary.20240730-acd9bb7",
|
39
|
+
"@nrwl/node": "19.6.0-canary.20240730-acd9bb7"
|
40
40
|
},
|
41
41
|
"publishConfig": {
|
42
42
|
"access": "public"
|
@@ -77,8 +77,14 @@ function getServeConfig(options) {
|
|
77
77
|
return {
|
78
78
|
executor: '@nx/js:node',
|
79
79
|
defaultConfiguration: 'development',
|
80
|
+
// Run build, which includes dependency on "^build" by default, so the first run
|
81
|
+
// won't error out due to missing build artifacts.
|
82
|
+
dependsOn: ['build'],
|
80
83
|
options: {
|
81
84
|
buildTarget: `${options.name}:build`,
|
85
|
+
// Even though `false` is the default, set this option so users know it
|
86
|
+
// exists if they want to always run dependencies during each rebuild.
|
87
|
+
runBuildTargetDependencies: false,
|
82
88
|
},
|
83
89
|
configurations: {
|
84
90
|
development: {
|
@@ -279,8 +285,17 @@ async function applicationGeneratorInternal(tree, schema) {
|
|
279
285
|
...options,
|
280
286
|
skipFormat: true,
|
281
287
|
});
|
288
|
+
tasks.push(nestTasks);
|
289
|
+
if (options.docker) {
|
290
|
+
const dockerTask = await (0, setup_docker_1.setupDockerGenerator)(tree, {
|
291
|
+
...options,
|
292
|
+
project: options.name,
|
293
|
+
skipFormat: true,
|
294
|
+
});
|
295
|
+
tasks.push(dockerTask);
|
296
|
+
}
|
282
297
|
return (0, devkit_1.runTasksInSerial)(...[
|
283
|
-
|
298
|
+
...tasks,
|
284
299
|
() => {
|
285
300
|
(0, log_show_project_command_1.logShowProjectCommand)(options.name);
|
286
301
|
},
|