@nx/node 20.5.0-beta.3 → 20.5.0-canary.20250129-3f5e863
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": "20.5.0-
|
|
3
|
+
"version": "20.5.0-canary.20250129-3f5e863",
|
|
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,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"tslib": "^2.3.0",
|
|
35
|
-
"@nx/devkit": "20.5.0-
|
|
36
|
-
"@nx/jest": "20.5.0-
|
|
37
|
-
"@nx/js": "20.5.0-
|
|
38
|
-
"@nx/eslint": "20.5.0-
|
|
35
|
+
"@nx/devkit": "20.5.0-canary.20250129-3f5e863",
|
|
36
|
+
"@nx/jest": "20.5.0-canary.20250129-3f5e863",
|
|
37
|
+
"@nx/js": "20.5.0-canary.20250129-3f5e863",
|
|
38
|
+
"@nx/eslint": "20.5.0-canary.20250129-3f5e863"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
@@ -166,9 +166,7 @@ function addAppFiles(tree, options) {
|
|
|
166
166
|
rootTsConfigPath: (0, js_1.getRelativePathToRootTsConfig)(tree, options.appProjectRoot),
|
|
167
167
|
webpackPluginOptions: (0, has_webpack_plugin_1.hasWebpackPlugin)(tree)
|
|
168
168
|
? {
|
|
169
|
-
outputPath: options.
|
|
170
|
-
? 'dist'
|
|
171
|
-
: (0, devkit_1.joinPathFragments)((0, devkit_1.offsetFromRoot)(options.appProjectRoot), 'dist', options.rootProject ? options.name : options.appProjectRoot),
|
|
169
|
+
outputPath: options.outputPath,
|
|
172
170
|
main: './src/main' + (options.js ? '.js' : '.ts'),
|
|
173
171
|
tsConfig: './tsconfig.app.json',
|
|
174
172
|
assets: ['./src/assets'],
|
|
@@ -484,9 +482,7 @@ async function normalizeOptions(host, options) {
|
|
|
484
482
|
unitTestRunner: options.unitTestRunner ?? 'jest',
|
|
485
483
|
rootProject: options.rootProject ?? false,
|
|
486
484
|
port: options.port ?? 3000,
|
|
487
|
-
outputPath:
|
|
488
|
-
? (0, devkit_1.joinPathFragments)(appProjectRoot, 'dist')
|
|
489
|
-
: (0, devkit_1.joinPathFragments)('dist', options.rootProject ? options.name : appProjectRoot),
|
|
485
|
+
outputPath: (0, devkit_1.joinPathFragments)('dist', options.rootProject ? options.name : appProjectRoot),
|
|
490
486
|
isUsingTsSolutionConfig,
|
|
491
487
|
swcJest,
|
|
492
488
|
};
|