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

mesh-cli

Package Overview
Dependencies
Maintainers
6
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.0.0-RC8 to 1.0.0-RC9

2

package.json
{
"name": "mesh-cli",
"version": "1.0.0-RC8",
"version": "1.0.0-RC9",
"description": "Gentics Mesh CLI",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -15,3 +15,3 @@ # Gentics Mesh CLI

```
mesh-cli configure
mesh configure

@@ -18,0 +18,0 @@ ? Endpoint http://localhost:8080

@@ -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 @@ });

@@ -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