@openfn/cli 1.6.0 → 1.7.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/dist/process/runner.js +6 -1
- package/package.json +3 -3
package/dist/process/runner.js
CHANGED
|
@@ -1561,8 +1561,13 @@ async function pullHandler(options, logger) {
|
|
|
1561
1561
|
JSON.stringify(state, null, 2)
|
|
1562
1562
|
);
|
|
1563
1563
|
logger.always("Downloading the project spec (as YAML) from the server.");
|
|
1564
|
+
const queryParams = new URLSearchParams();
|
|
1565
|
+
queryParams.append("id", options.projectId);
|
|
1566
|
+
options.snapshots?.forEach(
|
|
1567
|
+
(snapshot) => queryParams.append("snapshots[]", snapshot)
|
|
1568
|
+
);
|
|
1564
1569
|
const url2 = new URL(
|
|
1565
|
-
`api/provision/yaml
|
|
1570
|
+
`api/provision/yaml?${queryParams.toString()}`,
|
|
1566
1571
|
config.endpoint
|
|
1567
1572
|
);
|
|
1568
1573
|
logger.debug("Fetching project spec from", url2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "CLI devtools for the openfn toolchain.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"treeify": "^1.1.0",
|
|
48
48
|
"ws": "^8.14.1",
|
|
49
49
|
"yargs": "^17.7.2",
|
|
50
|
-
"@openfn/compiler": "0.
|
|
50
|
+
"@openfn/compiler": "0.2.0",
|
|
51
51
|
"@openfn/deploy": "0.5.0",
|
|
52
52
|
"@openfn/describe-package": "0.1.0",
|
|
53
53
|
"@openfn/logger": "1.0.1",
|
|
54
|
-
"@openfn/runtime": "1.4.
|
|
54
|
+
"@openfn/runtime": "1.4.1"
|
|
55
55
|
},
|
|
56
56
|
"files": [
|
|
57
57
|
"dist",
|