nx 20.5.0-canary.20250218-3d63da2 → 20.5.0-canary.20250219-51a0bae
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",
|
3
|
-
"version": "20.5.0-canary.
|
3
|
+
"version": "20.5.0-canary.20250219-51a0bae",
|
4
4
|
"private": false,
|
5
5
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
6
6
|
"repository": {
|
@@ -82,16 +82,16 @@
|
|
82
82
|
}
|
83
83
|
},
|
84
84
|
"optionalDependencies": {
|
85
|
-
"@nx/nx-darwin-arm64": "20.5.0-canary.
|
86
|
-
"@nx/nx-darwin-x64": "20.5.0-canary.
|
87
|
-
"@nx/nx-freebsd-x64": "20.5.0-canary.
|
88
|
-
"@nx/nx-linux-arm-gnueabihf": "20.5.0-canary.
|
89
|
-
"@nx/nx-linux-arm64-gnu": "20.5.0-canary.
|
90
|
-
"@nx/nx-linux-arm64-musl": "20.5.0-canary.
|
91
|
-
"@nx/nx-linux-x64-gnu": "20.5.0-canary.
|
92
|
-
"@nx/nx-linux-x64-musl": "20.5.0-canary.
|
93
|
-
"@nx/nx-win32-arm64-msvc": "20.5.0-canary.
|
94
|
-
"@nx/nx-win32-x64-msvc": "20.5.0-canary.
|
85
|
+
"@nx/nx-darwin-arm64": "20.5.0-canary.20250219-51a0bae",
|
86
|
+
"@nx/nx-darwin-x64": "20.5.0-canary.20250219-51a0bae",
|
87
|
+
"@nx/nx-freebsd-x64": "20.5.0-canary.20250219-51a0bae",
|
88
|
+
"@nx/nx-linux-arm-gnueabihf": "20.5.0-canary.20250219-51a0bae",
|
89
|
+
"@nx/nx-linux-arm64-gnu": "20.5.0-canary.20250219-51a0bae",
|
90
|
+
"@nx/nx-linux-arm64-musl": "20.5.0-canary.20250219-51a0bae",
|
91
|
+
"@nx/nx-linux-x64-gnu": "20.5.0-canary.20250219-51a0bae",
|
92
|
+
"@nx/nx-linux-x64-musl": "20.5.0-canary.20250219-51a0bae",
|
93
|
+
"@nx/nx-win32-arm64-msvc": "20.5.0-canary.20250219-51a0bae",
|
94
|
+
"@nx/nx-win32-x64-msvc": "20.5.0-canary.20250219-51a0bae"
|
95
95
|
},
|
96
96
|
"nx-migrations": {
|
97
97
|
"migrations": "./migrations.json",
|
package/src/native/index.d.ts
CHANGED
@@ -173,7 +173,7 @@ export declare export function getFilesForOutputs(directory: string, entries: Ar
|
|
173
173
|
|
174
174
|
export declare export function getTransformableOutputs(outputs: Array<string>): Array<string>
|
175
175
|
|
176
|
-
export declare export function hashArray(input: Array<string>): string
|
176
|
+
export declare export function hashArray(input: Array<string | undefined | null>): string
|
177
177
|
|
178
178
|
export interface HashDetails {
|
179
179
|
value: string
|
Binary file
|
@@ -23,11 +23,11 @@ function readTsConfigOptions(tsConfigPath) {
|
|
23
23
|
tsModule = require('typescript');
|
24
24
|
}
|
25
25
|
const readResult = tsModule.readConfigFile(tsConfigPath, tsModule.sys.readFile);
|
26
|
-
// we don't need to scan
|
26
|
+
// We only care about options, so we don't need to scan source files, and thus
|
27
|
+
// `readDirectory` is stubbed for performance.
|
27
28
|
const host = {
|
29
|
+
...tsModule.sys,
|
28
30
|
readDirectory: () => [],
|
29
|
-
readFile: () => '',
|
30
|
-
fileExists: tsModule.sys.fileExists,
|
31
31
|
};
|
32
32
|
return tsModule.parseJsonConfigFileContent(readResult.config, host, (0, path_1.dirname)(tsConfigPath)).options;
|
33
33
|
}
|
@@ -186,12 +186,14 @@ const server = (0, net_1.createServer)((socket) => {
|
|
186
186
|
});
|
187
187
|
});
|
188
188
|
server.listen(socketPath);
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
}
|
189
|
+
if (process.env.NX_PLUGIN_NO_TIMEOUTS !== 'true') {
|
190
|
+
setTimeout(() => {
|
191
|
+
if (!connected) {
|
192
|
+
console.error('The plugin worker is exiting as it was not connected to within 5 seconds.');
|
193
|
+
process.exit(1);
|
194
|
+
}
|
195
|
+
}, 5000).unref();
|
196
|
+
}
|
195
197
|
const exitHandler = (exitCode) => () => {
|
196
198
|
server.close();
|
197
199
|
try {
|