apify-cli 1.0.0-beta.9 → 1.0.0-beta.91

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +200 -0
  2. package/README.md +82 -75
  3. package/bin/dev.js +7 -2
  4. package/bin/dev.sh +4 -0
  5. package/bin/run.js +7 -0
  6. package/dist/.tsbuildinfo +1 -1
  7. package/dist/commands/actor/push-data.js +2 -2
  8. package/dist/commands/actor/set-value.js +3 -3
  9. package/dist/commands/actor/set-value.js.map +1 -1
  10. package/dist/commands/call.d.ts +1 -0
  11. package/dist/commands/call.d.ts.map +1 -1
  12. package/dist/commands/call.js +49 -20
  13. package/dist/commands/call.js.map +1 -1
  14. package/dist/commands/create.d.ts +1 -0
  15. package/dist/commands/create.d.ts.map +1 -1
  16. package/dist/commands/create.js +12 -3
  17. package/dist/commands/create.js.map +1 -1
  18. package/dist/commands/login.d.ts +1 -0
  19. package/dist/commands/login.d.ts.map +1 -1
  20. package/dist/commands/login.js +143 -12
  21. package/dist/commands/login.js.map +1 -1
  22. package/dist/commands/push.d.ts.map +1 -1
  23. package/dist/commands/push.js +35 -8
  24. package/dist/commands/push.js.map +1 -1
  25. package/dist/commands/run.d.ts +1 -0
  26. package/dist/commands/run.d.ts.map +1 -1
  27. package/dist/commands/run.js +76 -20
  28. package/dist/commands/run.js.map +1 -1
  29. package/dist/commands/secrets/index.js +1 -1
  30. package/dist/commands/{vis.d.ts → validate-schema.d.ts} +2 -1
  31. package/dist/commands/validate-schema.d.ts.map +1 -0
  32. package/dist/commands/{vis.js → validate-schema.js} +7 -1
  33. package/dist/commands/validate-schema.js.map +1 -0
  34. package/dist/hooks/deprecations.d.ts +4 -0
  35. package/dist/hooks/deprecations.d.ts.map +1 -0
  36. package/dist/hooks/deprecations.js +18 -0
  37. package/dist/hooks/deprecations.js.map +1 -0
  38. package/dist/lib/actor.d.ts +1 -1
  39. package/dist/lib/actor.js +2 -2
  40. package/dist/lib/actor.js.map +1 -1
  41. package/dist/lib/consts.d.ts +8 -0
  42. package/dist/lib/consts.d.ts.map +1 -1
  43. package/dist/lib/consts.js +10 -0
  44. package/dist/lib/consts.js.map +1 -1
  45. package/dist/lib/exec.d.ts.map +1 -1
  46. package/dist/lib/exec.js +6 -1
  47. package/dist/lib/exec.js.map +1 -1
  48. package/dist/lib/input_schema.d.ts +1 -1
  49. package/dist/lib/input_schema.d.ts.map +1 -1
  50. package/dist/lib/secrets.js +3 -3
  51. package/dist/lib/telemetry.d.ts.map +1 -1
  52. package/dist/lib/utils.d.ts +6 -7
  53. package/dist/lib/utils.d.ts.map +1 -1
  54. package/dist/lib/utils.js +29 -9
  55. package/dist/lib/utils.js.map +1 -1
  56. package/oclif.manifest.json +40 -37
  57. package/package.json +148 -141
  58. package/dist/commands/login-new.d.ts +0 -10
  59. package/dist/commands/login-new.d.ts.map +0 -1
  60. package/dist/commands/login-new.js +0 -166
  61. package/dist/commands/login-new.js.map +0 -1
  62. package/dist/commands/vis.d.ts.map +0 -1
  63. package/dist/commands/vis.js.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,200 @@
