Comparing version 1.1.0 to 1.2.0
{ | ||
"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(); | ||
} | ||
} |
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
3779
129737
+ Addedajv@6.12.6(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedmime@2.6.0(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpsl@1.10.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedunirest@0.6.0(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedassert-plus@0.2.0(transitive)
- Removedasync@2.6.4(transitive)
- Removedaws-sign2@0.6.0(transitive)
- Removedbl@1.1.2(transitive)
- Removedboom@2.10.1(transitive)
- Removedcaseless@0.11.0(transitive)
- Removedchalk@1.1.3(transitive)
- Removedcryptiles@2.0.5(transitive)
- Removedform-data@1.0.1(transitive)
- Removedgenerate-function@2.3.1(transitive)
- Removedgenerate-object-property@1.2.0(transitive)
- Removedhar-validator@2.0.6(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhawk@3.1.3(transitive)
- Removedhoek@2.16.3(transitive)
- Removedhttp-signature@1.1.1(transitive)
- Removedis-my-ip-valid@1.0.1(transitive)
- Removedis-my-json-valid@2.20.6(transitive)
- Removedis-property@1.0.2(transitive)
- Removedjsonpointer@5.0.1(transitive)
- Removedmime@1.3.6(transitive)
- Removednode-uuid@1.4.8(transitive)
- Removedoauth-sign@0.8.2(transitive)
- Removedprocess-nextick-args@1.0.7(transitive)
- Removedpunycode@1.4.1(transitive)
- Removedqs@6.2.4(transitive)
- Removedreadable-stream@2.0.6(transitive)
- Removedrequest@2.74.0(transitive)
- Removedsntp@1.0.9(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedstringstream@0.0.6(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedtough-cookie@2.3.4(transitive)
- Removedtunnel-agent@0.4.3(transitive)
- Removedunirest@0.5.1(transitive)
Updatedunirest@^0.6.0