Socket
Socket
Sign inDemoInstall

create-nx-workspace

Package Overview
Dependencies
Maintainers
7
Versions
1684
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 0.0.0-pr-27809-4160bae to 0.0.0-pr-27910-51ae6f9

22

bin/create-nx-workspace.js

@@ -20,2 +20,3 @@ "use strict";

const fs_1 = require("fs");
const is_ci_1 = require("../src/utils/ci/is-ci");
exports.commandsObject = yargs

@@ -212,2 +213,3 @@ .wrap(yargs.terminalWidth())

type: 'input',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
},

@@ -249,2 +251,3 @@ ]);

case preset_1.Preset.NodeStandalone:
case preset_1.Preset.NodeMonorepo:
case preset_1.Preset.Express:

@@ -349,2 +352,3 @@ return 'node';

initial: 0,
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
},

@@ -447,2 +451,3 @@ ]);

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -543,2 +548,3 @@ {

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -621,2 +627,3 @@ {

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -647,2 +654,3 @@ {

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -677,2 +685,3 @@ {

initial: 1,
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
},

@@ -738,2 +747,3 @@ ]);

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -827,2 +837,3 @@ {

initial: parsedArgs.name,
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
},

@@ -878,2 +889,3 @@ ]);

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -893,2 +905,3 @@ {

],
initial: 0,
},

@@ -906,2 +919,3 @@ ]);

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -928,2 +942,3 @@ {

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -950,2 +965,3 @@ {

type: 'autocomplete',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -968,3 +984,3 @@ {

async function determineNodeFramework(parsedArgs) {
if (parsedArgs.framework)
if (!!parsedArgs.framework)
return parsedArgs.framework;

@@ -976,2 +992,3 @@ const reply = await enquirer.prompt([

name: 'framework',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -999,2 +1016,3 @@ {

],
initial: 0,
},

@@ -1012,2 +1030,3 @@ ]);

name: 'e2eTestRunner',
skip: !parsedArgs.interactive || (0, is_ci_1.isCI)(),
choices: [

@@ -1027,2 +1046,3 @@ {

],
initial: 0,
},

@@ -1029,0 +1049,0 @@ ]);

2

package.json
{
"name": "create-nx-workspace",
"version": "0.0.0-pr-27809-4160bae",
"version": "0.0.0-pr-27910-51ae6f9",
"private": false,

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

@@ -17,3 +17,9 @@ "use strict";

stdio: 'inherit',
env: { ...process.env, NX_DAEMON: 'false' },
env: {
...process.env,
NX_DAEMON: 'false',
// This is the same environment variable that ESLint uses to determine if it should use a flat config.
// Default to true for all new workspaces.
ESLINT_USE_FLAT_CONFIG: process.env.ESLINT_USE_FLAT_CONFIG ?? 'true',
},
shell: true,

@@ -20,0 +26,0 @@ windowsHide: true,

@@ -16,5 +16,5 @@ "use strict";

));
const { accessToken } = getCloudOptions(directory);
const { accessToken, nxCloudId } = getCloudOptions(directory);
nxCloudSpinner.succeed('Nx Cloud has been set up successfully');
return accessToken;
return accessToken || nxCloudId;
}

@@ -21,0 +21,0 @@ async function getOnboardingInfo(nxCloud, token, directory, useGithub) {

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