@architect/create
Advanced tools
Comparing version 1.3.0-RC.1 to 1.3.0-RC.2
{ | ||
"name": "@architect/create", | ||
"version": "1.3.0-RC.1", | ||
"version": "1.3.0-RC.2", | ||
"description": "Idempotently initialize Architect projects", | ||
@@ -25,6 +25,6 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@architect/inventory": "~1.1.0-RC.8", | ||
"@architect/utils": "~1.5.13", | ||
"@architect/inventory": "~1.1.0-RC.10", | ||
"@architect/utils": "~1.5.14", | ||
"chalk": "~4.1.0", | ||
"run-parallel": "~1.1.9" | ||
"run-parallel": "~1.1.10" | ||
}, | ||
@@ -34,3 +34,3 @@ "devDependencies": { | ||
"cross-env": "~7.0.2", | ||
"eslint": "^7.11.0", | ||
"eslint": "^7.13.0", | ||
"nyc": "~15.1.0", | ||
@@ -37,0 +37,0 @@ "proxyquire": "^2.1.3", |
let { updater } = require('@architect/utils') | ||
let { sep } = require('path') | ||
let inventory = require('@architect/inventory') | ||
@@ -80,3 +81,7 @@ let parallel = require('run-parallel') | ||
if (dirs.length) { | ||
dirs.forEach(dir => update.done(`Created new project files in ${dir}`)) | ||
let leading = new RegExp(`^${sep}`) | ||
dirs.forEach(d => { | ||
let dir = d.replace(process.cwd(), '').replace(leading, '') | ||
update.done(`Created new project files in ${dir}${sep}`) | ||
}) | ||
} | ||
@@ -83,0 +88,0 @@ if (install && standalone) { |
@@ -42,5 +42,5 @@ let { existsSync, mkdirSync } = require('fs') | ||
if (err) callback(err) | ||
else callback(null, `src/${type}`) | ||
else callback(null, src) | ||
}) | ||
} | ||
} |
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
48651
820
Updated@architect/utils@~1.5.14
Updatedrun-parallel@~1.1.10