@architect/create
Advanced tools
Comparing version 1.0.11-RC.1 to 1.0.11
@@ -5,2 +5,15 @@ # Architect Create changelog | ||
## [1.0.11] 2020-01-06 | ||
### Fixed | ||
- Fixed issue with incorrectly setting default runtime, which could crash Sandbox | ||
### Changed | ||
- Updated dependencies | ||
--- | ||
## [1.0.10] 2019-12-24 | ||
@@ -7,0 +20,0 @@ |
{ | ||
"name": "@architect/create", | ||
"version": "1.0.11-RC.1", | ||
"version": "1.0.11", | ||
"description": "Idempotently initialize Architect projects", | ||
@@ -21,3 +21,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@architect/utils": "^1.4.1", | ||
"@architect/utils": "^1.4.4", | ||
"chalk": "^3.0.0", | ||
@@ -24,0 +24,0 @@ "mkdirp": "^0.5.1", |
@@ -6,3 +6,6 @@ let {join} = require('path') | ||
module.exports = function arcTemplate({name, folder, standalone, update, runtime}) { | ||
// most basic default Architect app possible | ||
// Only add the @aws runtime setting into the Arc template if specified | ||
runtime = runtime ? `runtime ${runtime}\n` : '' | ||
// Most basic default Architect app possible | ||
let arcFile = `@app | ||
@@ -15,4 +18,3 @@ ${name} | ||
@aws | ||
runtime ${runtime === false? 'node' : runtime} | ||
# profile default | ||
${runtime}# profile default | ||
# region us-west-1 | ||
@@ -19,0 +21,0 @@ # bucket your-private-deploy-bucket |
@@ -46,4 +46,5 @@ let {readArc, updater} = require('@architect/utils') | ||
let runtime = (arc.aws && arc.aws.some(find))? arc.aws.find(find)[1] : node | ||
if (runtime == false) | ||
if (runtime === false) { | ||
runtime = node | ||
} | ||
let override = options.runtime | ||
@@ -50,0 +51,0 @@ if (supported.includes(override)) { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
45745
805
1
Updated@architect/utils@^1.4.4