Comparing version 0.0.2 to 0.0.3
@@ -28,2 +28,3 @@ "use strict"; | ||
const update_1 = require("./commands/update"); | ||
const users_1 = require("./commands/users"); | ||
exports.COMMANDS = { | ||
@@ -39,3 +40,4 @@ cd: cd_1.default, | ||
schemas: schemas_1.default, | ||
update: buffered(update_1.default) | ||
update: buffered(update_1.default), | ||
users: users_1.default | ||
}; | ||
@@ -42,0 +44,0 @@ function buffered(func) { |
@@ -26,3 +26,3 @@ "use strict"; | ||
else { | ||
let node = yield mesh.api.project(p[0].name).nodes.nodeUuid(p[0].rootNodeUuid).get({ version: 'draft' }); | ||
let node = yield mesh.api.project(p[0].name).nodes.nodeUuid(p[0].rootNode.uuid).get({ version: 'draft' }); | ||
return __assign({}, state, { project: cmd[1], current: node }); | ||
@@ -29,0 +29,0 @@ } |
@@ -15,5 +15,5 @@ "use strict"; | ||
let data = projects.data.reduce((out, p) => { | ||
out.push([p.uuid, p.name, p.created, p.rootNodeUuid]); | ||
out.push([p.uuid, p.name, p.created, p.rootNode.uuid]); | ||
return out; | ||
}, [['uuid', 'name', 'created', 'rootNodeUuid']]); | ||
}, [['uuid', 'name', 'created', 'rootNode.uuid']]); | ||
console.log(table(data)); | ||
@@ -20,0 +20,0 @@ return state; |
{ | ||
"name": "mesh-cli", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A command line interface for Gentics Mesh, an API-first CMS", | ||
@@ -13,3 +13,3 @@ "main": "./build/mesh-cli.js", | ||
"@types/node": "^7.0.5", | ||
"mesh-api": "^0.0.8", | ||
"mesh-api": "^0.0.9", | ||
"text-table": "^0.2.0" | ||
@@ -16,0 +16,0 @@ }, |
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
24842
19
522
+ Addedmesh-api@0.0.9(transitive)
- Removedmesh-api@0.0.8(transitive)
Updatedmesh-api@^0.0.9