@dxos/cli 0.5.4 → 0.5.5-main.1aa8b60

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.
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/create.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGzC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAmB;IAC9C,OAAgB,IAAI;;MAA2B;IAEzC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAiB1B"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/commands/space/create.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGzC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,WAAW,CAAC,OAAO,MAAM,CAAC;IAC5D,OAAgB,cAAc,UAAQ;IACtC,OAAgB,WAAW,SAAmB;IAC9C,OAAgB,IAAI;;MAA2B;IAEzC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;CAgB1B"}
@@ -16,12 +16,11 @@ class Create extends base_1.BaseCommand {
16
16
  const space = await client.spaces.create();
17
17
  await (0, util_1.waitForSpace)(space, this.flags.timeout, (err) => this.catch(err));
18
18
  space.properties.name = this.args.name;
19
- const data = {
19
+ core_1.ux.log((0, chalk_1.default) `{green Created}: ${space.key.truncate()}`);
20
+ return {
20
21
  key: space.key,
21
22
  name: space.properties.name,
22
23
  };
23
- core_1.ux.log((0, chalk_1.default) `{green Created}: ${data.key.truncate()}`);
24
- return data;
25
24
  }, { halo: true });
26
25
  }
27
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/space/create.ts"],"names":[],"mappings":";AAAA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K5D,KAAK,CAAC,GAAG;QACP,OAAO,MAAM,IAAI,CAAC,cAAc,CAC9B,KAAK,EAAE,MAAc,EAAE,EAAE;YACvB,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;YAC3C,MAAM,IAAA,mBAAY,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;YACxE,KAAK,CAAC,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YAEvC,SAAE,CAAC,GAAG,CAAC,IAAA,eAAK,EAAA,oBAAoB,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;YACxD,OAAO;gBACL,GAAG,EAAE,KAAK,CAAC,GAAG;gBACd,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI;aAC5B,CAAC;QACJ,CAAC,EACD,EAAE,IAAI,EAAE,IAAI,EAAE,CACf,CAAC;IACJ,CAAC;;AAnBe,qBAAc,GAAG,IAAI,CAAC;AACtB,kBAAW,GAAG,eAAe,CAAC;AAC9B,WAAI,GAAG,EAAE,IAAI,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,CAAC;kBAH5B,MAAM"}
@@ -6045,7 +6045,7 @@
6045
6045
  "name": {
6046
6046
  "description": "Tunnel name",
6047
6047
  "name": "name",
6048
- "default": "march-south-eighteen-charlie",
6048
+ "default": "mississippi-texas-five-uncle",
6049
6049
  "hasDynamicHelp": false,
6050
6050
  "multiple": false,
6051
6051
  "type": "option"
@@ -6504,5 +6504,5 @@
6504
6504
  ]
6505
6505
  }
6506
6506
  },
6507
- "version": "0.5.4"
6507
+ "version": "0.5.5-main.1aa8b60"
6508
6508
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/cli",
3
- "version": "0.5.4",
3
+ "version": "0.5.5-main.1aa8b60",
4
4
  "description": "DXOS CLI",
5
5
  "keywords": [
6
6
  "dxos",
@@ -52,32 +52,33 @@
52
52
  "uuid": "^8.3.2",
53
53
  "ws": "^8.14.2",
54
54
  "wtfnode": "^0.9.1",
55
- "@braneframe/types": "0.5.4",
56
- "@dxos/async": "0.5.4",
57
- "@dxos/agent": "0.5.4",
58
- "@dxos/bare-template": "0.5.4",
59
- "@dxos/client": "0.5.4",
60
- "@dxos/client-protocol": "0.5.4",
61
- "@dxos/client-services": "0.5.4",
62
- "@dxos/config": "0.5.4",
63
- "@dxos/context": "0.5.4",
64
- "@dxos/debug": "0.5.4",
65
- "@dxos/echo-schema": "0.5.4",
66
- "@dxos/functions": "0.5.4",
67
- "@dxos/invariant": "0.5.4",
68
- "@dxos/hello-template": "0.5.4",
69
- "@dxos/log": "0.5.4",
70
- "@dxos/observability": "0.5.4",
71
- "@dxos/network-manager": "0.5.4",
72
- "@dxos/plate": "0.5.4",
73
- "@dxos/process": "0.5.4",
74
- "@dxos/protocols": "0.5.4",
75
- "@dxos/rpc": "0.5.4",
76
- "@dxos/random": "0.5.4",
77
- "@dxos/tasks-template": "0.5.4",
78
- "@dxos/util": "0.5.4"
55
+ "@dxos/agent": "0.5.5-main.1aa8b60",
56
+ "@braneframe/types": "0.5.5-main.1aa8b60",
57
+ "@dxos/async": "0.5.5-main.1aa8b60",
58
+ "@dxos/bare-template": "0.5.5-main.1aa8b60",
59
+ "@dxos/client": "0.5.5-main.1aa8b60",
60
+ "@dxos/client-protocol": "0.5.5-main.1aa8b60",
61
+ "@dxos/config": "0.5.5-main.1aa8b60",
62
+ "@dxos/client-services": "0.5.5-main.1aa8b60",
63
+ "@dxos/context": "0.5.5-main.1aa8b60",
64
+ "@dxos/debug": "0.5.5-main.1aa8b60",
65
+ "@dxos/echo-schema": "0.5.5-main.1aa8b60",
66
+ "@dxos/functions": "0.5.5-main.1aa8b60",
67
+ "@dxos/hello-template": "0.5.5-main.1aa8b60",
68
+ "@dxos/log": "0.5.5-main.1aa8b60",
69
+ "@dxos/invariant": "0.5.5-main.1aa8b60",
70
+ "@dxos/network-manager": "0.5.5-main.1aa8b60",
71
+ "@dxos/observability": "0.5.5-main.1aa8b60",
72
+ "@dxos/plate": "0.5.5-main.1aa8b60",
73
+ "@dxos/process": "0.5.5-main.1aa8b60",
74
+ "@dxos/random": "0.5.5-main.1aa8b60",
75
+ "@dxos/protocols": "0.5.5-main.1aa8b60",
76
+ "@dxos/rpc": "0.5.5-main.1aa8b60",
77
+ "@dxos/tasks-template": "0.5.5-main.1aa8b60",
78
+ "@dxos/util": "0.5.5-main.1aa8b60"
79
79
  },
80
80
  "devDependencies": {
81
+ "@effect/schema": "^0.67.16",
81
82
  "@oclif/test": "^3.2.15",
82
83
  "@phosphor-icons/react": "^2.1.5",
83
84
  "@types/cli-progress": "^3.11.0",
@@ -88,7 +89,8 @@
88
89
  "@types/node-fetch": "^2.5.10",
89
90
  "@types/platform": "^1.3.4",
90
91
  "@types/react-dom": "^18.0.6",
91
- "fast-check": "^3.15.1",
92
+ "effect": "^3.2.7",
93
+ "fast-check": "^3.19.0",
92
94
  "oclif": "^4.10.11",
93
95
  "prettier": "^3.2.4",
94
96
  "shx": "^0.3.3",