Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-nx-workspace

Package Overview
Dependencies
Maintainers
0
Versions
1831
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-nx-workspace - npm Package Compare versions

Comparing version 20.2.0-rc.0 to 20.2.0

2

package.json
{
"name": "create-nx-workspace",
"version": "20.2.0-rc.0",
"version": "20.2.0",
"private": false,

@@ -5,0 +5,0 @@ "description": "Smart Monorepos · Fast CI",

@@ -7,2 +7,4 @@ "use strict";

exports.determinePackageManager = determinePackageManager;
const enquirer = require("enquirer");
const chalk = require("chalk");
const ab_testing_1 = require("../utils/nx/ab-testing");

@@ -13,10 +15,12 @@ const output_1 = require("../utils/output");

const string_utils_1 = require("../utils/string-utils");
const enquirer = require("enquirer");
const chalk = require("chalk");
const is_ci_1 = require("../utils/ci/is-ci");
async function determineNxCloud(parsedArgs) {
if (parsedArgs.nxCloud === undefined) {
return nxCloudPrompt('setupCI');
if (parsedArgs.nxCloud) {
return parsedArgs.nxCloud;
}
else if (!parsedArgs.interactive || (0, is_ci_1.isCI)()) {
return 'skip';
}
else {
return parsedArgs.nxCloud;
return nxCloudPrompt('setupCI');
}

@@ -63,5 +67,5 @@ }

if (parsedArgs.defaultBase) {
return Promise.resolve(parsedArgs.defaultBase);
return parsedArgs.defaultBase;
}
if (parsedArgs.allPrompts) {
else if (parsedArgs.allPrompts) {
return enquirer

@@ -87,3 +91,3 @@ .prompt([

}
return Promise.resolve((0, default_base_1.deduceDefaultBase)());
return (0, default_base_1.deduceDefaultBase)();
}

@@ -94,3 +98,3 @@ async function determinePackageManager(parsedArgs) {

if (package_manager_1.packageManagerList.includes(packageManager)) {
return Promise.resolve(packageManager);
return packageManager;
}

@@ -107,3 +111,3 @@ output_1.output.error({

}
if (parsedArgs.allPrompts) {
else if (parsedArgs.allPrompts) {
return enquirer

@@ -126,3 +130,3 @@ .prompt([

}
return Promise.resolve((0, package_manager_1.detectInvokedPackageManager)());
return (0, package_manager_1.detectInvokedPackageManager)();
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc