@pie-framework/build-helper
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -7,6 +7,9 @@ "use strict"; | ||
exports.deployToNow = (dir, token, alias, nowPath = 'now') => { | ||
const deployCmd = `${nowPath} ${dir} ${token ? `--token=${token}` : ''}`; | ||
const deployCmd = `${nowPath} ${dir} ${token ? `--token=${token}` : ''} --public`; | ||
log('cmd: ', deployCmd); | ||
const url = child_process_1.execSync(deployCmd, { stdio: 'inherit' }); | ||
const url = child_process_1.execSync(deployCmd).toString(); | ||
log('url: ', url); | ||
if (!url) { | ||
return; | ||
} | ||
if (alias) { | ||
@@ -13,0 +16,0 @@ const aliasCmd = `${nowPath} alias ${url} ${alias} ${token ? `--token=${token}` : ''}`; |
{ | ||
"name": "@pie-framework/build-helper", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "", | ||
@@ -13,2 +13,5 @@ "main": "lib/index.js", | ||
}, | ||
"dependencies": { | ||
"debug": "^4.1.1" | ||
}, | ||
"devDependencies": { | ||
@@ -15,0 +18,0 @@ "tslint": "^5.10.0", |
Sorry, the diff of this file is not supported yet
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
124988
126
1
+ Addeddebug@^4.1.1
+ Addeddebug@4.3.7(transitive)
+ Addedms@2.1.3(transitive)