1
+ **Changelog file is no longer maintained, you can check all changes in [GitHub Releases](https://github.com/apify/apify-cli/releases).**
2
+
3
+ 0.6.1 / 2020-05-18
4
+ ==================
5
+ - **BREAKING:** Templates are now fully decoupled from this project and
6
+ the [templates repository](https://github.com/apify/actor-templates)
7
+ serves as the single source of truth. Some templates were replaced
8
+ and others were renamed to better clarify their purpose.
9
+ - **BREAKING:** Providing an invalid template in `apify.json` no longer
10
+ throws, but rather silently uses a reasonable default configuration.
11
+ This is to support regular changes to templates without breaking older
12
+ versions of the CLI.
13
+
14
+ 0.5.3 / 2020-03-03
15
+ ==================
16
+ - Moved templates to separate repository
17
+ - Fixed: creating `apify_storage` in root folder after `apify create` command
18
+
19
+ 0.5.2 / 2020-01-22
20
+ ==================
21
+ - Added bot(dependabot.com) to check latest Apify SDK version in all templates
22
+ - Updated apify package in all templates
23
+ - Updated npm packages and fixed all npm audit issues
24
+
25
+ 0.5.1 / 2019-12-19
26
+ ==================
27
+ - Added warning about outdated node.js version
28
+ - Fixed infinite push, when the previous one was interrupted
29
+ - Fixed calling public actors with `apify call`
30
+ - `apify init` create empty INPUT.json file
31
+
32
+ 0.5.0 / 2019-11-27
33
+ ==================
34
+ - Drop support for node 8 and 9
35
+ - Fix: Pass the --max-http-header-size=80000 to the nodeJs process
36
+
37
+ 0.4.1 / 2019-10-02
38
+ ==================
39
+ - New actor template for Apify projects, you can create it with `apify create --template apify_project`
40
+ - `apify vis` - Using improved schema validator
41
+
42
+ 0.4.0 / 2019-09-23
43
+ ==================
44
+ - Breaking Change - `apify push`: Pushes source code as a "Multiple source files" in case source code is less that 3 MB
45
+
46
+ 0.3.12 / 2019-09-18
47
+ ==================
48
+ Bug fixes:
49
+ - `apify create`: Added validation for actor name
50
+ - `apify init` skips creation of apify.json if already exists
51
+ - `apify run -p` runs actor, if apify_storage doesn't exist
52
+ - Updated packages
53
+ - Additional minor fixes
54
+
55
+ 0.3.11 / 2019-07-26
56
+ ==================
57
+ - Updated packages
58
+ - Updated Cheerio Crawler template
59
+ - Updated Apify package version in all templates
60
+
61
+ 0.3.10 / 2019-06-03
62
+ ==================
63
+ - Updated packages
64
+
65
+ 0.3.9 / 2019-05-15
66
+ ==================
67
+ - Improved the templates and texts
68
+
69
+ 0.3.8 / 2019-03-29
70
+ ==================
71
+ - Updated all templates regarding the last version of apify SDK.
72
+
73
+ 0.3.7 / 2019-03-18
74
+ ==================
75
+ - Fixed templates to use Apify.getInput(), replaced deprecated function and options,
76
+ added debug fields, added .idea to .gitignore
77
+ - Updated packages
78
+ - Fixed bug: Users without username can use push/call command
79
+
80
+ 0.3.6 / 2019-01-29
81
+ ==================
82
+ - Added command `apify vis` that validates actor input schema.
83
+
84
+ 0.3.5 / 2019-01-25
85
+ ==================
86
+ - Upgraded to apify@0.11 in templates
87
+
88
+ 0.3.3 / 2018-12-12
89
+ ==================
90
+ - Omitted CMD command in all templates Dockerfile.
91
+
92
+ 0.3.2 / 2018-12-05
93
+ ==================
94
+ - Updated apify-client package. It fixed bug, when user can not push actor, whe he changed version in apify.json.
95
+
96
+ 0.3.1 / 2018-11-29
97
+ ==================
98
+ - :tada: New commands to manage secret environment variables: `apify secrets:add`, `apify secrets:rm`.
99
+ - New documentation how to set environment variable in `apify.json`, see [documentation](https://github.com/apify/apify-cli/blob/master/README.md#environment-variables).
100
+ - **BREAKING CHANGES**: Simplified `apify.json` structure. It will be updated automatically before execution apify run and push command.
101
+ - Command `apify create` now shows progress bar of npm install.
102
+ - Small bugs fixes
103
+
104
+ 0.2.7 / 2018-11-27
105
+ ==================
106
+ - Updated all templates to latest apify packages
107
+
108
+ 0.2.6 / 2018-11-09
109
+ ==================
110
+ - Added warning if `apify run` reuse old state in storage
111
+ - Fixed issues #70 #65 #68
112
+
113
+ 0.2.5 / 2018-10-31
114
+ ==================
115
+ - Updated NPM dependencies
116
+ - Upgraded to apify-shared@0.1.6
117
+ - Fixed templates to use apify/actor-node-chrome Docker image instead of outdated apify/actor-node-puppeteer
118
+
119
+ 0.2.3 / 2018-09-17
120
+ ==================
121
+ - Updated all templates to apify version 0.8.*
122
+ - Added template named hello_word
123
+
124
+ 0.2.1 / 2018-09-17
125
+ ==================
126
+ - **BREAKING CHANGES**: The local storage directories have been renamed and package.json files needs a new `start` command.
127
+ See [migration guide](/MIGRATIONS.md) for existing projects if you are upgrading from 0.1.* to 0.2.*.
128
+ - You can specified another file that main.js for `apify run` command using npm start script.
129
+
130
+ 0.2.0 / 2018-09-12
131
+ ==================
132
+ - **BREAKING CHANGES**: Version 0.2.0 of Apify CLI supports only version 0.7.0 of API SDK or newer as management of environment variables
133
+ has been changed according to Apify SDK version 0.7.0.
134
+ - Dropped support for Node 7
135
+
136
+ 0.1.18 / 2018-09-12
137
+ ===================
138
+ - Updated NPM dependencies, npm-shrinkwrap.json replaced with package-lock.json
139
+ - Updated NPM dependencies in code templates
140
+
141
+ 0.1.15 / 2018-07-23
142
+ ===================
143
+ - Rename act to actor
144
+
145
+ 0.1.13 / 2018-07-12
146
+ ===================
147
+ - Add environment variables for enable live view for local actors.
148
+
149
+ 0.1.12 / 2018-06-28
150
+ ===================
151
+ - From now `apify call` and `apify push` commands stream live logs from run and build to your terminal
152
+ - Add options -p, --purge, --purge-dataset, --purge-key-value-store, --purge-queue in `apify run` to clean stores before runs actor locally
153
+ - Add option -w, --wait-for-finish=wait-for-finish in `apify push` and `apify call` - command waits x seconds to finish run or build on Apify
154
+ - Fixes #26, #33, #34, #36, #38, #39, #37, #35
155
+
156
+ 0.1.11 / 2018-05-30
157
+ ===================
158
+ - Use npm-shrinkwrap.json instead of package-lock.json for published module
159
+ - Update template, where we using proxy
160
+ - Fix #30
161
+
162
+ 0.1.9 / 2018-04-18
163
+ ==================
164
+ - apify run takes APIFY_USER_ID and APIFY_TOKEN as environments variables, if client is logged locally
165
+ - apify call takes input from default local key-value-store
166
+ - Fix: duplicates new lines in log
167
+
168
+ 0.1.8 / 2018-04-17
169
+ ==================
170
+ - Print warning if you have old version of cli
171
+ - apify run - kills all sub processes for SIGINT signal (ctrl+c) - It kills all related browsers in apify run command, related issue:
172
+ https://github.com/apify/apify-js/issues/72
173
+
174
+ 0.1.7 / 2018-04-12
175
+ ==================
176
+ - Readme and templates updates
177
+
178
+ 0.1.6 / 2018-04-11
179
+ ==================
180
+ - Add support for request queue
181
+
182
+ 0.1.5 / 2018-04-09
183
+ ==================
184
+ - Works for windows
185
+ - New command apify info
186
+
187
+ 0.1.x / 2018-04-01
188
+ ==================
189
+ - The first public release
190
+
191
+ 0.0.x / 2018-03-01
192
+ ==================
193
+ - Initial development, lot of new stuff
194
+
195
+
196
+
197
+
198
+
199
+
200
+