agoric 0.21.2-dev-6fb05ae.0 → 0.21.2-dev-f4feacb.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agoric",
3
- "version": "0.21.2-dev-6fb05ae.0+6fb05ae",
3
+ "version": "0.21.2-dev-f4feacb.0+f4feacb",
4
4
  "description": "Manage the Agoric Javascript smart contract platform",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -30,28 +30,28 @@
30
30
  "lint:eslint": "eslint ."
31
31
  },
32
32
  "devDependencies": {
33
- "@agoric/cosmic-swingset": "0.41.4-dev-6fb05ae.0+6fb05ae",
34
- "@agoric/deploy-script-support": "0.10.4-dev-6fb05ae.0+6fb05ae",
33
+ "@agoric/cosmic-swingset": "0.41.4-dev-f4feacb.0+f4feacb",
34
+ "@agoric/deploy-script-support": "0.10.4-dev-f4feacb.0+f4feacb",
35
35
  "ava": "^5.3.0",
36
36
  "c8": "^10.1.2"
37
37
  },
38
38
  "dependencies": {
39
- "@agoric/access-token": "0.4.22-dev-6fb05ae.0+6fb05ae",
40
- "@agoric/cache": "0.3.3-dev-6fb05ae.0+6fb05ae",
41
- "@agoric/casting": "0.4.3-dev-6fb05ae.0+6fb05ae",
42
- "@agoric/client-utils": "0.1.1-dev-6fb05ae.0+6fb05ae",
43
- "@agoric/cosmic-proto": "0.4.1-dev-6fb05ae.0+6fb05ae",
44
- "@agoric/ertp": "0.16.3-dev-6fb05ae.0+6fb05ae",
45
- "@agoric/governance": "0.10.4-dev-6fb05ae.0+6fb05ae",
46
- "@agoric/inter-protocol": "0.16.2-dev-6fb05ae.0+6fb05ae",
47
- "@agoric/internal": "0.3.3-dev-6fb05ae.0+6fb05ae",
48
- "@agoric/network": "0.1.1-dev-6fb05ae.0+6fb05ae",
49
- "@agoric/smart-wallet": "0.5.4-dev-6fb05ae.0+6fb05ae",
50
- "@agoric/store": "0.9.3-dev-6fb05ae.0+6fb05ae",
51
- "@agoric/swingset-vat": "0.32.3-dev-6fb05ae.0+6fb05ae",
52
- "@agoric/vats": "0.15.2-dev-6fb05ae.0+6fb05ae",
53
- "@agoric/zoe": "0.26.3-dev-6fb05ae.0+6fb05ae",
54
- "@agoric/zone": "0.2.3-dev-6fb05ae.0+6fb05ae",
39
+ "@agoric/access-token": "0.4.22-dev-f4feacb.0+f4feacb",
40
+ "@agoric/cache": "0.3.3-dev-f4feacb.0+f4feacb",
41
+ "@agoric/casting": "0.4.3-dev-f4feacb.0+f4feacb",
42
+ "@agoric/client-utils": "0.1.1-dev-f4feacb.0+f4feacb",
43
+ "@agoric/cosmic-proto": "0.4.1-dev-f4feacb.0+f4feacb",
44
+ "@agoric/ertp": "0.16.3-dev-f4feacb.0+f4feacb",
45
+ "@agoric/governance": "0.10.4-dev-f4feacb.0+f4feacb",
46
+ "@agoric/inter-protocol": "0.16.2-dev-f4feacb.0+f4feacb",
47
+ "@agoric/internal": "0.3.3-dev-f4feacb.0+f4feacb",
48
+ "@agoric/network": "0.1.1-dev-f4feacb.0+f4feacb",
49
+ "@agoric/smart-wallet": "0.5.4-dev-f4feacb.0+f4feacb",
50
+ "@agoric/store": "0.9.3-dev-f4feacb.0+f4feacb",
51
+ "@agoric/swingset-vat": "0.32.3-dev-f4feacb.0+f4feacb",
52
+ "@agoric/vats": "0.15.2-dev-f4feacb.0+f4feacb",
53
+ "@agoric/zoe": "0.26.3-dev-f4feacb.0+f4feacb",
54
+ "@agoric/zone": "0.2.3-dev-f4feacb.0+f4feacb",
55
55
  "@cosmjs/crypto": "^0.33.0",
56
56
  "@cosmjs/encoding": "^0.33.0",
57
57
  "@cosmjs/math": "^0.33.0",
@@ -101,5 +101,5 @@
101
101
  "typeCoverage": {
102
102
  "atLeast": 78.96
103
103
  },
104
- "gitHead": "6fb05aed0a0a3b44df4c0374f896fe6d4ff6d7ad"
104
+ "gitHead": "f4feacb345d6a0475c83693450ef57d117c60f00"
105
105
  }
package/src/install.js CHANGED
@@ -32,7 +32,7 @@ export default async function installMain(progname, rawArgs, powers, opts) {
32
32
  const rimraf = file => pspawn('rm', ['-rf', file]);
33
33
 
34
34
  async function getWorktreePackagePaths(cwd = '.', map = new Map()) {
35
- for (const { name, location } of listWorkspaces({ execFileSync })) {
35
+ for (const { name, location } of listWorkspaces({ execFileSync }, cwd)) {
36
36
  map.set(name, path.resolve(cwd, location));
37
37
  }
38
38
  return map;
@@ -8,13 +8,15 @@
8
8
  * Omits the root
9
9
  *
10
10
  * @param {{ execFileSync: execFileSync }} io
11
+ * @param {string} [root]
11
12
  * @returns {Array<{ location: string, name: string }>}
12
13
  */
13
- export const listWorkspaces = ({ execFileSync }) => {
14
+ export const listWorkspaces = ({ execFileSync }, root) => {
14
15
  const out = execFileSync('npm', ['query', '.workspace'], {
15
16
  stdio: ['ignore', 'pipe', 'inherit'],
16
17
  shell: true,
17
18
  encoding: 'utf-8',
19
+ cwd: root,
18
20
  });
19
21
  /** @type {Array<{ location: string, name: string, description: string }>} */
20
22
  const result = JSON.parse(out);