New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@busy-web/cli

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@busy-web/cli - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

2

package.json
{
"name": "@busy-web/cli",
"version": "0.7.2",
"version": "0.7.3",
"description": "Command line tools to enhance web dev tasks",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -34,2 +34,4 @@ /**

run(branch, tag) {
this.ui.info(`Deploy for branch: ${branch}, tag: ${tag}`);
let cwd = process.cwd();

@@ -44,15 +46,16 @@ let pkgInfo = require(path.join(cwd + '/package.json'));

if (!isEmpty(tag)) {
if (/v[0-9]+\.[0-9]+\.[0-9]+$/.test(tag)) {
this.ui.info('Preparing production deploy...', tag);
//return getRevision.call(this).then(revision => {
// return this.cmd(`ember deploy production`).then(() => {
// return this.cmd(`ember deploy:activate --revision ${revision} production`).then(() => {
// return this.resolve('Deploy finished!');
// });
// });
//});
} else {
this.resolve('Not a production tag. Skipping deploy');
if (!/v?[0-9]+\.[0-9]+\.[0-9]+$/.test(tag)) {
return this.resolve('Not a production tag. Skipping deploy');
}
this.ui.info(`Preparing production deploy for tag: ${tag}`);
//return getRevision.call(this).then(revision => {
// return this.cmd(`ember deploy production`).then(() => {
// return this.cmd(`ember deploy:activate --revision ${revision} production`).then(() => {
// return this.resolve('Deploy finished!');
// });
// });
//});
} else if (!isEmpty(branch)) {
this.ui.info(`Preparing deploy for branch: ${branch}`);
let [ build, ] = buildVer.split('.');

@@ -59,0 +62,0 @@ if (branch === 'master') {

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