@architect/create
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,2 +5,10 @@ # Architect Create changelog | ||
## [1.0.3] 2019-10-18 | ||
### Added | ||
- Reintroduces backwards compatible `arc init` invocation from `@architect/architect` | ||
--- | ||
## [1.0.0 - 1.0.2] 2019-10-17 | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "@architect/create", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Idempotently initialize Architect projects", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -13,5 +13,7 @@ let {join} = require('path') | ||
// Don't install if invoked from a globally installed @arc/arc | ||
let isGlobal = options[0] && options[0].includes('node') && | ||
options[1] && options[1].includes('arc') && | ||
options[2] && options[2] === 'create' | ||
let isGlobal = (options[0] && options[1] && options[2] && | ||
options[0].includes('node') && // Node invoke path may vary | ||
options[1].includes('arc')) && // .. same deal with the Arc path | ||
options[2] === 'create' || // == 'arc create' via global install | ||
options[2] === 'init' // Backwards compat | ||
if (!isGlobal) { | ||
@@ -18,0 +20,0 @@ let 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
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
42899
762