Socket
Socket
Sign inDemoInstall

@architect/create

Package Overview
Dependencies
Maintainers
7
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.2 to 1.0.3

8

changelog.md

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

2

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

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