@agoric/deploy-script-support 0.10.4-u11.0 → 0.10.4-u12.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/CHANGELOG.md +17 -0
- package/package.json +18 -18
- package/src/extract-proposal.js +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.10.4-u12.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.4-u11wf.0...@agoric/deploy-script-support@0.10.4-u12.0) (2023-11-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @agoric/deploy-script-support
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### [0.10.4-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.4-u11.0...@agoric/deploy-script-support@0.10.4-u11wf.0) (2023-09-23)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **deploy-scripts-support:** correct bare module resolution ([f1e7109](https://github.com/Agoric/agoric-sdk/commit/f1e710937cd25fc261ca34c670c206fbaed583d3))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
### [0.10.4-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.3...@agoric/deploy-script-support@0.10.4-u11.0) (2023-08-24)
|
|
7
24
|
|
|
8
25
|
**Note:** Version bump only for package @agoric/deploy-script-support
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/deploy-script-support",
|
|
3
|
-
"version": "0.10.4-
|
|
3
|
+
"version": "0.10.4-u12.0",
|
|
4
4
|
"description": "Helpers and other support for writing deploy scripts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/helpers.js",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@agoric/assert": "^0.6.0",
|
|
38
|
-
"@agoric/ertp": "^0.16.3-
|
|
39
|
-
"@agoric/import-manager": "^0.3.12-
|
|
40
|
-
"@agoric/internal": "^0.
|
|
41
|
-
"@agoric/notifier": "^0.6.3-
|
|
42
|
-
"@agoric/store": "^0.9.3-
|
|
43
|
-
"@agoric/zoe": "^0.26.3-
|
|
44
|
-
"@endo/base64": "
|
|
45
|
-
"@endo/bundle-source": "
|
|
46
|
-
"@endo/far": "
|
|
47
|
-
"@endo/marshal": "
|
|
48
|
-
"@endo/nat": "
|
|
49
|
-
"@endo/promise-kit": "
|
|
50
|
-
"@endo/zip": "
|
|
37
|
+
"@agoric/assert": "^0.6.1-u11wf.0",
|
|
38
|
+
"@agoric/ertp": "^0.16.3-u12.0",
|
|
39
|
+
"@agoric/import-manager": "^0.3.12-u12.0",
|
|
40
|
+
"@agoric/internal": "^0.4.0-u12.0",
|
|
41
|
+
"@agoric/notifier": "^0.6.3-u12.0",
|
|
42
|
+
"@agoric/store": "^0.9.3-u12.0",
|
|
43
|
+
"@agoric/zoe": "^0.26.3-u12.0",
|
|
44
|
+
"@endo/base64": "0.2.31",
|
|
45
|
+
"@endo/bundle-source": "2.5.2-upstream-rollup",
|
|
46
|
+
"@endo/far": "0.2.18",
|
|
47
|
+
"@endo/marshal": "0.8.5",
|
|
48
|
+
"@endo/nat": "4.1.27",
|
|
49
|
+
"@endo/promise-kit": "0.2.56",
|
|
50
|
+
"@endo/zip": "0.2.31"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@agoric/vats": "^0.15.2-
|
|
54
|
-
"@endo/init": "
|
|
53
|
+
"@agoric/vats": "^0.15.2-u12.0",
|
|
54
|
+
"@endo/init": "0.5.56",
|
|
55
55
|
"ava": "^5.2.0",
|
|
56
56
|
"import-meta-resolve": "^2.2.1"
|
|
57
57
|
},
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "ee5a5fdad9187a6b1b7b26b772b6564c0db3062e"
|
|
72
72
|
}
|
package/src/extract-proposal.js
CHANGED
|
@@ -35,6 +35,11 @@ const pathResolve = (...paths) => {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
const findModule = (initDir, srcSpec) =>
|
|
39
|
+
srcSpec.match(/^(\.\.?)?\//)
|
|
40
|
+
? pathResolve(initDir, srcSpec)
|
|
41
|
+
: req.resolve(srcSpec);
|
|
42
|
+
|
|
38
43
|
/**
|
|
39
44
|
* Format core proposals to be run at bootstrap:
|
|
40
45
|
* SwingSet `bundles` configuration
|
|
@@ -99,12 +104,12 @@ export const extractCoreProposalBundles = async (
|
|
|
99
104
|
const thisProposalBundleHandles = new Set();
|
|
100
105
|
assert(getSequenceForProposal);
|
|
101
106
|
const thisProposalSequence = getSequenceForProposal(i);
|
|
102
|
-
const initPath =
|
|
107
|
+
const initPath = findModule(dirname, module);
|
|
103
108
|
const initDir = path.dirname(initPath);
|
|
104
109
|
/** @type {Record<string, import('./externalTypes.js').ProposalBuilder>} */
|
|
105
110
|
const ns = await import(initPath);
|
|
106
111
|
const install = (srcSpec, bundlePath) => {
|
|
107
|
-
const absoluteSrc =
|
|
112
|
+
const absoluteSrc = findModule(initDir, srcSpec);
|
|
108
113
|
const bundleHandle = {};
|
|
109
114
|
const absolutePaths = { source: absoluteSrc };
|
|
110
115
|
if (bundlePath) {
|