Socket
Socket
Sign inDemoInstall

@architect/create

Package Overview
Dependencies
Maintainers
4
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@architect/create - npm Package Compare versions

Comparing version 1.0.11-RC.1 to 1.0.11

13

changelog.md

@@ -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 @@

4

package.json
{
"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)) {

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