Comparing version 16.4.0-beta.2 to 16.4.0-beta.3
@@ -20,5 +20,3 @@ #!/usr/bin/env node | ||
// explicitly so we are able to access installed dependencies | ||
// | ||
// Current file: node_modules/nx-cloud/bin/nx-cloud.ts -> Add ../.. to NODE_PATH | ||
(0, resolution_helpers_1.addPackageNodeModulesToNodeRequirePath)('../..'); | ||
(0, resolution_helpers_1.addPackageNodeModulesToNodeRequirePath)(); | ||
const command = process.argv[2]; | ||
@@ -25,0 +23,0 @@ const options = JSON.parse(stripJsonComments((0, fs_1.readFileSync)(`nx.json`).toString())).tasksRunnerOptions.default.options; |
@@ -22,4 +22,3 @@ "use strict"; | ||
// directory to NODE_PATH so light client can resolve properly. | ||
// Current file: node_modules/nx-cloud/lib/light-client/nx-cloud-tasks-runner-shell.ts -> Add ../../.. to NODE_PATH | ||
(0, resolution_helpers_1.addPackageNodeModulesToNodeRequirePath)('../../..'); | ||
(0, resolution_helpers_1.addPackageNodeModulesToNodeRequirePath)(); | ||
(0, debug_logger_1.debugLog)('Using light client'); | ||
@@ -26,0 +25,0 @@ const { version, fullPath } = yield (0, update_manager_1.verifyOrUpdateCloudBundle)(options); |
@@ -1,1 +0,1 @@ | ||
export declare function addPackageNodeModulesToNodeRequirePath(relativePathToPackageNodeModules: string): void; | ||
export declare function addPackageNodeModulesToNodeRequirePath(): void; |
@@ -6,4 +6,4 @@ "use strict"; | ||
const module_1 = require("module"); | ||
function addPackageNodeModulesToNodeRequirePath(relativePathToPackageNodeModules) { | ||
addToNodePath((0, path_1.join)(__dirname, relativePathToPackageNodeModules)); | ||
function addPackageNodeModulesToNodeRequirePath() { | ||
addToNodePath((0, path_1.join)(__dirname, "../../..")); | ||
// Re-initialize the paths into require | ||
@@ -10,0 +10,0 @@ module_1.Module._initPaths(); |
{ | ||
"name": "nx-cloud", | ||
"version": "16.4.0-beta.2", | ||
"version": "16.4.0-beta.3", | ||
"description": "Distributed caching and task execution for Lerna and Nx", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"open": "~8.4.0", | ||
"@nrwl/nx-cloud": "16.4.0-beta.2", | ||
"@nrwl/nx-cloud": "16.4.0-beta.3", | ||
"@swc/helpers": "0.5.1" | ||
@@ -35,0 +35,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
394050
5248
+ Added@nrwl/nx-cloud@16.4.0-beta.3(transitive)
- Removed@nrwl/nx-cloud@16.4.0-beta.2(transitive)
Updated@nrwl/nx-cloud@16.4.0-beta.3