apify-cli 1.0.0-beta.11 → 1.0.0-beta.111
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 +200 -0
- package/README.md +124 -76
- package/bin/dev.js +7 -2
- package/bin/dev.sh +4 -0
- package/bin/run.js +7 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/actor/get-value.d.ts +1 -1
- package/dist/commands/actor/push-data.d.ts +1 -1
- package/dist/commands/actor/push-data.js +2 -2
- package/dist/commands/actor/set-value.d.ts +3 -3
- package/dist/commands/actor/set-value.js +3 -3
- package/dist/commands/actor/set-value.js.map +1 -1
- package/dist/commands/call.d.ts +7 -6
- package/dist/commands/call.d.ts.map +1 -1
- package/dist/commands/call.js +56 -90
- package/dist/commands/call.js.map +1 -1
- package/dist/commands/check-version.d.ts +1 -1
- package/dist/commands/create.d.ts +5 -4
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +33 -18
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/edit-input-schema.d.ts +1 -1
- package/dist/commands/edit-input-schema.js +15 -15
- package/dist/commands/edit-input-schema.js.map +1 -1
- package/dist/commands/init-wrap-scrapy.d.ts +1 -1
- package/dist/commands/init-wrap-scrapy.js +1 -1
- package/dist/commands/init-wrap-scrapy.js.map +1 -1
- package/dist/commands/init.d.ts +2 -2
- package/dist/commands/init.js +5 -5
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/login.d.ts +2 -1
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +144 -13
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/pull.d.ts +2 -2
- package/dist/commands/pull.js +2 -2
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.d.ts +7 -7
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +51 -22
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/run.d.ts +5 -4
- package/dist/commands/run.d.ts.map +1 -1
- package/dist/commands/run.js +101 -35
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/secrets/add.d.ts +2 -2
- package/dist/commands/secrets/index.js +1 -1
- package/dist/commands/secrets/rm.d.ts +1 -1
- package/dist/commands/task/index.d.ts +6 -0
- package/dist/commands/task/index.d.ts.map +1 -0
- package/dist/commands/task/index.js +13 -0
- package/dist/commands/task/index.js.map +1 -0
- package/dist/commands/task/run.d.ts +16 -0
- package/dist/commands/task/run.d.ts.map +1 -0
- package/dist/commands/task/run.js +91 -0
- package/dist/commands/task/run.js.map +1 -0
- package/dist/commands/{vis.d.ts → validate-schema.d.ts} +3 -2
- package/dist/commands/validate-schema.d.ts.map +1 -0
- package/dist/commands/{vis.js → validate-schema.js} +10 -4
- package/dist/commands/validate-schema.js.map +1 -0
- package/dist/hooks/deprecations.d.ts +4 -0
- package/dist/hooks/deprecations.d.ts.map +1 -0
- package/dist/hooks/deprecations.js +18 -0
- package/dist/hooks/deprecations.js.map +1 -0
- package/dist/lib/actor.d.ts +1 -1
- package/dist/lib/actor.d.ts.map +1 -1
- package/dist/lib/actor.js +2 -2
- package/dist/lib/actor.js.map +1 -1
- package/dist/lib/apify_command.d.ts +0 -1
- package/dist/lib/apify_command.d.ts.map +1 -1
- package/dist/lib/commands/run-on-cloud.d.ts +19 -0
- package/dist/lib/commands/run-on-cloud.d.ts.map +1 -0
- package/dist/lib/commands/run-on-cloud.js +90 -0
- package/dist/lib/commands/run-on-cloud.js.map +1 -0
- package/dist/lib/consts.d.ts +8 -0
- package/dist/lib/consts.d.ts.map +1 -1
- package/dist/lib/consts.js +10 -0
- package/dist/lib/consts.js.map +1 -1
- package/dist/lib/create-utils.d.ts.map +1 -1
- package/dist/lib/create-utils.js +1 -1
- package/dist/lib/create-utils.js.map +1 -1
- package/dist/lib/exec.d.ts +0 -1
- package/dist/lib/exec.d.ts.map +1 -1
- package/dist/lib/exec.js +6 -1
- package/dist/lib/exec.js.map +1 -1
- package/dist/lib/files.d.ts.map +1 -1
- package/dist/lib/input_schema.d.ts +1 -1
- package/dist/lib/input_schema.d.ts.map +1 -1
- package/dist/lib/input_schema.js +1 -1
- package/dist/lib/input_schema.js.map +1 -1
- package/dist/lib/local_state.d.ts.map +1 -1
- package/dist/lib/outputs.d.ts +18 -6
- package/dist/lib/outputs.d.ts.map +1 -1
- package/dist/lib/outputs.js +43 -18
- package/dist/lib/outputs.js.map +1 -1
- package/dist/lib/projects/scrapy/wrapScrapyProject.js +3 -3
- package/dist/lib/projects/scrapy/wrapScrapyProject.js.map +1 -1
- package/dist/lib/secrets.d.ts.map +1 -1
- package/dist/lib/secrets.js +3 -3
- package/dist/lib/secrets.js.map +1 -1
- package/dist/lib/telemetry.d.ts.map +1 -1
- package/dist/lib/telemetry.js +1 -1
- package/dist/lib/telemetry.js.map +1 -1
- package/dist/lib/utils.d.ts +6 -10
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +36 -44
- package/dist/lib/utils.js.map +1 -1
- package/dist/lib/version_check.js +7 -7
- package/dist/lib/version_check.js.map +1 -1
- package/oclif.manifest.json +123 -37
- package/package.json +148 -141
- package/dist/commands/login-new.d.ts +0 -10
- package/dist/commands/login-new.d.ts.map +0 -1
- package/dist/commands/login-new.js +0 -166
- package/dist/commands/login-new.js.map +0 -1
- package/dist/commands/vis.d.ts.map +0 -1
- package/dist/commands/vis.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version_check.js","sourceRoot":"","sources":["../../src/lib/version_check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,aAAa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|
package/oclif.manifest.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {
|
|
6
6
|
"actorId": {
|
|
7
|
-
"description": "Name or ID of the Actor to run (e.g. \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
|
|
7
|
+
"description": "Name or ID of the Actor to run (e.g. \"my-actor\", \"apify/hello-world\" or \"E2jjCZBezvAZnX8Rb\"). If not provided, the command runs the remote Actor specified in the \".actor/actor.json\" file.",
|
|
8
8
|
"name": "actorId",
|
|
9
9
|
"required": false
|
|
10
10
|
}
|
|
@@ -128,6 +128,16 @@
|
|
|
128
128
|
"hasDynamicHelp": false,
|
|
129
129
|
"multiple": false,
|
|
130
130
|
"type": "option"
|
|
131
|
+
},
|
|
132
|
+
"omit-optional-deps": {
|
|
133
|
+
"aliases": [
|
|
134
|
+
"no-optional"
|
|
135
|
+
],
|
|
136
|
+
"description": "Skip installing optional dependencies.",
|
|
137
|
+
"name": "omit-optional-deps",
|
|
138
|
+
"required": false,
|
|
139
|
+
"allowNo": false,
|
|
140
|
+
"type": "boolean"
|
|
131
141
|
}
|
|
132
142
|
},
|
|
133
143
|
"hasDynamicHelp": false,
|
|
@@ -251,10 +261,10 @@
|
|
|
251
261
|
"init.js"
|
|
252
262
|
]
|
|
253
263
|
},
|
|
254
|
-
"login
|
|
264
|
+
"login": {
|
|
255
265
|
"aliases": [],
|
|
256
266
|
"args": {},
|
|
257
|
-
"description": "Logs in to your Apify account
|
|
267
|
+
"description": "Logs in to your Apify account.\nThe API token and other account information is stored in the ~/.apify directory, from where it is read by all other \"apify\" commands. To log out, call \"apify logout\".",
|
|
258
268
|
"flags": {
|
|
259
269
|
"token": {
|
|
260
270
|
"char": "t",
|
|
@@ -264,35 +274,18 @@
|
|
|
264
274
|
"hasDynamicHelp": false,
|
|
265
275
|
"multiple": false,
|
|
266
276
|
"type": "option"
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
"id": "login-new",
|
|
273
|
-
"pluginAlias": "apify-cli",
|
|
274
|
-
"pluginName": "apify-cli",
|
|
275
|
-
"pluginType": "core",
|
|
276
|
-
"strict": true,
|
|
277
|
-
"isESM": true,
|
|
278
|
-
"relativePath": [
|
|
279
|
-
"dist",
|
|
280
|
-
"commands",
|
|
281
|
-
"login-new.js"
|
|
282
|
-
]
|
|
283
|
-
},
|
|
284
|
-
"login": {
|
|
285
|
-
"aliases": [],
|
|
286
|
-
"args": {},
|
|
287
|
-
"description": "Logs in to your Apify account using a provided API token.\nThe API token and other account information is stored in the ~/.apify directory, from where it is read by all other \"apify\" commands. To log out, call \"apify logout\".",
|
|
288
|
-
"flags": {
|
|
289
|
-
"token": {
|
|
290
|
-
"char": "t",
|
|
291
|
-
"description": "[Optional] Apify API token",
|
|
292
|
-
"name": "token",
|
|
277
|
+
},
|
|
278
|
+
"method": {
|
|
279
|
+
"char": "m",
|
|
280
|
+
"description": "[Optional] Method of logging in to Apify",
|
|
281
|
+
"name": "method",
|
|
293
282
|
"required": false,
|
|
294
283
|
"hasDynamicHelp": false,
|
|
295
284
|
"multiple": false,
|
|
285
|
+
"options": [
|
|
286
|
+
"console",
|
|
287
|
+
"manual"
|
|
288
|
+
],
|
|
296
289
|
"type": "option"
|
|
297
290
|
}
|
|
298
291
|
},
|
|
@@ -473,6 +466,14 @@
|
|
|
473
466
|
"required": false,
|
|
474
467
|
"allowNo": false,
|
|
475
468
|
"type": "boolean"
|
|
469
|
+
},
|
|
470
|
+
"entrypoint": {
|
|
471
|
+
"description": "Optional entrypoint for running with injected environment variables. \n For Python, it is the module name, or a path to a file. \n For node.js, it is the npm script name, or a path to a JS/MJS file. You can also pass in a directory name, provided that directory contains an \"index.js\" file.",
|
|
472
|
+
"name": "entrypoint",
|
|
473
|
+
"required": false,
|
|
474
|
+
"hasDynamicHelp": false,
|
|
475
|
+
"multiple": false,
|
|
476
|
+
"type": "option"
|
|
476
477
|
}
|
|
477
478
|
},
|
|
478
479
|
"hasDynamicHelp": false,
|
|
@@ -489,7 +490,7 @@
|
|
|
489
490
|
"run.js"
|
|
490
491
|
]
|
|
491
492
|
},
|
|
492
|
-
"
|
|
493
|
+
"validate-schema": {
|
|
493
494
|
"aliases": [],
|
|
494
495
|
"args": {
|
|
495
496
|
"path": {
|
|
@@ -501,8 +502,10 @@
|
|
|
501
502
|
"description": "Validates input schema and prints errors found.\nThe input schema for the Actor is used from these locations in order of preference.\nThe first one found is validated as it would be the one used on the Apify platform.\n1. Directly embedded object in \".actor/actor.json\" under 'input' key\n2. Path to JSON file referenced in \".actor/actor.json\" under 'input' key\n3. JSON file at .actor/INPUT_SCHEMA.json\n4. JSON file at INPUT_SCHEMA.json\n\nYou can also pass any custom path to your input schema to have it validated instead.\n",
|
|
502
503
|
"flags": {},
|
|
503
504
|
"hasDynamicHelp": false,
|
|
504
|
-
"hiddenAliases": [
|
|
505
|
-
|
|
505
|
+
"hiddenAliases": [
|
|
506
|
+
"vis"
|
|
507
|
+
],
|
|
508
|
+
"id": "validate-schema",
|
|
506
509
|
"pluginAlias": "apify-cli",
|
|
507
510
|
"pluginName": "apify-cli",
|
|
508
511
|
"pluginType": "core",
|
|
@@ -511,7 +514,7 @@
|
|
|
511
514
|
"relativePath": [
|
|
512
515
|
"dist",
|
|
513
516
|
"commands",
|
|
514
|
-
"
|
|
517
|
+
"validate-schema.js"
|
|
515
518
|
]
|
|
516
519
|
},
|
|
517
520
|
"actor:get-input": {
|
|
@@ -589,7 +592,7 @@
|
|
|
589
592
|
"required": false
|
|
590
593
|
}
|
|
591
594
|
},
|
|
592
|
-
"description": "Stores an object or an array of objects to the default dataset of the Actor run.\nIt is possible to pass data using item argument or stdin.\nPassing data using argument:\n$ apify actor
|
|
595
|
+
"description": "Stores an object or an array of objects to the default dataset of the Actor run.\nIt is possible to pass data using item argument or stdin.\nPassing data using argument:\n$ apify actor push-data {\"foo\": \"bar\"}\nPassing data using stdin with pipe:\n$ cat ./test.json | apify actor push-data\n",
|
|
593
596
|
"flags": {},
|
|
594
597
|
"hasDynamicHelp": false,
|
|
595
598
|
"hiddenAliases": [],
|
|
@@ -620,7 +623,7 @@
|
|
|
620
623
|
"required": false
|
|
621
624
|
}
|
|
622
625
|
},
|
|
623
|
-
"description": "Sets or removes record into the default KeyValueStore associated with the Actor run.\nIt is possible to pass data using argument or stdin.\nPassing data using argument:\n$ apify actor
|
|
626
|
+
"description": "Sets or removes record into the default KeyValueStore associated with the Actor run.\nIt is possible to pass data using argument or stdin.\nPassing data using argument:\n$ apify actor set-value KEY my-value\nPassing data using stdin with pipe:\n$ cat ./my-text-file.txt | apify actor set-value KEY --contentType text/plain\n",
|
|
624
627
|
"flags": {
|
|
625
628
|
"contentType": {
|
|
626
629
|
"char": "c",
|
|
@@ -681,7 +684,7 @@
|
|
|
681
684
|
"secrets": {
|
|
682
685
|
"aliases": [],
|
|
683
686
|
"args": {},
|
|
684
|
-
"description": "Manages secret values for Actor environment variables.\n\nExample:\n$ apify secrets
|
|
687
|
+
"description": "Manages secret values for Actor environment variables.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nNow the \"mySecret\" value can be used in an environment variable defined in \".actor/actor.json\" file by adding the \"@\" prefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable of the Actor.",
|
|
685
688
|
"flags": {},
|
|
686
689
|
"hasDynamicHelp": false,
|
|
687
690
|
"hiddenAliases": [],
|
|
@@ -723,7 +726,90 @@
|
|
|
723
726
|
"secrets",
|
|
724
727
|
"rm.js"
|
|
725
728
|
]
|
|
729
|
+
},
|
|
730
|
+
"task": {
|
|
731
|
+
"aliases": [],
|
|
732
|
+
"args": {},
|
|
733
|
+
"description": "Commands are designed to be used to interact with Tasks.",
|
|
734
|
+
"flags": {},
|
|
735
|
+
"hasDynamicHelp": false,
|
|
736
|
+
"hiddenAliases": [],
|
|
737
|
+
"id": "task",
|
|
738
|
+
"pluginAlias": "apify-cli",
|
|
739
|
+
"pluginName": "apify-cli",
|
|
740
|
+
"pluginType": "core",
|
|
741
|
+
"strict": true,
|
|
742
|
+
"isESM": true,
|
|
743
|
+
"relativePath": [
|
|
744
|
+
"dist",
|
|
745
|
+
"commands",
|
|
746
|
+
"task",
|
|
747
|
+
"index.js"
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"task:run": {
|
|
751
|
+
"aliases": [],
|
|
752
|
+
"args": {
|
|
753
|
+
"taskId": {
|
|
754
|
+
"description": "Name or ID of the Task to run (e.g. \"my-task\" or \"E2jjCZBezvAZnX8Rb\").",
|
|
755
|
+
"name": "taskId",
|
|
756
|
+
"required": true
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"description": "Runs a specific Actor remotely on the Apify cloud platform.\nThe Actor is run under your current Apify account. Therefore you need to be logged in by calling \"apify login\". It takes input for the Actor from the default local key-value store by default.",
|
|
760
|
+
"flags": {
|
|
761
|
+
"build": {
|
|
762
|
+
"char": "b",
|
|
763
|
+
"description": "Tag or number of the build to run (e.g. \"latest\" or \"1.2.34\").",
|
|
764
|
+
"name": "build",
|
|
765
|
+
"required": false,
|
|
766
|
+
"hasDynamicHelp": false,
|
|
767
|
+
"multiple": false,
|
|
768
|
+
"type": "option"
|
|
769
|
+
},
|
|
770
|
+
"timeout": {
|
|
771
|
+
"char": "t",
|
|
772
|
+
"description": "Timeout for the Task run in seconds. Zero value means there is no timeout.",
|
|
773
|
+
"name": "timeout",
|
|
774
|
+
"required": false,
|
|
775
|
+
"hasDynamicHelp": false,
|
|
776
|
+
"multiple": false,
|
|
777
|
+
"type": "option"
|
|
778
|
+
},
|
|
779
|
+
"memory": {
|
|
780
|
+
"char": "m",
|
|
781
|
+
"description": "Amount of memory allocated for the Task run, in megabytes.",
|
|
782
|
+
"name": "memory",
|
|
783
|
+
"required": false,
|
|
784
|
+
"hasDynamicHelp": false,
|
|
785
|
+
"multiple": false,
|
|
786
|
+
"type": "option"
|
|
787
|
+
},
|
|
788
|
+
"wait-for-finish": {
|
|
789
|
+
"char": "w",
|
|
790
|
+
"description": "Seconds for waiting to run to finish, if no value passed, it waits forever.",
|
|
791
|
+
"name": "wait-for-finish",
|
|
792
|
+
"required": false,
|
|
793
|
+
"hasDynamicHelp": false,
|
|
794
|
+
"multiple": false,
|
|
795
|
+
"type": "option"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"hasDynamicHelp": false,
|
|
799
|
+
"hiddenAliases": [],
|
|
800
|
+
"id": "task:run",
|
|
801
|
+
"pluginAlias": "apify-cli",
|
|
802
|
+
"pluginName": "apify-cli",
|
|
803
|
+
"pluginType": "core",
|
|
804
|
+
"strict": true,
|
|
805
|
+
"isESM": true,
|
|
806
|
+
"relativePath": [
|
|
807
|
+
"dist",
|
|
808
|
+
"commands",
|
|
809
|
+
"task",
|
|
810
|
+
"run.js"
|
|
811
|
+
]
|
|
726
812
|
}
|
|
727
813
|
},
|
|
728
|
-
"version": "1.0.0-beta.
|
|
814
|
+
"version": "1.0.0-beta.111"
|
|
729
815
|
}
|
package/package.json
CHANGED
|
@@ -1,146 +1,153 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
"name": "apify-cli",
|
|
3
|
+
"version": "1.0.0-beta.111",
|
|
4
|
+
"description": "Apify command-line interface (CLI) helps you manage the Apify cloud platform and develop, build, and deploy Apify Actors.",
|
|
5
|
+
"exports": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "tsx ./bin/dev.js",
|
|
10
|
+
"test": "vitest run",
|
|
11
|
+
"test-python": "vitest run -t '.*\\[python\\]'",
|
|
12
|
+
"lint": "eslint src test .yarn/plugins --ext .ts,.cjs,.mjs",
|
|
13
|
+
"lint:fix": "eslint src test .yarn/plugins --fix --ext .ts,.cjs,.mjs",
|
|
14
|
+
"clean": "rimraf dist",
|
|
15
|
+
"build": "yarn clean && tsc",
|
|
16
|
+
"postpack": "rimraf oclif.manifest.json",
|
|
17
|
+
"prepack": "yarn build && oclif manifest && oclif readme && oclif readme --readme-path=docs/reference.md",
|
|
18
|
+
"postinstallDev": "yarn build && node ./bin/run.js check-version && node ./dist/lib/community.js"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"oclif.manifest.json",
|
|
23
|
+
"bin"
|
|
24
|
+
],
|
|
25
|
+
"bin": {
|
|
26
|
+
"apify": "./bin/run.js"
|
|
27
|
+
},
|
|
28
|
+
"contributors": [
|
|
29
|
+
"Jakub Drobník <jakub.drobnik@apify.com>",
|
|
30
|
+
"Jan Curn <jan@apify.com>"
|
|
31
|
+
],
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/apify/apify-cli.git"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"apify",
|
|
38
|
+
"client",
|
|
39
|
+
"node",
|
|
40
|
+
"command",
|
|
41
|
+
"line",
|
|
42
|
+
"bash"
|
|
43
|
+
],
|
|
44
|
+
"author": {
|
|
45
|
+
"name": "Apify",
|
|
46
|
+
"email": "support@apify.com",
|
|
47
|
+
"url": "https://www.apify.com"
|
|
48
|
+
},
|
|
49
|
+
"license": "Apache-2.0",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/apify/apify-cli/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/apify/apify-cli#readme",
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=18"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@apify/actor-templates": "~0.1.5",
|
|
59
|
+
"@apify/consts": "~2.28.0",
|
|
60
|
+
"@apify/input_schema": "~3.6.0",
|
|
61
|
+
"@apify/utilities": "~2.10.0",
|
|
62
|
+
"@crawlee/memory-storage": "~3.10.0",
|
|
63
|
+
"@oclif/core": "~4.0.0",
|
|
64
|
+
"@oclif/plugin-help": "~6.2.0",
|
|
65
|
+
"@root/walk": "~1.1.0",
|
|
66
|
+
"adm-zip": "~0.5.10",
|
|
67
|
+
"ajv": "~8.16.0",
|
|
68
|
+
"apify-client": "~2.9.3",
|
|
69
|
+
"archiver": "~7.0.0",
|
|
70
|
+
"axios": "~1.7.0",
|
|
71
|
+
"chalk": "~5.3.0",
|
|
72
|
+
"computer-name": "~0.1.0",
|
|
73
|
+
"configparser": "~0.3.10",
|
|
74
|
+
"cors": "~2.8.5",
|
|
75
|
+
"detect-indent": "~7.0.1",
|
|
76
|
+
"escape-string-regexp": "~5.0.0",
|
|
77
|
+
"express": "~4.19.0",
|
|
78
|
+
"globby": "~14.0.1",
|
|
79
|
+
"handlebars": "~4.7.8",
|
|
80
|
+
"inquirer": "~9.2.15",
|
|
81
|
+
"is-ci": "~3.0.1",
|
|
82
|
+
"is-online": "~10.0.0",
|
|
83
|
+
"istextorbinary": "~9.5.0",
|
|
84
|
+
"jju": "~1.4.0",
|
|
85
|
+
"load-json-file": "~7.0.1",
|
|
86
|
+
"mime": "~4.0.1",
|
|
87
|
+
"mixpanel": "~0.18.0",
|
|
88
|
+
"open": "~10.1.0",
|
|
89
|
+
"ow": "~2.0.0",
|
|
90
|
+
"rimraf": "~5.0.5",
|
|
91
|
+
"semver": "~7.6.0",
|
|
92
|
+
"tiged": "~2.12.7",
|
|
93
|
+
"underscore": "~1.13.6",
|
|
94
|
+
"write-json-file": "~5.0.0"
|
|
95
|
+
},
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@apify/eslint-config": "^0.4.0",
|
|
98
|
+
"@apify/eslint-config-ts": "^0.4.1",
|
|
99
|
+
"@apify/tsconfig": "^0.1.0",
|
|
100
|
+
"@crawlee/types": "^3.8.1",
|
|
101
|
+
"@oclif/test": "^4.0.0",
|
|
102
|
+
"@types/adm-zip": "^0.5.5",
|
|
103
|
+
"@types/archiver": "^6.0.2",
|
|
104
|
+
"@types/chai": "^4.3.12",
|
|
105
|
+
"@types/cors": "^2.8.17",
|
|
106
|
+
"@types/express": "^4.17.21",
|
|
107
|
+
"@types/inquirer": "^9.0.7",
|
|
108
|
+
"@types/is-ci": "^3.0.4",
|
|
109
|
+
"@types/jju": "^1.4.5",
|
|
110
|
+
"@types/mime": "^4.0.0",
|
|
111
|
+
"@types/node": "^20.11.20",
|
|
112
|
+
"@types/semver": "^7.5.8",
|
|
113
|
+
"@types/underscore": "^1.11.15",
|
|
114
|
+
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
115
|
+
"@typescript-eslint/parser": "^7.0.2",
|
|
116
|
+
"@yarnpkg/core": "^4.0.3",
|
|
117
|
+
"chai": "^4.4.1",
|
|
118
|
+
"eslint": "^8.57.0",
|
|
119
|
+
"oclif": "^4.4.18",
|
|
120
|
+
"tsx": "^4.7.1",
|
|
121
|
+
"typescript": "^5.3.3",
|
|
122
|
+
"vitest": "^1.3.1"
|
|
123
|
+
},
|
|
124
|
+
"oclif": {
|
|
125
|
+
"bin": "apify",
|
|
126
|
+
"dirname": "apify",
|
|
127
|
+
"commands": "./dist/commands",
|
|
128
|
+
"plugins": [
|
|
129
|
+
"@oclif/plugin-help"
|
|
23
130
|
],
|
|
24
|
-
"
|
|
25
|
-
|
|
131
|
+
"hooks": {
|
|
132
|
+
"init": [
|
|
133
|
+
"./dist/hooks/init"
|
|
134
|
+
],
|
|
135
|
+
"prerun": [
|
|
136
|
+
"./dist/hooks/deprecations"
|
|
137
|
+
]
|
|
26
138
|
},
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
139
|
+
"helpClass": "./dist/lib/apify-oclif-help",
|
|
140
|
+
"additionalHelpFlags": [
|
|
141
|
+
"-h"
|
|
30
142
|
],
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
"url": "git+https://github.com/apify/apify-cli.git"
|
|
34
|
-
},
|
|
35
|
-
"keywords": [
|
|
36
|
-
"apify",
|
|
37
|
-
"client",
|
|
38
|
-
"node",
|
|
39
|
-
"command",
|
|
40
|
-
"line",
|
|
41
|
-
"bash"
|
|
143
|
+
"additionalVersionFlags": [
|
|
144
|
+
"-v"
|
|
42
145
|
],
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
"homepage": "https://github.com/apify/apify-cli#readme",
|
|
53
|
-
"engines": {
|
|
54
|
-
"node": ">=16.0.0"
|
|
55
|
-
},
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@apify/actor-templates": "~0.1.5",
|
|
58
|
-
"@apify/consts": "~2.26.0",
|
|
59
|
-
"@apify/input_schema": "~3.5.15",
|
|
60
|
-
"@apify/utilities": "~2.10.0",
|
|
61
|
-
"@crawlee/memory-storage": "~3.8.1",
|
|
62
|
-
"@oclif/core": "~3.23.0",
|
|
63
|
-
"@oclif/plugin-help": "~6.0.14",
|
|
64
|
-
"@root/walk": "~1.1.0",
|
|
65
|
-
"adm-zip": "~0.5.10",
|
|
66
|
-
"ajv": "~8.12.0",
|
|
67
|
-
"apify-client": "~2.9.3",
|
|
68
|
-
"archiver": "~7.0.0",
|
|
69
|
-
"axios": "~1.6.7",
|
|
70
|
-
"chalk": "~5.3.0",
|
|
71
|
-
"computer-name": "~0.1.0",
|
|
72
|
-
"configparser": "~0.3.10",
|
|
73
|
-
"cors": "~2.8.5",
|
|
74
|
-
"detect-indent": "~7.0.1",
|
|
75
|
-
"escape-string-regexp": "~5.0.0",
|
|
76
|
-
"express": "~4.18.2",
|
|
77
|
-
"globby": "~14.0.1",
|
|
78
|
-
"handlebars": "~4.7.8",
|
|
79
|
-
"inquirer": "~9.2.15",
|
|
80
|
-
"is-ci": "~3.0.1",
|
|
81
|
-
"is-online": "~10.0.0",
|
|
82
|
-
"istextorbinary": "~9.5.0",
|
|
83
|
-
"jju": "~1.4.0",
|
|
84
|
-
"load-json-file": "~7.0.1",
|
|
85
|
-
"mime": "~4.0.1",
|
|
86
|
-
"mixpanel": "~0.18.0",
|
|
87
|
-
"open": "~10.1.0",
|
|
88
|
-
"ow": "~1.1.1",
|
|
89
|
-
"rimraf": "~5.0.5",
|
|
90
|
-
"semver": "~7.6.0",
|
|
91
|
-
"tiged": "~2.12.7",
|
|
92
|
-
"underscore": "~1.13.6",
|
|
93
|
-
"write-json-file": "~5.0.0"
|
|
94
|
-
},
|
|
95
|
-
"devDependencies": {
|
|
96
|
-
"@apify/eslint-config": "^0.4.0",
|
|
97
|
-
"@apify/eslint-config-ts": "^0.4.1",
|
|
98
|
-
"@apify/tsconfig": "^0.1.0",
|
|
99
|
-
"@crawlee/types": "^3.8.1",
|
|
100
|
-
"@oclif/test": "^3.2.1",
|
|
101
|
-
"@types/adm-zip": "^0.5.5",
|
|
102
|
-
"@types/archiver": "^6.0.2",
|
|
103
|
-
"@types/chai": "^4.3.12",
|
|
104
|
-
"@types/cors": "^2.8.17",
|
|
105
|
-
"@types/express": "^4.17.21",
|
|
106
|
-
"@types/inquirer": "^9.0.7",
|
|
107
|
-
"@types/is-ci": "^3.0.4",
|
|
108
|
-
"@types/jju": "^1.4.5",
|
|
109
|
-
"@types/mime": "^3.0.4",
|
|
110
|
-
"@types/node": "^20.11.20",
|
|
111
|
-
"@types/semver": "^7.5.8",
|
|
112
|
-
"@types/underscore": "^1.11.15",
|
|
113
|
-
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
114
|
-
"@typescript-eslint/parser": "^7.0.2",
|
|
115
|
-
"chai": "^4.4.1",
|
|
116
|
-
"eslint": "^8.57.0",
|
|
117
|
-
"oclif": "^4.4.18",
|
|
118
|
-
"tsx": "^4.7.1",
|
|
119
|
-
"typescript": "^5.3.3",
|
|
120
|
-
"vitest": "^1.3.1"
|
|
121
|
-
},
|
|
122
|
-
"oclif": {
|
|
123
|
-
"bin": "apify",
|
|
124
|
-
"dirname": "apify",
|
|
125
|
-
"commands": "./dist/commands",
|
|
126
|
-
"plugins": [
|
|
127
|
-
"@oclif/plugin-help"
|
|
128
|
-
],
|
|
129
|
-
"hooks": {
|
|
130
|
-
"init": [
|
|
131
|
-
"./dist/hooks/init"
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
"helpClass": "./dist/lib/apify-oclif-help",
|
|
135
|
-
"additionalHelpFlags": [
|
|
136
|
-
"-h"
|
|
137
|
-
],
|
|
138
|
-
"additionalVersionFlags": [
|
|
139
|
-
"-v"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"volta": {
|
|
143
|
-
"node": "20.11.1",
|
|
144
|
-
"npm": "10.5.0"
|
|
145
|
-
}
|
|
146
|
-
}
|
|
146
|
+
"topicSeparator": " "
|
|
147
|
+
},
|
|
148
|
+
"volta": {
|
|
149
|
+
"node": "20.15.0",
|
|
150
|
+
"yarn": "4.3.1"
|
|
151
|
+
},
|
|
152
|
+
"packageManager": "yarn@4.3.1"
|
|
153
|
+
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ApifyCommand } from '../lib/apify_command.js';
|
|
2
|
-
export declare class LoginNewCommand extends ApifyCommand<typeof LoginNewCommand> {
|
|
3
|
-
static description: string;
|
|
4
|
-
static flags: {
|
|
5
|
-
token: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
6
|
-
};
|
|
7
|
-
static hidden: boolean;
|
|
8
|
-
run(): Promise<void>;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=login-new.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login-new.d.ts","sourceRoot":"","sources":["../../src/commands/login-new.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AA0BvD,qBAAa,eAAgB,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACrE,OAAgB,WAAW,SAEU;IAErC,OAAgB,KAAK;;MAMnB;IAEF,OAAgB,MAAM,UAAQ;IAExB,GAAG;CAoHZ"}
|