apify-cli 0.7.1-beta.1 → 0.7.1-beta.4
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": "apify-cli",
|
|
3
|
-
"version": "0.7.1-beta.
|
|
3
|
+
"version": "0.7.1-beta.4",
|
|
4
4
|
"description": "Apify command-line interface helps you create, develop, build and run Apify actors, and manage the Apify cloud platform.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"src",
|
|
16
|
-
"npm-shrinkwrap.json",
|
|
17
16
|
"oclif.manifest.json",
|
|
18
17
|
"index.js",
|
|
19
18
|
"package.json"
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"node": ">=12.0.0"
|
|
52
51
|
},
|
|
53
52
|
"dependencies": {
|
|
54
|
-
"@apify/actor-templates": "^0.1.
|
|
53
|
+
"@apify/actor-templates": "^0.1.2",
|
|
55
54
|
"@apify/consts": "^1.7.0",
|
|
56
55
|
"@apify/http-request": "^2.1.2",
|
|
57
56
|
"@apify/input_schema": "^2.0.8",
|
|
@@ -90,9 +89,6 @@
|
|
|
90
89
|
"mocha": "^8.4.0",
|
|
91
90
|
"sinon": "^9.2.4"
|
|
92
91
|
},
|
|
93
|
-
"eslintIgnore": [
|
|
94
|
-
"src/templates/*"
|
|
95
|
-
],
|
|
96
92
|
"oclif": {
|
|
97
93
|
"bin": "apify",
|
|
98
94
|
"commands": "./src/commands",
|
|
@@ -20,9 +20,8 @@ class PushDataCommand extends ApifyCommand {
|
|
|
20
20
|
} catch (err) {
|
|
21
21
|
throw new Error(`Failed to parse data as JSON string: ${err.message}`);
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
await datasetClient.pushItems(parsedData);
|
|
23
|
+
|
|
24
|
+
await apifyClient.dataset(defaultStoreId).pushItems(parsedData);
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
|
|
@@ -5,7 +5,7 @@ const { getApifyStorageClient, getDefaultStorageId, APIFY_STORAGE_TYPES } = requ
|
|
|
5
5
|
class SetValueCommand extends ApifyCommand {
|
|
6
6
|
async init() {
|
|
7
7
|
// Read data from stdin of the command
|
|
8
|
-
this.stdin =
|
|
8
|
+
this.stdin = process.stdin;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
async run() {
|