nx
Advanced tools
Comparing version 19.5.0-canary.20240710-2b7b523 to 19.5.0-canary.20240711-2c4c2ae
{ | ||
"name": "nx", | ||
"version": "19.5.0-canary.20240710-2b7b523", | ||
"version": "19.5.0-canary.20240711-2c4c2ae", | ||
"private": false, | ||
@@ -74,3 +74,3 @@ "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", | ||
"ora": "5.3.0", | ||
"@nrwl/tao": "19.5.0-canary.20240710-2b7b523" | ||
"@nrwl/tao": "19.5.0-canary.20240711-2c4c2ae" | ||
}, | ||
@@ -90,12 +90,12 @@ "peerDependencies": { | ||
"optionalDependencies": { | ||
"@nx/nx-darwin-x64": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-darwin-arm64": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-linux-x64-gnu": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-linux-x64-musl": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-win32-x64-msvc": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-linux-arm64-gnu": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-linux-arm64-musl": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-linux-arm-gnueabihf": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-win32-arm64-msvc": "19.5.0-canary.20240710-2b7b523", | ||
"@nx/nx-freebsd-x64": "19.5.0-canary.20240710-2b7b523" | ||
"@nx/nx-darwin-x64": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-darwin-arm64": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-linux-x64-gnu": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-linux-x64-musl": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-win32-x64-msvc": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-linux-arm64-gnu": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-linux-arm64-musl": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-linux-arm-gnueabihf": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-win32-arm64-msvc": "19.5.0-canary.20240711-2c4c2ae", | ||
"@nx/nx-freebsd-x64": "19.5.0-canary.20240711-2c4c2ae" | ||
}, | ||
@@ -102,0 +102,0 @@ "nx-migrations": { |
@@ -28,3 +28,3 @@ import { PluginConfiguration } from '../../config/nx-json'; | ||
]>; | ||
export declare function loadNxPlugins(plugins: PluginConfiguration[], root?: string): Promise<[LoadedNxPlugin[], () => void]>; | ||
export declare function loadNxPlugins(plugins: PluginConfiguration[], root?: string): Promise<readonly [LoadedNxPlugin[], () => void]>; | ||
export declare function getDefaultPlugins(root: string): Promise<string[]>; |
@@ -72,14 +72,15 @@ "use strict"; | ||
async function loadNxPlugins(plugins, root = workspace_root_1.workspaceRoot) { | ||
const result = []; | ||
const loadingMethod = process.env.NX_ISOLATE_PLUGINS === 'true' | ||
performance.mark('loadNxPlugins:start'); | ||
const loadingMethod = process.env.NX_ISOLATE_PLUGINS !== 'false' | ||
? isolation_1.loadNxPluginInIsolation | ||
: loader_1.loadNxPlugin; | ||
plugins = await normalizePlugins(plugins, root); | ||
const result = new Array(plugins?.length); | ||
const cleanupFunctions = []; | ||
for (const plugin of plugins) { | ||
await Promise.all(plugins.map(async (plugin, idx) => { | ||
const [loadedPluginPromise, cleanup] = await loadingMethod(plugin, root); | ||
result.push(loadedPluginPromise); | ||
result[idx] = loadedPluginPromise; | ||
cleanupFunctions.push(cleanup); | ||
} | ||
return [ | ||
})); | ||
const ret = [ | ||
await Promise.all(result), | ||
@@ -95,2 +96,5 @@ () => { | ||
]; | ||
performance.mark('loadNxPlugins:end'); | ||
performance.measure('loadNxPlugins', 'loadNxPlugins:start', 'loadNxPlugins:end'); | ||
return ret; | ||
} | ||
@@ -97,0 +101,0 @@ exports.loadNxPlugins = loadNxPlugins; |
@@ -6,4 +6,4 @@ "use strict"; | ||
const serializable_error_1 = require("../../../utils/serializable-error"); | ||
const consume_messages_from_socket_1 = require("../../../utils/consume-messages-from-socket"); | ||
const net_1 = require("net"); | ||
const consume_messages_from_socket_1 = require("../../../utils/consume-messages-from-socket"); | ||
const fs_1 = require("fs"); | ||
@@ -10,0 +10,0 @@ if (process.env.NX_PERF_LOGGING === 'true') { |
@@ -267,2 +267,10 @@ "use strict"; | ||
} | ||
else if (targetConfiguration.executor === 'nx:noop') { | ||
(0, fs_1.writeFileSync)(temporaryOutputPath, ''); | ||
results.push({ | ||
task, | ||
status: 'success', | ||
terminalOutput: '', | ||
}); | ||
} | ||
else { | ||
@@ -269,0 +277,0 @@ // cache prep |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7182325
49150
+ Added@nrwl/tao@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-darwin-arm64@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-darwin-x64@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-freebsd-x64@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-linux-arm-gnueabihf@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-linux-arm64-gnu@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-linux-arm64-musl@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-linux-x64-gnu@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-linux-x64-musl@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-win32-arm64-msvc@19.5.0-canary.20240711-2c4c2ae(transitive)
+ Added@nx/nx-win32-x64-msvc@19.5.0-canary.20240711-2c4c2ae(transitive)
- Removed@nrwl/tao@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-darwin-arm64@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-darwin-x64@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-freebsd-x64@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-linux-arm-gnueabihf@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-linux-arm64-gnu@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-linux-arm64-musl@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-linux-x64-gnu@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-linux-x64-musl@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-win32-arm64-msvc@19.5.0-canary.20240710-2b7b523(transitive)
- Removed@nx/nx-win32-x64-msvc@19.5.0-canary.20240710-2b7b523(transitive)