create-nx-workspace
Advanced tools
Comparing version 8.4.0-alpha.1 to 8.4.0-alpha.2
@@ -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": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
235
1
17319