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

grunt-iw-release

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-iw-release - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

2

package.json
{
"name": "grunt-iw-release",
"version": "0.6.1",
"version": "0.6.2",
"description": "InsideWarehouse release/deploy flow",

@@ -5,0 +5,0 @@ "scripts": {

@@ -31,3 +31,3 @@ module.exports = function (grunt) {

var bundleFileTemplate = "build/<%= pkg.name %>-v<%= pkg.version %>.tgz";
var bundleFileTemplate = "build/<%= pkg.name.replace(/\\@\\w+\\//, '') %>-v<%= pkg.version %>.tgz";
sftpConfig.release = {

@@ -50,13 +50,13 @@ src: [ bundleFileTemplate ],

sshexecConfig.checkupload = {
command: "cd <%= pkg.deployment.path %>/releases/; [ ! -f <%= pkg.name %>-v<%= pkg.version %>.tgz ];"
command: "cd <%= pkg.deployment.path %>/releases/; [ ! -f <%= pkg.name.replace(/\\@\\w+\\//, '') %>-v<%= pkg.version %>.tgz ];"
};
sshexecConfig.extract = {
command: "cd <%= pkg.deployment.path %>/releases/; tar xvzf <%= pkg.name %>-v<%= pkg.version %>.tgz >/dev/null"
command: "cd <%= pkg.deployment.path %>/releases/; tar xvzf <%= pkg.name.replace(/\\@\\w+\\//, '') %>-v<%= pkg.version %>.tgz >/dev/null"
};
sshexecConfig.symlink = {
command: "ln -sfn <%= pkg.deployment.path %>/releases/<%= pkg.name %>-v<%= pkg.version %> <%= pkg.deployment.path %>/apps/<%= pkg.name %>"
command: "ln -sfn <%= pkg.deployment.path %>/releases/<%= pkg.name.replace(/\\@\\w+\\//, '') %>-v<%= pkg.version %> <%= pkg.deployment.path %>/apps/<%= pkg.name.replace(/\\@\\w+\\//, '') %>"
};
if (!!grunt.config.get("pkg.scripts.start")) {
sshexecConfig.restart = {
command: "cd <%= pkg.deployment.path %>/apps/<%= pkg.name %>/; npm restart"
command: "cd <%= pkg.deployment.path %>/apps/<%= pkg.name.replace(/\\@\\w+\\//, '') %>/; npm restart"
};

@@ -67,3 +67,3 @@ }

sshexecConfig.restart = {
command: "cd <%= pkg.deployment.path %>/apps/<%= pkg.name %>/; bash ./restart.sh"
command: "cd <%= pkg.deployment.path %>/apps/<%= pkg.name.replace(/\\@\\w+\\//, '') %>/; bash ./restart.sh"
};

@@ -70,0 +70,0 @@ }

@@ -25,3 +25,3 @@ module.exports = function (grunt) {

if (!grunt.file.isPathCwd(topLevelPath)) {
var pkgName = grunt.config.get("pkg.name");
var pkgName = grunt.config.get("pkg.name").replace(/\@\w+\//, '');
bumpOptions.commitMessage = "[" + pkgName + "] v%VERSION%";

@@ -28,0 +28,0 @@ bumpOptions.tagName = pkgName + "-v%VERSION%";

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