Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mesh-cli

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mesh-cli - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

src/importer/package-lock.json

4

package.json
{
"name": "mesh-cli",
"version": "1.1.0",
"version": "1.2.0",
"description": "Gentics Mesh CLI",

@@ -47,4 +47,4 @@ "main": "main.js",

"ramda": "^0.26.0",
"unirest": "^0.5.1"
"unirest": "^0.6.0"
}
}

@@ -48,7 +48,6 @@ 'use strict';

} else {
var dataDirName = "mesh-data";
var absPath = path.resolve(dataDirName);
log("Storing data in " + absPath);
ensureDataDir(absPath);
var cmd = 'run -p ' + port + ':8080 -v ' + absPath + ':/data -d --name ' + CONTAINER_NAME + ' ' + image + ':' + tag;
var dataVol = ' -v mesh-data:/graphdb ';
var uploadVol = ' -v mesh-keystore:/keystore ';
var uploadVol = ' -v mesh-uploads:/uploads ';
var cmd = 'run -p ' + port + ':8080 ' + dataVol + uploadVol + ' -d --name ' + CONTAINER_NAME + ' ' + image + ':' + tag;
debug(cmd);

@@ -64,8 +63,4 @@ var p = docker.command(cmd).then(data => {

function ensureDataDir(dirName) {
if (!fs.existsSync(dirName)) {
fs.mkdirSync(dirName);
}
}
/**

@@ -76,2 +71,3 @@ * Remove the container.

docker.command('rm -f ' + CONTAINER_NAME).then(function (data) {
//TODO remove volumes
log("Removed docker container '" + CONTAINER_NAME + "'");

@@ -78,0 +74,0 @@ });

@@ -213,3 +213,3 @@ 'use strict';

});
log("Gobal microschemas:");
log("Global microschemas:");
log(table.toString());

@@ -216,0 +216,0 @@ }

@@ -239,3 +239,3 @@ 'use strict';

});
log("Gobal schemas:");
log("Global schemas:");
log(table.toString());

@@ -242,0 +242,0 @@ }

@@ -63,4 +63,4 @@ #!/usr/bin/env node

log(grey('\n - ') + "Start a Gentics Mesh container with version 0.24.0 on port 8888\n");
log(cyan(' $ mesh docker start -t 0.24.0 -p 8888'));
log(grey('\n - ') + "Start a Gentics Mesh container with version 0.27.0 on port 8888\n");
log(cyan(' $ mesh docker start -t 0.27.0 -p 8888'));

@@ -77,2 +77,2 @@ log('');

program.help();
}
}
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