@dxos/cli 0.1.31 → 0.1.32-next.77d513e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -53
- package/config/config-local.yml +13 -6
- package/dist/src/base-command.d.ts +3 -3
- package/dist/src/base-command.d.ts.map +1 -1
- package/dist/src/base-command.js +14 -9
- package/dist/src/base-command.js.map +1 -1
- package/dist/src/commands/app/create.d.ts +6 -8
- package/dist/src/commands/app/create.d.ts.map +1 -1
- package/dist/src/commands/app/create.js +3 -7
- package/dist/src/commands/app/create.js.map +1 -1
- package/dist/src/commands/app/publish-workflow.test.d.ts +2 -0
- package/dist/src/commands/app/publish-workflow.test.d.ts.map +1 -0
- package/dist/src/commands/app/publish-workflow.test.js +56 -0
- package/dist/src/commands/app/publish-workflow.test.js.map +1 -0
- package/dist/src/commands/app/publish.d.ts +5 -5
- package/dist/src/commands/halo/create.d.ts +2 -2
- package/dist/src/commands/halo/create.d.ts.map +1 -1
- package/dist/src/commands/halo/create.js +7 -8
- package/dist/src/commands/halo/create.js.map +1 -1
- package/dist/src/commands/halo/index.js +1 -1
- package/dist/src/commands/halo/index.js.map +1 -1
- package/dist/src/commands/halo/join.d.ts +3 -3
- package/dist/src/commands/halo/join.d.ts.map +1 -1
- package/dist/src/commands/halo/join.js +12 -6
- package/dist/src/commands/halo/join.js.map +1 -1
- package/dist/src/commands/halo/share.js +2 -2
- package/dist/src/commands/halo/share.js.map +1 -1
- package/dist/src/commands/kube/deploy.d.ts +5 -5
- package/dist/src/commands/shell/index.js +1 -1
- package/dist/src/commands/shell/index.js.map +1 -1
- package/dist/src/commands/space/create.d.ts +2 -2
- package/dist/src/commands/space/create.d.ts.map +1 -1
- package/dist/src/commands/space/create.js +3 -6
- package/dist/src/commands/space/create.js.map +1 -1
- package/dist/src/commands/space/invite.d.ts +2 -2
- package/dist/src/commands/space/invite.d.ts.map +1 -1
- package/dist/src/commands/space/invite.js +3 -6
- package/dist/src/commands/space/invite.js.map +1 -1
- package/dist/src/commands/space/join.d.ts +4 -4
- package/dist/src/commands/space/join.js +7 -7
- package/dist/src/commands/space/join.js.map +1 -1
- package/dist/src/commands/space/list.d.ts +6 -6
- package/dist/src/commands/space/list.js +2 -2
- package/dist/src/commands/space/list.js.map +1 -1
- package/dist/src/commands/space/members.d.ts +8 -8
- package/dist/src/commands/space/members.d.ts.map +1 -1
- package/dist/src/commands/space/members.js +4 -8
- package/dist/src/commands/space/members.js.map +1 -1
- package/dist/src/commands/tunnel/set.d.ts +3 -3
- package/dist/src/util/exec.js +7 -7
- package/dist/src/util/exec.js.map +1 -1
- package/dist/src/util/provider/provider.js +1 -1
- package/dist/src/util/provider/provider.js.map +1 -1
- package/dist/src/util/publish/common.js +2 -2
- package/dist/src/util/publish/common.js.map +1 -1
- package/dist/src/util/telemetryrc.json +2 -2
- package/dist/src/util/util.js +2 -2
- package/dist/src/util/util.js.map +1 -1
- package/oclif.manifest.json +1062 -1
- package/package.json +24 -23
- package/dist/src/commands/halo/recover.d.ts +0 -10
- package/dist/src/commands/halo/recover.d.ts.map +0 -1
- package/dist/src/commands/halo/recover.js +0 -35
- package/dist/src/commands/halo/recover.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32-next.77d513e",
|
|
4
4
|
"description": "DXOS CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dxos",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"/oclif.manifest.json"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@oclif/core": "^
|
|
27
|
-
"@oclif/plugin-help": "^5.
|
|
28
|
-
"@oclif/plugin-plugins": "^2.
|
|
26
|
+
"@oclif/core": "^2.6.5",
|
|
27
|
+
"@oclif/plugin-help": "^5.2.8",
|
|
28
|
+
"@oclif/plugin-plugins": "^2.4.3",
|
|
29
29
|
"@octokit/core": "^4.0.4",
|
|
30
30
|
"chalk": "^4.1.0",
|
|
31
31
|
"cli-progress": "^3.11.2",
|
|
@@ -40,30 +40,30 @@
|
|
|
40
40
|
"js-yaml": "^4.1.0",
|
|
41
41
|
"lodash.defaultsdeep": "^4.6.1",
|
|
42
42
|
"node-fetch": "^2.6.0",
|
|
43
|
-
"oclif": "^3.
|
|
43
|
+
"oclif": "^3.7.0",
|
|
44
44
|
"react": "^18.2.0",
|
|
45
45
|
"tempy": "^1.0.1",
|
|
46
46
|
"uuid": "^8.3.2",
|
|
47
47
|
"ws": "^7.4.4",
|
|
48
|
-
"@dxos/async": "0.1.
|
|
49
|
-
"@dxos/bare-template": "0.1.
|
|
50
|
-
"@dxos/client": "0.1.
|
|
51
|
-
"@dxos/client-services": "0.1.
|
|
52
|
-
"@dxos/codec-protobuf": "0.1.
|
|
53
|
-
"@dxos/config": "0.1.
|
|
54
|
-
"@dxos/debug": "0.1.
|
|
55
|
-
"@dxos/hello-template": "0.1.
|
|
56
|
-
"@dxos/keys": "0.1.
|
|
57
|
-
"@dxos/log": "0.1.
|
|
58
|
-
"@dxos/plate": "0.1.
|
|
59
|
-
"@dxos/protocols": "0.1.
|
|
60
|
-
"@dxos/rpc": "0.1.
|
|
61
|
-
"@dxos/sentry": "0.1.
|
|
62
|
-
"@dxos/tasks-template": "0.1.
|
|
63
|
-
"@dxos/telemetry": "0.1.
|
|
48
|
+
"@dxos/async": "0.1.32-next.77d513e",
|
|
49
|
+
"@dxos/bare-template": "0.1.32-next.77d513e",
|
|
50
|
+
"@dxos/client": "0.1.32-next.77d513e",
|
|
51
|
+
"@dxos/client-services": "0.1.32-next.77d513e",
|
|
52
|
+
"@dxos/codec-protobuf": "0.1.32-next.77d513e",
|
|
53
|
+
"@dxos/config": "0.1.32-next.77d513e",
|
|
54
|
+
"@dxos/debug": "0.1.32-next.77d513e",
|
|
55
|
+
"@dxos/hello-template": "0.1.32-next.77d513e",
|
|
56
|
+
"@dxos/keys": "0.1.32-next.77d513e",
|
|
57
|
+
"@dxos/log": "0.1.32-next.77d513e",
|
|
58
|
+
"@dxos/plate": "0.1.32-next.77d513e",
|
|
59
|
+
"@dxos/protocols": "0.1.32-next.77d513e",
|
|
60
|
+
"@dxos/rpc": "0.1.32-next.77d513e",
|
|
61
|
+
"@dxos/sentry": "0.1.32-next.77d513e",
|
|
62
|
+
"@dxos/tasks-template": "0.1.32-next.77d513e",
|
|
63
|
+
"@dxos/telemetry": "0.1.32-next.77d513e"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@oclif/test": "^2.
|
|
66
|
+
"@oclif/test": "^2.3.11",
|
|
67
67
|
"@types/cli-progress": "^3.11.0",
|
|
68
68
|
"@types/debug": "^4.1.7",
|
|
69
69
|
"@types/faker": "^5.5.9",
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
"@types/node": "^18.11.9",
|
|
74
74
|
"@types/node-fetch": "^2.5.10",
|
|
75
75
|
"globby": "^11.1.0",
|
|
76
|
-
"shx": "^0.3.3"
|
|
76
|
+
"shx": "^0.3.3",
|
|
77
|
+
"typescript": "^4.8.4"
|
|
77
78
|
},
|
|
78
79
|
"engines": {
|
|
79
80
|
"node": ">=12.0.0"
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseCommand } from '../../base-command';
|
|
2
|
-
export default class Recover extends BaseCommand {
|
|
3
|
-
static enableJsonFlag: boolean;
|
|
4
|
-
static description: string;
|
|
5
|
-
static args: {
|
|
6
|
-
name: string;
|
|
7
|
-
}[];
|
|
8
|
-
run(): Promise<any>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=recover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../../src/commands/halo/recover.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,WAAW;IAC9C,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAmB;IAC9C,OAAgB,IAAI;;QAIlB;IAEI,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAiB1B"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//
|
|
3
|
-
// Copyright 2022 DXOS.org
|
|
4
|
-
//
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const base_command_1 = require("../../base-command");
|
|
7
|
-
class Recover extends base_command_1.BaseCommand {
|
|
8
|
-
async run() {
|
|
9
|
-
const { args } = await this.parse(Recover);
|
|
10
|
-
const { seedphrase } = args; // TODO(burdon): Prompt.
|
|
11
|
-
return await this.execWithClient(async (client) => {
|
|
12
|
-
var _a;
|
|
13
|
-
let identity = client.halo.identity;
|
|
14
|
-
if (identity) {
|
|
15
|
-
this.log('Identity already initialized.');
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
// TODO(burdon): Needs to be connected to peer?
|
|
19
|
-
this.log('Recovering...', seedphrase);
|
|
20
|
-
identity = await client.halo.recoverIdentity(seedphrase);
|
|
21
|
-
this.log('Identity', identity.profile);
|
|
22
|
-
return { seedphrase, displayName: (_a = identity.profile) === null || _a === void 0 ? void 0 : _a.displayName };
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.default = Recover;
|
|
28
|
-
Recover.enableJsonFlag = true;
|
|
29
|
-
Recover.description = 'Recover HALO.';
|
|
30
|
-
Recover.args = [
|
|
31
|
-
{
|
|
32
|
-
name: 'seedphrase'
|
|
33
|
-
}
|
|
34
|
-
];
|
|
35
|
-
//# sourceMappingURL=recover.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recover.js","sourceRoot":"","sources":["../../../../src/commands/halo/recover.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;AAIF,qDAAiD;AAEjD,MAAqB,OAAQ,SAAQ,0BAAW;IAS9C,KAAK,CAAC,GAAG;QACP,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC3C,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,CAAC,wBAAwB;QAErD,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,MAAc,EAAE,EAAE;;YACxD,IAAI,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;YACpC,IAAI,QAAQ,EAAE;gBACZ,IAAI,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;aAC3C;iBAAM;gBACL,+CAA+C;gBAC/C,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;gBACtC,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;gBACzD,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;gBACvC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAA,QAAQ,CAAC,OAAO,0CAAE,WAAW,EAAE,CAAC;aACnE;QACH,CAAC,CAAC,CAAC;IACL,CAAC;;AAzBH,0BA0BC;AAzBiB,sBAAc,GAAG,IAAI,CAAC;AACtB,mBAAW,GAAG,eAAe,CAAC;AAC9B,YAAI,GAAG;IACrB;QACE,IAAI,EAAE,YAAY;KACnB;CACF,CAAC"}
|