apify-cli 0.21.9 → 0.21.10-beta.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 +20 -0
- package/LICENSE.md +201 -0
- package/README.md +0 -1431
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/_register.js +68 -0
- package/dist/commands/_register.js.map +1 -0
- package/dist/commands/actor/_index.js +24 -0
- package/dist/commands/actor/_index.js.map +1 -0
- package/dist/commands/actor/charge.js +5 -3
- package/dist/commands/actor/charge.js.map +1 -1
- package/dist/commands/actor/get-input.js +3 -2
- package/dist/commands/actor/get-input.js.map +1 -1
- package/dist/commands/actor/get-public-url.js +4 -3
- package/dist/commands/actor/get-public-url.js.map +1 -1
- package/dist/commands/actor/get-value.js +4 -3
- package/dist/commands/actor/get-value.js.map +1 -1
- package/dist/commands/actor/push-data.js +6 -5
- package/dist/commands/actor/push-data.js.map +1 -1
- package/dist/commands/actor/set-value.js +5 -5
- package/dist/commands/actor/set-value.js.map +1 -1
- package/dist/commands/actors/_index.js +28 -0
- package/dist/commands/actors/_index.js.map +1 -0
- package/dist/commands/actors/build.js +3 -1
- package/dist/commands/actors/build.js.map +1 -1
- package/dist/commands/actors/call.js +9 -7
- package/dist/commands/actors/call.js.map +1 -1
- package/dist/commands/actors/info.js +7 -5
- package/dist/commands/actors/info.js.map +1 -1
- package/dist/commands/actors/ls.js +8 -6
- package/dist/commands/actors/ls.js.map +1 -1
- package/dist/commands/actors/pull.js +4 -2
- package/dist/commands/actors/pull.js.map +1 -1
- package/dist/commands/actors/push.js +4 -6
- package/dist/commands/actors/push.js.map +1 -1
- package/dist/commands/actors/rm.js +4 -3
- package/dist/commands/actors/rm.js.map +1 -1
- package/dist/commands/actors/start.js +9 -7
- package/dist/commands/actors/start.js.map +1 -1
- package/dist/commands/builds/_index.js +22 -0
- package/dist/commands/builds/_index.js.map +1 -0
- package/dist/commands/builds/create.js +7 -5
- package/dist/commands/builds/create.js.map +1 -1
- package/dist/commands/builds/info.js +7 -6
- package/dist/commands/builds/info.js.map +1 -1
- package/dist/commands/builds/log.js +4 -3
- package/dist/commands/builds/log.js.map +1 -1
- package/dist/commands/builds/ls.js +8 -6
- package/dist/commands/builds/ls.js.map +1 -1
- package/dist/commands/builds/rm.js +3 -2
- package/dist/commands/builds/rm.js.map +1 -1
- package/dist/commands/call.js +1 -0
- package/dist/commands/call.js.map +1 -1
- package/dist/commands/create.js +4 -2
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/datasets/_index.js +25 -0
- package/dist/commands/datasets/_index.js.map +1 -0
- package/dist/commands/datasets/create.js +6 -5
- package/dist/commands/datasets/create.js.map +1 -1
- package/dist/commands/datasets/get-items.js +6 -7
- package/dist/commands/datasets/get-items.js.map +1 -1
- package/dist/commands/datasets/info.js +7 -6
- package/dist/commands/datasets/info.js.map +1 -1
- package/dist/commands/datasets/ls.js +6 -5
- package/dist/commands/datasets/ls.js.map +1 -1
- package/dist/commands/datasets/push-items.js +5 -4
- package/dist/commands/datasets/push-items.js.map +1 -1
- package/dist/commands/datasets/rename.js +4 -2
- package/dist/commands/datasets/rename.js.map +1 -1
- package/dist/commands/datasets/rm.js +3 -2
- package/dist/commands/datasets/rm.js.map +1 -1
- package/dist/commands/edit-input-schema.js +4 -3
- package/dist/commands/edit-input-schema.js.map +1 -1
- package/dist/commands/help.js +43 -0
- package/dist/commands/help.js.map +1 -0
- package/dist/commands/info.js +2 -1
- package/dist/commands/info.js.map +1 -1
- package/dist/commands/init-wrap-scrapy.js +3 -2
- package/dist/commands/init-wrap-scrapy.js.map +1 -1
- package/dist/commands/init.js +4 -2
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/key-value-stores/_index.js +30 -0
- package/dist/commands/key-value-stores/_index.js.map +1 -0
- package/dist/commands/key-value-stores/create.js +7 -7
- package/dist/commands/key-value-stores/create.js.map +1 -1
- package/dist/commands/key-value-stores/delete-value.js +4 -4
- package/dist/commands/key-value-stores/delete-value.js.map +1 -1
- package/dist/commands/key-value-stores/get-value.js +4 -3
- package/dist/commands/key-value-stores/get-value.js.map +1 -1
- package/dist/commands/key-value-stores/info.js +7 -7
- package/dist/commands/key-value-stores/info.js.map +1 -1
- package/dist/commands/key-value-stores/keys.js +7 -6
- package/dist/commands/key-value-stores/keys.js.map +1 -1
- package/dist/commands/key-value-stores/ls.js +6 -7
- package/dist/commands/key-value-stores/ls.js.map +1 -1
- package/dist/commands/key-value-stores/rename.js +4 -3
- package/dist/commands/key-value-stores/rename.js.map +1 -1
- package/dist/commands/key-value-stores/rm.js +3 -3
- package/dist/commands/key-value-stores/rm.js.map +1 -1
- package/dist/commands/key-value-stores/set-value.js +4 -6
- package/dist/commands/key-value-stores/set-value.js.map +1 -1
- package/dist/commands/login.js +8 -5
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.js +3 -2
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/pull.js +1 -0
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.js +1 -0
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/request-queues/{index.js → _index.js} +4 -3
- package/dist/commands/request-queues/_index.js.map +1 -0
- package/dist/commands/run.js +20 -37
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/runs/_index.js +23 -0
- package/dist/commands/runs/_index.js.map +1 -0
- package/dist/commands/runs/abort.js +7 -5
- package/dist/commands/runs/abort.js.map +1 -1
- package/dist/commands/runs/info.js +8 -6
- package/dist/commands/runs/info.js.map +1 -1
- package/dist/commands/runs/log.js +3 -2
- package/dist/commands/runs/log.js.map +1 -1
- package/dist/commands/runs/ls.js +7 -5
- package/dist/commands/runs/ls.js.map +1 -1
- package/dist/commands/runs/resurrect.js +6 -5
- package/dist/commands/runs/resurrect.js.map +1 -1
- package/dist/commands/runs/rm.js +3 -2
- package/dist/commands/runs/rm.js.map +1 -1
- package/dist/commands/secrets/{index.js → _index.js} +7 -3
- package/dist/commands/secrets/_index.js.map +1 -0
- package/dist/commands/secrets/add.js +3 -2
- package/dist/commands/secrets/add.js.map +1 -1
- package/dist/commands/secrets/rm.js +4 -3
- package/dist/commands/secrets/rm.js.map +1 -1
- package/dist/commands/task/_index.js +11 -0
- package/dist/commands/task/_index.js.map +1 -0
- package/dist/commands/task/run.js +3 -2
- package/dist/commands/task/run.js.map +1 -1
- package/dist/commands/upgrade.js +74 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/commands/validate-schema.js +3 -2
- package/dist/commands/validate-schema.js.map +1 -1
- package/dist/entrypoints/_shared.js +256 -0
- package/dist/entrypoints/_shared.js.map +1 -0
- package/dist/entrypoints/actor.js +19 -0
- package/dist/entrypoints/actor.js.map +1 -0
- package/dist/entrypoints/apify.js +18 -0
- package/dist/entrypoints/apify.js.map +1 -0
- package/dist/lib/command-framework/apify-command.js +426 -0
- package/dist/lib/command-framework/apify-command.js.map +1 -0
- package/dist/lib/command-framework/args.js +24 -0
- package/dist/lib/command-framework/args.js.map +1 -0
- package/dist/lib/command-framework/flags.js +99 -0
- package/dist/lib/command-framework/flags.js.map +1 -0
- package/dist/lib/command-framework/help/CommandHelp.js +228 -0
- package/dist/lib/command-framework/help/CommandHelp.js.map +1 -0
- package/dist/lib/command-framework/help/CommandWithSubcommands.js +75 -0
- package/dist/lib/command-framework/help/CommandWithSubcommands.js.map +1 -0
- package/dist/lib/command-framework/help/_BaseCommandRenderer.js +63 -0
- package/dist/lib/command-framework/help/_BaseCommandRenderer.js.map +1 -0
- package/dist/lib/command-framework/help/consts.js +27 -0
- package/dist/lib/command-framework/help/consts.js.map +1 -0
- package/dist/lib/command-framework/help.js +105 -0
- package/dist/lib/command-framework/help.js.map +1 -0
- package/dist/lib/commands/pretty-print-bytes.js.map +1 -1
- package/dist/lib/commands/read-stdin.js +34 -20
- package/dist/lib/commands/read-stdin.js.map +1 -1
- package/dist/lib/commands/resolve-actor-context.js.map +1 -1
- package/dist/lib/commands/resolve-input.js +6 -6
- package/dist/lib/commands/resolve-input.js.map +1 -1
- package/dist/lib/commands/run-on-cloud.js +1 -1
- package/dist/lib/commands/run-on-cloud.js.map +1 -1
- package/dist/lib/consts.js +1 -8
- package/dist/lib/consts.js.map +1 -1
- package/dist/lib/hooks/runtimes/utils.js +3 -6
- package/dist/lib/hooks/runtimes/utils.js.map +1 -1
- package/dist/lib/hooks/useCLIMetadata.js +73 -0
- package/dist/lib/hooks/useCLIMetadata.js.map +1 -0
- package/dist/lib/hooks/useCLIVersionCheck.js +91 -0
- package/dist/lib/hooks/useCLIVersionCheck.js.map +1 -0
- package/dist/lib/hooks/useCommandSuggestions.js +37 -0
- package/dist/lib/hooks/useCommandSuggestions.js.map +1 -0
- package/dist/lib/hooks/useCwdProject.js.map +1 -1
- package/dist/lib/hooks/useLocalState.js +56 -0
- package/dist/lib/hooks/useLocalState.js.map +1 -0
- package/dist/lib/hooks/useStdin.js +65 -0
- package/dist/lib/hooks/useStdin.js.map +1 -0
- package/dist/lib/outputs.js +1 -1
- package/dist/lib/outputs.js.map +1 -1
- package/dist/lib/telemetry.js.map +1 -1
- package/dist/lib/types.js +3 -1
- package/dist/lib/types.js.map +1 -1
- package/dist/lib/utils/confirm.js.map +1 -1
- package/dist/lib/utils.js +21 -12
- package/dist/lib/utils.js.map +1 -1
- package/package.json +60 -54
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -23
- package/bin/dev.sh +0 -4
- package/bin/run.cmd +0 -3
- package/bin/run.js +0 -25
- package/dist/commands/actor/charge.d.ts +0 -23
- package/dist/commands/actor/charge.d.ts.map +0 -1
- package/dist/commands/actor/get-input.d.ts +0 -6
- package/dist/commands/actor/get-input.d.ts.map +0 -1
- package/dist/commands/actor/get-public-url.d.ts +0 -9
- package/dist/commands/actor/get-public-url.d.ts.map +0 -1
- package/dist/commands/actor/get-value.d.ts +0 -9
- package/dist/commands/actor/get-value.d.ts.map +0 -1
- package/dist/commands/actor/index.d.ts +0 -6
- package/dist/commands/actor/index.d.ts.map +0 -1
- package/dist/commands/actor/index.js +0 -8
- package/dist/commands/actor/index.js.map +0 -1
- package/dist/commands/actor/push-data.d.ts +0 -9
- package/dist/commands/actor/push-data.d.ts.map +0 -1
- package/dist/commands/actor/set-value.d.ts +0 -13
- package/dist/commands/actor/set-value.d.ts.map +0 -1
- package/dist/commands/actors/build.d.ts +0 -4
- package/dist/commands/actors/build.d.ts.map +0 -1
- package/dist/commands/actors/call.d.ts +0 -30
- package/dist/commands/actors/call.d.ts.map +0 -1
- package/dist/commands/actors/index.d.ts +0 -6
- package/dist/commands/actors/index.d.ts.map +0 -1
- package/dist/commands/actors/index.js +0 -8
- package/dist/commands/actors/index.js.map +0 -1
- package/dist/commands/actors/info.d.ts +0 -22
- package/dist/commands/actors/info.d.ts.map +0 -1
- package/dist/commands/actors/ls.d.ts +0 -15
- package/dist/commands/actors/ls.d.ts.map +0 -1
- package/dist/commands/actors/pull.d.ts +0 -13
- package/dist/commands/actors/pull.d.ts.map +0 -1
- package/dist/commands/actors/push.d.ts +0 -18
- package/dist/commands/actors/push.d.ts.map +0 -1
- package/dist/commands/actors/rm.d.ts +0 -9
- package/dist/commands/actors/rm.d.ts.map +0 -1
- package/dist/commands/actors/start.d.ts +0 -18
- package/dist/commands/actors/start.d.ts.map +0 -1
- package/dist/commands/builds/create.d.ts +0 -15
- package/dist/commands/builds/create.d.ts.map +0 -1
- package/dist/commands/builds/index.d.ts +0 -6
- package/dist/commands/builds/index.d.ts.map +0 -1
- package/dist/commands/builds/index.js +0 -8
- package/dist/commands/builds/index.js.map +0 -1
- package/dist/commands/builds/info.d.ts +0 -10
- package/dist/commands/builds/info.d.ts.map +0 -1
- package/dist/commands/builds/log.d.ts +0 -9
- package/dist/commands/builds/log.d.ts.map +0 -1
- package/dist/commands/builds/ls.d.ts +0 -17
- package/dist/commands/builds/ls.d.ts.map +0 -1
- package/dist/commands/builds/rm.d.ts +0 -9
- package/dist/commands/builds/rm.d.ts.map +0 -1
- package/dist/commands/call.d.ts +0 -4
- package/dist/commands/call.d.ts.map +0 -1
- package/dist/commands/check-version.d.ts +0 -11
- package/dist/commands/check-version.d.ts.map +0 -1
- package/dist/commands/check-version.js +0 -19
- package/dist/commands/check-version.js.map +0 -1
- package/dist/commands/create.d.ts +0 -15
- package/dist/commands/create.d.ts.map +0 -1
- package/dist/commands/datasets/create.d.ts +0 -10
- package/dist/commands/datasets/create.d.ts.map +0 -1
- package/dist/commands/datasets/get-items.d.ts +0 -17
- package/dist/commands/datasets/get-items.d.ts.map +0 -1
- package/dist/commands/datasets/index.d.ts +0 -6
- package/dist/commands/datasets/index.d.ts.map +0 -1
- package/dist/commands/datasets/index.js +0 -8
- package/dist/commands/datasets/index.js.map +0 -1
- package/dist/commands/datasets/info.d.ts +0 -30
- package/dist/commands/datasets/info.d.ts.map +0 -1
- package/dist/commands/datasets/ls.d.ts +0 -13
- package/dist/commands/datasets/ls.d.ts.map +0 -1
- package/dist/commands/datasets/push-items.d.ts +0 -10
- package/dist/commands/datasets/push-items.d.ts.map +0 -1
- package/dist/commands/datasets/rename.d.ts +0 -13
- package/dist/commands/datasets/rename.d.ts.map +0 -1
- package/dist/commands/datasets/rm.d.ts +0 -9
- package/dist/commands/datasets/rm.d.ts.map +0 -1
- package/dist/commands/edit-input-schema.d.ts +0 -11
- package/dist/commands/edit-input-schema.d.ts.map +0 -1
- package/dist/commands/info.d.ts +0 -6
- package/dist/commands/info.d.ts.map +0 -1
- package/dist/commands/init-wrap-scrapy.d.ts +0 -10
- package/dist/commands/init-wrap-scrapy.d.ts.map +0 -1
- package/dist/commands/init.d.ts +0 -12
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/key-value-stores/create.d.ts +0 -11
- package/dist/commands/key-value-stores/create.d.ts.map +0 -1
- package/dist/commands/key-value-stores/delete-value.d.ts +0 -11
- package/dist/commands/key-value-stores/delete-value.d.ts.map +0 -1
- package/dist/commands/key-value-stores/get-value.d.ts +0 -14
- package/dist/commands/key-value-stores/get-value.d.ts.map +0 -1
- package/dist/commands/key-value-stores/index.d.ts +0 -7
- package/dist/commands/key-value-stores/index.d.ts.map +0 -1
- package/dist/commands/key-value-stores/index.js +0 -9
- package/dist/commands/key-value-stores/index.js.map +0 -1
- package/dist/commands/key-value-stores/info.d.ts +0 -28
- package/dist/commands/key-value-stores/info.d.ts.map +0 -1
- package/dist/commands/key-value-stores/keys.d.ts +0 -15
- package/dist/commands/key-value-stores/keys.d.ts.map +0 -1
- package/dist/commands/key-value-stores/ls.d.ts +0 -14
- package/dist/commands/key-value-stores/ls.d.ts.map +0 -1
- package/dist/commands/key-value-stores/rename.d.ts +0 -14
- package/dist/commands/key-value-stores/rename.d.ts.map +0 -1
- package/dist/commands/key-value-stores/rm.d.ts +0 -10
- package/dist/commands/key-value-stores/rm.d.ts.map +0 -1
- package/dist/commands/key-value-stores/set-value.d.ts +0 -15
- package/dist/commands/key-value-stores/set-value.d.ts.map +0 -1
- package/dist/commands/login.d.ts +0 -10
- package/dist/commands/login.d.ts.map +0 -1
- package/dist/commands/logout.d.ts +0 -6
- package/dist/commands/logout.d.ts.map +0 -1
- package/dist/commands/pull.d.ts +0 -4
- package/dist/commands/pull.d.ts.map +0 -1
- package/dist/commands/push.d.ts +0 -4
- package/dist/commands/push.d.ts.map +0 -1
- package/dist/commands/request-queues/index.d.ts +0 -6
- package/dist/commands/request-queues/index.d.ts.map +0 -1
- package/dist/commands/request-queues/index.js.map +0 -1
- package/dist/commands/run.d.ts +0 -20
- package/dist/commands/run.d.ts.map +0 -1
- package/dist/commands/runs/abort.d.ts +0 -13
- package/dist/commands/runs/abort.d.ts.map +0 -1
- package/dist/commands/runs/index.d.ts +0 -6
- package/dist/commands/runs/index.d.ts.map +0 -1
- package/dist/commands/runs/index.js +0 -8
- package/dist/commands/runs/index.js.map +0 -1
- package/dist/commands/runs/info.d.ts +0 -48
- package/dist/commands/runs/info.d.ts.map +0 -1
- package/dist/commands/runs/log.d.ts +0 -9
- package/dist/commands/runs/log.d.ts.map +0 -1
- package/dist/commands/runs/ls.d.ts +0 -16
- package/dist/commands/runs/ls.d.ts.map +0 -1
- package/dist/commands/runs/resurrect.d.ts +0 -10
- package/dist/commands/runs/resurrect.d.ts.map +0 -1
- package/dist/commands/runs/rm.d.ts +0 -9
- package/dist/commands/runs/rm.d.ts.map +0 -1
- package/dist/commands/secrets/add.d.ts +0 -10
- package/dist/commands/secrets/add.d.ts.map +0 -1
- package/dist/commands/secrets/index.d.ts +0 -6
- package/dist/commands/secrets/index.d.ts.map +0 -1
- package/dist/commands/secrets/index.js.map +0 -1
- package/dist/commands/secrets/rm.d.ts +0 -9
- package/dist/commands/secrets/rm.d.ts.map +0 -1
- package/dist/commands/task/index.d.ts +0 -6
- package/dist/commands/task/index.d.ts.map +0 -1
- package/dist/commands/task/index.js +0 -8
- package/dist/commands/task/index.js.map +0 -1
- package/dist/commands/task/run.d.ts +0 -15
- package/dist/commands/task/run.d.ts.map +0 -1
- package/dist/commands/validate-schema.d.ts +0 -10
- package/dist/commands/validate-schema.d.ts.map +0 -1
- package/dist/hooks/deprecations.d.ts +0 -4
- package/dist/hooks/deprecations.d.ts.map +0 -1
- package/dist/hooks/deprecations.js +0 -18
- package/dist/hooks/deprecations.js.map +0 -1
- package/dist/hooks/init.d.ts +0 -7
- package/dist/hooks/init.d.ts.map +0 -1
- package/dist/hooks/init.js +0 -17
- package/dist/hooks/init.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/actor.d.ts +0 -32
- package/dist/lib/actor.d.ts.map +0 -1
- package/dist/lib/apify-oclif-help.d.ts +0 -15
- package/dist/lib/apify-oclif-help.d.ts.map +0 -1
- package/dist/lib/apify-oclif-help.js +0 -19
- package/dist/lib/apify-oclif-help.js.map +0 -1
- package/dist/lib/apify_command.d.ts +0 -17
- package/dist/lib/apify_command.d.ts.map +0 -1
- package/dist/lib/apify_command.js +0 -76
- package/dist/lib/apify_command.js.map +0 -1
- package/dist/lib/commands/pretty-print-bytes.d.ts +0 -7
- package/dist/lib/commands/pretty-print-bytes.d.ts.map +0 -1
- package/dist/lib/commands/pretty-print-status.d.ts +0 -3
- package/dist/lib/commands/pretty-print-status.d.ts.map +0 -1
- package/dist/lib/commands/read-stdin.d.ts +0 -2
- package/dist/lib/commands/read-stdin.d.ts.map +0 -1
- package/dist/lib/commands/resolve-actor-context.d.ts +0 -22
- package/dist/lib/commands/resolve-actor-context.d.ts.map +0 -1
- package/dist/lib/commands/resolve-input.d.ts +0 -9
- package/dist/lib/commands/resolve-input.d.ts.map +0 -1
- package/dist/lib/commands/responsive-table.d.ts +0 -62
- package/dist/lib/commands/responsive-table.d.ts.map +0 -1
- package/dist/lib/commands/run-on-cloud.d.ts +0 -22
- package/dist/lib/commands/run-on-cloud.d.ts.map +0 -1
- package/dist/lib/commands/storage-size.d.ts +0 -6
- package/dist/lib/commands/storage-size.d.ts.map +0 -1
- package/dist/lib/commands/storages.d.ts +0 -10
- package/dist/lib/commands/storages.d.ts.map +0 -1
- package/dist/lib/community.d.ts +0 -2
- package/dist/lib/community.d.ts.map +0 -1
- package/dist/lib/community.js +0 -4
- package/dist/lib/community.js.map +0 -1
- package/dist/lib/consts.d.ts +0 -56
- package/dist/lib/consts.d.ts.map +0 -1
- package/dist/lib/create-utils.d.ts +0 -8
- package/dist/lib/create-utils.d.ts.map +0 -1
- package/dist/lib/exec.d.ts +0 -9
- package/dist/lib/exec.d.ts.map +0 -1
- package/dist/lib/files.d.ts +0 -14
- package/dist/lib/files.d.ts.map +0 -1
- package/dist/lib/hooks/runtimes/javascript.d.ts +0 -4
- package/dist/lib/hooks/runtimes/javascript.d.ts.map +0 -1
- package/dist/lib/hooks/runtimes/python.d.ts +0 -8
- package/dist/lib/hooks/runtimes/python.d.ts.map +0 -1
- package/dist/lib/hooks/runtimes/utils.d.ts +0 -3
- package/dist/lib/hooks/runtimes/utils.d.ts.map +0 -1
- package/dist/lib/hooks/useActorConfig.d.ts +0 -20
- package/dist/lib/hooks/useActorConfig.d.ts.map +0 -1
- package/dist/lib/hooks/useCwdProject.d.ts +0 -33
- package/dist/lib/hooks/useCwdProject.d.ts.map +0 -1
- package/dist/lib/hooks/useModuleVersion.d.ts +0 -8
- package/dist/lib/hooks/useModuleVersion.d.ts.map +0 -1
- package/dist/lib/input_schema.d.ts +0 -28
- package/dist/lib/input_schema.d.ts.map +0 -1
- package/dist/lib/local_state.d.ts +0 -11
- package/dist/lib/local_state.d.ts.map +0 -1
- package/dist/lib/local_state.js +0 -25
- package/dist/lib/local_state.js.map +0 -1
- package/dist/lib/outputs.d.ts +0 -19
- package/dist/lib/outputs.d.ts.map +0 -1
- package/dist/lib/project_analyzer.d.ts +0 -4
- package/dist/lib/project_analyzer.d.ts.map +0 -1
- package/dist/lib/projects/CrawleeAnalyzer.d.ts +0 -4
- package/dist/lib/projects/CrawleeAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/OldApifySDKAnalyzer.d.ts +0 -4
- package/dist/lib/projects/OldApifySDKAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts +0 -17
- package/dist/lib/projects/scrapy/ScrapyProjectAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/Spider.d.ts +0 -14
- package/dist/lib/projects/scrapy/Spider.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts +0 -7
- package/dist/lib/projects/scrapy/SpiderFileAnalyzer.d.ts.map +0 -1
- package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts +0 -4
- package/dist/lib/projects/scrapy/wrapScrapyProject.d.ts.map +0 -1
- package/dist/lib/projects/shared.d.ts +0 -2
- package/dist/lib/projects/shared.d.ts.map +0 -1
- package/dist/lib/secrets.d.ts +0 -22
- package/dist/lib/secrets.d.ts.map +0 -1
- package/dist/lib/telemetry.d.ts +0 -21
- package/dist/lib/telemetry.d.ts.map +0 -1
- package/dist/lib/types.d.ts +0 -11
- package/dist/lib/types.d.ts.map +0 -1
- package/dist/lib/utils/cliDebugPrint.d.ts +0 -2
- package/dist/lib/utils/cliDebugPrint.d.ts.map +0 -1
- package/dist/lib/utils/confirm.d.ts +0 -7
- package/dist/lib/utils/confirm.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -113
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/version_check.d.ts +0 -14
- package/dist/lib/version_check.d.ts.map +0 -1
- package/dist/lib/version_check.js +0 -99
- package/dist/lib/version_check.js.map +0 -1
- package/dist/typechecking.tsbuildinfo +0 -1
- package/oclif.manifest.json +0 -2661
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns state object from auth file or empty object.
|
|
3
|
-
* This method is synchronous/blocking to avoid different race conditions.
|
|
4
|
-
*/
|
|
5
|
-
export declare const getLocalState: () => any;
|
|
6
|
-
/**
|
|
7
|
-
* Extends local state by given values.
|
|
8
|
-
* This method is synchronous/blocking to avoid different race conditions.
|
|
9
|
-
*/
|
|
10
|
-
export declare const extendLocalState: (data: Record<string, unknown>) => void;
|
|
11
|
-
//# sourceMappingURL=local_state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local_state.d.ts","sourceRoot":"","sources":["../../src/lib/local_state.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,eAAO,MAAM,aAAa,WAMzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,SAI7D,CAAC"}
|
package/dist/lib/local_state.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { readFileSync, writeFileSync } from 'node:fs';
|
|
2
|
-
import { STATE_FILE_PATH } from './consts.js';
|
|
3
|
-
import { ensureApifyDirectory } from './utils.js';
|
|
4
|
-
/**
|
|
5
|
-
* Returns state object from auth file or empty object.
|
|
6
|
-
* This method is synchronous/blocking to avoid different race conditions.
|
|
7
|
-
*/
|
|
8
|
-
export const getLocalState = () => {
|
|
9
|
-
try {
|
|
10
|
-
return JSON.parse(readFileSync(STATE_FILE_PATH(), 'utf-8')) || {};
|
|
11
|
-
}
|
|
12
|
-
catch {
|
|
13
|
-
return {};
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Extends local state by given values.
|
|
18
|
-
* This method is synchronous/blocking to avoid different race conditions.
|
|
19
|
-
*/
|
|
20
|
-
export const extendLocalState = (data) => {
|
|
21
|
-
const state = getLocalState();
|
|
22
|
-
ensureApifyDirectory(STATE_FILE_PATH());
|
|
23
|
-
writeFileSync(STATE_FILE_PATH(), JSON.stringify({ ...state, ...data }, null, '\t'));
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=local_state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"local_state.js","sourceRoot":"","sources":["../../src/lib/local_state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IACjC,IAAI,CAAC;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,eAAe,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;IACnE,CAAC;IAAC,MAAM,CAAC;QACR,OAAO,EAAE,CAAC;IACX,CAAC;AACF,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAA6B,EAAE,EAAE;IACjE,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC;IAC9B,oBAAoB,CAAC,eAAe,EAAE,CAAC,CAAC;IACxC,aAAa,CAAC,eAAe,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC"}
|
package/dist/lib/outputs.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface LogOptions {
|
|
2
|
-
stdoutOutput?: unknown[];
|
|
3
|
-
stderrOutput?: unknown[];
|
|
4
|
-
}
|
|
5
|
-
export interface SimpleLogOptions {
|
|
6
|
-
stdout?: boolean;
|
|
7
|
-
message: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function simpleLog(options: SimpleLogOptions): void;
|
|
10
|
-
export declare function error(options: SimpleLogOptions): void;
|
|
11
|
-
export declare function warning(options: SimpleLogOptions): void;
|
|
12
|
-
export declare function success(options: SimpleLogOptions): void;
|
|
13
|
-
export declare function run(options: SimpleLogOptions): void;
|
|
14
|
-
export declare function info(options: SimpleLogOptions): void;
|
|
15
|
-
export interface SimpleLinkOptions extends SimpleLogOptions {
|
|
16
|
-
url: string;
|
|
17
|
-
}
|
|
18
|
-
export declare function link(options: SimpleLinkOptions): void;
|
|
19
|
-
//# sourceMappingURL=outputs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"outputs.d.ts","sourceRoot":"","sources":["../../src/lib/outputs.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IAC1B,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CACzB;AAYD,MAAM,WAAW,gBAAgB;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,gBAAgB,QAIlD;AAED,wBAAgB,KAAK,CAAC,OAAO,EAAE,gBAAgB,QAI9C;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,QAIhD;AAED,wBAAgB,OAAO,CAAC,OAAO,EAAE,gBAAgB,QAIhD;AAED,wBAAgB,GAAG,CAAC,OAAO,EAAE,gBAAgB,QAI5C;AAED,wBAAgB,IAAI,CAAC,OAAO,EAAE,gBAAgB,QAI7C;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IAC1D,GAAG,EAAE,MAAM,CAAC;CACZ;AAED,wBAAgB,IAAI,CAAC,OAAO,EAAE,iBAAiB,QAI9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project_analyzer.d.ts","sourceRoot":"","sources":["../../src/lib/project_analyzer.ts"],"names":[],"mappings":"AA4BA,qBAAa,eAAe;IAC3B,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM;CAWtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CrawleeAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/lib/projects/CrawleeAnalyzer.ts"],"names":[],"mappings":"AAKA,qBAAa,eAAe;IAC3B,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM;CAiBpC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OldApifySDKAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/lib/projects/OldApifySDKAnalyzer.ts"],"names":[],"mappings":"AASA,qBAAa,mBAAmB;IAC/B,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM;CAsCpC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import ConfigParser from 'configparser';
|
|
2
|
-
export declare class ScrapyProjectAnalyzer {
|
|
3
|
-
pathname: string;
|
|
4
|
-
configuration: ConfigParser;
|
|
5
|
-
settings: {
|
|
6
|
-
BOT_NAME: string;
|
|
7
|
-
SPIDER_MODULES: string[];
|
|
8
|
-
} | null;
|
|
9
|
-
constructor(pathname: string);
|
|
10
|
-
static isApplicable(pathname: string): boolean;
|
|
11
|
-
init(): Promise<void>;
|
|
12
|
-
loadScrapyCfg(): void;
|
|
13
|
-
loadSettings(): Promise<void>;
|
|
14
|
-
getName(): string | undefined;
|
|
15
|
-
getAvailableSpiders(): import("./Spider.js").Spider[];
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=ScrapyProjectAnalyzer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScrapyProjectAnalyzer.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/ScrapyProjectAnalyzer.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,MAAM,cAAc,CAAC;AAKxC,qBAAa,qBAAqB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,YAAY,CAAS;IACpC,QAAQ,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI,CAAQ;gBAE3D,QAAQ,EAAE,MAAM;IAM5B,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM;IAI9B,IAAI;IAIV,aAAa;IAaP,YAAY;IAyBlB,OAAO;IAIP,mBAAmB;CAsBnB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class Spider {
|
|
2
|
-
name?: string;
|
|
3
|
-
class_name: string;
|
|
4
|
-
start_urls?: string;
|
|
5
|
-
pathname: string;
|
|
6
|
-
constructor(data: SpiderData);
|
|
7
|
-
}
|
|
8
|
-
export interface SpiderData {
|
|
9
|
-
name?: string;
|
|
10
|
-
class_name: string;
|
|
11
|
-
start_urls?: string;
|
|
12
|
-
pathname: string;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=Spider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Spider.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/Spider.ts"],"names":[],"mappings":"AAAA,qBAAa,MAAM;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;gBAEL,IAAI,EAAE,UAAU;CAM5B;AAED,MAAM,WAAW,UAAU;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SpiderFileAnalyzer.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/SpiderFileAnalyzer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,kBAAkB;IAC9B,QAAQ,EAAE,MAAM,CAAC;gBAEL,QAAQ,EAAE,MAAM;IAI5B,UAAU;CAcV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wrapScrapyProject.d.ts","sourceRoot":"","sources":["../../../../src/lib/projects/scrapy/wrapScrapyProject.ts"],"names":[],"mappings":"AA6EA,wBAAsB,iBAAiB,CAAC,EAAE,WAAW,EAAE,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,iBA+EhF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/lib/projects/shared.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,UAW5B,CAAC"}
|
package/dist/lib/secrets.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const getSecretsFile: () => any;
|
|
2
|
-
export declare const addSecret: (name: string, value: string) => Record<string, string>;
|
|
3
|
-
export declare const removeSecret: (name: string) => void;
|
|
4
|
-
/**
|
|
5
|
-
* Replaces secure values in env with proper values from local secrets file.
|
|
6
|
-
* @param env
|
|
7
|
-
* @param secrets - Object with secrets, if not set, will be load from secrets file.
|
|
8
|
-
*/
|
|
9
|
-
export declare const replaceSecretsValue: (env: Record<string, string>, secrets?: Record<string, string>) => {};
|
|
10
|
-
interface EnvVar {
|
|
11
|
-
name: string;
|
|
12
|
-
value: string;
|
|
13
|
-
isSecret?: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Transform env to envVars format attribute, which uses Apify API
|
|
17
|
-
* It replaces secrets to values from secrets file.
|
|
18
|
-
* @param secrets - Object with secrets, if not set, will be load from secrets file.
|
|
19
|
-
*/
|
|
20
|
-
export declare const transformEnvToEnvVars: (env: Record<string, string>, secrets?: Record<string, string>) => EnvVar[];
|
|
21
|
-
export {};
|
|
22
|
-
//# sourceMappingURL=secrets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/lib/secrets.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,cAAc,WAM1B,CAAC;AAQF,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,2BAcpD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,SAKxC,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAoBhG,CAAC;AAEF,UAAU,MAAM;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,UAAU,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,aAyBlG,CAAC"}
|
package/dist/lib/telemetry.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import Mixpanel from 'mixpanel';
|
|
2
|
-
export declare const mixpanel: Mixpanel.Mixpanel;
|
|
3
|
-
/**
|
|
4
|
-
* Returns telemetry distinctId for current local environment or creates new one.
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export declare const getOrCreateLocalDistinctId: () => Promise<any>;
|
|
8
|
-
export declare const regenerateLocalDistinctId: () => void;
|
|
9
|
-
export declare const isTelemetryEnabled: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Tracks telemetry event if telemetry is enabled.
|
|
12
|
-
*/
|
|
13
|
-
export declare const maybeTrackTelemetry: ({ eventName, eventData, }: {
|
|
14
|
-
eventName: string;
|
|
15
|
-
eventData: Record<string, unknown>;
|
|
16
|
-
}) => Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Uses Apify identity with local distinctId.
|
|
19
|
-
*/
|
|
20
|
-
export declare const useApifyIdentity: (userId: string) => Promise<void>;
|
|
21
|
-
//# sourceMappingURL=telemetry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/lib/telemetry.ts"],"names":[],"mappings":"AAGA,OAAO,QAA+B,MAAM,UAAU,CAAC;AAQvD,eAAO,MAAM,QAAQ,mBAAsD,CAAC;AAc5E;;;GAGG;AACH,eAAO,MAAM,0BAA0B,oBAgBtC,CAAC;AAEF,eAAO,MAAM,yBAAyB,YAOrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,SAC8E,CAAC;AAE9G;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAU,2BAGvC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,kBAa3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAU,QAAQ,MAAM,kBAgBpD,CAAC"}
|
package/dist/lib/types.d.ts
DELETED
package/dist/lib/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cliDebugPrint.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/cliDebugPrint.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,QAI5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/confirm.ts"],"names":[],"mappings":"AA6BA,wBAAsB,aAAa,CAAC,EACnC,aAAa,EACb,IAAI,EACJ,cAAc,EACd,OAAO,GACP,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAYxG"}
|
package/dist/lib/utils.d.ts
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import type { IncomingMessage } from 'node:http';
|
|
2
|
-
import { DurationFormatter as SapphireDurationFormatter } from '@sapphire/duration';
|
|
3
|
-
import { Timestamp } from '@sapphire/timestamp';
|
|
4
|
-
import { type ActorRun, ApifyClient, type ApifyClientOptions, type Build } from 'apify-client';
|
|
5
|
-
import { type Language } from './consts.js';
|
|
6
|
-
import type { AuthJSON } from './types.js';
|
|
7
|
-
export declare const Ajv2019: typeof import("ajv/dist/2019.js").default;
|
|
8
|
-
export declare const httpsGet: (url: string) => Promise<IncomingMessage>;
|
|
9
|
-
export declare const getLocalStorageDir: () => string;
|
|
10
|
-
export declare const getLocalKeyValueStorePath: (storeId?: string) => string;
|
|
11
|
-
export declare const getLocalDatasetPath: (storeId?: string) => string;
|
|
12
|
-
export declare const getLocalRequestQueuePath: (storeId?: string) => string;
|
|
13
|
-
/**
|
|
14
|
-
* Returns object from auth file or empty object.
|
|
15
|
-
*/
|
|
16
|
-
export declare const getLocalUserInfo: () => Promise<AuthJSON>;
|
|
17
|
-
/**
|
|
18
|
-
* Gets instance of ApifyClient for user otherwise throws error
|
|
19
|
-
*/
|
|
20
|
-
export declare function getLoggedClientOrThrow(): Promise<ApifyClient>;
|
|
21
|
-
/**
|
|
22
|
-
* Returns options for ApifyClient
|
|
23
|
-
*/
|
|
24
|
-
export declare const getApifyClientOptions: (token?: string, apiBaseUrl?: string) => ApifyClientOptions;
|
|
25
|
-
/**
|
|
26
|
-
* Gets instance of ApifyClient for token or for params from global auth file.
|
|
27
|
-
* NOTE: It refreshes global auth file each run
|
|
28
|
-
* @param [token]
|
|
29
|
-
*/
|
|
30
|
-
export declare function getLoggedClient(token?: string, apiBaseUrl?: string): Promise<ApifyClient | null>;
|
|
31
|
-
export declare const getLocalConfigPath: (cwd: string) => string;
|
|
32
|
-
export declare const getJsonFileContent: <T = Record<string, unknown>>(filePath: string) => T | undefined;
|
|
33
|
-
export declare const getLocalConfig: (cwd: string) => Record<string, unknown> | undefined;
|
|
34
|
-
export declare const setLocalConfig: (localConfig: Record<string, unknown>, actDir?: string) => Promise<void>;
|
|
35
|
-
export declare const setLocalEnv: (actDir: string) => Promise<void>;
|
|
36
|
-
type CamelCase<S extends string> = S extends `${infer P1}-${infer P2}${infer P3}` | `${infer P1}_${infer P2}${infer P3}` ? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<Lowercase<P3>>}` : S;
|
|
37
|
-
export type KeysToCamelCase<T> = {
|
|
38
|
-
[K in keyof T as CamelCase<string & K>]: T[K];
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Convert Object with kebab-case keys to camelCased keys
|
|
42
|
-
*/
|
|
43
|
-
export declare const argsToCamelCase: <T extends object>(object: T) => KeysToCamelCase<T>;
|
|
44
|
-
export declare const createSourceFiles: (paths: string[], cwd: string) => Promise<{
|
|
45
|
-
name: string;
|
|
46
|
-
format: "TEXT" | "BASE64";
|
|
47
|
-
content: string;
|
|
48
|
-
}[]>;
|
|
49
|
-
/**
|
|
50
|
-
* Get Actor local files, omit files defined in .gitignore and .git folder
|
|
51
|
-
* All dot files(.file) and folders(.folder/) are included.
|
|
52
|
-
*/
|
|
53
|
-
export declare const getActorLocalFilePaths: (cwd?: string) => Promise<string[]>;
|
|
54
|
-
/**
|
|
55
|
-
* Create zip file with all Actor files specified with pathsToZip
|
|
56
|
-
*/
|
|
57
|
-
export declare const createActZip: (zipName: string, pathsToZip: string[], cwd: string) => Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* Get Actor input from local store
|
|
60
|
-
*/
|
|
61
|
-
export declare const getLocalInput: (cwd: string) => {
|
|
62
|
-
body: NonSharedBuffer;
|
|
63
|
-
contentType: string | null;
|
|
64
|
-
fileName: string;
|
|
65
|
-
} | undefined;
|
|
66
|
-
export declare const purgeDefaultQueue: () => Promise<void>;
|
|
67
|
-
export declare const purgeDefaultDataset: () => Promise<void>;
|
|
68
|
-
export declare const purgeDefaultKeyValueStore: () => Promise<void>;
|
|
69
|
-
export declare const outputJobLog: ({ job, timeoutMillis, apifyClient, }: {
|
|
70
|
-
job: ActorRun | Build;
|
|
71
|
-
timeoutMillis?: number;
|
|
72
|
-
apifyClient?: ApifyClient;
|
|
73
|
-
}) => Promise<"no-logs" | "finished" | "timeouts" | undefined>;
|
|
74
|
-
/**
|
|
75
|
-
* Returns npm command for current os
|
|
76
|
-
* NOTE: For window we have to returns npm.cmd instead of npm, otherwise it doesn't work
|
|
77
|
-
*/
|
|
78
|
-
export declare const getNpmCmd: () => string;
|
|
79
|
-
/**
|
|
80
|
-
* Returns true if apify storage is empty (expect INPUT.*)
|
|
81
|
-
*/
|
|
82
|
-
export declare const checkIfStorageIsEmpty: () => Promise<boolean>;
|
|
83
|
-
/**
|
|
84
|
-
* Validates Actor name, if finds issue throws error.
|
|
85
|
-
* @param actorName
|
|
86
|
-
*/
|
|
87
|
-
export declare const validateActorName: (actorName: string) => void;
|
|
88
|
-
export declare const sanitizeActorName: (actorName: string) => string;
|
|
89
|
-
export declare const isPythonVersionSupported: (installedPythonVersion: string) => boolean;
|
|
90
|
-
export declare const isNodeVersionSupported: (installedNodeVersion: string) => boolean;
|
|
91
|
-
export interface ActorLanguage {
|
|
92
|
-
language: Language;
|
|
93
|
-
languageVersion?: string;
|
|
94
|
-
}
|
|
95
|
-
export declare const downloadAndUnzip: ({ url, pathTo }: {
|
|
96
|
-
url: string;
|
|
97
|
-
pathTo: string;
|
|
98
|
-
}) => Promise<void>;
|
|
99
|
-
/**
|
|
100
|
-
* Ensures the Apify directory exists, as well as nested folders (for tests)
|
|
101
|
-
*/
|
|
102
|
-
export declare function ensureApifyDirectory(file: string): void;
|
|
103
|
-
export declare const TimestampFormatter: Timestamp;
|
|
104
|
-
export declare const MultilineTimestampFormatter: Timestamp;
|
|
105
|
-
export declare const DateOnlyTimestampFormatter: Timestamp;
|
|
106
|
-
export declare const DurationFormatter: SapphireDurationFormatter;
|
|
107
|
-
export declare const ShortDurationFormatter: SapphireDurationFormatter;
|
|
108
|
-
/**
|
|
109
|
-
* A "polyfill" for Object.groupBy
|
|
110
|
-
*/
|
|
111
|
-
export declare function objectGroupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
|
|
112
|
-
export {};
|
|
113
|
-
//# sourceMappingURL=utils.d.ts.map
|
package/dist/lib/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":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CAAC,EAClB,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GACxC,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAmBzB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const SKIP_UPDATE_CHECK: boolean | "" | undefined;
|
|
2
|
-
/**
|
|
3
|
-
* Detect through which package manager the Apify CLI was installed.
|
|
4
|
-
* The installation type of the CLI.
|
|
5
|
-
*/
|
|
6
|
-
export declare const detectInstallationType: () => "HOMEBREW" | "NPM" | "VOLTA";
|
|
7
|
-
export declare const getLatestNpmVersion: () => Promise<string>;
|
|
8
|
-
/**
|
|
9
|
-
* Logs warning if client local package is not in the latest version
|
|
10
|
-
* Check'll be skip if user is offline
|
|
11
|
-
* Check results will be cached for 24 hours
|
|
12
|
-
*/
|
|
13
|
-
export declare const checkLatestVersion: (enforceUpdate?: boolean) => Promise<void>;
|
|
14
|
-
//# sourceMappingURL=version_check.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version_check.d.ts","sourceRoot":"","sources":["../../src/lib/version_check.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,iBAAiB,0BAEkD,CAAC;AAEjF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,oCAuBlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,uBAI/B,CAAC;AAyBF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAAU,uBAAqB,kBA6B7D,CAAC"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { realpathSync } from 'node:fs';
|
|
2
|
-
import axios from 'axios';
|
|
3
|
-
import chalk from 'chalk';
|
|
4
|
-
import { gt } from 'semver';
|
|
5
|
-
import { CHECK_VERSION_EVERY_MILLIS, CURRENT_APIFY_CLI_VERSION } from './consts.js';
|
|
6
|
-
import { extendLocalState, getLocalState } from './local_state.js';
|
|
7
|
-
import { info, simpleLog, warning } from './outputs.js';
|
|
8
|
-
const INSTALLATION_TYPE = {
|
|
9
|
-
HOMEBREW: 'HOMEBREW',
|
|
10
|
-
NPM: 'NPM',
|
|
11
|
-
VOLTA: 'VOLTA',
|
|
12
|
-
};
|
|
13
|
-
const UPDATE_COMMAND = {
|
|
14
|
-
[INSTALLATION_TYPE.HOMEBREW]: 'brew update && brew upgrade apify-cli',
|
|
15
|
-
[INSTALLATION_TYPE.NPM]: 'npm install -g apify-cli@latest',
|
|
16
|
-
[INSTALLATION_TYPE.VOLTA]: 'volta install apify-cli@latest',
|
|
17
|
-
};
|
|
18
|
-
export const SKIP_UPDATE_CHECK = process.env.APIFY_CLI_SKIP_UPDATE_CHECK &&
|
|
19
|
-
!['0', 'false'].includes(process.env.APIFY_CLI_SKIP_UPDATE_CHECK.toLowerCase());
|
|
20
|
-
/**
|
|
21
|
-
* Detect through which package manager the Apify CLI was installed.
|
|
22
|
-
* The installation type of the CLI.
|
|
23
|
-
*/
|
|
24
|
-
export const detectInstallationType = () => {
|
|
25
|
-
// The path of the alias to the `src/bin/run` file is in process.argv[1]
|
|
26
|
-
const commandPath = process.argv[1];
|
|
27
|
-
// volta installed CLI
|
|
28
|
-
if (process.env.VOLTA_HOME && commandPath?.toLowerCase().includes(process.env.VOLTA_HOME.toLowerCase())) {
|
|
29
|
-
return INSTALLATION_TYPE.VOLTA;
|
|
30
|
-
}
|
|
31
|
-
if (commandPath) {
|
|
32
|
-
// If the real command path is like `/opt/homebrew/Cellar/apify-cli/...` or `/home/linuxbrew/.linuxbrew/Cellar/apify-cli/...`,
|
|
33
|
-
// then the CLI is installed via Homebrew
|
|
34
|
-
if (process.platform === 'linux' || process.platform === 'darwin') {
|
|
35
|
-
const realCommandPath = realpathSync(commandPath);
|
|
36
|
-
if (realCommandPath.includes('homebrew/Cellar') || realCommandPath.includes('linuxbrew/Cellar')) {
|
|
37
|
-
return INSTALLATION_TYPE.HOMEBREW;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
// Add more install types here once we have the CLI in other package managers
|
|
41
|
-
}
|
|
42
|
-
// If we didn't detect otherwise, assume the CLI was installed through NPM
|
|
43
|
-
return INSTALLATION_TYPE.NPM;
|
|
44
|
-
};
|
|
45
|
-
export const getLatestNpmVersion = async () => {
|
|
46
|
-
const response = await axios({ url: 'https://registry.npmjs.org/apify-cli/latest' });
|
|
47
|
-
const latestVersion = response.data.version;
|
|
48
|
-
return latestVersion;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Fetches the latest NPM version of Apify CLI and caches it locally.
|
|
52
|
-
*/
|
|
53
|
-
const getAndCacheLatestNpmVersion = async () => {
|
|
54
|
-
try {
|
|
55
|
-
info({ message: 'Making sure that Apify CLI is up to date...' });
|
|
56
|
-
const latestNpmVersion = await getLatestNpmVersion();
|
|
57
|
-
extendLocalState({
|
|
58
|
-
latestNpmVersion,
|
|
59
|
-
latestNpmVersionCheckedAt: new Date(),
|
|
60
|
-
});
|
|
61
|
-
return latestNpmVersion;
|
|
62
|
-
}
|
|
63
|
-
catch (err) {
|
|
64
|
-
console.error(err);
|
|
65
|
-
warning({ message: 'Cannot fetch the latest Apify CLI version from NPM, using the cached version instead.' });
|
|
66
|
-
return undefined;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* Logs warning if client local package is not in the latest version
|
|
71
|
-
* Check'll be skip if user is offline
|
|
72
|
-
* Check results will be cached for 24 hours
|
|
73
|
-
*/
|
|
74
|
-
export const checkLatestVersion = async (enforceUpdate = false) => {
|
|
75
|
-
const { latestNpmVersion: cachedLatestNpmVersion, latestNpmVersionCheckedAt } = getLocalState();
|
|
76
|
-
const isCheckOutdated = !latestNpmVersionCheckedAt ||
|
|
77
|
-
Date.now() - new Date(latestNpmVersionCheckedAt).getTime() > CHECK_VERSION_EVERY_MILLIS;
|
|
78
|
-
const isOnline = await import('is-online');
|
|
79
|
-
// If check is outdated and we are online then update the current NPM version.
|
|
80
|
-
const shouldGetCurrentVersion = enforceUpdate || (isCheckOutdated && (await isOnline.default({ timeout: 500 })));
|
|
81
|
-
const latestNpmVersion = shouldGetCurrentVersion
|
|
82
|
-
? await getAndCacheLatestNpmVersion()
|
|
83
|
-
: cachedLatestNpmVersion;
|
|
84
|
-
if (latestNpmVersion && gt(latestNpmVersion, CURRENT_APIFY_CLI_VERSION)) {
|
|
85
|
-
const installationType = detectInstallationType();
|
|
86
|
-
const updateCommand = `' ${UPDATE_COMMAND[installationType]} '`;
|
|
87
|
-
simpleLog({ message: '' });
|
|
88
|
-
warning({
|
|
89
|
-
message: 'You are using an old version of Apify CLI. We strongly recommend you always use the latest available version.',
|
|
90
|
-
});
|
|
91
|
-
simpleLog({ message: ` ↪ Run ${chalk.bgWhite(chalk.black(updateCommand))} to update! 👍 \n` });
|
|
92
|
-
}
|
|
93
|
-
else if (shouldGetCurrentVersion) {
|
|
94
|
-
// In this case the version was refreshed from the NPM which took a while and "Info: Making sure that Apify ..." was printed
|
|
95
|
-
// so also print the state.
|
|
96
|
-
info({ message: 'Apify CLI is up to date 👍 \n' });
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
//# sourceMappingURL=version_check.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEx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