Comparing version 19.1.0-beta.3 to 19.1.0
@@ -32,8 +32,3 @@ "use strict"; | ||
if (!accessToken && !nxCloudId) { | ||
if (process.env.NX_CLOUD_ENABLE_LOGIN === 'true' && !nxCloudId) { | ||
throw new Error(`Unable to authenticate. Please connect your workspace to Nx Cloud to define a valid Nx Cloud Id. If you are in a CI context, please set the NX_CLOUD_ACCESS_TOKEN environment variable or define an access token in your nx.json.`); | ||
} | ||
else { | ||
throw new Error(`Unable to authenticate. Either define accessToken in nx.json or set the NX_CLOUD_ACCESS_TOKEN env variable.`); | ||
} | ||
throw new Error(`Unable to authenticate. Please connect your workspace to Nx Cloud to define a valid Nx Cloud ID. If you are in a CI context, please set the NX_CLOUD_ACCESS_TOKEN environment variable or define an access token in your nx.json.`); | ||
} | ||
@@ -40,0 +35,0 @@ if (options.customProxyConfigPath) { |
@@ -25,5 +25,7 @@ "use strict"; | ||
var _b; | ||
return `${input.title}\n\n${(_b = input.bodyLines) === null || _b === void 0 ? void 0 : _b.join('\n')}`; | ||
const bodyLines = input.bodyLines ? (_b = input.bodyLines) === null || _b === void 0 ? void 0 : _b.join('\n') : ''; | ||
return `${input.title}\n\n${bodyLines}`; | ||
}; | ||
exports.output = { | ||
log: (input) => console.log(formatMessage(input)), | ||
note: (input) => console.info(formatMessage(input)), | ||
@@ -35,2 +37,3 @@ error: (input) => console.error(formatMessage(input)), | ||
addNewline: () => console.log('\n'), | ||
logCommand: (command) => console.log(command), | ||
}; | ||
@@ -37,0 +40,0 @@ exports.workspaceRoot = process.cwd(); |
{ | ||
"name": "nx-cloud", | ||
"version": "19.1.0-beta.3", | ||
"version": "19.1.0", | ||
"description": "Distributed caching and task execution for Lerna and Nx", | ||
@@ -32,5 +32,5 @@ "keywords": [ | ||
"ini": "4.1.3", | ||
"@nrwl/nx-cloud": "19.1.0-beta.3" | ||
"@nrwl/nx-cloud": "19.1.0" | ||
}, | ||
"type": "commonjs" | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
134
420211
5513
+ Added@nrwl/nx-cloud@19.1.0(transitive)
- Removed@nrwl/nx-cloud@19.1.0-beta.3(transitive)
Updated@nrwl/nx-cloud@19.1.0