Socket
Socket
Sign inDemoInstall

create-nx-workspace

Package Overview
Dependencies
Maintainers
1
Versions
1687
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 8.4.0-alpha.1 to 8.4.0-alpha.2

13

bin/create-nx-workspace.js

@@ -37,4 +37,4 @@ #!/usr/bin/env node

var tsVersion = '~3.4.5';
var cliVersion = '8.4.0-alpha.1';
var nxVersion = '8.4.0-alpha.1';
var cliVersion = '8.4.0-alpha.2';
var nxVersion = '8.4.0-alpha.2';
var angularCliVersion = '8.0.1';

@@ -46,3 +46,3 @@ // const tsVersion = '~3.4.5';

var parsedArgs = yargsParser(process.argv, {
string: ['directory', 'cli', 'preset'],
string: ['cli', 'preset'],
boolean: ['help']

@@ -65,3 +65,3 @@ });

function showHelp() {
console.log("\n Usage: create-nx-workspace <directory> [options] [new workspace options]\n\n Create a new Nx workspace\n\n Options:\n\n directory path to the workspace root directory\n\n preset What to create in a new workspace (options: " + presetOptions
console.log("\n Usage: create-nx-workspace <name> [options] [new workspace options]\n\n Create a new Nx workspace\n\n Options:\n\n name workspace name\n\n preset What to create in a new workspace (options: " + presetOptions
.map(function (o) { return '"' + o.value + '"'; })

@@ -76,3 +76,4 @@ .join(', ') + ")\n\n cli CLI to power the Nx workspace (options: \"nx\", \"angular\")\n\n [new workspace options] any 'new workspace' options\n");

packageManager = child_process_1.execSync('ng config -g cli.packageManager', {
stdio: ['ignore', 'pipe', 'ignore']
stdio: ['ignore', 'pipe', 'ignore'],
timeout: 500
})

@@ -121,3 +122,3 @@ .toString()

name: 'Preset',
message: "What to create in the new workspace (You can create other applications and libraries at any point using the generate command)",
message: "What to create in the new workspace (You can create other apps and libs later using the generate command)",
default: 'empty',

@@ -124,0 +125,0 @@ type: 'list',

{
"name": "create-nx-workspace",
"version": "8.4.0-alpha.1",
"version": "8.4.0-alpha.2",
"description": "Angular CLI power-ups for modern Web development",

@@ -5,0 +5,0 @@ "repository": {

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