@shopify/cli 3.69.4 → 3.71.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/assets/cli-ruby/LICENSE → LICENSE} +0 -2
- package/dist/{lib-CPSRXLFM.js → chunk-2HGYYNE5.js} +5 -2
- package/dist/chunk-3AOK7V27.js +3792 -0
- package/dist/{chunk-PNN7RS7Y.js → chunk-3NSN5Z4N.js} +100 -11
- package/dist/{chunk-EJGKAHVK.js → chunk-455HYBGX.js} +3 -3
- package/dist/{chunk-BMTELIUS.js → chunk-4G7SL7SU.js} +4 -4
- package/dist/{chunk-OWCYMR5Y.js → chunk-5F2WGMCL.js} +4 -4
- package/dist/{chunk-2NCWYVM4.js → chunk-5JZ5AGAQ.js} +652 -654
- package/dist/chunk-5OHM64KO.js +104 -0
- package/dist/{chunk-F54UWMGQ.js → chunk-675SL4FV.js} +3 -3
- package/dist/{chunk-WHP4CEBJ.js → chunk-AXNBVGJC.js} +20 -25
- package/dist/{chunk-KM4TMAQ2.js → chunk-BEVHUPQZ.js} +13 -9
- package/dist/{chunk-6XKWVDB6.js → chunk-CBBS4CV7.js} +3 -3
- package/dist/{chunk-YNL4XNMX.js → chunk-GJ7EWRH4.js} +4 -4
- package/dist/{chunk-N3U3EHOE.js → chunk-GV72NRZZ.js} +3 -3
- package/dist/{chunk-ZGHNMRBX.js → chunk-HSTSRNLJ.js} +121 -66
- package/dist/{chunk-ISDSND4L.js → chunk-IGH7XTG6.js} +2 -2
- package/dist/chunk-IJG6JLEF.js +28 -0
- package/dist/chunk-IJSEKDUR.js +28 -0
- package/dist/{chunk-VQ3R5DHS.js → chunk-JTWM7VKM.js} +4 -4
- package/dist/{chunk-VHEJRU4K.js → chunk-K6UZ5NEO.js} +7 -7
- package/dist/{chunk-JHVVETTP.js → chunk-KBDH6IDK.js} +19 -11
- package/dist/{chunk-7B5FNNVB.js → chunk-KJJGDUT2.js} +4 -4
- package/dist/{chunk-334DJQUN.js → chunk-KOHDI3KN.js} +7 -3
- package/dist/{chunk-MX4RJDBM.js → chunk-KYB6A4PE.js} +1 -2
- package/dist/{chunk-ORDEDRCZ.js → chunk-LMK5VFZE.js} +3 -3
- package/dist/{chunk-2JRUKBKX.js → chunk-LSQU4XJZ.js} +32 -218
- package/dist/{chunk-YPWRQ5AU.js → chunk-MG6EVKFQ.js} +3 -3
- package/dist/{chunk-K3GASX6Y.js → chunk-MHLSPYVQ.js} +3 -3
- package/dist/{chunk-27ILOE3X.js → chunk-OJOHMVV7.js} +6 -6
- package/dist/{chunk-7NPDPZ22.js → chunk-PDNTPE4N.js} +4355 -5172
- package/dist/{chunk-Y3MSANL5.js → chunk-RQJF2YRM.js} +2 -2
- package/dist/{chunk-S2IXL3EU.js → chunk-RXYE2GI3.js} +2 -2
- package/dist/chunk-SVWWKVUI.js +165 -0
- package/dist/{chunk-BRO6DC7D.js → chunk-T2BV6JEL.js} +18 -24
- package/dist/{chunk-6IATSQ3X.js → chunk-UDRKRTS4.js} +3 -3
- package/dist/{chunk-RYTZQSHH.js → chunk-VNZQKLLO.js} +2 -2
- package/dist/{chunk-UQUVQV3X.js → chunk-WLNYFGYY.js} +4 -4
- package/dist/{chunk-A3JXD7N7.js → chunk-WNDN5FAY.js} +4 -4
- package/dist/chunk-WZW6P6AO.js +105 -0
- package/dist/{chunk-TLZ4ZBH3.js → chunk-XOSZOZ3F.js} +7 -5
- package/dist/{chunk-TV5WOUSX.js → chunk-YNXUXQFM.js} +2 -2
- package/dist/{chunk-HV364V3E.js → chunk-YZA6BRN3.js} +2 -2
- package/dist/cli/commands/auth/logout.js +20 -20
- package/dist/cli/commands/auth/logout.test.js +22 -22
- package/dist/cli/commands/{demo/print-ai-prompt.d.ts → cache/clear.d.ts} +1 -1
- package/dist/cli/commands/cache/clear.js +33 -0
- package/dist/cli/commands/debug/command-flags.js +19 -19
- package/dist/cli/commands/docs/generate.js +19 -19
- package/dist/cli/commands/docs/generate.test.js +20 -20
- package/dist/cli/commands/help.js +19 -19
- package/dist/cli/commands/kitchen-sink/async.js +20 -20
- package/dist/cli/commands/kitchen-sink/async.test.js +21 -21
- package/dist/cli/commands/kitchen-sink/index.js +22 -22
- package/dist/cli/commands/kitchen-sink/index.test.js +25 -25
- package/dist/cli/commands/kitchen-sink/prompts.js +20 -20
- package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -21
- package/dist/cli/commands/kitchen-sink/static.js +20 -20
- package/dist/cli/commands/kitchen-sink/static.test.js +21 -21
- package/dist/cli/commands/notifications/generate.d.ts +6 -0
- package/dist/cli/commands/notifications/generate.js +34 -0
- package/dist/cli/commands/{demo/catalog.d.ts → notifications/list.d.ts} +1 -1
- package/dist/cli/commands/notifications/list.js +34 -0
- package/dist/cli/commands/search.js +20 -20
- package/dist/cli/commands/upgrade.js +20 -20
- package/dist/cli/commands/upgrade.test.js +1 -2
- package/dist/cli/commands/version.js +20 -20
- package/dist/cli/commands/version.test.js +21 -21
- package/dist/cli/services/commands/notifications.d.ts +2 -0
- package/dist/cli/services/commands/notifications.js +29 -0
- package/dist/cli/services/commands/search.js +9 -10
- package/dist/cli/services/commands/search.test.js +10 -11
- package/dist/cli/services/commands/version.js +10 -11
- package/dist/cli/services/commands/version.test.js +12 -13
- package/dist/cli/services/kitchen-sink/async.js +9 -10
- package/dist/cli/services/kitchen-sink/prompts.js +9 -10
- package/dist/cli/services/kitchen-sink/static.js +9 -10
- package/dist/cli/services/upgrade.js +10 -11
- package/dist/cli/services/upgrade.test.js +15 -16
- package/dist/configs/all.yml +15 -0
- package/dist/configs/recommended.yml +9 -0
- package/dist/{custom-oclif-loader-TBU3GENB.js → custom-oclif-loader-U43F5H7M.js} +13 -14
- package/dist/data/filters.json +137 -19
- package/dist/data/latest.json +1 -1
- package/dist/data/manifest_theme.json +1 -0
- package/dist/data/objects.json +203 -1625
- package/dist/data/preset_blocks.json +78 -0
- package/dist/data/section.json +1 -42
- package/dist/data/shopify_system_translations.json +58 -2
- package/dist/data/tags.json +10 -0
- package/dist/data/theme_block.json +1 -19
- package/dist/{del-7ZS2Z64N.js → del-K5ZJEWTD.js} +3 -3
- package/dist/{error-handler-IL72ACEX.js → error-handler-GSXEX5NX.js} +17 -18
- package/dist/hooks/postrun.js +14 -15
- package/dist/hooks/prerun.js +16 -19
- package/dist/index.js +34605 -31345
- package/dist/lib-PPXZBVZX.js +6 -0
- package/dist/{lib-JHUCJTHS.js → lib-XYCLX35G.js} +5 -5
- package/dist/{local-OE2I46PA.js → local-STC6NEOC.js} +11 -10
- package/dist/{morph-UIXWG2S7.js → morph-SEECJQ2W.js} +3 -3
- package/dist/{node-SDBKEHIV.js → node-I54BR73K.js} +21 -21
- package/dist/{node-package-manager-LPDV6HZY.js → node-package-manager-DUWCXRNZ.js} +10 -11
- package/dist/{out-ZDSLKX4N.js → out-MHEKZJWS.js} +2 -2
- package/dist/{path-T2RCZTRE.js → path-5SZGULBR.js} +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-WB42ZV4M.js → ui-GZXRHEXO.js} +9 -10
- package/dist/{workerd-YWTPL4SF.js → workerd-WQ2CUXFS.js} +23 -23
- package/oclif.manifest.json +393 -223
- package/package.json +7 -8
- package/assets/demo-catalog.json +0 -655
- package/dist/assets/cli-ruby/.devcontainer.json +0 -5
- package/dist/assets/cli-ruby/.rubocop.yml +0 -102
- package/dist/assets/cli-ruby/.rubocop_todo.yml +0 -24
- package/dist/assets/cli-ruby/CHANGELOG.md +0 -634
- package/dist/assets/cli-ruby/CONTRIBUTING.md +0 -3
- package/dist/assets/cli-ruby/Codespace.dockerfile +0 -35
- package/dist/assets/cli-ruby/Gemfile +0 -32
- package/dist/assets/cli-ruby/README.md +0 -30
- package/dist/assets/cli-ruby/Rakefile +0 -167
- package/dist/assets/cli-ruby/SECURITY.md +0 -59
- package/dist/assets/cli-ruby/Tests.dockerfile +0 -35
- package/dist/assets/cli-ruby/assets/logo.png +0 -0
- package/dist/assets/cli-ruby/bin/console +0 -11
- package/dist/assets/cli-ruby/bin/load_shopify.rb +0 -22
- package/dist/assets/cli-ruby/bin/shopify +0 -67
- package/dist/assets/cli-ruby/bin/shopify.bat +0 -3
- package/dist/assets/cli-ruby/bin/update-deps +0 -97
- package/dist/assets/cli-ruby/dev.yml +0 -29
- package/dist/assets/cli-ruby/docs/README.md +0 -13
- package/dist/assets/cli-ruby/docs/contributors/testing.md +0 -27
- package/dist/assets/cli-ruby/docs/users/installation.md +0 -3
- package/dist/assets/cli-ruby/docs/users/migrate-from-themekit.md +0 -18
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-arm-macos-v0.1.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-arm-macos-v0.2.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-arm-macos-v0.2.1.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-arm-macos-v0.3.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-linux-v0.1.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-linux-v0.2.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-linux-v0.2.1.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-linux-v0.3.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-macos-v0.1.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-macos-v0.2.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-macos-v0.2.1.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-macos-v0.3.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-windows-v0.1.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-windows-v0.2.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-windows-v0.2.1.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/hashes/javy-x86_64-windows-v0.3.0.gz.sha256 +0 -1
- package/dist/assets/cli-ruby/ext/javy/javy.rb +0 -204
- package/dist/assets/cli-ruby/ext/javy/version +0 -1
- package/dist/assets/cli-ruby/ext/shopify-extensions/extconf.rb +0 -21
- package/dist/assets/cli-ruby/ext/shopify-extensions/shopify_extensions.rb +0 -152
- package/dist/assets/cli-ruby/ext/shopify-extensions/version +0 -1
- package/dist/assets/cli-ruby/features/support/assertions.rb +0 -17
- package/dist/assets/cli-ruby/features/support/cli.rb +0 -7
- package/dist/assets/cli-ruby/features/support/process.rb +0 -27
- package/dist/assets/cli-ruby/features/support/requires.rb +0 -3
- package/dist/assets/cli-ruby/lib/docgen/class_template.md.erb +0 -81
- package/dist/assets/cli-ruby/lib/docgen/index_template.md.erb +0 -5
- package/dist/assets/cli-ruby/lib/docgen/markdown.rb +0 -101
- package/dist/assets/cli-ruby/lib/graphql/admin_introspection.graphql +0 -87
- package/dist/assets/cli-ruby/lib/graphql/all_organizations.graphql +0 -19
- package/dist/assets/cli-ruby/lib/graphql/all_orgs_with_apps.graphql +0 -30
- package/dist/assets/cli-ruby/lib/graphql/api_versions.graphql +0 -6
- package/dist/assets/cli-ruby/lib/graphql/convert_dev_to_test_store.graphql +0 -10
- package/dist/assets/cli-ruby/lib/graphql/create_app.graphql +0 -20
- package/dist/assets/cli-ruby/lib/graphql/create_customer.graphql +0 -9
- package/dist/assets/cli-ruby/lib/graphql/create_draft_order.graphql +0 -8
- package/dist/assets/cli-ruby/lib/graphql/create_product.graphql +0 -9
- package/dist/assets/cli-ruby/lib/graphql/extension_create.graphql +0 -37
- package/dist/assets/cli-ruby/lib/graphql/extension_update_draft.graphql +0 -19
- package/dist/assets/cli-ruby/lib/graphql/fetch_specifications.graphql +0 -14
- package/dist/assets/cli-ruby/lib/graphql/find_organization.graphql +0 -18
- package/dist/assets/cli-ruby/lib/graphql/find_organization_with_apps.graphql +0 -20
- package/dist/assets/cli-ruby/lib/graphql/get_app_by_api_key.graphql +0 -9
- package/dist/assets/cli-ruby/lib/graphql/get_app_urls.graphql +0 -6
- package/dist/assets/cli-ruby/lib/graphql/get_extension_registrations.graphql +0 -28
- package/dist/assets/cli-ruby/lib/graphql/get_variant_id.graphql +0 -16
- package/dist/assets/cli-ruby/lib/graphql/update_dashboard_urls.graphql +0 -8
- package/dist/assets/cli-ruby/lib/project_types/extension/cli.rb +0 -75
- package/dist/assets/cli-ruby/lib/project_types/extension/commands/extension_command.rb +0 -29
- package/dist/assets/cli-ruby/lib/project_types/extension/commands/serve.rb +0 -164
- package/dist/assets/cli-ruby/lib/project_types/extension/errors.rb +0 -9
- package/dist/assets/cli-ruby/lib/project_types/extension/extension_project.rb +0 -151
- package/dist/assets/cli-ruby/lib/project_types/extension/extension_project_keys.rb +0 -12
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo.rb +0 -50
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo_config.rb +0 -59
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo_dependencies.rb +0 -28
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo_runtime.rb +0 -15
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo_serve.rb +0 -115
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo_setup.rb +0 -54
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo_setup_step.rb +0 -31
- package/dist/assets/cli-ruby/lib/project_types/extension/features/argo_setup_steps.rb +0 -51
- package/dist/assets/cli-ruby/lib/project_types/extension/features/runtimes/admin.rb +0 -29
- package/dist/assets/cli-ruby/lib/project_types/extension/features/runtimes/base.rb +0 -19
- package/dist/assets/cli-ruby/lib/project_types/extension/features/runtimes/checkout_post_purchase.rb +0 -23
- package/dist/assets/cli-ruby/lib/project_types/extension/features/runtimes/checkout_ui_extension.rb +0 -29
- package/dist/assets/cli-ruby/lib/project_types/extension/loaders/project.rb +0 -50
- package/dist/assets/cli-ruby/lib/project_types/extension/loaders/specification_handler.rb +0 -22
- package/dist/assets/cli-ruby/lib/project_types/extension/messages/message_loading.rb +0 -34
- package/dist/assets/cli-ruby/lib/project_types/extension/messages/messages.rb +0 -320
- package/dist/assets/cli-ruby/lib/project_types/extension/models/app.rb +0 -14
- package/dist/assets/cli-ruby/lib/project_types/extension/models/lazy_specification_handler.rb +0 -12
- package/dist/assets/cli-ruby/lib/project_types/extension/models/specification.rb +0 -41
- package/dist/assets/cli-ruby/lib/project_types/extension/models/specification_handlers/default.rb +0 -145
- package/dist/assets/cli-ruby/lib/project_types/extension/models/specification_handlers/theme_app_extension.rb +0 -134
- package/dist/assets/cli-ruby/lib/project_types/extension/models/specifications.rb +0 -91
- package/dist/assets/cli-ruby/lib/project_types/extension/models/validation_error.rb +0 -17
- package/dist/assets/cli-ruby/lib/project_types/extension/models/version.rb +0 -15
- package/dist/assets/cli-ruby/lib/project_types/extension/tasks/configure_features.rb +0 -73
- package/dist/assets/cli-ruby/lib/project_types/extension/tasks/configure_options.rb +0 -21
- package/dist/assets/cli-ruby/lib/project_types/extension/tasks/converters/validation_error_converter.rb +0 -25
- package/dist/assets/cli-ruby/lib/project_types/extension/tasks/converters/version_converter.rb +0 -28
- package/dist/assets/cli-ruby/lib/project_types/extension/tasks/fetch_specifications.rb +0 -21
- package/dist/assets/cli-ruby/lib/project_types/node/cli.rb +0 -12
- package/dist/assets/cli-ruby/lib/project_types/node/forms/create.rb +0 -45
- package/dist/assets/cli-ruby/lib/project_types/node/messages/messages.rb +0 -33
- package/dist/assets/cli-ruby/lib/project_types/php/cli.rb +0 -16
- package/dist/assets/cli-ruby/lib/project_types/php/forms/create.rb +0 -44
- package/dist/assets/cli-ruby/lib/project_types/php/messages/messages.rb +0 -29
- package/dist/assets/cli-ruby/lib/project_types/rails/cli.rb +0 -15
- package/dist/assets/cli-ruby/lib/project_types/rails/forms/create.rb +0 -75
- package/dist/assets/cli-ruby/lib/project_types/rails/gem.rb +0 -110
- package/dist/assets/cli-ruby/lib/project_types/rails/messages/messages.rb +0 -101
- package/dist/assets/cli-ruby/lib/project_types/script/cli.rb +0 -27
- package/dist/assets/cli-ruby/lib/project_types/script/commands/connect.rb +0 -16
- package/dist/assets/cli-ruby/lib/project_types/script/commands/create.rb +0 -24
- package/dist/assets/cli-ruby/lib/project_types/script/commands/javy.rb +0 -24
- package/dist/assets/cli-ruby/lib/project_types/script/commands/push.rb +0 -26
- package/dist/assets/cli-ruby/lib/project_types/script/loaders/project.rb +0 -46
- package/dist/assets/cli-ruby/lib/project_types/script/loaders/specification_handler.rb +0 -22
- package/dist/assets/cli-ruby/lib/project_types/script/messages/messages.rb +0 -11
- package/dist/assets/cli-ruby/lib/project_types/theme/cli.rb +0 -33
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/common/root_helper.rb +0 -94
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/common/shop_helper.rb +0 -13
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/console.rb +0 -23
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/delete.rb +0 -70
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/init.rb +0 -46
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/list.rb +0 -33
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/open.rb +0 -73
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/package.rb +0 -73
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/publish.rb +0 -49
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/pull.rb +0 -118
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/push.rb +0 -160
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/serve.rb +0 -91
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/share.rb +0 -62
- package/dist/assets/cli-ruby/lib/project_types/theme/commands/token.rb +0 -22
- package/dist/assets/cli-ruby/lib/project_types/theme/conversions/base_glob.rb +0 -65
- package/dist/assets/cli-ruby/lib/project_types/theme/conversions/ignore_glob.rb +0 -15
- package/dist/assets/cli-ruby/lib/project_types/theme/conversions/include_glob.rb +0 -15
- package/dist/assets/cli-ruby/lib/project_types/theme/forms/confirm_store.rb +0 -15
- package/dist/assets/cli-ruby/lib/project_types/theme/forms/select.rb +0 -34
- package/dist/assets/cli-ruby/lib/project_types/theme/messages/messages.rb +0 -429
- package/dist/assets/cli-ruby/lib/project_types/theme/models/specification_handlers/theme.rb +0 -19
- package/dist/assets/cli-ruby/lib/project_types/theme/presenters/theme_presenter.rb +0 -48
- package/dist/assets/cli-ruby/lib/project_types/theme/presenters/themes_presenter.rb +0 -29
- package/dist/assets/cli-ruby/lib/project_types/theme/ui/sync_progress_bar.rb +0 -20
- package/dist/assets/cli-ruby/lib/rubygems_plugin.rb +0 -26
- package/dist/assets/cli-ruby/lib/shopify_cli/admin_api.rb +0 -160
- package/dist/assets/cli-ruby/lib/shopify_cli/api.rb +0 -130
- package/dist/assets/cli-ruby/lib/shopify_cli/command/project_command.rb +0 -31
- package/dist/assets/cli-ruby/lib/shopify_cli/command/sub_command.rb +0 -20
- package/dist/assets/cli-ruby/lib/shopify_cli/command.rb +0 -166
- package/dist/assets/cli-ruby/lib/shopify_cli/commands.rb +0 -21
- package/dist/assets/cli-ruby/lib/shopify_cli/constants.rb +0 -101
- package/dist/assets/cli-ruby/lib/shopify_cli/context.rb +0 -709
- package/dist/assets/cli-ruby/lib/shopify_cli/core/cli_version.rb +0 -20
- package/dist/assets/cli-ruby/lib/shopify_cli/core/entry_point.rb +0 -64
- package/dist/assets/cli-ruby/lib/shopify_cli/core/executor.rb +0 -23
- package/dist/assets/cli-ruby/lib/shopify_cli/core/finalize.rb +0 -13
- package/dist/assets/cli-ruby/lib/shopify_cli/core/monorail.rb +0 -122
- package/dist/assets/cli-ruby/lib/shopify_cli/core.rb +0 -8
- package/dist/assets/cli-ruby/lib/shopify_cli/db.rb +0 -114
- package/dist/assets/cli-ruby/lib/shopify_cli/environment.rb +0 -217
- package/dist/assets/cli-ruby/lib/shopify_cli/exception_reporter.rb +0 -80
- package/dist/assets/cli-ruby/lib/shopify_cli/feature.rb +0 -95
- package/dist/assets/cli-ruby/lib/shopify_cli/file_system_listener.rb +0 -30
- package/dist/assets/cli-ruby/lib/shopify_cli/form.rb +0 -42
- package/dist/assets/cli-ruby/lib/shopify_cli/git.rb +0 -320
- package/dist/assets/cli-ruby/lib/shopify_cli/github/issue_url_generator.rb +0 -30
- package/dist/assets/cli-ruby/lib/shopify_cli/github.rb +0 -5
- package/dist/assets/cli-ruby/lib/shopify_cli/helpers/haikunator.rb +0 -92
- package/dist/assets/cli-ruby/lib/shopify_cli/helpers.rb +0 -5
- package/dist/assets/cli-ruby/lib/shopify_cli/http_request.rb +0 -43
- package/dist/assets/cli-ruby/lib/shopify_cli/identity_auth/env_auth_token.rb +0 -34
- package/dist/assets/cli-ruby/lib/shopify_cli/identity_auth.rb +0 -332
- package/dist/assets/cli-ruby/lib/shopify_cli/js_system.rb +0 -115
- package/dist/assets/cli-ruby/lib/shopify_cli/lazy_delegator.rb +0 -55
- package/dist/assets/cli-ruby/lib/shopify_cli/messages/messages.rb +0 -863
- package/dist/assets/cli-ruby/lib/shopify_cli/method_object.rb +0 -123
- package/dist/assets/cli-ruby/lib/shopify_cli/migrator/migration.rb +0 -27
- package/dist/assets/cli-ruby/lib/shopify_cli/migrator/migrations/1631709766_noop.rb +0 -13
- package/dist/assets/cli-ruby/lib/shopify_cli/migrator/migrations/1633691650_merge_reporting_configuration.rb +0 -41
- package/dist/assets/cli-ruby/lib/shopify_cli/migrator.rb +0 -46
- package/dist/assets/cli-ruby/lib/shopify_cli/options.rb +0 -40
- package/dist/assets/cli-ruby/lib/shopify_cli/partners_api/app_extensions/job.rb +0 -36
- package/dist/assets/cli-ruby/lib/shopify_cli/partners_api/app_extensions.rb +0 -46
- package/dist/assets/cli-ruby/lib/shopify_cli/partners_api/organizations.rb +0 -45
- package/dist/assets/cli-ruby/lib/shopify_cli/partners_api.rb +0 -91
- package/dist/assets/cli-ruby/lib/shopify_cli/project.rb +0 -199
- package/dist/assets/cli-ruby/lib/shopify_cli/project_type.rb +0 -66
- package/dist/assets/cli-ruby/lib/shopify_cli/reporting_configuration_controller.rb +0 -29
- package/dist/assets/cli-ruby/lib/shopify_cli/resolve_constant.rb +0 -25
- package/dist/assets/cli-ruby/lib/shopify_cli/resources/env_file.rb +0 -108
- package/dist/assets/cli-ruby/lib/shopify_cli/resources.rb +0 -5
- package/dist/assets/cli-ruby/lib/shopify_cli/result.rb +0 -448
- package/dist/assets/cli-ruby/lib/shopify_cli/shopifolk.rb +0 -82
- package/dist/assets/cli-ruby/lib/shopify_cli/task.rb +0 -20
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/confirm_store.rb +0 -18
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/create_api_client.rb +0 -40
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/ensure_authenticated.rb +0 -19
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/ensure_dev_store.rb +0 -41
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/ensure_env.rb +0 -90
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/ensure_git_dependency.rb +0 -14
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/ensure_loopback_url.rb +0 -20
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/ensure_project_type.rb +0 -14
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/select_org_and_shop.rb +0 -81
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks/update_dashboard_urls.rb +0 -57
- package/dist/assets/cli-ruby/lib/shopify_cli/tasks.rb +0 -44
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/backoff_helper.rb +0 -47
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/cdn_fonts.rb +0 -82
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/certificate_manager.rb +0 -79
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/errors.rb +0 -9
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/header_hash.rb +0 -98
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hooks/file_change_hook.rb +0 -77
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/remote_file_deleter.rb +0 -62
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/remote_file_reloader.rb +0 -63
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/resources/hot-reload-no-script.html +0 -27
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/resources/hot_reload.js +0 -48
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/resources/sse_client.js +0 -43
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/resources/theme.js +0 -114
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/resources/theme_extension.js +0 -121
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/script_injector.rb +0 -57
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload/sections_index.rb +0 -50
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/hot_reload.rb +0 -75
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/local_assets.rb +0 -101
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +0 -313
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy_param_builder.rb +0 -84
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/reload_mode.rb +0 -34
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/remote_watcher/json_files_update_job.rb +0 -35
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/remote_watcher.rb +0 -44
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/sse.rb +0 -75
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/watcher.rb +0 -64
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/web_server.rb +0 -140
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server.rb +0 -332
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/development_theme.rb +0 -101
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/app_extension.rb +0 -40
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server/hooks/file_change_hook.rb +0 -76
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server/hot_reload/script_injector.rb +0 -30
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server/hot_reload.rb +0 -13
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server/local_assets.rb +0 -31
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server/proxy_param_builder.rb +0 -94
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server/watcher.rb +0 -49
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/dev_server.rb +0 -175
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/host_theme.rb +0 -109
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/ignore_helper.rb +0 -35
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/syncer/extension_serve_job.rb +0 -120
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/syncer/operation.rb +0 -25
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/syncer.rb +0 -100
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/ui/host_theme_progress_bar.rb +0 -35
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/ui/host_theme_raw_progress_bar.rb +0 -40
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/file.rb +0 -133
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/filter/path_matcher.rb +0 -38
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/ignore_filter.rb +0 -112
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/ignore_helper.rb +0 -37
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/include_filter.rb +0 -67
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/mime_type.rb +0 -34
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/notifier.rb +0 -52
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/api.rb +0 -109
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/auth_dev_server.rb +0 -93
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/auth_middleware.rb +0 -97
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/remote_evaluator.rb +0 -166
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/resources/success.html +0 -78
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/resources/template.liquid +0 -15
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/snippet.rb +0 -81
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl.rb +0 -88
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/root.rb +0 -62
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/checksums.rb +0 -66
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/downloader.rb +0 -63
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/error_reporter.rb +0 -45
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/merger.rb +0 -53
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/operation.rb +0 -49
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/standard_reporter.rb +0 -32
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/unsupported_script_warning.rb +0 -90
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/bulk.rb +0 -133
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/bulk_item.rb +0 -64
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/bulk_job.rb +0 -139
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/bulk_request.rb +0 -30
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/forms/apply_to_all.rb +0 -41
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/forms/apply_to_all_form.rb +0 -37
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/forms/base_strategy_form.rb +0 -64
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/forms/select_delete_strategy.rb +0 -29
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/forms/select_update_strategy.rb +0 -30
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/json_delete_handler.rb +0 -49
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader/json_update_handler.rb +0 -71
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer/uploader.rb +0 -231
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/syncer.rb +0 -391
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/theme.rb +0 -212
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/theme_access_api.rb +0 -89
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/theme_admin_api.rb +0 -101
- package/dist/assets/cli-ruby/lib/shopify_cli/thread_pool/job.rb +0 -35
- package/dist/assets/cli-ruby/lib/shopify_cli/thread_pool.rb +0 -49
- package/dist/assets/cli-ruby/lib/shopify_cli/transform_data_structure.rb +0 -87
- package/dist/assets/cli-ruby/lib/shopify_cli/utilities.rb +0 -21
- package/dist/assets/cli-ruby/lib/shopify_cli/version.rb +0 -3
- package/dist/assets/cli-ruby/lib/shopify_cli.rb +0 -182
- package/dist/assets/cli-ruby/shipit.rubygems.yml +0 -3
- package/dist/assets/cli-ruby/shopify-cli.gemspec +0 -46
- package/dist/assets/cli-ruby/shopify-dev +0 -16
- package/dist/assets/cli-ruby/test/minitest_ext.rb +0 -115
- package/dist/assets/cli-ruby/test/project_types/extension/extension_test_helpers.rb +0 -70
- package/dist/assets/cli-ruby/test/shopify-cli/migrator/migrations/migration_helper.rb +0 -20
- package/dist/assets/cli-ruby/test/test_helpers.rb +0 -16
- package/dist/assets/cli-ruby/utilities/constants.rb +0 -7
- package/dist/assets/cli-ruby/utilities/docker/container.rb +0 -104
- package/dist/assets/cli-ruby/utilities/docker.rb +0 -89
- package/dist/assets/cli-ruby/utilities/utilities.rb +0 -6
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/REVISION +0 -1
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/autocall.rb +0 -21
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/base_command.rb +0 -49
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/command_registry.rb +0 -94
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/config.rb +0 -133
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/error_handler.rb +0 -123
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/executor.rb +0 -79
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/ini.rb +0 -102
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/levenshtein.rb +0 -82
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/logger.rb +0 -82
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/resolver.rb +0 -60
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/ruby_backports/enumerable.rb +0 -6
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/support/test_helper.rb +0 -244
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/support.rb +0 -9
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/system.rb +0 -243
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/util.rb +0 -193
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit/version.rb +0 -5
- package/dist/assets/cli-ruby/vendor/deps/cli-kit/lib/cli/kit.rb +0 -60
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/REVISION +0 -1
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/ansi.rb +0 -157
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/color.rb +0 -84
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/formatter.rb +0 -193
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/frame/frame_stack.rb +0 -98
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/box.rb +0 -166
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style/bracket.rb +0 -139
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/frame/frame_style.rb +0 -120
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/frame.rb +0 -269
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/glyph.rb +0 -84
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/os.rb +0 -73
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/printer.rb +0 -59
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/progress.rb +0 -90
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/progress_plain.rb +0 -50
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/prompt/interactive_options.rb +0 -484
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/prompt/options_handler.rb +0 -29
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/prompt.rb +0 -282
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/spinner/async.rb +0 -40
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/spinner/spin_group.rb +0 -263
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/spinner.rb +0 -66
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/stdout_router.rb +0 -232
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/terminal.rb +0 -46
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/truncater.rb +0 -102
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/version.rb +0 -5
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/widgets/base.rb +0 -27
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/widgets/status.rb +0 -61
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/widgets.rb +0 -77
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui/wrap.rb +0 -56
- package/dist/assets/cli-ruby/vendor/deps/cli-ui/lib/cli/ui.rb +0 -234
- package/dist/assets/cli-ruby/vendor/deps/ruby2_keywords/LICENSE +0 -22
- package/dist/assets/cli-ruby/vendor/deps/ruby2_keywords/README.md +0 -67
- package/dist/assets/cli-ruby/vendor/deps/ruby2_keywords/Rakefile +0 -54
- package/dist/assets/cli-ruby/vendor/deps/ruby2_keywords/lib/ruby2_keywords.rb +0 -57
- package/dist/assets/cli-ruby/vendor/deps/ruby2_keywords/ruby2_keywords.gemspec +0 -18
- package/dist/assets/cli-ruby/vendor/deps/ruby2_keywords/test/test_keyword.rb +0 -41
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/REVISION +0 -1
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/lib/smart_properties/errors.rb +0 -114
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/lib/smart_properties/property.rb +0 -168
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/lib/smart_properties/property_collection.rb +0 -83
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/lib/smart_properties/validations/ancestor.rb +0 -27
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/lib/smart_properties/validations.rb +0 -8
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/lib/smart_properties/version.rb +0 -3
- package/dist/assets/cli-ruby/vendor/deps/smart_properties/lib/smart_properties.rb +0 -174
- package/dist/assets/cli-ruby/vendor/deps/webrick/Gemfile +0 -3
- package/dist/assets/cli-ruby/vendor/deps/webrick/LICENSE.txt +0 -22
- package/dist/assets/cli-ruby/vendor/deps/webrick/README.md +0 -61
- package/dist/assets/cli-ruby/vendor/deps/webrick/Rakefile +0 -10
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/accesslog.rb +0 -157
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/cgi.rb +0 -313
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/compat.rb +0 -36
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/config.rb +0 -158
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/cookie.rb +0 -172
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/htmlutils.rb +0 -30
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth/authenticator.rb +0 -117
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth/basicauth.rb +0 -116
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth/digestauth.rb +0 -395
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth/htdigest.rb +0 -132
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth/htgroup.rb +0 -97
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth/htpasswd.rb +0 -158
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth/userdb.rb +0 -53
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpauth.rb +0 -96
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpproxy.rb +0 -354
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httprequest.rb +0 -636
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpresponse.rb +0 -564
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/https.rb +0 -152
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpserver.rb +0 -294
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpservlet/abstract.rb +0 -152
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpservlet/cgi_runner.rb +0 -47
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpservlet/cgihandler.rb +0 -126
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpservlet/erbhandler.rb +0 -88
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpservlet/filehandler.rb +0 -552
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpservlet/prochandler.rb +0 -47
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpservlet.rb +0 -23
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpstatus.rb +0 -194
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httputils.rb +0 -512
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/httpversion.rb +0 -76
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/log.rb +0 -156
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/server.rb +0 -381
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/ssl.rb +0 -215
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/utils.rb +0 -265
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick/version.rb +0 -18
- package/dist/assets/cli-ruby/vendor/deps/webrick/lib/webrick.rb +0 -232
- package/dist/assets/cli-ruby/vendor/deps/webrick/webrick.gemspec +0 -74
- package/dist/assets/cli-ruby/vendor/gen/lib/gen/commands/help.rb +0 -20
- package/dist/assets/cli-ruby/vendor/gen/lib/gen/commands/new.rb +0 -21
- package/dist/assets/cli-ruby/vendor/gen/lib/gen/commands.rb +0 -18
- package/dist/assets/cli-ruby/vendor/gen/lib/gen/entry_point.rb +0 -10
- package/dist/assets/cli-ruby/vendor/gen/lib/gen/generator.rb +0 -165
- package/dist/assets/cli-ruby/vendor/gen/lib/gen.rb +0 -39
- package/dist/assets/cli-ruby/vendor/gen/template/Gemfile +0 -10
- package/dist/assets/cli-ruby/vendor/gen/template/README.md +0 -1
- package/dist/assets/cli-ruby/vendor/gen/template/bin/testunit +0 -23
- package/dist/assets/cli-ruby/vendor/gen/template/bin/update-deps +0 -97
- package/dist/assets/cli-ruby/vendor/gen/template/dev-gems.yml +0 -3
- package/dist/assets/cli-ruby/vendor/gen/template/dev-vendor.yml +0 -4
- package/dist/assets/cli-ruby/vendor/gen/template/exe/__app__-gems +0 -17
- package/dist/assets/cli-ruby/vendor/gen/template/exe/__app__-vendor +0 -18
- package/dist/assets/cli-ruby/vendor/gen/template/lib/__app__/commands/example.rb +0 -19
- package/dist/assets/cli-ruby/vendor/gen/template/lib/__app__/commands/help.rb +0 -21
- package/dist/assets/cli-ruby/vendor/gen/template/lib/__app__/commands.rb +0 -18
- package/dist/assets/cli-ruby/vendor/gen/template/lib/__app__/entry_point.rb +0 -10
- package/dist/assets/cli-ruby/vendor/gen/template/lib/__app__.rb +0 -33
- package/dist/assets/cli-ruby/vendor/gen/template/test/example_test.rb +0 -17
- package/dist/assets/cli-ruby/vendor/gen/template/test/test_helper.rb +0 -22
- package/dist/assets/cli-ruby/vendor/lib/semantic/LICENSE +0 -20
- package/dist/assets/cli-ruby/vendor/lib/semantic/semantic.rb +0 -4
- package/dist/assets/cli-ruby/vendor/lib/semantic/version.rb +0 -179
- package/dist/assets/demo-catalog.json +0 -655
- package/dist/chunk-CPEFXM7T.js +0 -45
- package/dist/chunk-FVUAIT37.js +0 -312
- package/dist/chunk-FWX3KCDM.js +0 -116
- package/dist/chunk-FX2HB3CJ.js +0 -58
- package/dist/chunk-GYP4MV72.js +0 -59
- package/dist/chunk-NLUGD7PZ.js +0 -2731
- package/dist/chunk-P7JUHQKL.js +0 -115
- package/dist/chunk-QSUS3GJF.js +0 -3838
- package/dist/chunk-T2GATXSP.js +0 -112
- package/dist/cli/commands/demo/catalog.js +0 -34
- package/dist/cli/commands/demo/generate-file.d.ts +0 -11
- package/dist/cli/commands/demo/generate-file.js +0 -35
- package/dist/cli/commands/demo/index.d.ts +0 -10
- package/dist/cli/commands/demo/index.js +0 -34
- package/dist/cli/commands/demo/print-ai-prompt.js +0 -35
- package/dist/cli/services/demo.d.ts +0 -26440
- package/dist/cli/services/demo.js +0 -25
- package/dist/cli/services/demo.test.js +0 -42
- package/dist/constants-T7JXE5K7.js +0 -24
- package/dist/system-SGABHAU2.js +0 -29
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./chunk-P7JUHQKL.js";
|
|
5
|
-
import {
|
|
6
|
-
require_cross_spawn,
|
|
7
|
-
require_lib,
|
|
8
|
-
require_source,
|
|
9
|
-
require_supports_hyperlinks
|
|
10
|
-
} from "./chunk-27ILOE3X.js";
|
|
2
|
+
require_lib as require_lib2
|
|
3
|
+
} from "./chunk-2HGYYNE5.js";
|
|
11
4
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./chunk-6XKWVDB6.js";
|
|
5
|
+
require_graceful_fs
|
|
6
|
+
} from "./chunk-XVNW332R.js";
|
|
15
7
|
import {
|
|
16
8
|
cwd,
|
|
9
|
+
dirname,
|
|
17
10
|
joinPath,
|
|
18
11
|
normalizePath,
|
|
19
12
|
relativizePath,
|
|
20
13
|
sniffForPath
|
|
21
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3NSN5Z4N.js";
|
|
22
15
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
require_cross_spawn,
|
|
17
|
+
require_lib,
|
|
18
|
+
require_source,
|
|
19
|
+
require_supports_hyperlinks
|
|
20
|
+
} from "./chunk-OJOHMVV7.js";
|
|
21
|
+
import {
|
|
22
|
+
require_brace_expansion,
|
|
23
|
+
require_source_map
|
|
24
|
+
} from "./chunk-CBBS4CV7.js";
|
|
25
25
|
import {
|
|
26
26
|
Queue
|
|
27
27
|
} from "./chunk-522OB3EU.js";
|
|
@@ -1532,10 +1532,10 @@ var require_baseGet = __commonJS({
|
|
|
1532
1532
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js"(exports, module) {
|
|
1533
1533
|
init_cjs_shims();
|
|
1534
1534
|
var castPath = require_castPath(), toKey = require_toKey();
|
|
1535
|
-
function baseGet(object,
|
|
1536
|
-
|
|
1537
|
-
for (var index = 0, length =
|
|
1538
|
-
object = object[toKey(
|
|
1535
|
+
function baseGet(object, path8) {
|
|
1536
|
+
path8 = castPath(path8, object);
|
|
1537
|
+
for (var index = 0, length = path8.length; object != null && index < length; )
|
|
1538
|
+
object = object[toKey(path8[index++])];
|
|
1539
1539
|
return index && index == length ? object : void 0;
|
|
1540
1540
|
}
|
|
1541
1541
|
module.exports = baseGet;
|
|
@@ -1547,8 +1547,8 @@ var require_get = __commonJS({
|
|
|
1547
1547
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports, module) {
|
|
1548
1548
|
init_cjs_shims();
|
|
1549
1549
|
var baseGet = require_baseGet();
|
|
1550
|
-
function get(object,
|
|
1551
|
-
var result = object == null ? void 0 : baseGet(object,
|
|
1550
|
+
function get(object, path8, defaultValue) {
|
|
1551
|
+
var result = object == null ? void 0 : baseGet(object, path8);
|
|
1552
1552
|
return result === void 0 ? defaultValue : result;
|
|
1553
1553
|
}
|
|
1554
1554
|
module.exports = get;
|
|
@@ -1571,10 +1571,10 @@ var require_hasPath = __commonJS({
|
|
|
1571
1571
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js"(exports, module) {
|
|
1572
1572
|
init_cjs_shims();
|
|
1573
1573
|
var castPath = require_castPath(), isArguments = require_isArguments(), isArray = require_isArray(), isIndex = require_isIndex(), isLength = require_isLength(), toKey = require_toKey();
|
|
1574
|
-
function hasPath(object,
|
|
1575
|
-
|
|
1576
|
-
for (var index = -1, length =
|
|
1577
|
-
var key = toKey(
|
|
1574
|
+
function hasPath(object, path8, hasFunc) {
|
|
1575
|
+
path8 = castPath(path8, object);
|
|
1576
|
+
for (var index = -1, length = path8.length, result = !1; ++index < length; ) {
|
|
1577
|
+
var key = toKey(path8[index]);
|
|
1578
1578
|
if (!(result = object != null && hasFunc(object, key)))
|
|
1579
1579
|
break;
|
|
1580
1580
|
object = object[key];
|
|
@@ -1590,8 +1590,8 @@ var require_hasIn = __commonJS({
|
|
|
1590
1590
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js"(exports, module) {
|
|
1591
1591
|
init_cjs_shims();
|
|
1592
1592
|
var baseHasIn = require_baseHasIn(), hasPath = require_hasPath();
|
|
1593
|
-
function hasIn(object,
|
|
1594
|
-
return object != null && hasPath(object,
|
|
1593
|
+
function hasIn(object, path8) {
|
|
1594
|
+
return object != null && hasPath(object, path8, baseHasIn);
|
|
1595
1595
|
}
|
|
1596
1596
|
module.exports = hasIn;
|
|
1597
1597
|
}
|
|
@@ -1602,10 +1602,10 @@ var require_baseMatchesProperty = __commonJS({
|
|
|
1602
1602
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js"(exports, module) {
|
|
1603
1603
|
init_cjs_shims();
|
|
1604
1604
|
var baseIsEqual = require_baseIsEqual(), get = require_get(), hasIn = require_hasIn(), isKey = require_isKey(), isStrictComparable = require_isStrictComparable(), matchesStrictComparable = require_matchesStrictComparable(), toKey = require_toKey(), COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
|
|
1605
|
-
function baseMatchesProperty(
|
|
1606
|
-
return isKey(
|
|
1607
|
-
var objValue = get(object,
|
|
1608
|
-
return objValue === void 0 && objValue === srcValue ? hasIn(object,
|
|
1605
|
+
function baseMatchesProperty(path8, srcValue) {
|
|
1606
|
+
return isKey(path8) && isStrictComparable(srcValue) ? matchesStrictComparable(toKey(path8), srcValue) : function(object) {
|
|
1607
|
+
var objValue = get(object, path8);
|
|
1608
|
+
return objValue === void 0 && objValue === srcValue ? hasIn(object, path8) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
1609
1609
|
};
|
|
1610
1610
|
}
|
|
1611
1611
|
module.exports = baseMatchesProperty;
|
|
@@ -1641,9 +1641,9 @@ var require_basePropertyDeep = __commonJS({
|
|
|
1641
1641
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js"(exports, module) {
|
|
1642
1642
|
init_cjs_shims();
|
|
1643
1643
|
var baseGet = require_baseGet();
|
|
1644
|
-
function basePropertyDeep(
|
|
1644
|
+
function basePropertyDeep(path8) {
|
|
1645
1645
|
return function(object) {
|
|
1646
|
-
return baseGet(object,
|
|
1646
|
+
return baseGet(object, path8);
|
|
1647
1647
|
};
|
|
1648
1648
|
}
|
|
1649
1649
|
module.exports = basePropertyDeep;
|
|
@@ -1655,8 +1655,8 @@ var require_property = __commonJS({
|
|
|
1655
1655
|
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js"(exports, module) {
|
|
1656
1656
|
init_cjs_shims();
|
|
1657
1657
|
var baseProperty = require_baseProperty(), basePropertyDeep = require_basePropertyDeep(), isKey = require_isKey(), toKey = require_toKey();
|
|
1658
|
-
function property(
|
|
1659
|
-
return isKey(
|
|
1658
|
+
function property(path8) {
|
|
1659
|
+
return isKey(path8) ? baseProperty(toKey(path8)) : basePropertyDeep(path8);
|
|
1660
1660
|
}
|
|
1661
1661
|
module.exports = property;
|
|
1662
1662
|
}
|
|
@@ -2388,7 +2388,7 @@ function __classPrivateFieldIn(state, receiver) {
|
|
|
2388
2388
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
2389
2389
|
return typeof state == "function" ? receiver === state : state.has(receiver);
|
|
2390
2390
|
}
|
|
2391
|
-
function __addDisposableResource(
|
|
2391
|
+
function __addDisposableResource(env3, value, async) {
|
|
2392
2392
|
if (value != null) {
|
|
2393
2393
|
if (typeof value != "object" && typeof value != "function")
|
|
2394
2394
|
throw new TypeError("Object expected.");
|
|
@@ -2405,18 +2405,18 @@ function __addDisposableResource(env2, value, async) {
|
|
|
2405
2405
|
}
|
|
2406
2406
|
if (typeof dispose != "function")
|
|
2407
2407
|
throw new TypeError("Object not disposable.");
|
|
2408
|
-
|
|
2408
|
+
env3.stack.push({ value, dispose, async });
|
|
2409
2409
|
} else
|
|
2410
|
-
async &&
|
|
2410
|
+
async && env3.stack.push({ async: !0 });
|
|
2411
2411
|
return value;
|
|
2412
2412
|
}
|
|
2413
|
-
function __disposeResources(
|
|
2413
|
+
function __disposeResources(env3) {
|
|
2414
2414
|
function fail(e) {
|
|
2415
|
-
|
|
2415
|
+
env3.error = env3.hasError ? new _SuppressedError(e, env3.error, "An error was suppressed during disposal.") : e, env3.hasError = !0;
|
|
2416
2416
|
}
|
|
2417
2417
|
function next() {
|
|
2418
|
-
for (;
|
|
2419
|
-
var rec =
|
|
2418
|
+
for (; env3.stack.length; ) {
|
|
2419
|
+
var rec = env3.stack.pop();
|
|
2420
2420
|
try {
|
|
2421
2421
|
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
2422
2422
|
if (rec.async)
|
|
@@ -2427,8 +2427,8 @@ function __disposeResources(env2) {
|
|
|
2427
2427
|
fail(e);
|
|
2428
2428
|
}
|
|
2429
2429
|
}
|
|
2430
|
-
if (
|
|
2431
|
-
throw
|
|
2430
|
+
if (env3.hasError)
|
|
2431
|
+
throw env3.error;
|
|
2432
2432
|
}
|
|
2433
2433
|
return next();
|
|
2434
2434
|
}
|
|
@@ -2958,9 +2958,9 @@ var require_utils = __commonJS({
|
|
|
2958
2958
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module) {
|
|
2959
2959
|
"use strict";
|
|
2960
2960
|
init_cjs_shims();
|
|
2961
|
-
var
|
|
2961
|
+
var path8 = __require("path");
|
|
2962
2962
|
module.exports.checkPath = function(pth) {
|
|
2963
|
-
if (process.platform === "win32" && /[<>:"|?*]/.test(pth.replace(
|
|
2963
|
+
if (process.platform === "win32" && /[<>:"|?*]/.test(pth.replace(path8.parse(pth).root, ""))) {
|
|
2964
2964
|
let error = new Error(`Path contains invalid characters: ${pth}`);
|
|
2965
2965
|
throw error.code = "EINVAL", error;
|
|
2966
2966
|
}
|
|
@@ -3012,8 +3012,8 @@ var require_path_exists = __commonJS({
|
|
|
3012
3012
|
"use strict";
|
|
3013
3013
|
init_cjs_shims();
|
|
3014
3014
|
var u = require_universalify().fromPromise, fs4 = require_fs();
|
|
3015
|
-
function pathExists3(
|
|
3016
|
-
return fs4.access(
|
|
3015
|
+
function pathExists3(path8) {
|
|
3016
|
+
return fs4.access(path8).then(() => !0).catch(() => !1);
|
|
3017
3017
|
}
|
|
3018
3018
|
module.exports = {
|
|
3019
3019
|
pathExists: u(pathExists3),
|
|
@@ -3028,8 +3028,8 @@ var require_utimes = __commonJS({
|
|
|
3028
3028
|
"use strict";
|
|
3029
3029
|
init_cjs_shims();
|
|
3030
3030
|
var fs4 = require_graceful_fs();
|
|
3031
|
-
function utimesMillis(
|
|
3032
|
-
fs4.open(
|
|
3031
|
+
function utimesMillis(path8, atime, mtime, callback) {
|
|
3032
|
+
fs4.open(path8, "r+", (err, fd) => {
|
|
3033
3033
|
if (err)
|
|
3034
3034
|
return callback(err);
|
|
3035
3035
|
fs4.futimes(fd, atime, mtime, (futimesErr) => {
|
|
@@ -3039,8 +3039,8 @@ var require_utimes = __commonJS({
|
|
|
3039
3039
|
});
|
|
3040
3040
|
});
|
|
3041
3041
|
}
|
|
3042
|
-
function utimesMillisSync(
|
|
3043
|
-
let fd = fs4.openSync(
|
|
3042
|
+
function utimesMillisSync(path8, atime, mtime) {
|
|
3043
|
+
let fd = fs4.openSync(path8, "r+");
|
|
3044
3044
|
return fs4.futimesSync(fd, atime, mtime), fs4.closeSync(fd);
|
|
3045
3045
|
}
|
|
3046
3046
|
module.exports = {
|
|
@@ -3055,7 +3055,7 @@ var require_stat = __commonJS({
|
|
|
3055
3055
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/util/stat.js"(exports, module) {
|
|
3056
3056
|
"use strict";
|
|
3057
3057
|
init_cjs_shims();
|
|
3058
|
-
var fs4 = require_fs(),
|
|
3058
|
+
var fs4 = require_fs(), path8 = __require("path"), util = __require("util");
|
|
3059
3059
|
function getStats(src, dest, opts) {
|
|
3060
3060
|
let statFunc = opts.dereference ? (file) => fs4.stat(file, { bigint: !0 }) : (file) => fs4.lstat(file, { bigint: !0 });
|
|
3061
3061
|
return Promise.all([
|
|
@@ -3085,7 +3085,7 @@ var require_stat = __commonJS({
|
|
|
3085
3085
|
let { srcStat, destStat } = stats;
|
|
3086
3086
|
if (destStat) {
|
|
3087
3087
|
if (areIdentical(srcStat, destStat)) {
|
|
3088
|
-
let srcBaseName =
|
|
3088
|
+
let srcBaseName = path8.basename(src), destBaseName = path8.basename(dest);
|
|
3089
3089
|
return funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase() ? cb(null, { srcStat, destStat, isChangingCase: !0 }) : cb(new Error("Source and destination must not be the same."));
|
|
3090
3090
|
}
|
|
3091
3091
|
if (srcStat.isDirectory() && !destStat.isDirectory())
|
|
@@ -3100,7 +3100,7 @@ var require_stat = __commonJS({
|
|
|
3100
3100
|
let { srcStat, destStat } = getStatsSync(src, dest, opts);
|
|
3101
3101
|
if (destStat) {
|
|
3102
3102
|
if (areIdentical(srcStat, destStat)) {
|
|
3103
|
-
let srcBaseName =
|
|
3103
|
+
let srcBaseName = path8.basename(src), destBaseName = path8.basename(dest);
|
|
3104
3104
|
if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase())
|
|
3105
3105
|
return { srcStat, destStat, isChangingCase: !0 };
|
|
3106
3106
|
throw new Error("Source and destination must not be the same.");
|
|
@@ -3115,14 +3115,14 @@ var require_stat = __commonJS({
|
|
|
3115
3115
|
return { srcStat, destStat };
|
|
3116
3116
|
}
|
|
3117
3117
|
function checkParentPaths(src, srcStat, dest, funcName, cb) {
|
|
3118
|
-
let srcParent =
|
|
3119
|
-
if (destParent === srcParent || destParent ===
|
|
3118
|
+
let srcParent = path8.resolve(path8.dirname(src)), destParent = path8.resolve(path8.dirname(dest));
|
|
3119
|
+
if (destParent === srcParent || destParent === path8.parse(destParent).root)
|
|
3120
3120
|
return cb();
|
|
3121
3121
|
fs4.stat(destParent, { bigint: !0 }, (err, destStat) => err ? err.code === "ENOENT" ? cb() : cb(err) : areIdentical(srcStat, destStat) ? cb(new Error(errMsg(src, dest, funcName))) : checkParentPaths(src, srcStat, destParent, funcName, cb));
|
|
3122
3122
|
}
|
|
3123
3123
|
function checkParentPathsSync(src, srcStat, dest, funcName) {
|
|
3124
|
-
let srcParent =
|
|
3125
|
-
if (destParent === srcParent || destParent ===
|
|
3124
|
+
let srcParent = path8.resolve(path8.dirname(src)), destParent = path8.resolve(path8.dirname(dest));
|
|
3125
|
+
if (destParent === srcParent || destParent === path8.parse(destParent).root)
|
|
3126
3126
|
return;
|
|
3127
3127
|
let destStat;
|
|
3128
3128
|
try {
|
|
@@ -3140,7 +3140,7 @@ var require_stat = __commonJS({
|
|
|
3140
3140
|
return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
|
|
3141
3141
|
}
|
|
3142
3142
|
function isSrcSubdir(src, dest) {
|
|
3143
|
-
let srcArr =
|
|
3143
|
+
let srcArr = path8.resolve(src).split(path8.sep).filter((i) => i), destArr = path8.resolve(dest).split(path8.sep).filter((i) => i);
|
|
3144
3144
|
return srcArr.reduce((acc, cur, i) => acc && destArr[i] === cur, !0);
|
|
3145
3145
|
}
|
|
3146
3146
|
function errMsg(src, dest, funcName) {
|
|
@@ -3162,7 +3162,7 @@ var require_copy = __commonJS({
|
|
|
3162
3162
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/copy/copy.js"(exports, module) {
|
|
3163
3163
|
"use strict";
|
|
3164
3164
|
init_cjs_shims();
|
|
3165
|
-
var fs4 = require_graceful_fs(),
|
|
3165
|
+
var fs4 = require_graceful_fs(), path8 = __require("path"), mkdirs2 = require_mkdirs().mkdirs, pathExists3 = require_path_exists().pathExists, utimesMillis = require_utimes().utimesMillis, stat = require_stat();
|
|
3166
3166
|
function copy2(src, dest, opts, cb) {
|
|
3167
3167
|
typeof opts == "function" && !cb ? (cb = opts, opts = {}) : typeof opts == "function" && (opts = { filter: opts }), cb = cb || function() {
|
|
3168
3168
|
}, opts = opts || {}, opts.clobber = "clobber" in opts ? !!opts.clobber : !0, opts.overwrite = "overwrite" in opts ? !!opts.overwrite : opts.clobber, opts.preserveTimestamps && process.arch === "ia32" && process.emitWarning(
|
|
@@ -3189,7 +3189,7 @@ var require_copy = __commonJS({
|
|
|
3189
3189
|
});
|
|
3190
3190
|
}
|
|
3191
3191
|
function checkParentDir(destStat, src, dest, opts, cb) {
|
|
3192
|
-
let destParent =
|
|
3192
|
+
let destParent = path8.dirname(dest);
|
|
3193
3193
|
pathExists3(destParent, (err, dirExists) => {
|
|
3194
3194
|
if (err)
|
|
3195
3195
|
return cb(err);
|
|
@@ -3254,7 +3254,7 @@ var require_copy = __commonJS({
|
|
|
3254
3254
|
return item ? copyDirItem(items, item, src, dest, opts, cb) : cb();
|
|
3255
3255
|
}
|
|
3256
3256
|
function copyDirItem(items, item, src, dest, opts, cb) {
|
|
3257
|
-
let srcItem =
|
|
3257
|
+
let srcItem = path8.join(src, item), destItem = path8.join(dest, item);
|
|
3258
3258
|
runFilter(srcItem, destItem, opts, (err, include) => {
|
|
3259
3259
|
if (err)
|
|
3260
3260
|
return cb(err);
|
|
@@ -3272,8 +3272,8 @@ var require_copy = __commonJS({
|
|
|
3272
3272
|
fs4.readlink(src, (err, resolvedSrc) => {
|
|
3273
3273
|
if (err)
|
|
3274
3274
|
return cb(err);
|
|
3275
|
-
if (opts.dereference && (resolvedSrc =
|
|
3276
|
-
fs4.readlink(dest, (err2, resolvedDest) => err2 ? err2.code === "EINVAL" || err2.code === "UNKNOWN" ? fs4.symlink(resolvedSrc, dest, cb) : cb(err2) : (opts.dereference && (resolvedDest =
|
|
3275
|
+
if (opts.dereference && (resolvedSrc = path8.resolve(process.cwd(), resolvedSrc)), destStat)
|
|
3276
|
+
fs4.readlink(dest, (err2, resolvedDest) => err2 ? err2.code === "EINVAL" || err2.code === "UNKNOWN" ? fs4.symlink(resolvedSrc, dest, cb) : cb(err2) : (opts.dereference && (resolvedDest = path8.resolve(process.cwd(), resolvedDest)), stat.isSrcSubdir(resolvedSrc, resolvedDest) ? cb(new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`)) : stat.isSrcSubdir(resolvedDest, resolvedSrc) ? cb(new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`)) : copyLink(resolvedSrc, dest, cb)));
|
|
3277
3277
|
else
|
|
3278
3278
|
return fs4.symlink(resolvedSrc, dest, cb);
|
|
3279
3279
|
});
|
|
@@ -3290,7 +3290,7 @@ var require_copy_sync = __commonJS({
|
|
|
3290
3290
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/copy/copy-sync.js"(exports, module) {
|
|
3291
3291
|
"use strict";
|
|
3292
3292
|
init_cjs_shims();
|
|
3293
|
-
var fs4 = require_graceful_fs(),
|
|
3293
|
+
var fs4 = require_graceful_fs(), path8 = __require("path"), mkdirsSync2 = require_mkdirs().mkdirsSync, utimesMillisSync = require_utimes().utimesMillisSync, stat = require_stat();
|
|
3294
3294
|
function copySync2(src, dest, opts) {
|
|
3295
3295
|
typeof opts == "function" && (opts = { filter: opts }), opts = opts || {}, opts.clobber = "clobber" in opts ? !!opts.clobber : !0, opts.overwrite = "overwrite" in opts ? !!opts.overwrite : opts.clobber, opts.preserveTimestamps && process.arch === "ia32" && process.emitWarning(
|
|
3296
3296
|
`Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
@@ -3302,7 +3302,7 @@ var require_copy_sync = __commonJS({
|
|
|
3302
3302
|
let { srcStat, destStat } = stat.checkPathsSync(src, dest, "copy", opts);
|
|
3303
3303
|
if (stat.checkParentPathsSync(src, srcStat, dest, "copy"), opts.filter && !opts.filter(src, dest))
|
|
3304
3304
|
return;
|
|
3305
|
-
let destParent =
|
|
3305
|
+
let destParent = path8.dirname(dest);
|
|
3306
3306
|
return fs4.existsSync(destParent) || mkdirsSync2(destParent), getStats(destStat, src, dest, opts);
|
|
3307
3307
|
}
|
|
3308
3308
|
function getStats(destStat, src, dest, opts) {
|
|
@@ -3353,7 +3353,7 @@ var require_copy_sync = __commonJS({
|
|
|
3353
3353
|
fs4.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
|
|
3354
3354
|
}
|
|
3355
3355
|
function copyDirItem(item, src, dest, opts) {
|
|
3356
|
-
let srcItem =
|
|
3356
|
+
let srcItem = path8.join(src, item), destItem = path8.join(dest, item);
|
|
3357
3357
|
if (opts.filter && !opts.filter(srcItem, destItem))
|
|
3358
3358
|
return;
|
|
3359
3359
|
let { destStat } = stat.checkPathsSync(srcItem, destItem, "copy", opts);
|
|
@@ -3361,7 +3361,7 @@ var require_copy_sync = __commonJS({
|
|
|
3361
3361
|
}
|
|
3362
3362
|
function onLink(destStat, src, dest, opts) {
|
|
3363
3363
|
let resolvedSrc = fs4.readlinkSync(src);
|
|
3364
|
-
if (opts.dereference && (resolvedSrc =
|
|
3364
|
+
if (opts.dereference && (resolvedSrc = path8.resolve(process.cwd(), resolvedSrc)), destStat) {
|
|
3365
3365
|
let resolvedDest;
|
|
3366
3366
|
try {
|
|
3367
3367
|
resolvedDest = fs4.readlinkSync(dest);
|
|
@@ -3370,7 +3370,7 @@ var require_copy_sync = __commonJS({
|
|
|
3370
3370
|
return fs4.symlinkSync(resolvedSrc, dest);
|
|
3371
3371
|
throw err;
|
|
3372
3372
|
}
|
|
3373
|
-
if (opts.dereference && (resolvedDest =
|
|
3373
|
+
if (opts.dereference && (resolvedDest = path8.resolve(process.cwd(), resolvedDest)), stat.isSrcSubdir(resolvedSrc, resolvedDest))
|
|
3374
3374
|
throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
|
|
3375
3375
|
if (stat.isSrcSubdir(resolvedDest, resolvedSrc))
|
|
3376
3376
|
throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`);
|
|
@@ -3404,11 +3404,11 @@ var require_remove = __commonJS({
|
|
|
3404
3404
|
"use strict";
|
|
3405
3405
|
init_cjs_shims();
|
|
3406
3406
|
var fs4 = require_graceful_fs(), u = require_universalify().fromCallback;
|
|
3407
|
-
function remove2(
|
|
3408
|
-
fs4.rm(
|
|
3407
|
+
function remove2(path8, callback) {
|
|
3408
|
+
fs4.rm(path8, { recursive: !0, force: !0 }, callback);
|
|
3409
3409
|
}
|
|
3410
|
-
function removeSync2(
|
|
3411
|
-
fs4.rmSync(
|
|
3410
|
+
function removeSync2(path8) {
|
|
3411
|
+
fs4.rmSync(path8, { recursive: !0, force: !0 });
|
|
3412
3412
|
}
|
|
3413
3413
|
module.exports = {
|
|
3414
3414
|
remove: u(remove2),
|
|
@@ -3422,14 +3422,14 @@ var require_empty = __commonJS({
|
|
|
3422
3422
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/empty/index.js"(exports, module) {
|
|
3423
3423
|
"use strict";
|
|
3424
3424
|
init_cjs_shims();
|
|
3425
|
-
var u = require_universalify().fromPromise, fs4 = require_fs(),
|
|
3425
|
+
var u = require_universalify().fromPromise, fs4 = require_fs(), path8 = __require("path"), mkdir2 = require_mkdirs(), remove2 = require_remove(), emptyDir2 = u(async function(dir) {
|
|
3426
3426
|
let items;
|
|
3427
3427
|
try {
|
|
3428
3428
|
items = await fs4.readdir(dir);
|
|
3429
3429
|
} catch {
|
|
3430
3430
|
return mkdir2.mkdirs(dir);
|
|
3431
3431
|
}
|
|
3432
|
-
return Promise.all(items.map((item) => remove2.remove(
|
|
3432
|
+
return Promise.all(items.map((item) => remove2.remove(path8.join(dir, item))));
|
|
3433
3433
|
});
|
|
3434
3434
|
function emptyDirSync2(dir) {
|
|
3435
3435
|
let items;
|
|
@@ -3439,7 +3439,7 @@ var require_empty = __commonJS({
|
|
|
3439
3439
|
return mkdir2.mkdirsSync(dir);
|
|
3440
3440
|
}
|
|
3441
3441
|
items.forEach((item) => {
|
|
3442
|
-
item =
|
|
3442
|
+
item = path8.join(dir, item), remove2.removeSync(item);
|
|
3443
3443
|
});
|
|
3444
3444
|
}
|
|
3445
3445
|
module.exports = {
|
|
@@ -3456,7 +3456,7 @@ var require_file = __commonJS({
|
|
|
3456
3456
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/ensure/file.js"(exports, module) {
|
|
3457
3457
|
"use strict";
|
|
3458
3458
|
init_cjs_shims();
|
|
3459
|
-
var u = require_universalify().fromCallback,
|
|
3459
|
+
var u = require_universalify().fromCallback, path8 = __require("path"), fs4 = require_graceful_fs(), mkdir2 = require_mkdirs();
|
|
3460
3460
|
function createFile2(file, callback) {
|
|
3461
3461
|
function makeFile() {
|
|
3462
3462
|
fs4.writeFile(file, "", (err) => {
|
|
@@ -3468,7 +3468,7 @@ var require_file = __commonJS({
|
|
|
3468
3468
|
fs4.stat(file, (err, stats) => {
|
|
3469
3469
|
if (!err && stats.isFile())
|
|
3470
3470
|
return callback();
|
|
3471
|
-
let dir =
|
|
3471
|
+
let dir = path8.dirname(file);
|
|
3472
3472
|
fs4.stat(dir, (err2, stats2) => {
|
|
3473
3473
|
if (err2)
|
|
3474
3474
|
return err2.code === "ENOENT" ? mkdir2.mkdirs(dir, (err3) => {
|
|
@@ -3491,7 +3491,7 @@ var require_file = __commonJS({
|
|
|
3491
3491
|
}
|
|
3492
3492
|
if (stats && stats.isFile())
|
|
3493
3493
|
return;
|
|
3494
|
-
let dir =
|
|
3494
|
+
let dir = path8.dirname(file);
|
|
3495
3495
|
try {
|
|
3496
3496
|
fs4.statSync(dir).isDirectory() || fs4.readdirSync(dir);
|
|
3497
3497
|
} catch (err) {
|
|
@@ -3514,7 +3514,7 @@ var require_link = __commonJS({
|
|
|
3514
3514
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/ensure/link.js"(exports, module) {
|
|
3515
3515
|
"use strict";
|
|
3516
3516
|
init_cjs_shims();
|
|
3517
|
-
var u = require_universalify().fromCallback,
|
|
3517
|
+
var u = require_universalify().fromCallback, path8 = __require("path"), fs4 = require_graceful_fs(), mkdir2 = require_mkdirs(), pathExists3 = require_path_exists().pathExists, { areIdentical } = require_stat();
|
|
3518
3518
|
function createLink2(srcpath, dstpath, callback) {
|
|
3519
3519
|
function makeLink(srcpath2, dstpath2) {
|
|
3520
3520
|
fs4.link(srcpath2, dstpath2, (err) => {
|
|
@@ -3529,7 +3529,7 @@ var require_link = __commonJS({
|
|
|
3529
3529
|
return err.message = err.message.replace("lstat", "ensureLink"), callback(err);
|
|
3530
3530
|
if (dstStat && areIdentical(srcStat, dstStat))
|
|
3531
3531
|
return callback(null);
|
|
3532
|
-
let dir =
|
|
3532
|
+
let dir = path8.dirname(dstpath);
|
|
3533
3533
|
pathExists3(dir, (err2, dirExists) => {
|
|
3534
3534
|
if (err2)
|
|
3535
3535
|
return callback(err2);
|
|
@@ -3557,7 +3557,7 @@ var require_link = __commonJS({
|
|
|
3557
3557
|
} catch (err) {
|
|
3558
3558
|
throw err.message = err.message.replace("lstat", "ensureLink"), err;
|
|
3559
3559
|
}
|
|
3560
|
-
let dir =
|
|
3560
|
+
let dir = path8.dirname(dstpath);
|
|
3561
3561
|
return fs4.existsSync(dir) || mkdir2.mkdirsSync(dir), fs4.linkSync(srcpath, dstpath);
|
|
3562
3562
|
}
|
|
3563
3563
|
module.exports = {
|
|
@@ -3572,27 +3572,27 @@ var require_symlink_paths = __commonJS({
|
|
|
3572
3572
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module) {
|
|
3573
3573
|
"use strict";
|
|
3574
3574
|
init_cjs_shims();
|
|
3575
|
-
var
|
|
3575
|
+
var path8 = __require("path"), fs4 = require_graceful_fs(), pathExists3 = require_path_exists().pathExists;
|
|
3576
3576
|
function symlinkPaths(srcpath, dstpath, callback) {
|
|
3577
|
-
if (
|
|
3577
|
+
if (path8.isAbsolute(srcpath))
|
|
3578
3578
|
return fs4.lstat(srcpath, (err) => err ? (err.message = err.message.replace("lstat", "ensureSymlink"), callback(err)) : callback(null, {
|
|
3579
3579
|
toCwd: srcpath,
|
|
3580
3580
|
toDst: srcpath
|
|
3581
3581
|
}));
|
|
3582
3582
|
{
|
|
3583
|
-
let dstdir =
|
|
3583
|
+
let dstdir = path8.dirname(dstpath), relativeToDst = path8.join(dstdir, srcpath);
|
|
3584
3584
|
return pathExists3(relativeToDst, (err, exists) => err ? callback(err) : exists ? callback(null, {
|
|
3585
3585
|
toCwd: relativeToDst,
|
|
3586
3586
|
toDst: srcpath
|
|
3587
3587
|
}) : fs4.lstat(srcpath, (err2) => err2 ? (err2.message = err2.message.replace("lstat", "ensureSymlink"), callback(err2)) : callback(null, {
|
|
3588
3588
|
toCwd: srcpath,
|
|
3589
|
-
toDst:
|
|
3589
|
+
toDst: path8.relative(dstdir, srcpath)
|
|
3590
3590
|
})));
|
|
3591
3591
|
}
|
|
3592
3592
|
}
|
|
3593
3593
|
function symlinkPathsSync(srcpath, dstpath) {
|
|
3594
3594
|
let exists;
|
|
3595
|
-
if (
|
|
3595
|
+
if (path8.isAbsolute(srcpath)) {
|
|
3596
3596
|
if (exists = fs4.existsSync(srcpath), !exists)
|
|
3597
3597
|
throw new Error("absolute srcpath does not exist");
|
|
3598
3598
|
return {
|
|
@@ -3600,7 +3600,7 @@ var require_symlink_paths = __commonJS({
|
|
|
3600
3600
|
toDst: srcpath
|
|
3601
3601
|
};
|
|
3602
3602
|
} else {
|
|
3603
|
-
let dstdir =
|
|
3603
|
+
let dstdir = path8.dirname(dstpath), relativeToDst = path8.join(dstdir, srcpath);
|
|
3604
3604
|
if (exists = fs4.existsSync(relativeToDst), exists)
|
|
3605
3605
|
return {
|
|
3606
3606
|
toCwd: relativeToDst,
|
|
@@ -3610,7 +3610,7 @@ var require_symlink_paths = __commonJS({
|
|
|
3610
3610
|
throw new Error("relative srcpath does not exist");
|
|
3611
3611
|
return {
|
|
3612
3612
|
toCwd: srcpath,
|
|
3613
|
-
toDst:
|
|
3613
|
+
toDst: path8.relative(dstdir, srcpath)
|
|
3614
3614
|
};
|
|
3615
3615
|
}
|
|
3616
3616
|
}
|
|
@@ -3659,7 +3659,7 @@ var require_symlink = __commonJS({
|
|
|
3659
3659
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports, module) {
|
|
3660
3660
|
"use strict";
|
|
3661
3661
|
init_cjs_shims();
|
|
3662
|
-
var u = require_universalify().fromCallback,
|
|
3662
|
+
var u = require_universalify().fromCallback, path8 = __require("path"), fs4 = require_fs(), _mkdirs2 = require_mkdirs(), mkdirs2 = _mkdirs2.mkdirs, mkdirsSync2 = _mkdirs2.mkdirsSync, _symlinkPaths = require_symlink_paths(), symlinkPaths = _symlinkPaths.symlinkPaths, symlinkPathsSync = _symlinkPaths.symlinkPathsSync, _symlinkType = require_symlink_type(), symlinkType = _symlinkType.symlinkType, symlinkTypeSync = _symlinkType.symlinkTypeSync, pathExists3 = require_path_exists().pathExists, { areIdentical } = require_stat();
|
|
3663
3663
|
function createSymlink2(srcpath, dstpath, type, callback) {
|
|
3664
3664
|
callback = typeof type == "function" ? type : callback, type = typeof type == "function" ? !1 : type, fs4.lstat(dstpath, (err, stats) => {
|
|
3665
3665
|
!err && stats.isSymbolicLink() ? Promise.all([
|
|
@@ -3679,7 +3679,7 @@ var require_symlink = __commonJS({
|
|
|
3679
3679
|
srcpath = relative.toDst, symlinkType(relative.toCwd, type, (err2, type2) => {
|
|
3680
3680
|
if (err2)
|
|
3681
3681
|
return callback(err2);
|
|
3682
|
-
let dir =
|
|
3682
|
+
let dir = path8.dirname(dstpath);
|
|
3683
3683
|
pathExists3(dir, (err3, dirExists) => {
|
|
3684
3684
|
if (err3)
|
|
3685
3685
|
return callback(err3);
|
|
@@ -3707,7 +3707,7 @@ var require_symlink = __commonJS({
|
|
|
3707
3707
|
}
|
|
3708
3708
|
let relative = symlinkPathsSync(srcpath, dstpath);
|
|
3709
3709
|
srcpath = relative.toDst, type = symlinkTypeSync(relative.toCwd, type);
|
|
3710
|
-
let dir =
|
|
3710
|
+
let dir = path8.dirname(dstpath);
|
|
3711
3711
|
return fs4.existsSync(dir) || mkdirsSync2(dir), fs4.symlinkSync(srcpath, dstpath, type);
|
|
3712
3712
|
}
|
|
3713
3713
|
module.exports = {
|
|
@@ -3837,10 +3837,10 @@ var require_output_file = __commonJS({
|
|
|
3837
3837
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/output-file/index.js"(exports, module) {
|
|
3838
3838
|
"use strict";
|
|
3839
3839
|
init_cjs_shims();
|
|
3840
|
-
var u = require_universalify().fromCallback, fs4 = require_graceful_fs(),
|
|
3840
|
+
var u = require_universalify().fromCallback, fs4 = require_graceful_fs(), path8 = __require("path"), mkdir2 = require_mkdirs(), pathExists3 = require_path_exists().pathExists;
|
|
3841
3841
|
function outputFile2(file, data, encoding, callback) {
|
|
3842
3842
|
typeof encoding == "function" && (callback = encoding, encoding = "utf8");
|
|
3843
|
-
let dir =
|
|
3843
|
+
let dir = path8.dirname(file);
|
|
3844
3844
|
pathExists3(dir, (err, itDoes) => {
|
|
3845
3845
|
if (err)
|
|
3846
3846
|
return callback(err);
|
|
@@ -3854,7 +3854,7 @@ var require_output_file = __commonJS({
|
|
|
3854
3854
|
});
|
|
3855
3855
|
}
|
|
3856
3856
|
function outputFileSync2(file, ...args) {
|
|
3857
|
-
let dir =
|
|
3857
|
+
let dir = path8.dirname(file);
|
|
3858
3858
|
if (fs4.existsSync(dir))
|
|
3859
3859
|
return fs4.writeFileSync(file, ...args);
|
|
3860
3860
|
mkdir2.mkdirsSync(dir), fs4.writeFileSync(file, ...args);
|
|
@@ -3917,7 +3917,7 @@ var require_move = __commonJS({
|
|
|
3917
3917
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/move/move.js"(exports, module) {
|
|
3918
3918
|
"use strict";
|
|
3919
3919
|
init_cjs_shims();
|
|
3920
|
-
var fs4 = require_graceful_fs(),
|
|
3920
|
+
var fs4 = require_graceful_fs(), path8 = __require("path"), copy2 = require_copy2().copy, remove2 = require_remove().remove, mkdirp2 = require_mkdirs().mkdirp, pathExists3 = require_path_exists().pathExists, stat = require_stat();
|
|
3921
3921
|
function move2(src, dest, opts, cb) {
|
|
3922
3922
|
typeof opts == "function" && (cb = opts, opts = {}), opts = opts || {};
|
|
3923
3923
|
let overwrite = opts.overwrite || opts.clobber || !1;
|
|
@@ -3930,13 +3930,13 @@ var require_move = __commonJS({
|
|
|
3930
3930
|
return cb(err2);
|
|
3931
3931
|
if (isParentRoot(dest))
|
|
3932
3932
|
return doRename(src, dest, overwrite, isChangingCase, cb);
|
|
3933
|
-
mkdirp2(
|
|
3933
|
+
mkdirp2(path8.dirname(dest), (err3) => err3 ? cb(err3) : doRename(src, dest, overwrite, isChangingCase, cb));
|
|
3934
3934
|
});
|
|
3935
3935
|
});
|
|
3936
3936
|
}
|
|
3937
3937
|
function isParentRoot(dest) {
|
|
3938
|
-
let parent =
|
|
3939
|
-
return
|
|
3938
|
+
let parent = path8.dirname(dest);
|
|
3939
|
+
return path8.parse(parent).root === parent;
|
|
3940
3940
|
}
|
|
3941
3941
|
function doRename(src, dest, overwrite, isChangingCase, cb) {
|
|
3942
3942
|
if (isChangingCase)
|
|
@@ -3963,15 +3963,15 @@ var require_move_sync = __commonJS({
|
|
|
3963
3963
|
"../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/move/move-sync.js"(exports, module) {
|
|
3964
3964
|
"use strict";
|
|
3965
3965
|
init_cjs_shims();
|
|
3966
|
-
var fs4 = require_graceful_fs(),
|
|
3966
|
+
var fs4 = require_graceful_fs(), path8 = __require("path"), copySync2 = require_copy2().copySync, removeSync2 = require_remove().removeSync, mkdirpSync2 = require_mkdirs().mkdirpSync, stat = require_stat();
|
|
3967
3967
|
function moveSync2(src, dest, opts) {
|
|
3968
3968
|
opts = opts || {};
|
|
3969
3969
|
let overwrite = opts.overwrite || opts.clobber || !1, { srcStat, isChangingCase = !1 } = stat.checkPathsSync(src, dest, "move", opts);
|
|
3970
|
-
return stat.checkParentPathsSync(src, srcStat, dest, "move"), isParentRoot(dest) || mkdirpSync2(
|
|
3970
|
+
return stat.checkParentPathsSync(src, srcStat, dest, "move"), isParentRoot(dest) || mkdirpSync2(path8.dirname(dest)), doRename(src, dest, overwrite, isChangingCase);
|
|
3971
3971
|
}
|
|
3972
3972
|
function isParentRoot(dest) {
|
|
3973
|
-
let parent =
|
|
3974
|
-
return
|
|
3973
|
+
let parent = path8.dirname(dest);
|
|
3974
|
+
return path8.parse(parent).root === parent;
|
|
3975
3975
|
}
|
|
3976
3976
|
function doRename(src, dest, overwrite, isChangingCase) {
|
|
3977
3977
|
if (isChangingCase)
|
|
@@ -4019,9 +4019,9 @@ var require_temp_dir = __commonJS({
|
|
|
4019
4019
|
"../../node_modules/.pnpm/temp-dir@2.0.0/node_modules/temp-dir/index.js"(exports, module) {
|
|
4020
4020
|
"use strict";
|
|
4021
4021
|
init_cjs_shims();
|
|
4022
|
-
var fs4 = __require("fs"),
|
|
4022
|
+
var fs4 = __require("fs"), os4 = __require("os"), tempDirectorySymbol = Symbol.for("__RESOLVED_TEMP_DIRECTORY__");
|
|
4023
4023
|
global[tempDirectorySymbol] || Object.defineProperty(global, tempDirectorySymbol, {
|
|
4024
|
-
value: fs4.realpathSync(
|
|
4024
|
+
value: fs4.realpathSync(os4.tmpdir())
|
|
4025
4025
|
});
|
|
4026
4026
|
module.exports = global[tempDirectorySymbol];
|
|
4027
4027
|
}
|
|
@@ -4065,10 +4065,10 @@ var require_signals = __commonJS({
|
|
|
4065
4065
|
var require_signal_exit = __commonJS({
|
|
4066
4066
|
"../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
|
|
4067
4067
|
init_cjs_shims();
|
|
4068
|
-
var
|
|
4069
|
-
return
|
|
4068
|
+
var process21 = global.process, processOk = function(process22) {
|
|
4069
|
+
return process22 && typeof process22 == "object" && typeof process22.removeListener == "function" && typeof process22.emit == "function" && typeof process22.reallyExit == "function" && typeof process22.listeners == "function" && typeof process22.kill == "function" && typeof process22.pid == "number" && typeof process22.on == "function";
|
|
4070
4070
|
};
|
|
4071
|
-
processOk(
|
|
4071
|
+
processOk(process21) ? (assert = __require("assert"), signals = require_signals(), isWin = /^win/i.test(process21.platform), EE = __require("events"), typeof EE != "function" && (EE = EE.EventEmitter), process21.__signal_exit_emitter__ ? emitter = process21.__signal_exit_emitter__ : (emitter = process21.__signal_exit_emitter__ = new EE(), emitter.count = 0, emitter.emitted = {}), emitter.infinite || (emitter.setMaxListeners(1 / 0), emitter.infinite = !0), module.exports = function(cb, opts) {
|
|
4072
4072
|
if (!processOk(global.process))
|
|
4073
4073
|
return function() {
|
|
4074
4074
|
};
|
|
@@ -4082,17 +4082,17 @@ var require_signal_exit = __commonJS({
|
|
|
4082
4082
|
}, unload = function() {
|
|
4083
4083
|
!loaded || !processOk(global.process) || (loaded = !1, signals.forEach(function(sig) {
|
|
4084
4084
|
try {
|
|
4085
|
-
|
|
4085
|
+
process21.removeListener(sig, sigListeners[sig]);
|
|
4086
4086
|
} catch {
|
|
4087
4087
|
}
|
|
4088
|
-
}),
|
|
4088
|
+
}), process21.emit = originalProcessEmit, process21.reallyExit = originalProcessReallyExit, emitter.count -= 1);
|
|
4089
4089
|
}, module.exports.unload = unload, emit = function(event, code, signal) {
|
|
4090
4090
|
emitter.emitted[event] || (emitter.emitted[event] = !0, emitter.emit(event, code, signal));
|
|
4091
4091
|
}, sigListeners = {}, signals.forEach(function(sig) {
|
|
4092
4092
|
sigListeners[sig] = function() {
|
|
4093
4093
|
if (processOk(global.process)) {
|
|
4094
|
-
var listeners =
|
|
4095
|
-
listeners.length === emitter.count && (unload(), emit("exit", null, sig), emit("afterexit", null, sig), isWin && sig === "SIGHUP" && (sig = "SIGINT"),
|
|
4094
|
+
var listeners = process21.listeners(sig);
|
|
4095
|
+
listeners.length === emitter.count && (unload(), emit("exit", null, sig), emit("afterexit", null, sig), isWin && sig === "SIGHUP" && (sig = "SIGINT"), process21.kill(process21.pid, sig));
|
|
4096
4096
|
}
|
|
4097
4097
|
};
|
|
4098
4098
|
}), module.exports.signals = function() {
|
|
@@ -4100,19 +4100,19 @@ var require_signal_exit = __commonJS({
|
|
|
4100
4100
|
}, loaded = !1, load = function() {
|
|
4101
4101
|
loaded || !processOk(global.process) || (loaded = !0, emitter.count += 1, signals = signals.filter(function(sig) {
|
|
4102
4102
|
try {
|
|
4103
|
-
return
|
|
4103
|
+
return process21.on(sig, sigListeners[sig]), !0;
|
|
4104
4104
|
} catch {
|
|
4105
4105
|
return !1;
|
|
4106
4106
|
}
|
|
4107
|
-
}),
|
|
4108
|
-
}, module.exports.load = load, originalProcessReallyExit =
|
|
4109
|
-
processOk(global.process) && (
|
|
4110
|
-
0, emit("exit",
|
|
4111
|
-
}, originalProcessEmit =
|
|
4107
|
+
}), process21.emit = processEmit, process21.reallyExit = processReallyExit);
|
|
4108
|
+
}, module.exports.load = load, originalProcessReallyExit = process21.reallyExit, processReallyExit = function(code) {
|
|
4109
|
+
processOk(global.process) && (process21.exitCode = code || /* istanbul ignore next */
|
|
4110
|
+
0, emit("exit", process21.exitCode, null), emit("afterexit", process21.exitCode, null), originalProcessReallyExit.call(process21, process21.exitCode));
|
|
4111
|
+
}, originalProcessEmit = process21.emit, processEmit = function(ev, arg) {
|
|
4112
4112
|
if (ev === "exit" && processOk(global.process)) {
|
|
4113
|
-
arg !== void 0 && (
|
|
4113
|
+
arg !== void 0 && (process21.exitCode = arg);
|
|
4114
4114
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
4115
|
-
return emit("exit",
|
|
4115
|
+
return emit("exit", process21.exitCode, null), emit("afterexit", process21.exitCode, null), ret;
|
|
4116
4116
|
} else
|
|
4117
4117
|
return originalProcessEmit.apply(this, arguments);
|
|
4118
4118
|
}) : module.exports = function() {
|
|
@@ -4340,8 +4340,8 @@ var require_getmacaddress_unix = __commonJS({
|
|
|
4340
4340
|
var require_getmacaddress = __commonJS({
|
|
4341
4341
|
"../../node_modules/.pnpm/macaddress@0.5.3/node_modules/macaddress/lib/getmacaddress.js"(exports, module) {
|
|
4342
4342
|
init_cjs_shims();
|
|
4343
|
-
var
|
|
4344
|
-
switch (
|
|
4343
|
+
var os4 = __require("os"), _getMacAddress, _validIfaceRegExp = "^[a-z0-9]+$";
|
|
4344
|
+
switch (os4.platform()) {
|
|
4345
4345
|
case "win32":
|
|
4346
4346
|
_validIfaceRegExp = "^[a-z0-9 -]+$", _getMacAddress = require_getmacaddress_windows();
|
|
4347
4347
|
break;
|
|
@@ -4445,8 +4445,8 @@ var require_getallinterfaces_unix = __commonJS({
|
|
|
4445
4445
|
var require_getallinterfaces = __commonJS({
|
|
4446
4446
|
"../../node_modules/.pnpm/macaddress@0.5.3/node_modules/macaddress/lib/getallinterfaces.js"(exports, module) {
|
|
4447
4447
|
init_cjs_shims();
|
|
4448
|
-
var
|
|
4449
|
-
switch (
|
|
4448
|
+
var os4 = __require("os"), _getAllInterfaces;
|
|
4449
|
+
switch (os4.platform()) {
|
|
4450
4450
|
case "win32":
|
|
4451
4451
|
_getAllInterfaces = require_getallinterfaces_windows();
|
|
4452
4452
|
break;
|
|
@@ -4470,11 +4470,11 @@ var require_getallinterfaces = __commonJS({
|
|
|
4470
4470
|
var require_networkinterfaces = __commonJS({
|
|
4471
4471
|
"../../node_modules/.pnpm/macaddress@0.5.3/node_modules/macaddress/lib/networkinterfaces.js"(exports, module) {
|
|
4472
4472
|
init_cjs_shims();
|
|
4473
|
-
var
|
|
4473
|
+
var os4 = __require("os");
|
|
4474
4474
|
module.exports = function() {
|
|
4475
4475
|
var allAddresses = {};
|
|
4476
4476
|
try {
|
|
4477
|
-
var ifaces =
|
|
4477
|
+
var ifaces = os4.networkInterfaces();
|
|
4478
4478
|
} catch (e) {
|
|
4479
4479
|
if (e.syscall === "uv_interface_addresses")
|
|
4480
4480
|
return allAddresses;
|
|
@@ -6553,7 +6553,7 @@ var require_ci_info = __commonJS({
|
|
|
6553
6553
|
"../../node_modules/.pnpm/ci-info@3.9.0/node_modules/ci-info/index.js"(exports) {
|
|
6554
6554
|
"use strict";
|
|
6555
6555
|
init_cjs_shims();
|
|
6556
|
-
var vendors = require_vendors(),
|
|
6556
|
+
var vendors = require_vendors(), env3 = process.env;
|
|
6557
6557
|
Object.defineProperty(exports, "_vendors", {
|
|
6558
6558
|
value: vendors.map(function(v) {
|
|
6559
6559
|
return v.constant;
|
|
@@ -6568,33 +6568,33 @@ var require_ci_info = __commonJS({
|
|
|
6568
6568
|
if (exports[vendor.constant] = isCI, !!isCI)
|
|
6569
6569
|
switch (exports.name = vendor.name, typeof vendor.pr) {
|
|
6570
6570
|
case "string":
|
|
6571
|
-
exports.isPR = !!
|
|
6571
|
+
exports.isPR = !!env3[vendor.pr];
|
|
6572
6572
|
break;
|
|
6573
6573
|
case "object":
|
|
6574
|
-
"env" in vendor.pr ? exports.isPR = vendor.pr.env in
|
|
6575
|
-
return !!
|
|
6574
|
+
"env" in vendor.pr ? exports.isPR = vendor.pr.env in env3 && env3[vendor.pr.env] !== vendor.pr.ne : "any" in vendor.pr ? exports.isPR = vendor.pr.any.some(function(key) {
|
|
6575
|
+
return !!env3[key];
|
|
6576
6576
|
}) : exports.isPR = checkEnv(vendor.pr);
|
|
6577
6577
|
break;
|
|
6578
6578
|
default:
|
|
6579
6579
|
exports.isPR = null;
|
|
6580
6580
|
}
|
|
6581
6581
|
});
|
|
6582
|
-
exports.isCI = !!(
|
|
6583
|
-
(
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6582
|
+
exports.isCI = !!(env3.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
|
|
6583
|
+
(env3.BUILD_ID || // Jenkins, Cloudbees
|
|
6584
|
+
env3.BUILD_NUMBER || // Jenkins, TeamCity
|
|
6585
|
+
env3.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
|
|
6586
|
+
env3.CI_APP_ID || // Appflow
|
|
6587
|
+
env3.CI_BUILD_ID || // Appflow
|
|
6588
|
+
env3.CI_BUILD_NUMBER || // Appflow
|
|
6589
|
+
env3.CI_NAME || // Codeship and others
|
|
6590
|
+
env3.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
|
|
6591
|
+
env3.RUN_ID || // TaskCluster, dsari
|
|
6592
6592
|
exports.name));
|
|
6593
6593
|
function checkEnv(obj) {
|
|
6594
|
-
return typeof obj == "string" ? !!
|
|
6595
|
-
return !!
|
|
6594
|
+
return typeof obj == "string" ? !!env3[obj] : "env" in obj ? env3[obj.env] && env3[obj.env].includes(obj.includes) : "any" in obj ? obj.any.some(function(k) {
|
|
6595
|
+
return !!env3[k];
|
|
6596
6596
|
}) : Object.keys(obj).every(function(k) {
|
|
6597
|
-
return
|
|
6597
|
+
return env3[k] === obj[k];
|
|
6598
6598
|
});
|
|
6599
6599
|
}
|
|
6600
6600
|
}
|
|
@@ -16133,8 +16133,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
16133
16133
|
{
|
|
16134
16134
|
switch (shouldError(workInProgress2)) {
|
|
16135
16135
|
case !1: {
|
|
16136
|
-
var
|
|
16137
|
-
|
|
16136
|
+
var _instance = workInProgress2.stateNode, ctor = workInProgress2.type, tempInstance = new ctor(workInProgress2.memoizedProps, _instance.context), state = tempInstance.state;
|
|
16137
|
+
_instance.updater.enqueueSetState(_instance, state, null);
|
|
16138
16138
|
break;
|
|
16139
16139
|
}
|
|
16140
16140
|
case !0: {
|
|
@@ -16995,12 +16995,12 @@ Check the render method of \`` + ownerName + "`.");
|
|
|
16995
16995
|
}
|
|
16996
16996
|
appendInitialChild(parent, instance2);
|
|
16997
16997
|
} else if (node.tag === HostText) {
|
|
16998
|
-
var
|
|
16998
|
+
var _instance = node.stateNode;
|
|
16999
16999
|
if (needsVisibilityToggle && isHidden2) {
|
|
17000
17000
|
var text = node.memoizedProps;
|
|
17001
|
-
|
|
17001
|
+
_instance = cloneHiddenTextInstance(_instance, text, node);
|
|
17002
17002
|
}
|
|
17003
|
-
appendInitialChild(parent,
|
|
17003
|
+
appendInitialChild(parent, _instance);
|
|
17004
17004
|
} else if (node.tag !== HostPortal) {
|
|
17005
17005
|
if (node.tag === OffscreenComponent && node.memoizedState !== null) {
|
|
17006
17006
|
var child = node.child;
|
|
@@ -17724,25 +17724,25 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
17724
17724
|
case HostRoot: {
|
|
17725
17725
|
var _updateQueue = finishedWork.updateQueue;
|
|
17726
17726
|
if (_updateQueue !== null) {
|
|
17727
|
-
var
|
|
17727
|
+
var _instance = null;
|
|
17728
17728
|
if (finishedWork.child !== null)
|
|
17729
17729
|
switch (finishedWork.child.tag) {
|
|
17730
17730
|
case HostComponent:
|
|
17731
|
-
|
|
17731
|
+
_instance = getPublicInstance(finishedWork.child.stateNode);
|
|
17732
17732
|
break;
|
|
17733
17733
|
case ClassComponent:
|
|
17734
|
-
|
|
17734
|
+
_instance = finishedWork.child.stateNode;
|
|
17735
17735
|
break;
|
|
17736
17736
|
}
|
|
17737
|
-
commitUpdateQueue(finishedWork, _updateQueue,
|
|
17737
|
+
commitUpdateQueue(finishedWork, _updateQueue, _instance);
|
|
17738
17738
|
}
|
|
17739
17739
|
break;
|
|
17740
17740
|
}
|
|
17741
17741
|
case HostComponent: {
|
|
17742
|
-
var
|
|
17742
|
+
var _instance2 = finishedWork.stateNode;
|
|
17743
17743
|
if (current2 === null && finishedWork.flags & Update) {
|
|
17744
17744
|
var type = finishedWork.type, props = finishedWork.memoizedProps;
|
|
17745
|
-
commitMount(
|
|
17745
|
+
commitMount(_instance2, type, props, finishedWork);
|
|
17746
17746
|
}
|
|
17747
17747
|
break;
|
|
17748
17748
|
}
|
|
@@ -20300,11 +20300,11 @@ Check the render method of %s.`, getComponentNameFromFiber(current) || "Unknown"
|
|
|
20300
20300
|
}
|
|
20301
20301
|
var overrideHookState = null, overrideHookStateDeletePath = null, overrideHookStateRenamePath = null, overrideProps = null, overridePropsDeletePath = null, overridePropsRenamePath = null, scheduleUpdate = null, setErrorHandler = null, setSuspenseHandler = null;
|
|
20302
20302
|
{
|
|
20303
|
-
var copyWithDeleteImpl = function(obj,
|
|
20304
|
-
var key =
|
|
20305
|
-
return index2 + 1 ===
|
|
20306
|
-
}, copyWithDelete = function(obj,
|
|
20307
|
-
return copyWithDeleteImpl(obj,
|
|
20303
|
+
var copyWithDeleteImpl = function(obj, path8, index2) {
|
|
20304
|
+
var key = path8[index2], updated = isArray(obj) ? obj.slice() : assign({}, obj);
|
|
20305
|
+
return index2 + 1 === path8.length ? (isArray(updated) ? updated.splice(key, 1) : delete updated[key], updated) : (updated[key] = copyWithDeleteImpl(obj[key], path8, index2 + 1), updated);
|
|
20306
|
+
}, copyWithDelete = function(obj, path8) {
|
|
20307
|
+
return copyWithDeleteImpl(obj, path8, 0);
|
|
20308
20308
|
}, copyWithRenameImpl = function(obj, oldPath, newPath, index2) {
|
|
20309
20309
|
var oldKey = oldPath[index2], updated = isArray(obj) ? obj.slice() : assign({}, obj);
|
|
20310
20310
|
if (index2 + 1 === oldPath.length) {
|
|
@@ -20330,30 +20330,30 @@ Check the render method of %s.`, getComponentNameFromFiber(current) || "Unknown"
|
|
|
20330
20330
|
return;
|
|
20331
20331
|
}
|
|
20332
20332
|
return copyWithRenameImpl(obj, oldPath, newPath, 0);
|
|
20333
|
-
}, copyWithSetImpl = function(obj,
|
|
20334
|
-
if (index2 >=
|
|
20333
|
+
}, copyWithSetImpl = function(obj, path8, index2, value) {
|
|
20334
|
+
if (index2 >= path8.length)
|
|
20335
20335
|
return value;
|
|
20336
|
-
var key =
|
|
20337
|
-
return updated[key] = copyWithSetImpl(obj[key],
|
|
20338
|
-
}, copyWithSet = function(obj,
|
|
20339
|
-
return copyWithSetImpl(obj,
|
|
20336
|
+
var key = path8[index2], updated = isArray(obj) ? obj.slice() : assign({}, obj);
|
|
20337
|
+
return updated[key] = copyWithSetImpl(obj[key], path8, index2 + 1, value), updated;
|
|
20338
|
+
}, copyWithSet = function(obj, path8, value) {
|
|
20339
|
+
return copyWithSetImpl(obj, path8, 0, value);
|
|
20340
20340
|
}, findHook = function(fiber, id) {
|
|
20341
20341
|
for (var currentHook2 = fiber.memoizedState; currentHook2 !== null && id > 0; )
|
|
20342
20342
|
currentHook2 = currentHook2.next, id--;
|
|
20343
20343
|
return currentHook2;
|
|
20344
20344
|
};
|
|
20345
|
-
overrideHookState = function(fiber, id,
|
|
20345
|
+
overrideHookState = function(fiber, id, path8, value) {
|
|
20346
20346
|
var hook = findHook(fiber, id);
|
|
20347
20347
|
if (hook !== null) {
|
|
20348
|
-
var newState = copyWithSet(hook.memoizedState,
|
|
20348
|
+
var newState = copyWithSet(hook.memoizedState, path8, value);
|
|
20349
20349
|
hook.memoizedState = newState, hook.baseState = newState, fiber.memoizedProps = assign({}, fiber.memoizedProps);
|
|
20350
20350
|
var root = enqueueConcurrentRenderForLane(fiber, SyncLane);
|
|
20351
20351
|
root !== null && scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
|
|
20352
20352
|
}
|
|
20353
|
-
}, overrideHookStateDeletePath = function(fiber, id,
|
|
20353
|
+
}, overrideHookStateDeletePath = function(fiber, id, path8) {
|
|
20354
20354
|
var hook = findHook(fiber, id);
|
|
20355
20355
|
if (hook !== null) {
|
|
20356
|
-
var newState = copyWithDelete(hook.memoizedState,
|
|
20356
|
+
var newState = copyWithDelete(hook.memoizedState, path8);
|
|
20357
20357
|
hook.memoizedState = newState, hook.baseState = newState, fiber.memoizedProps = assign({}, fiber.memoizedProps);
|
|
20358
20358
|
var root = enqueueConcurrentRenderForLane(fiber, SyncLane);
|
|
20359
20359
|
root !== null && scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
|
|
@@ -20366,12 +20366,12 @@ Check the render method of %s.`, getComponentNameFromFiber(current) || "Unknown"
|
|
|
20366
20366
|
var root = enqueueConcurrentRenderForLane(fiber, SyncLane);
|
|
20367
20367
|
root !== null && scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
|
|
20368
20368
|
}
|
|
20369
|
-
}, overrideProps = function(fiber,
|
|
20370
|
-
fiber.pendingProps = copyWithSet(fiber.memoizedProps,
|
|
20369
|
+
}, overrideProps = function(fiber, path8, value) {
|
|
20370
|
+
fiber.pendingProps = copyWithSet(fiber.memoizedProps, path8, value), fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);
|
|
20371
20371
|
var root = enqueueConcurrentRenderForLane(fiber, SyncLane);
|
|
20372
20372
|
root !== null && scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
|
|
20373
|
-
}, overridePropsDeletePath = function(fiber,
|
|
20374
|
-
fiber.pendingProps = copyWithDelete(fiber.memoizedProps,
|
|
20373
|
+
}, overridePropsDeletePath = function(fiber, path8) {
|
|
20374
|
+
fiber.pendingProps = copyWithDelete(fiber.memoizedProps, path8), fiber.alternate && (fiber.alternate.pendingProps = fiber.pendingProps);
|
|
20375
20375
|
var root = enqueueConcurrentRenderForLane(fiber, SyncLane);
|
|
20376
20376
|
root !== null && scheduleUpdateOnFiber(root, fiber, SyncLane, NoTimestamp);
|
|
20377
20377
|
}, overridePropsRenamePath = function(fiber, oldPath, newPath) {
|
|
@@ -21062,13 +21062,13 @@ var require_path = __commonJS({
|
|
|
21062
21062
|
"../../node_modules/.pnpm/get-source@2.0.12/node_modules/get-source/impl/path.js"(exports, module) {
|
|
21063
21063
|
"use strict";
|
|
21064
21064
|
init_cjs_shims();
|
|
21065
|
-
var isBrowser2 = typeof window < "u" && window.window === window && window.navigator, cwd3 = isBrowser2 ? window.location.href : process.cwd(), urlRegexp = new RegExp("^((https|http)://)?[a-z0-9A-Z]{3}.[a-z0-9A-Z][a-z0-9A-Z]{0,61}?[a-z0-9A-Z].com|net|cn|cc (:s[0-9]{1-4})?/$"),
|
|
21065
|
+
var isBrowser2 = typeof window < "u" && window.window === window && window.navigator, cwd3 = isBrowser2 ? window.location.href : process.cwd(), urlRegexp = new RegExp("^((https|http)://)?[a-z0-9A-Z]{3}.[a-z0-9A-Z][a-z0-9A-Z]{0,61}?[a-z0-9A-Z].com|net|cn|cc (:s[0-9]{1-4})?/$"), path8 = module.exports = {
|
|
21066
21066
|
concat(a, b) {
|
|
21067
21067
|
let a_endsWithSlash = a[a.length - 1] === "/", b_startsWithSlash = b[0] === "/";
|
|
21068
21068
|
return a + (a_endsWithSlash || b_startsWithSlash ? "" : "/") + (a_endsWithSlash && b_startsWithSlash ? b.substring(1) : b);
|
|
21069
21069
|
},
|
|
21070
21070
|
resolve(x) {
|
|
21071
|
-
return
|
|
21071
|
+
return path8.isAbsolute(x) ? path8.normalize(x) : path8.normalize(path8.concat(cwd3, x));
|
|
21072
21072
|
},
|
|
21073
21073
|
normalize(x) {
|
|
21074
21074
|
let output = [], skip = 0;
|
|
@@ -21082,7 +21082,7 @@ var require_path = __commonJS({
|
|
|
21082
21082
|
isURL: (x) => urlRegexp.test(x),
|
|
21083
21083
|
isAbsolute: (x) => x[0] === "/" || /^[^\/]*:/.test(x),
|
|
21084
21084
|
relativeToFile(a, b) {
|
|
21085
|
-
return
|
|
21085
|
+
return path8.isData(a) || path8.isAbsolute(b) ? path8.normalize(b) : path8.normalize(path8.concat(a.split("/").slice(0, -1).join("/"), b));
|
|
21086
21086
|
}
|
|
21087
21087
|
};
|
|
21088
21088
|
}
|
|
@@ -21117,16 +21117,16 @@ var require_get_source = __commonJS({
|
|
|
21117
21117
|
"../../node_modules/.pnpm/get-source@2.0.12/node_modules/get-source/get-source.js"(exports, module) {
|
|
21118
21118
|
"use strict";
|
|
21119
21119
|
init_cjs_shims();
|
|
21120
|
-
var { assign } = Object, isBrowser2 = typeof window < "u" && window.window === window && window.navigator, SourceMapConsumer = require_source_map().SourceMapConsumer, SyncPromise = require_SyncPromise(),
|
|
21120
|
+
var { assign } = Object, isBrowser2 = typeof window < "u" && window.window === window && window.navigator, SourceMapConsumer = require_source_map().SourceMapConsumer, SyncPromise = require_SyncPromise(), path8 = require_path(), dataURIToBuffer = require_data_uri_to_buffer(), nodeRequire = isBrowser2 ? null : module.require, memoize = (f) => {
|
|
21121
21121
|
let m = (x) => x in m.cache ? m.cache[x] : m.cache[x] = f(x);
|
|
21122
21122
|
return m.forgetEverything = () => {
|
|
21123
21123
|
m.cache = /* @__PURE__ */ Object.create(null);
|
|
21124
21124
|
}, m.cache = /* @__PURE__ */ Object.create(null), m;
|
|
21125
21125
|
};
|
|
21126
21126
|
function impl(fetchFile, sync) {
|
|
21127
|
-
let PromiseImpl = sync ? SyncPromise : Promise, SourceFileMemoized = memoize((
|
|
21127
|
+
let PromiseImpl = sync ? SyncPromise : Promise, SourceFileMemoized = memoize((path9) => SourceFile(path9, fetchFile(path9)));
|
|
21128
21128
|
function SourceFile(srcPath, text) {
|
|
21129
|
-
return text === void 0 ? SourceFileMemoized(
|
|
21129
|
+
return text === void 0 ? SourceFileMemoized(path8.resolve(srcPath)) : PromiseImpl.resolve(text).then((text2) => {
|
|
21130
21130
|
let file, lines, resolver, _resolve = (loc) => (resolver = resolver || SourceMapResolverFromFetchedFile(file))(loc);
|
|
21131
21131
|
return file = {
|
|
21132
21132
|
path: srcPath,
|
|
@@ -21166,9 +21166,9 @@ var require_get_source = __commonJS({
|
|
|
21166
21166
|
return url ? SourceMapResolver(file.path, url, defaultResolver) : defaultResolver;
|
|
21167
21167
|
}
|
|
21168
21168
|
function SourceMapResolver(originalFilePath, sourceMapPath, fallbackResolve) {
|
|
21169
|
-
let srcFile = sourceMapPath.startsWith("data:") ? SourceFile(originalFilePath, dataURIToBuffer(sourceMapPath).toString()) : SourceFile(
|
|
21169
|
+
let srcFile = sourceMapPath.startsWith("data:") ? SourceFile(originalFilePath, dataURIToBuffer(sourceMapPath).toString()) : SourceFile(path8.relativeToFile(originalFilePath, sourceMapPath)), parsedMap = srcFile.then((f) => SourceMapConsumer(JSON.parse(f.text))), sourceFor = memoize(function(filePath) {
|
|
21170
21170
|
return srcFile.then((f) => {
|
|
21171
|
-
let fullPath =
|
|
21171
|
+
let fullPath = path8.relativeToFile(f.path, filePath);
|
|
21172
21172
|
return parsedMap.then((x) => SourceFile(
|
|
21173
21173
|
fullPath,
|
|
21174
21174
|
x.sourceContentFor(
|
|
@@ -21190,14 +21190,14 @@ var require_get_source = __commonJS({
|
|
|
21190
21190
|
) : fallbackResolve(loc);
|
|
21191
21191
|
}).catch((e) => assign(fallbackResolve(loc), { sourceMapError: e }));
|
|
21192
21192
|
}
|
|
21193
|
-
return assign(function(
|
|
21194
|
-
let file = SourceFile(
|
|
21193
|
+
return assign(function(path9) {
|
|
21194
|
+
let file = SourceFile(path9);
|
|
21195
21195
|
if (sync)
|
|
21196
21196
|
try {
|
|
21197
21197
|
return SyncPromise.valueFrom(file);
|
|
21198
21198
|
} catch (e) {
|
|
21199
21199
|
let noFile = {
|
|
21200
|
-
path:
|
|
21200
|
+
path: path9,
|
|
21201
21201
|
text: "",
|
|
21202
21202
|
lines: [],
|
|
21203
21203
|
error: e,
|
|
@@ -21213,29 +21213,29 @@ var require_get_source = __commonJS({
|
|
|
21213
21213
|
getCache: () => SourceFileMemoized.cache
|
|
21214
21214
|
});
|
|
21215
21215
|
}
|
|
21216
|
-
module.exports = impl(function(
|
|
21216
|
+
module.exports = impl(function(path9) {
|
|
21217
21217
|
return new SyncPromise((resolve) => {
|
|
21218
21218
|
if (isBrowser2) {
|
|
21219
21219
|
let xhr = new XMLHttpRequest();
|
|
21220
21220
|
xhr.open(
|
|
21221
21221
|
"GET",
|
|
21222
|
-
|
|
21222
|
+
path9,
|
|
21223
21223
|
!1
|
|
21224
21224
|
/* SYNCHRONOUS XHR FTW :) */
|
|
21225
21225
|
), xhr.send(null), resolve(xhr.responseText);
|
|
21226
21226
|
} else
|
|
21227
|
-
resolve(nodeRequire("fs").readFileSync(
|
|
21227
|
+
resolve(nodeRequire("fs").readFileSync(path9, { encoding: "utf8" }));
|
|
21228
21228
|
});
|
|
21229
21229
|
}, !0);
|
|
21230
|
-
module.exports.async = impl(function(
|
|
21230
|
+
module.exports.async = impl(function(path9) {
|
|
21231
21231
|
return new Promise((resolve, reject) => {
|
|
21232
21232
|
if (isBrowser2) {
|
|
21233
21233
|
let xhr = new XMLHttpRequest();
|
|
21234
|
-
xhr.open("GET",
|
|
21234
|
+
xhr.open("GET", path9), xhr.onreadystatechange = (event) => {
|
|
21235
21235
|
xhr.readyState === 4 && (xhr.status === 200 ? resolve(xhr.responseText) : reject(new Error(xhr.statusText)));
|
|
21236
21236
|
}, xhr.send(null);
|
|
21237
21237
|
} else
|
|
21238
|
-
nodeRequire("fs").readFile(
|
|
21238
|
+
nodeRequire("fs").readFile(path9, { encoding: "utf8" }, (e, x) => {
|
|
21239
21239
|
e ? reject(e) : resolve(x);
|
|
21240
21240
|
});
|
|
21241
21241
|
});
|
|
@@ -23933,22 +23933,22 @@ var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/, regExpEscape2 = (s) => s.replace(/[-[
|
|
|
23933
23933
|
return globParts.filter((gs) => gs.length);
|
|
23934
23934
|
}
|
|
23935
23935
|
partsMatch(a, b, emptyGSMatch = !1) {
|
|
23936
|
-
let ai = 0, bi = 0, result = [],
|
|
23936
|
+
let ai = 0, bi = 0, result = [], which2 = "";
|
|
23937
23937
|
for (; ai < a.length && bi < b.length; )
|
|
23938
23938
|
if (a[ai] === b[bi])
|
|
23939
|
-
result.push(
|
|
23939
|
+
result.push(which2 === "b" ? b[bi] : a[ai]), ai++, bi++;
|
|
23940
23940
|
else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1])
|
|
23941
23941
|
result.push(a[ai]), ai++;
|
|
23942
23942
|
else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1])
|
|
23943
23943
|
result.push(b[bi]), bi++;
|
|
23944
23944
|
else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
|
|
23945
|
-
if (
|
|
23945
|
+
if (which2 === "b")
|
|
23946
23946
|
return !1;
|
|
23947
|
-
|
|
23947
|
+
which2 = "a", result.push(a[ai]), ai++, bi++;
|
|
23948
23948
|
} else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
|
|
23949
|
-
if (
|
|
23949
|
+
if (which2 === "a")
|
|
23950
23950
|
return !1;
|
|
23951
|
-
|
|
23951
|
+
which2 = "b", result.push(b[bi]), ai++, bi++;
|
|
23952
23952
|
} else
|
|
23953
23953
|
return !1;
|
|
23954
23954
|
return a.length === b.length && result;
|
|
@@ -24100,74 +24100,74 @@ import { mkdir as fsMkdir, writeFile as fsWriteFile, readFile as fsReadFile, rea
|
|
|
24100
24100
|
async function inTemporaryDirectory(callback) {
|
|
24101
24101
|
return temporaryDirectoryTask(callback);
|
|
24102
24102
|
}
|
|
24103
|
-
async function readFile(
|
|
24104
|
-
return outputDebug(outputContent`Reading the content of file at ${outputToken.path(
|
|
24103
|
+
async function readFile(path8, options = { encoding: "utf8" }) {
|
|
24104
|
+
return outputDebug(outputContent`Reading the content of file at ${outputToken.path(path8)}...`), fsReadFile(path8, options);
|
|
24105
24105
|
}
|
|
24106
|
-
function readFileSync(
|
|
24107
|
-
return outputDebug(outputContent`Sync-reading the content of file at ${outputToken.path(
|
|
24106
|
+
function readFileSync(path8) {
|
|
24107
|
+
return outputDebug(outputContent`Sync-reading the content of file at ${outputToken.path(path8)}...`), fsReadFileSync(path8);
|
|
24108
24108
|
}
|
|
24109
|
-
async function fileRealPath(
|
|
24110
|
-
return fsRealPath(
|
|
24109
|
+
async function fileRealPath(path8) {
|
|
24110
|
+
return fsRealPath(path8);
|
|
24111
24111
|
}
|
|
24112
24112
|
async function copyFile(from, to) {
|
|
24113
24113
|
outputDebug(outputContent`Copying file from ${outputToken.path(from)} to ${outputToken.path(to)}...`), await copy(from, to);
|
|
24114
24114
|
}
|
|
24115
|
-
async function touchFile(
|
|
24116
|
-
outputDebug(outputContent`Creating an empty file at ${outputToken.path(
|
|
24115
|
+
async function touchFile(path8) {
|
|
24116
|
+
outputDebug(outputContent`Creating an empty file at ${outputToken.path(path8)}...`), await ensureFile(path8);
|
|
24117
24117
|
}
|
|
24118
|
-
async function appendFile(
|
|
24119
|
-
outputDebug(outputContent`Appending the following content to ${outputToken.path(
|
|
24118
|
+
async function appendFile(path8, content) {
|
|
24119
|
+
outputDebug(outputContent`Appending the following content to ${outputToken.path(path8)}:
|
|
24120
24120
|
${content.split(`
|
|
24121
24121
|
`).map((line) => ` ${line}`).join(`
|
|
24122
24122
|
`)}
|
|
24123
|
-
`), await fsAppendFile(
|
|
24123
|
+
`), await fsAppendFile(path8, content);
|
|
24124
24124
|
}
|
|
24125
|
-
async function writeFile(
|
|
24126
|
-
outputDebug(outputContent`Writing some content to file at ${outputToken.path(
|
|
24125
|
+
async function writeFile(path8, data, options = { encoding: "utf8" }) {
|
|
24126
|
+
outputDebug(outputContent`Writing some content to file at ${outputToken.path(path8)}...`), await fsWriteFile(path8, data, options);
|
|
24127
24127
|
}
|
|
24128
|
-
function writeFileSync(
|
|
24129
|
-
outputDebug(outputContent`File-writing some content to file at ${outputToken.path(
|
|
24128
|
+
function writeFileSync(path8, data) {
|
|
24129
|
+
outputDebug(outputContent`File-writing some content to file at ${outputToken.path(path8)}...`), fsWriteFileSync(path8, data);
|
|
24130
24130
|
}
|
|
24131
|
-
async function mkdir(
|
|
24132
|
-
outputDebug(outputContent`Creating directory at ${outputToken.path(
|
|
24131
|
+
async function mkdir(path8) {
|
|
24132
|
+
outputDebug(outputContent`Creating directory at ${outputToken.path(path8)}...`), await fsMkdir(path8, { recursive: !0 });
|
|
24133
24133
|
}
|
|
24134
|
-
function mkdirSync(
|
|
24135
|
-
outputDebug(outputContent`Sync-creating directory at ${outputToken.path(
|
|
24134
|
+
function mkdirSync(path8) {
|
|
24135
|
+
outputDebug(outputContent`Sync-creating directory at ${outputToken.path(path8)}...`), fsMkdirSync(path8, { recursive: !0 });
|
|
24136
24136
|
}
|
|
24137
|
-
async function removeFile(
|
|
24138
|
-
outputDebug(outputContent`Removing file at ${outputToken.path(
|
|
24137
|
+
async function removeFile(path8) {
|
|
24138
|
+
outputDebug(outputContent`Removing file at ${outputToken.path(path8)}...`), await remove(path8);
|
|
24139
24139
|
}
|
|
24140
24140
|
async function renameFile(from, to) {
|
|
24141
24141
|
outputDebug(outputContent`Renaming file from ${outputToken.path(from)} to ${outputToken.path(to)}...`), await fsRename(from, to);
|
|
24142
24142
|
}
|
|
24143
|
-
async function rmdir(
|
|
24144
|
-
let { default: del } = await import("./del-
|
|
24145
|
-
outputDebug(outputContent`Removing directory at ${outputToken.path(
|
|
24143
|
+
async function rmdir(path8, options = {}) {
|
|
24144
|
+
let { default: del } = await import("./del-K5ZJEWTD.js");
|
|
24145
|
+
outputDebug(outputContent`Removing directory at ${outputToken.path(path8)}...`), await del(path8, { force: options.force });
|
|
24146
24146
|
}
|
|
24147
|
-
async function isDirectory(
|
|
24148
|
-
return outputDebug(outputContent`Checking if ${outputToken.path(
|
|
24147
|
+
async function isDirectory(path8) {
|
|
24148
|
+
return outputDebug(outputContent`Checking if ${outputToken.path(path8)} is a directory...`), (await fsLstat(path8)).isDirectory();
|
|
24149
24149
|
}
|
|
24150
|
-
async function fileSize(
|
|
24151
|
-
return outputDebug(outputContent`Getting the size of file file at ${outputToken.path(
|
|
24150
|
+
async function fileSize(path8) {
|
|
24151
|
+
return outputDebug(outputContent`Getting the size of file file at ${outputToken.path(path8)}...`), (await fsStat(path8)).size;
|
|
24152
24152
|
}
|
|
24153
|
-
function fileSizeSync(
|
|
24154
|
-
return outputDebug(outputContent`Sync-getting the size of file file at ${outputToken.path(
|
|
24153
|
+
function fileSizeSync(path8) {
|
|
24154
|
+
return outputDebug(outputContent`Sync-getting the size of file file at ${outputToken.path(path8)}...`), fsStatSync(path8).size;
|
|
24155
24155
|
}
|
|
24156
|
-
function unlinkFileSync(
|
|
24157
|
-
fsUnlinkSync(
|
|
24156
|
+
function unlinkFileSync(path8) {
|
|
24157
|
+
fsUnlinkSync(path8);
|
|
24158
24158
|
}
|
|
24159
|
-
function createFileReadStream(
|
|
24160
|
-
return fsCreateReadStream(
|
|
24159
|
+
function createFileReadStream(path8, options) {
|
|
24160
|
+
return fsCreateReadStream(path8, options);
|
|
24161
24161
|
}
|
|
24162
|
-
function createFileWriteStream(
|
|
24163
|
-
return fsCreateWriteStream(
|
|
24162
|
+
function createFileWriteStream(path8) {
|
|
24163
|
+
return fsCreateWriteStream(path8);
|
|
24164
24164
|
}
|
|
24165
|
-
async function fileLastUpdated(
|
|
24166
|
-
return outputDebug(outputContent`Getting last updated timestamp for file at ${outputToken.path(
|
|
24165
|
+
async function fileLastUpdated(path8) {
|
|
24166
|
+
return outputDebug(outputContent`Getting last updated timestamp for file at ${outputToken.path(path8)}...`), (await fsStat(path8)).ctime;
|
|
24167
24167
|
}
|
|
24168
|
-
async function fileLastUpdatedTimestamp(
|
|
24168
|
+
async function fileLastUpdatedTimestamp(path8) {
|
|
24169
24169
|
try {
|
|
24170
|
-
return (await fileLastUpdated(
|
|
24170
|
+
return (await fileLastUpdated(path8)).getTime();
|
|
24171
24171
|
} catch {
|
|
24172
24172
|
return;
|
|
24173
24173
|
}
|
|
@@ -24175,32 +24175,32 @@ async function fileLastUpdatedTimestamp(path7) {
|
|
|
24175
24175
|
async function moveFile(src, dest, options = {}) {
|
|
24176
24176
|
await move(src, dest, options);
|
|
24177
24177
|
}
|
|
24178
|
-
async function chmod(
|
|
24179
|
-
await fsChmod(
|
|
24178
|
+
async function chmod(path8, mode) {
|
|
24179
|
+
await fsChmod(path8, mode);
|
|
24180
24180
|
}
|
|
24181
|
-
async function fileHasExecutablePermissions(
|
|
24181
|
+
async function fileHasExecutablePermissions(path8) {
|
|
24182
24182
|
try {
|
|
24183
|
-
return await fsAccess(
|
|
24183
|
+
return await fsAccess(path8, fsConstants.X_OK), !0;
|
|
24184
24184
|
} catch {
|
|
24185
24185
|
return !1;
|
|
24186
24186
|
}
|
|
24187
24187
|
}
|
|
24188
|
-
async function fileExists(
|
|
24188
|
+
async function fileExists(path8) {
|
|
24189
24189
|
try {
|
|
24190
|
-
return await fsAccess(
|
|
24190
|
+
return await fsAccess(path8), !0;
|
|
24191
24191
|
} catch {
|
|
24192
24192
|
return !1;
|
|
24193
24193
|
}
|
|
24194
24194
|
}
|
|
24195
|
-
function fileExistsSync(
|
|
24196
|
-
return fsFileExistsSync(
|
|
24195
|
+
function fileExistsSync(path8) {
|
|
24196
|
+
return fsFileExistsSync(path8);
|
|
24197
24197
|
}
|
|
24198
24198
|
async function generateRandomNameForSubdirectory(options) {
|
|
24199
24199
|
let generated = `${getRandomName(options.family ?? "business")}-${options.suffix}`, randomDirectoryPath = joinPath(options.directory, generated);
|
|
24200
24200
|
return await fileExists(randomDirectoryPath) ? generateRandomNameForSubdirectory(options) : generated;
|
|
24201
24201
|
}
|
|
24202
24202
|
async function glob(pattern, options) {
|
|
24203
|
-
let { default: fastGlob } = await import("./out-
|
|
24203
|
+
let { default: fastGlob } = await import("./out-MHEKZJWS.js"), overridenOptions = options;
|
|
24204
24204
|
return options?.dot == null && (overridenOptions = { ...options, dot: !0 }), fastGlob(pattern, overridenOptions);
|
|
24205
24205
|
}
|
|
24206
24206
|
async function findPathUp(matcher, options) {
|
|
@@ -24211,107 +24211,114 @@ function matchGlob(key, pattern, options) {
|
|
|
24211
24211
|
return minimatch(key, pattern, options);
|
|
24212
24212
|
}
|
|
24213
24213
|
|
|
24214
|
-
// ../cli-kit/dist/
|
|
24214
|
+
// ../cli-kit/dist/private/node/constants.js
|
|
24215
24215
|
init_cjs_shims();
|
|
24216
24216
|
|
|
24217
|
-
//
|
|
24217
|
+
// ../../node_modules/.pnpm/env-paths@3.0.0/node_modules/env-paths/index.js
|
|
24218
24218
|
init_cjs_shims();
|
|
24219
|
-
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
var
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
|
|
24229
|
-
|
|
24230
|
-
|
|
24231
|
-
|
|
24232
|
-
|
|
24233
|
-
|
|
24234
|
-
|
|
24235
|
-
|
|
24236
|
-
|
|
24237
|
-
|
|
24238
|
-
|
|
24239
|
-
|
|
24240
|
-
|
|
24241
|
-
|
|
24242
|
-
|
|
24243
|
-
|
|
24244
|
-
|
|
24245
|
-
|
|
24246
|
-
|
|
24247
|
-
|
|
24248
|
-
|
|
24249
|
-
|
|
24250
|
-
|
|
24251
|
-
|
|
24252
|
-
|
|
24253
|
-
|
|
24254
|
-
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24258
|
-
|
|
24259
|
-
|
|
24260
|
-
|
|
24261
|
-
|
|
24262
|
-
|
|
24263
|
-
|
|
24264
|
-
|
|
24265
|
-
|
|
24266
|
-
|
|
24267
|
-
|
|
24268
|
-
|
|
24219
|
+
import path5 from "node:path";
|
|
24220
|
+
import os from "node:os";
|
|
24221
|
+
import process3 from "node:process";
|
|
24222
|
+
var homedir = os.homedir(), tmpdir = os.tmpdir(), { env } = process3, macos = (name) => {
|
|
24223
|
+
let library = path5.join(homedir, "Library");
|
|
24224
|
+
return {
|
|
24225
|
+
data: path5.join(library, "Application Support", name),
|
|
24226
|
+
config: path5.join(library, "Preferences", name),
|
|
24227
|
+
cache: path5.join(library, "Caches", name),
|
|
24228
|
+
log: path5.join(library, "Logs", name),
|
|
24229
|
+
temp: path5.join(tmpdir, name)
|
|
24230
|
+
};
|
|
24231
|
+
}, windows = (name) => {
|
|
24232
|
+
let appData = env.APPDATA || path5.join(homedir, "AppData", "Roaming"), localAppData = env.LOCALAPPDATA || path5.join(homedir, "AppData", "Local");
|
|
24233
|
+
return {
|
|
24234
|
+
// Data/config/cache/log are invented by me as Windows isn't opinionated about this
|
|
24235
|
+
data: path5.join(localAppData, name, "Data"),
|
|
24236
|
+
config: path5.join(appData, name, "Config"),
|
|
24237
|
+
cache: path5.join(localAppData, name, "Cache"),
|
|
24238
|
+
log: path5.join(localAppData, name, "Log"),
|
|
24239
|
+
temp: path5.join(tmpdir, name)
|
|
24240
|
+
};
|
|
24241
|
+
}, linux = (name) => {
|
|
24242
|
+
let username = path5.basename(homedir);
|
|
24243
|
+
return {
|
|
24244
|
+
data: path5.join(env.XDG_DATA_HOME || path5.join(homedir, ".local", "share"), name),
|
|
24245
|
+
config: path5.join(env.XDG_CONFIG_HOME || path5.join(homedir, ".config"), name),
|
|
24246
|
+
cache: path5.join(env.XDG_CACHE_HOME || path5.join(homedir, ".cache"), name),
|
|
24247
|
+
// https://wiki.debian.org/XDGBaseDirectorySpecification#state
|
|
24248
|
+
log: path5.join(env.XDG_STATE_HOME || path5.join(homedir, ".local", "state"), name),
|
|
24249
|
+
temp: path5.join(tmpdir, username, name)
|
|
24250
|
+
};
|
|
24251
|
+
};
|
|
24252
|
+
function envPaths(name, { suffix = "nodejs" } = {}) {
|
|
24253
|
+
if (typeof name != "string")
|
|
24254
|
+
throw new TypeError(`Expected a string, got ${typeof name}`);
|
|
24255
|
+
return suffix && (name += `-${suffix}`), process3.platform === "darwin" ? macos(name) : process3.platform === "win32" ? windows(name) : linux(name);
|
|
24256
|
+
}
|
|
24257
|
+
|
|
24258
|
+
// ../cli-kit/dist/private/node/constants.js
|
|
24259
|
+
var identifier = "shopify-cli", cacheFolder = () => process.env.XDG_CACHE_HOME ? process.env.XDG_CACHE_HOME : envPaths(identifier).cache, logsFolder = () => envPaths(identifier).log, environmentVariables = {
|
|
24260
|
+
alwaysLogAnalytics: "SHOPIFY_CLI_ALWAYS_LOG_ANALYTICS",
|
|
24261
|
+
alwaysLogMetrics: "SHOPIFY_CLI_ALWAYS_LOG_METRICS",
|
|
24262
|
+
deviceAuth: "SHOPIFY_CLI_DEVICE_AUTH",
|
|
24263
|
+
enableCliRedirect: "SHOPIFY_CLI_ENABLE_CLI_REDIRECT",
|
|
24264
|
+
env: "SHOPIFY_CLI_ENV",
|
|
24265
|
+
firstPartyDev: "SHOPIFY_CLI_1P_DEV",
|
|
24266
|
+
noAnalytics: "SHOPIFY_CLI_NO_ANALYTICS",
|
|
24267
|
+
partnersToken: "SHOPIFY_CLI_PARTNERS_TOKEN",
|
|
24268
|
+
runAsUser: "SHOPIFY_RUN_AS_USER",
|
|
24269
|
+
serviceEnv: "SHOPIFY_SERVICE_ENV",
|
|
24270
|
+
skipCliRedirect: "SHOPIFY_CLI_SKIP_CLI_REDIRECT",
|
|
24271
|
+
spinInstance: "SPIN_INSTANCE",
|
|
24272
|
+
themeToken: "SHOPIFY_CLI_THEME_TOKEN",
|
|
24273
|
+
unitTest: "SHOPIFY_UNIT_TEST",
|
|
24274
|
+
verbose: "SHOPIFY_FLAG_VERBOSE",
|
|
24275
|
+
noThemeBundling: "SHOPIFY_CLI_NO_THEME_BUNDLING",
|
|
24276
|
+
bundledThemeCLI: "SHOPIFY_CLI_BUNDLED_THEME_CLI",
|
|
24277
|
+
// Variables to detect if the CLI is running in a cloud environment
|
|
24278
|
+
codespaces: "CODESPACES",
|
|
24279
|
+
codespaceName: "CODESPACE_NAME",
|
|
24280
|
+
codespacePortForwardingDomain: "GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN",
|
|
24281
|
+
gitpod: "GITPOD_WORKSPACE_URL",
|
|
24282
|
+
cloudShell: "CLOUD_SHELL",
|
|
24283
|
+
spin: "SPIN",
|
|
24284
|
+
spinAppPort: "SERVER_PORT",
|
|
24285
|
+
spinAppHost: "SPIN_APP_HOST",
|
|
24286
|
+
organization: "SHOPIFY_CLI_ORGANIZATION",
|
|
24287
|
+
identityToken: "SHOPIFY_CLI_IDENTITY_TOKEN",
|
|
24288
|
+
refreshToken: "SHOPIFY_CLI_REFRESH_TOKEN",
|
|
24289
|
+
otelURL: "SHOPIFY_CLI_OTEL_EXPORTER_OTLP_ENDPOINT",
|
|
24290
|
+
themeKitAccessDomain: "SHOPIFY_CLI_THEME_KIT_ACCESS_DOMAIN",
|
|
24291
|
+
json: "SHOPIFY_FLAG_JSON",
|
|
24292
|
+
useAppManagement: "USE_APP_MANAGEMENT_API"
|
|
24293
|
+
}, defaultThemeKitAccessDomain = "theme-kit-access.shopifyapps.com", systemEnvironmentVariables = {
|
|
24294
|
+
backendPort: "BACKEND_PORT"
|
|
24295
|
+
}, pathConstants = {
|
|
24296
|
+
executables: {
|
|
24297
|
+
dev: "/opt/dev/bin/dev"
|
|
24298
|
+
},
|
|
24299
|
+
directories: {
|
|
24300
|
+
cache: {
|
|
24301
|
+
path: () => cacheFolder(),
|
|
24302
|
+
vendor: {
|
|
24303
|
+
path: () => joinPath(cacheFolder(), "vendor"),
|
|
24304
|
+
binaries: () => joinPath(cacheFolder(), "vendor", "binaries")
|
|
24269
24305
|
}
|
|
24270
|
-
|
|
24271
|
-
});
|
|
24272
|
-
}
|
|
24273
|
-
}, NoopDemoRecorder = class {
|
|
24274
|
-
addEvent(_event) {
|
|
24275
|
-
}
|
|
24276
|
-
recordedEventsJson() {
|
|
24277
|
-
return JSON.stringify({ steps: [] }, null, 2);
|
|
24278
|
-
}
|
|
24279
|
-
addSleep() {
|
|
24280
|
-
}
|
|
24281
|
-
resetSleep() {
|
|
24282
|
-
}
|
|
24283
|
-
addOrUpdateConcurrentOutput(..._args) {
|
|
24306
|
+
}
|
|
24284
24307
|
}
|
|
24285
|
-
},
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
|
|
24289
|
-
|
|
24290
|
-
|
|
24291
|
-
}
|
|
24292
|
-
function recordUIEvent(event) {
|
|
24293
|
-
ensureInstance(), _instance.addEvent(event);
|
|
24294
|
-
}
|
|
24295
|
-
function resetRecordedSleep() {
|
|
24296
|
-
ensureInstance(), _instance.resetSleep();
|
|
24297
|
-
}
|
|
24298
|
-
function printEventsJson() {
|
|
24299
|
-
isRecording() && (ensureInstance(), _instance.addSleep(), console.log(_instance.recordedEventsJson()));
|
|
24300
|
-
}
|
|
24301
|
-
function addOrUpdateConcurrentUIEventOutput(data) {
|
|
24302
|
-
ensureInstance(), _instance.addOrUpdateConcurrentOutput(data);
|
|
24303
|
-
}
|
|
24304
|
-
function isRecording() {
|
|
24305
|
-
return isTruthy(process.env.RECORD_DEMO);
|
|
24306
|
-
}
|
|
24308
|
+
}, sessionConstants = {
|
|
24309
|
+
expirationTimeMarginInMinutes: 4
|
|
24310
|
+
}, bugsnagApiKey = "9e1e6889176fd0c795d5c659225e0fae", reportingRateLimit = { limit: 300, timeout: { days: 1 } }, themeKitAccessDomain = process.env[environmentVariables.themeKitAccessDomain] ?? defaultThemeKitAccessDomain;
|
|
24311
|
+
|
|
24312
|
+
// ../cli-kit/dist/public/node/system.js
|
|
24313
|
+
init_cjs_shims();
|
|
24307
24314
|
|
|
24308
24315
|
// ../cli-kit/dist/public/node/tree-kill.js
|
|
24316
|
+
init_cjs_shims();
|
|
24309
24317
|
import { exec, spawn } from "child_process";
|
|
24310
24318
|
function treeKill(pid = process.pid, killSignal = "SIGTERM", killRoot = !0, callback) {
|
|
24311
|
-
|
|
24319
|
+
adaptedTreeKill(pid, killSignal, killRoot, callback ?? ((error) => {
|
|
24312
24320
|
error && outputDebug(`Failed to kill process ${pid}: ${error}`);
|
|
24313
|
-
});
|
|
24314
|
-
printEventsJson(), adaptedTreeKill(pid, killSignal, killRoot, after);
|
|
24321
|
+
}));
|
|
24315
24322
|
}
|
|
24316
24323
|
function adaptedTreeKill(pid, killSignal, killRoot, callback) {
|
|
24317
24324
|
let rootPid = typeof pid == "number" ? pid.toString() : pid;
|
|
@@ -24399,9 +24406,9 @@ function buildProcessTree(parentPid, tree, pidsToProcess, spawnChildProcessesLis
|
|
|
24399
24406
|
init_cjs_shims();
|
|
24400
24407
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
24401
24408
|
import { Buffer as Buffer3 } from "node:buffer";
|
|
24402
|
-
import
|
|
24409
|
+
import path7 from "node:path";
|
|
24403
24410
|
import childProcess from "node:child_process";
|
|
24404
|
-
import
|
|
24411
|
+
import process7 from "node:process";
|
|
24405
24412
|
|
|
24406
24413
|
// ../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js
|
|
24407
24414
|
init_cjs_shims();
|
|
@@ -24413,41 +24420,41 @@ function stripFinalNewline(input) {
|
|
|
24413
24420
|
|
|
24414
24421
|
// ../../node_modules/.pnpm/npm-run-path@5.3.0/node_modules/npm-run-path/index.js
|
|
24415
24422
|
init_cjs_shims();
|
|
24416
|
-
import
|
|
24417
|
-
import
|
|
24423
|
+
import process4 from "node:process";
|
|
24424
|
+
import path6 from "node:path";
|
|
24418
24425
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
24419
24426
|
|
|
24420
24427
|
// ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
|
|
24421
24428
|
init_cjs_shims();
|
|
24422
24429
|
function pathKey(options = {}) {
|
|
24423
24430
|
let {
|
|
24424
|
-
env:
|
|
24431
|
+
env: env3 = process.env,
|
|
24425
24432
|
platform: platform2 = process.platform
|
|
24426
24433
|
} = options;
|
|
24427
|
-
return platform2 !== "win32" ? "PATH" : Object.keys(
|
|
24434
|
+
return platform2 !== "win32" ? "PATH" : Object.keys(env3).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
24428
24435
|
}
|
|
24429
24436
|
|
|
24430
24437
|
// ../../node_modules/.pnpm/npm-run-path@5.3.0/node_modules/npm-run-path/index.js
|
|
24431
24438
|
var npmRunPath = ({
|
|
24432
|
-
cwd: cwd3 =
|
|
24433
|
-
path: pathOption =
|
|
24439
|
+
cwd: cwd3 = process4.cwd(),
|
|
24440
|
+
path: pathOption = process4.env[pathKey()],
|
|
24434
24441
|
preferLocal = !0,
|
|
24435
|
-
execPath =
|
|
24442
|
+
execPath = process4.execPath,
|
|
24436
24443
|
addExecPath = !0
|
|
24437
24444
|
} = {}) => {
|
|
24438
|
-
let cwdString = cwd3 instanceof URL ? fileURLToPath3(cwd3) : cwd3, cwdPath =
|
|
24439
|
-
return preferLocal && applyPreferLocal(result, cwdPath), addExecPath && applyExecPath(result, execPath, cwdPath), [...result, pathOption].join(
|
|
24445
|
+
let cwdString = cwd3 instanceof URL ? fileURLToPath3(cwd3) : cwd3, cwdPath = path6.resolve(cwdString), result = [];
|
|
24446
|
+
return preferLocal && applyPreferLocal(result, cwdPath), addExecPath && applyExecPath(result, execPath, cwdPath), [...result, pathOption].join(path6.delimiter);
|
|
24440
24447
|
}, applyPreferLocal = (result, cwdPath) => {
|
|
24441
24448
|
let previous;
|
|
24442
24449
|
for (; previous !== cwdPath; )
|
|
24443
|
-
result.push(
|
|
24450
|
+
result.push(path6.join(cwdPath, "node_modules/.bin")), previous = cwdPath, cwdPath = path6.resolve(cwdPath, "..");
|
|
24444
24451
|
}, applyExecPath = (result, execPath, cwdPath) => {
|
|
24445
24452
|
let execPathString = execPath instanceof URL ? fileURLToPath3(execPath) : execPath;
|
|
24446
|
-
result.push(
|
|
24447
|
-
}, npmRunPathEnv = ({ env:
|
|
24448
|
-
|
|
24449
|
-
let pathName = pathKey({ env:
|
|
24450
|
-
return options.path =
|
|
24453
|
+
result.push(path6.resolve(cwdPath, execPathString, ".."));
|
|
24454
|
+
}, npmRunPathEnv = ({ env: env3 = process4.env, ...options } = {}) => {
|
|
24455
|
+
env3 = { ...env3 };
|
|
24456
|
+
let pathName = pathKey({ env: env3 });
|
|
24457
|
+
return options.path = env3[pathName], env3[pathName] = npmRunPath(options), env3;
|
|
24451
24458
|
};
|
|
24452
24459
|
|
|
24453
24460
|
// ../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js
|
|
@@ -24499,7 +24506,7 @@ var onetime_default = onetime;
|
|
|
24499
24506
|
|
|
24500
24507
|
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js
|
|
24501
24508
|
init_cjs_shims();
|
|
24502
|
-
import
|
|
24509
|
+
import process5 from "node:process";
|
|
24503
24510
|
|
|
24504
24511
|
// ../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js
|
|
24505
24512
|
init_cjs_shims();
|
|
@@ -24863,7 +24870,7 @@ var getErrorPrefix = ({ timedOut, timeout, errorCode, signal, signalDescription,
|
|
|
24863
24870
|
timedOut,
|
|
24864
24871
|
isCanceled,
|
|
24865
24872
|
killed,
|
|
24866
|
-
parsed: { options: { timeout, cwd: cwd3 =
|
|
24873
|
+
parsed: { options: { timeout, cwd: cwd3 = process5.cwd() } }
|
|
24867
24874
|
}) => {
|
|
24868
24875
|
exitCode = exitCode === null ? void 0 : exitCode, signal = signal === null ? void 0 : signal;
|
|
24869
24876
|
let signalDescription = signal === void 0 ? void 0 : signalsByName[signal].description, errorCode = error && error.code, execaMessage = `Command ${getErrorPrefix({ timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled })}: ${command}`, isError = Object.prototype.toString.call(error) === "[object Error]", shortMessage = isError ? `${execaMessage}
|
|
@@ -24893,7 +24900,7 @@ var aliases = ["stdin", "stdout", "stderr"], hasAlias = (options) => aliases.som
|
|
|
24893
24900
|
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js
|
|
24894
24901
|
init_cjs_shims();
|
|
24895
24902
|
var import_signal_exit = __toESM(require_signal_exit(), 1);
|
|
24896
|
-
import
|
|
24903
|
+
import os2 from "node:os";
|
|
24897
24904
|
var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5, spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
|
|
24898
24905
|
let killResult = kill(signal);
|
|
24899
24906
|
return setKillTimeout(kill, signal, options, killResult), killResult;
|
|
@@ -24904,7 +24911,7 @@ var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5, spawnedKill = (kill, signal = "SIGTERM
|
|
|
24904
24911
|
kill("SIGKILL");
|
|
24905
24912
|
}, timeout);
|
|
24906
24913
|
t.unref && t.unref();
|
|
24907
|
-
}, shouldForceKill = (signal, { forceKillAfterTimeout }, killResult) => isSigterm(signal) && forceKillAfterTimeout !== !1 && killResult, isSigterm = (signal) => signal ===
|
|
24914
|
+
}, shouldForceKill = (signal, { forceKillAfterTimeout }, killResult) => isSigterm(signal) && forceKillAfterTimeout !== !1 && killResult, isSigterm = (signal) => signal === os2.constants.signals.SIGTERM || typeof signal == "string" && signal.toUpperCase() === "SIGTERM", getForceKillAfterTimeout = ({ forceKillAfterTimeout = !0 }) => {
|
|
24908
24915
|
if (forceKillAfterTimeout === !0)
|
|
24909
24916
|
return DEFAULT_FORCE_KILL_TIMEOUT;
|
|
24910
24917
|
if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0)
|
|
@@ -25071,19 +25078,19 @@ var parseExpression = (expression) => {
|
|
|
25071
25078
|
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js
|
|
25072
25079
|
init_cjs_shims();
|
|
25073
25080
|
import { debuglog } from "node:util";
|
|
25074
|
-
import
|
|
25081
|
+
import process6 from "node:process";
|
|
25075
25082
|
var verboseDefault = debuglog("execa").enabled, padField = (field, padding) => String(field).padStart(padding, "0"), getTimestamp = () => {
|
|
25076
25083
|
let date = /* @__PURE__ */ new Date();
|
|
25077
25084
|
return `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;
|
|
25078
25085
|
}, logCommand = (escapedCommand, { verbose }) => {
|
|
25079
|
-
verbose &&
|
|
25086
|
+
verbose && process6.stderr.write(`[${getTimestamp()}] ${escapedCommand}
|
|
25080
25087
|
`);
|
|
25081
25088
|
};
|
|
25082
25089
|
|
|
25083
25090
|
// ../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js
|
|
25084
25091
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100, getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
25085
|
-
let
|
|
25086
|
-
return preferLocal ? npmRunPathEnv({ env:
|
|
25092
|
+
let env3 = extendEnv ? { ...process7.env, ...envOption } : envOption;
|
|
25093
|
+
return preferLocal ? npmRunPathEnv({ env: env3, cwd: localDir, execPath }) : env3;
|
|
25087
25094
|
}, handleArguments = (file, args, options = {}) => {
|
|
25088
25095
|
let parsed = import_cross_spawn.default._parse(file, args, options);
|
|
25089
25096
|
return file = parsed.command, args = parsed.args, options = parsed.options, options = {
|
|
@@ -25092,8 +25099,8 @@ var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100, getEnv = ({ env: envOption, extendEnv,
|
|
|
25092
25099
|
stripFinalNewline: !0,
|
|
25093
25100
|
extendEnv: !0,
|
|
25094
25101
|
preferLocal: !1,
|
|
25095
|
-
localDir: options.cwd ||
|
|
25096
|
-
execPath:
|
|
25102
|
+
localDir: options.cwd || process7.cwd(),
|
|
25103
|
+
execPath: process7.execPath,
|
|
25097
25104
|
encoding: "utf8",
|
|
25098
25105
|
reject: !0,
|
|
25099
25106
|
cleanup: !0,
|
|
@@ -25101,7 +25108,7 @@ var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100, getEnv = ({ env: envOption, extendEnv,
|
|
|
25101
25108
|
windowsHide: !0,
|
|
25102
25109
|
verbose: verboseDefault,
|
|
25103
25110
|
...options
|
|
25104
|
-
}, options.env = getEnv(options), options.stdio = normalizeStdio(options),
|
|
25111
|
+
}, options.env = getEnv(options), options.stdio = normalizeStdio(options), process7.platform === "win32" && path7.basename(file, ".exe") === "cmd" && args.unshift("/q"), { file, args, options, parsed };
|
|
25105
25112
|
}, handleOutput = (options, value, error) => typeof value != "string" && !Buffer3.isBuffer(value) ? error === void 0 ? void 0 : "" : options.stripFinalNewline ? stripFinalNewline(value) : value;
|
|
25106
25113
|
function execa(file, args, options) {
|
|
25107
25114
|
let parsed = handleArguments(file, args, options), command = joinCommand(file, args), escapedCommand = getEscapedCommand(file, args);
|
|
@@ -25235,6 +25242,7 @@ function create$(options) {
|
|
|
25235
25242
|
var $ = create$();
|
|
25236
25243
|
|
|
25237
25244
|
// ../cli-kit/dist/public/node/system.js
|
|
25245
|
+
var import_which = __toESM(require_lib2());
|
|
25238
25246
|
async function openURL(url) {
|
|
25239
25247
|
await (await import("./open-MZGVNFZO.js")).default(url);
|
|
25240
25248
|
}
|
|
@@ -25263,10 +25271,10 @@ async function exec2(command, args, options) {
|
|
|
25263
25271
|
}
|
|
25264
25272
|
}
|
|
25265
25273
|
function buildExec(command, args, options) {
|
|
25266
|
-
let
|
|
25267
|
-
shouldDisplayColors() && (
|
|
25274
|
+
let env3 = options?.env ?? process.env;
|
|
25275
|
+
shouldDisplayColors() && (env3.FORCE_COLOR = "1"), checkCommandSafety(command);
|
|
25268
25276
|
let commandProcess = execa(command, args, {
|
|
25269
|
-
env:
|
|
25277
|
+
env: env3,
|
|
25270
25278
|
cwd: options?.cwd,
|
|
25271
25279
|
input: options?.input,
|
|
25272
25280
|
stdio: options?.stdio,
|
|
@@ -25283,6 +25291,12 @@ Running system process:
|
|
|
25283
25291
|
\xB7 Working directory: ${options?.cwd ?? cwd()}
|
|
25284
25292
|
`), commandProcess;
|
|
25285
25293
|
}
|
|
25294
|
+
function checkCommandSafety(command) {
|
|
25295
|
+
if (dirname(import_which.default.sync(command)) === cwd()) {
|
|
25296
|
+
let headline = ["Skipped run of unsecure binary", { command }, "found in the current directory."], body = "Please remove that file or review your current PATH.";
|
|
25297
|
+
throw renderWarning({ headline, body }), new AbortError(headline, body);
|
|
25298
|
+
}
|
|
25299
|
+
}
|
|
25286
25300
|
async function sleep(seconds) {
|
|
25287
25301
|
return new Promise((resolve) => {
|
|
25288
25302
|
setTimeout(resolve, 1e3 * seconds);
|
|
@@ -25308,9 +25322,9 @@ var Environment;
|
|
|
25308
25322
|
(function(Environment2) {
|
|
25309
25323
|
Environment2.Local = "local", Environment2.Production = "production", Environment2.Spin = "spin";
|
|
25310
25324
|
})(Environment || (Environment = {}));
|
|
25311
|
-
function serviceEnvironment(
|
|
25312
|
-
let value =
|
|
25313
|
-
return value === "local" ? Environment.Local : value === "spin" || isSpin(
|
|
25325
|
+
function serviceEnvironment(env3 = process.env) {
|
|
25326
|
+
let value = env3[environmentVariables.serviceEnv];
|
|
25327
|
+
return value === "local" ? Environment.Local : value === "spin" || isSpin(env3) ? Environment.Spin : Environment.Production;
|
|
25314
25328
|
}
|
|
25315
25329
|
|
|
25316
25330
|
// ../cli-kit/dist/public/node/context/spin.js
|
|
@@ -25320,41 +25334,41 @@ ${error}
|
|
|
25320
25334
|
`, nextSteps;
|
|
25321
25335
|
return spinInstance && (nextSteps = `Make sure ${spinInstance} is the instance name and not a fully qualified domain name`), { errorMessage, nextSteps };
|
|
25322
25336
|
}, spinFqdnFilePath = "/etc/spin/machine/fqdn";
|
|
25323
|
-
async function spinFqdn(
|
|
25337
|
+
async function spinFqdn(env3 = process.env) {
|
|
25324
25338
|
let spinFqdn2 = getCachedSpinFqdn();
|
|
25325
25339
|
if (spinFqdn2)
|
|
25326
25340
|
return spinFqdn2;
|
|
25327
25341
|
if (await fileExists(spinFqdnFilePath))
|
|
25328
25342
|
spinFqdn2 = await readFileSync(spinFqdnFilePath).toString();
|
|
25329
25343
|
else {
|
|
25330
|
-
let spinInstance = await instance(
|
|
25331
|
-
spinFqdn2 = (await show(spinInstance,
|
|
25344
|
+
let spinInstance = await instance(env3);
|
|
25345
|
+
spinFqdn2 = (await show(spinInstance, env3)).fqdn;
|
|
25332
25346
|
}
|
|
25333
25347
|
return setCachedSpinFqdn(spinFqdn2), spinFqdn2;
|
|
25334
25348
|
}
|
|
25335
|
-
async function show(spinInstance,
|
|
25336
|
-
let output = await captureOutput("spin", spinInstance === void 0 ? ["show", "--latest", "--json"] : ["show", "--json"], { env:
|
|
25349
|
+
async function show(spinInstance, env3 = process.env) {
|
|
25350
|
+
let output = await captureOutput("spin", spinInstance === void 0 ? ["show", "--latest", "--json"] : ["show", "--json"], { env: env3 }), json = JSON.parse(output);
|
|
25337
25351
|
if (json.error) {
|
|
25338
25352
|
let { errorMessage, nextSteps } = SpinInstanceNotFoundMessages(spinInstance, json.error);
|
|
25339
25353
|
throw new AbortError(errorMessage, nextSteps);
|
|
25340
25354
|
} else
|
|
25341
25355
|
return json;
|
|
25342
25356
|
}
|
|
25343
|
-
function isSpin(
|
|
25344
|
-
return isTruthy(
|
|
25357
|
+
function isSpin(env3 = process.env) {
|
|
25358
|
+
return isTruthy(env3[environmentVariables.spin]);
|
|
25345
25359
|
}
|
|
25346
|
-
function instance(
|
|
25347
|
-
return
|
|
25360
|
+
function instance(env3 = process.env) {
|
|
25361
|
+
return env3[environmentVariables.spinInstance];
|
|
25348
25362
|
}
|
|
25349
|
-
function isSpinEnvironment(
|
|
25350
|
-
return serviceEnvironment(
|
|
25363
|
+
function isSpinEnvironment(env3 = process.env) {
|
|
25364
|
+
return serviceEnvironment(env3) === Environment.Spin;
|
|
25351
25365
|
}
|
|
25352
|
-
function appPort(
|
|
25353
|
-
let port = Number(
|
|
25366
|
+
function appPort(env3 = process.env) {
|
|
25367
|
+
let port = Number(env3[environmentVariables.spinAppPort]);
|
|
25354
25368
|
return !isNaN(port) && port || void 0;
|
|
25355
25369
|
}
|
|
25356
|
-
function appHost(
|
|
25357
|
-
return
|
|
25370
|
+
function appHost(env3 = process.env) {
|
|
25371
|
+
return env3[environmentVariables.spinAppHost];
|
|
25358
25372
|
}
|
|
25359
25373
|
var spinVariables = {
|
|
25360
25374
|
partnersSpinService: "shopify--partners",
|
|
@@ -25451,60 +25465,63 @@ function isInteractive({ stream: stream2 = process.stdout } = {}) {
|
|
|
25451
25465
|
|
|
25452
25466
|
// ../cli-kit/dist/public/node/context/local.js
|
|
25453
25467
|
var import_macaddress = __toESM(require_macaddress(), 1);
|
|
25454
|
-
import { homedir } from "os";
|
|
25468
|
+
import { homedir as homedir2 } from "os";
|
|
25455
25469
|
function isTerminalInteractive() {
|
|
25456
25470
|
return isInteractive();
|
|
25457
25471
|
}
|
|
25458
25472
|
function homeDirectory() {
|
|
25459
|
-
return
|
|
25473
|
+
return homedir2();
|
|
25474
|
+
}
|
|
25475
|
+
function isDevelopment(env3 = process.env) {
|
|
25476
|
+
return env3[environmentVariables.env] === "development";
|
|
25460
25477
|
}
|
|
25461
|
-
function
|
|
25462
|
-
return
|
|
25478
|
+
function isVerbose(env3 = process.env) {
|
|
25479
|
+
return isTruthy(env3[environmentVariables.verbose]) || process.argv.includes("--verbose");
|
|
25463
25480
|
}
|
|
25464
|
-
function
|
|
25465
|
-
return isTruthy(
|
|
25481
|
+
function isAppManagementEnabled(env3 = process.env) {
|
|
25482
|
+
return isTruthy(env3[environmentVariables.useAppManagement]);
|
|
25466
25483
|
}
|
|
25467
|
-
async function isShopify(
|
|
25468
|
-
return Object.prototype.hasOwnProperty.call(
|
|
25484
|
+
async function isShopify(env3 = process.env) {
|
|
25485
|
+
return Object.prototype.hasOwnProperty.call(env3, environmentVariables.runAsUser) ? !isTruthy(env3[environmentVariables.runAsUser]) : await fileExists(pathConstants.executables.dev) || isSpin(env3);
|
|
25469
25486
|
}
|
|
25470
|
-
function isUnitTest(
|
|
25471
|
-
return isTruthy(
|
|
25487
|
+
function isUnitTest(env3 = process.env) {
|
|
25488
|
+
return isTruthy(env3[environmentVariables.unitTest]);
|
|
25472
25489
|
}
|
|
25473
|
-
function analyticsDisabled(
|
|
25474
|
-
return isTruthy(
|
|
25490
|
+
function analyticsDisabled(env3 = process.env) {
|
|
25491
|
+
return isTruthy(env3[environmentVariables.noAnalytics]) || isDevelopment(env3);
|
|
25475
25492
|
}
|
|
25476
|
-
function alwaysLogAnalytics(
|
|
25477
|
-
return isTruthy(
|
|
25493
|
+
function alwaysLogAnalytics(env3 = process.env) {
|
|
25494
|
+
return isTruthy(env3[environmentVariables.alwaysLogAnalytics]);
|
|
25478
25495
|
}
|
|
25479
|
-
function alwaysLogMetrics(
|
|
25480
|
-
return isTruthy(
|
|
25496
|
+
function alwaysLogMetrics(env3 = process.env) {
|
|
25497
|
+
return isTruthy(env3[environmentVariables.alwaysLogMetrics]);
|
|
25481
25498
|
}
|
|
25482
|
-
function firstPartyDev(
|
|
25483
|
-
return isTruthy(
|
|
25499
|
+
function firstPartyDev(env3 = process.env) {
|
|
25500
|
+
return isTruthy(env3[environmentVariables.firstPartyDev]);
|
|
25484
25501
|
}
|
|
25485
|
-
function useThemebundling(
|
|
25486
|
-
return !isTruthy(
|
|
25502
|
+
function useThemebundling(env3 = process.env) {
|
|
25503
|
+
return !isTruthy(env3[environmentVariables.noThemeBundling]);
|
|
25487
25504
|
}
|
|
25488
|
-
function useEmbeddedThemeCLI(
|
|
25489
|
-
return !isTruthy(
|
|
25505
|
+
function useEmbeddedThemeCLI(env3 = process.env) {
|
|
25506
|
+
return !isTruthy(env3[environmentVariables.bundledThemeCLI]);
|
|
25490
25507
|
}
|
|
25491
|
-
function gitpodURL(
|
|
25492
|
-
return
|
|
25508
|
+
function gitpodURL(env3 = process.env) {
|
|
25509
|
+
return env3[environmentVariables.gitpod];
|
|
25493
25510
|
}
|
|
25494
|
-
function codespaceURL(
|
|
25495
|
-
return
|
|
25511
|
+
function codespaceURL(env3 = process.env) {
|
|
25512
|
+
return env3[environmentVariables.codespaceName];
|
|
25496
25513
|
}
|
|
25497
|
-
function codespacePortForwardingDomain(
|
|
25498
|
-
return
|
|
25514
|
+
function codespacePortForwardingDomain(env3 = process.env) {
|
|
25515
|
+
return env3[environmentVariables.codespacePortForwardingDomain];
|
|
25499
25516
|
}
|
|
25500
|
-
function isCloudEnvironment(
|
|
25501
|
-
return cloudEnvironment(
|
|
25517
|
+
function isCloudEnvironment(env3 = process.env) {
|
|
25518
|
+
return cloudEnvironment(env3).platform !== "localhost";
|
|
25502
25519
|
}
|
|
25503
|
-
function themeToken(
|
|
25504
|
-
return
|
|
25520
|
+
function themeToken(env3 = process.env) {
|
|
25521
|
+
return env3[environmentVariables.themeToken];
|
|
25505
25522
|
}
|
|
25506
|
-
function cloudEnvironment(
|
|
25507
|
-
return isSet(
|
|
25523
|
+
function cloudEnvironment(env3 = process.env) {
|
|
25524
|
+
return isSet(env3[environmentVariables.codespaces]) ? { platform: "codespaces", editor: !0 } : isSet(env3[environmentVariables.gitpod]) ? { platform: "gitpod", editor: !0 } : isSet(env3[environmentVariables.cloudShell]) ? { platform: "cloudShell", editor: !0 } : isSpin(env3) ? { platform: "spin", editor: !1 } : { platform: "localhost", editor: !1 };
|
|
25508
25525
|
}
|
|
25509
25526
|
async function hasGit() {
|
|
25510
25527
|
try {
|
|
@@ -25513,15 +25530,20 @@ async function hasGit() {
|
|
|
25513
25530
|
return !1;
|
|
25514
25531
|
}
|
|
25515
25532
|
}
|
|
25516
|
-
function ciPlatform(
|
|
25517
|
-
if (isTruthy(
|
|
25533
|
+
function ciPlatform(env3 = process.env) {
|
|
25534
|
+
if (isTruthy(env3.CI)) {
|
|
25518
25535
|
let name = "unknown";
|
|
25519
|
-
return isSet(
|
|
25536
|
+
return isSet(env3.BITBUCKET_BUILD_NUMBER) ? name = "bitbucket" : isTruthy(env3.CIRCLECI) ? name = "circleci" : isSet(env3.GITHUB_ACTION) ? name = "github" : isTruthy(env3.GITLAB_CI) ? name = "gitlab" : isSet(env3.BUILDKITE) && (name = "buildkite"), {
|
|
25520
25537
|
isCI: !0,
|
|
25521
25538
|
name,
|
|
25522
|
-
metadata: getCIMetadata(name,
|
|
25539
|
+
metadata: getCIMetadata(name, env3)
|
|
25540
|
+
};
|
|
25541
|
+
} else if (isTruthy(env3.TF_BUILD))
|
|
25542
|
+
return {
|
|
25543
|
+
isCI: !0,
|
|
25544
|
+
name: "azure",
|
|
25545
|
+
metadata: getCIMetadata("azure", env3)
|
|
25523
25546
|
};
|
|
25524
|
-
}
|
|
25525
25547
|
return {
|
|
25526
25548
|
isCI: !1
|
|
25527
25549
|
};
|
|
@@ -25529,8 +25551,8 @@ function ciPlatform(env2 = process.env) {
|
|
|
25529
25551
|
function macAddress() {
|
|
25530
25552
|
return import_macaddress.default.one();
|
|
25531
25553
|
}
|
|
25532
|
-
function opentelemetryDomain(
|
|
25533
|
-
return isSet(
|
|
25554
|
+
function opentelemetryDomain(env3 = process.env) {
|
|
25555
|
+
return isSet(env3[environmentVariables.otelURL]) ? env3[environmentVariables.otelURL] : "https://otlp-http-production-cli.shopifysvc.com";
|
|
25534
25556
|
}
|
|
25535
25557
|
|
|
25536
25558
|
// ../cli-kit/dist/public/node/is-global.js
|
|
@@ -25539,12 +25561,13 @@ var _isGlobal;
|
|
|
25539
25561
|
function currentProcessIsGlobal(argv = process.argv) {
|
|
25540
25562
|
if (_isGlobal !== void 0 && !isUnitTest())
|
|
25541
25563
|
return _isGlobal;
|
|
25542
|
-
let
|
|
25564
|
+
let path8 = sniffForPath() ?? cwd(), npmPrefix = execaSync("npm", ["prefix"], { cwd: path8 }).stdout.trim();
|
|
25543
25565
|
return _isGlobal = !(argv[1] ?? "").startsWith(npmPrefix.trim()), _isGlobal;
|
|
25544
25566
|
}
|
|
25545
25567
|
async function isGlobalCLIInstalled() {
|
|
25546
25568
|
try {
|
|
25547
|
-
|
|
25569
|
+
let env3 = { ...process.env, SHOPIFY_CLI_NO_ANALYTICS: "1" };
|
|
25570
|
+
return (await captureOutput("shopify", ["app"], { env: env3 })).includes("app dev");
|
|
25548
25571
|
} catch {
|
|
25549
25572
|
return !1;
|
|
25550
25573
|
}
|
|
@@ -25718,18 +25741,18 @@ var ansiStyles = assembleStyles(), ansi_styles_default = ansiStyles;
|
|
|
25718
25741
|
|
|
25719
25742
|
// ../../node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
|
|
25720
25743
|
init_cjs_shims();
|
|
25721
|
-
import
|
|
25722
|
-
import
|
|
25744
|
+
import process8 from "node:process";
|
|
25745
|
+
import os3 from "node:os";
|
|
25723
25746
|
import tty from "node:tty";
|
|
25724
|
-
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args :
|
|
25747
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process8.argv) {
|
|
25725
25748
|
let prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--", position = argv.indexOf(prefix + flag), terminatorPosition = argv.indexOf("--");
|
|
25726
25749
|
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
25727
25750
|
}
|
|
25728
|
-
var { env } =
|
|
25751
|
+
var { env: env2 } = process8, flagForceColor;
|
|
25729
25752
|
hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never") ? flagForceColor = 0 : (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) && (flagForceColor = 1);
|
|
25730
25753
|
function envForceColor() {
|
|
25731
|
-
if ("FORCE_COLOR" in
|
|
25732
|
-
return
|
|
25754
|
+
if ("FORCE_COLOR" in env2)
|
|
25755
|
+
return env2.FORCE_COLOR === "true" ? 1 : env2.FORCE_COLOR === "false" ? 0 : env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
|
|
25733
25756
|
}
|
|
25734
25757
|
function translateLevel(level) {
|
|
25735
25758
|
return level === 0 ? !1 : {
|
|
@@ -25751,33 +25774,33 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = !0 } = {}) {
|
|
|
25751
25774
|
if (hasFlag("color=256"))
|
|
25752
25775
|
return 2;
|
|
25753
25776
|
}
|
|
25754
|
-
if ("TF_BUILD" in
|
|
25777
|
+
if ("TF_BUILD" in env2 && "AGENT_NAME" in env2)
|
|
25755
25778
|
return 1;
|
|
25756
25779
|
if (haveStream && !streamIsTTY && forceColor === void 0)
|
|
25757
25780
|
return 0;
|
|
25758
25781
|
let min = forceColor || 0;
|
|
25759
|
-
if (
|
|
25782
|
+
if (env2.TERM === "dumb")
|
|
25760
25783
|
return min;
|
|
25761
|
-
if (
|
|
25762
|
-
let osRelease =
|
|
25784
|
+
if (process8.platform === "win32") {
|
|
25785
|
+
let osRelease = os3.release().split(".");
|
|
25763
25786
|
return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
|
|
25764
25787
|
}
|
|
25765
|
-
if ("CI" in
|
|
25766
|
-
return "GITHUB_ACTIONS" in
|
|
25767
|
-
if ("TEAMCITY_VERSION" in
|
|
25768
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(
|
|
25769
|
-
if (
|
|
25788
|
+
if ("CI" in env2)
|
|
25789
|
+
return "GITHUB_ACTIONS" in env2 || "GITEA_ACTIONS" in env2 ? 3 : ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship" ? 1 : min;
|
|
25790
|
+
if ("TEAMCITY_VERSION" in env2)
|
|
25791
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
25792
|
+
if (env2.COLORTERM === "truecolor" || env2.TERM === "xterm-kitty")
|
|
25770
25793
|
return 3;
|
|
25771
|
-
if ("TERM_PROGRAM" in
|
|
25772
|
-
let version = Number.parseInt((
|
|
25773
|
-
switch (
|
|
25794
|
+
if ("TERM_PROGRAM" in env2) {
|
|
25795
|
+
let version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
25796
|
+
switch (env2.TERM_PROGRAM) {
|
|
25774
25797
|
case "iTerm.app":
|
|
25775
25798
|
return version >= 3 ? 3 : 2;
|
|
25776
25799
|
case "Apple_Terminal":
|
|
25777
25800
|
return 2;
|
|
25778
25801
|
}
|
|
25779
25802
|
}
|
|
25780
|
-
return /-256(color)?$/i.test(
|
|
25803
|
+
return /-256(color)?$/i.test(env2.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM) || "COLORTERM" in env2 ? 1 : min;
|
|
25781
25804
|
}
|
|
25782
25805
|
function createSupportsColor(stream2, options = {}) {
|
|
25783
25806
|
let level = _supportsColor(stream2, {
|
|
@@ -26119,19 +26142,19 @@ init_cjs_shims();
|
|
|
26119
26142
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/render.js
|
|
26120
26143
|
init_cjs_shims();
|
|
26121
26144
|
import { Stream } from "node:stream";
|
|
26122
|
-
import
|
|
26145
|
+
import process18 from "node:process";
|
|
26123
26146
|
|
|
26124
26147
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/ink.js
|
|
26125
26148
|
init_cjs_shims();
|
|
26126
26149
|
var import_react10 = __toESM(require_react(), 1), import_throttle = __toESM(require_throttle(), 1);
|
|
26127
|
-
import
|
|
26150
|
+
import process17 from "node:process";
|
|
26128
26151
|
|
|
26129
26152
|
// ../../node_modules/.pnpm/ansi-escapes@6.2.0/node_modules/ansi-escapes/index.js
|
|
26130
26153
|
init_cjs_shims();
|
|
26131
|
-
import
|
|
26132
|
-
var ESC2 = "\x1B[", OSC2 = "\x1B]", BEL2 = "\x07", SEP2 = ";", isBrowser = typeof window < "u" && typeof window.document < "u", isTerminalApp2 = !isBrowser &&
|
|
26154
|
+
import process9 from "node:process";
|
|
26155
|
+
var ESC2 = "\x1B[", OSC2 = "\x1B]", BEL2 = "\x07", SEP2 = ";", isBrowser = typeof window < "u" && typeof window.document < "u", isTerminalApp2 = !isBrowser && process9.env.TERM_PROGRAM === "Apple_Terminal", isWindows = !isBrowser && process9.platform === "win32", cwdFunction = isBrowser ? () => {
|
|
26133
26156
|
throw new Error("`process.cwd()` only works in Node.js, not the browser.");
|
|
26134
|
-
} :
|
|
26157
|
+
} : process9.cwd, ansiEscapes2 = {};
|
|
26135
26158
|
ansiEscapes2.cursorTo = (x, y) => {
|
|
26136
26159
|
if (typeof x != "number")
|
|
26137
26160
|
throw new TypeError("The `x` argument is required");
|
|
@@ -27219,7 +27242,7 @@ var Yoga = await initYoga(await E(_(import.meta.url).resolve("./yoga.wasm")));
|
|
|
27219
27242
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/reconciler.js
|
|
27220
27243
|
init_cjs_shims();
|
|
27221
27244
|
var import_react_reconciler = __toESM(require_react_reconciler(), 1), import_constants4 = __toESM(require_constants(), 1);
|
|
27222
|
-
import
|
|
27245
|
+
import process10 from "node:process";
|
|
27223
27246
|
|
|
27224
27247
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/dom.js
|
|
27225
27248
|
init_cjs_shims();
|
|
@@ -27763,7 +27786,7 @@ var applyPositionStyles = (node, style) => {
|
|
|
27763
27786
|
}, styles_default = styles4;
|
|
27764
27787
|
|
|
27765
27788
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/reconciler.js
|
|
27766
|
-
if (
|
|
27789
|
+
if (process10.env.DEV === "true")
|
|
27767
27790
|
try {
|
|
27768
27791
|
await import("./devtools-KYKGATNX.js");
|
|
27769
27792
|
} catch (error) {
|
|
@@ -28422,24 +28445,24 @@ init_cjs_shims();
|
|
|
28422
28445
|
|
|
28423
28446
|
// ../../node_modules/.pnpm/cli-cursor@4.0.0/node_modules/cli-cursor/index.js
|
|
28424
28447
|
init_cjs_shims();
|
|
28425
|
-
import
|
|
28448
|
+
import process12 from "node:process";
|
|
28426
28449
|
|
|
28427
28450
|
// ../../node_modules/.pnpm/restore-cursor@4.0.0/node_modules/restore-cursor/index.js
|
|
28428
28451
|
init_cjs_shims();
|
|
28429
28452
|
var import_onetime2 = __toESM(require_onetime(), 1), import_signal_exit2 = __toESM(require_signal_exit(), 1);
|
|
28430
|
-
import
|
|
28453
|
+
import process11 from "node:process";
|
|
28431
28454
|
var restoreCursor = (0, import_onetime2.default)(() => {
|
|
28432
28455
|
(0, import_signal_exit2.default)(() => {
|
|
28433
|
-
|
|
28456
|
+
process11.stderr.write("\x1B[?25h");
|
|
28434
28457
|
}, { alwaysLast: !0 });
|
|
28435
28458
|
}), restore_cursor_default = restoreCursor;
|
|
28436
28459
|
|
|
28437
28460
|
// ../../node_modules/.pnpm/cli-cursor@4.0.0/node_modules/cli-cursor/index.js
|
|
28438
28461
|
var isHidden = !1, cliCursor = {};
|
|
28439
|
-
cliCursor.show = (writableStream =
|
|
28462
|
+
cliCursor.show = (writableStream = process12.stderr) => {
|
|
28440
28463
|
writableStream.isTTY && (isHidden = !1, writableStream.write("\x1B[?25h"));
|
|
28441
28464
|
};
|
|
28442
|
-
cliCursor.hide = (writableStream =
|
|
28465
|
+
cliCursor.hide = (writableStream = process12.stderr) => {
|
|
28443
28466
|
writableStream.isTTY && (restore_cursor_default(), isHidden = !0, writableStream.write("\x1B[?25l"));
|
|
28444
28467
|
};
|
|
28445
28468
|
cliCursor.toggle = (force, writableStream) => {
|
|
@@ -28471,7 +28494,7 @@ var instances = /* @__PURE__ */ new WeakMap(), instances_default = instances;
|
|
|
28471
28494
|
init_cjs_shims();
|
|
28472
28495
|
var import_react9 = __toESM(require_react(), 1);
|
|
28473
28496
|
import { EventEmitter as EventEmitter2 } from "node:events";
|
|
28474
|
-
import
|
|
28497
|
+
import process16 from "node:process";
|
|
28475
28498
|
|
|
28476
28499
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/components/AppContext.js
|
|
28477
28500
|
init_cjs_shims();
|
|
@@ -28486,9 +28509,9 @@ var AppContext_default = AppContext;
|
|
|
28486
28509
|
init_cjs_shims();
|
|
28487
28510
|
var import_react2 = __toESM(require_react(), 1);
|
|
28488
28511
|
import { EventEmitter } from "node:events";
|
|
28489
|
-
import
|
|
28512
|
+
import process13 from "node:process";
|
|
28490
28513
|
var StdinContext = (0, import_react2.createContext)({
|
|
28491
|
-
stdin:
|
|
28514
|
+
stdin: process13.stdin,
|
|
28492
28515
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
28493
28516
|
internal_eventEmitter: new EventEmitter(),
|
|
28494
28517
|
setRawMode() {
|
|
@@ -28503,9 +28526,9 @@ var StdinContext_default = StdinContext;
|
|
|
28503
28526
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/components/StdoutContext.js
|
|
28504
28527
|
init_cjs_shims();
|
|
28505
28528
|
var import_react3 = __toESM(require_react(), 1);
|
|
28506
|
-
import
|
|
28529
|
+
import process14 from "node:process";
|
|
28507
28530
|
var StdoutContext = (0, import_react3.createContext)({
|
|
28508
|
-
stdout:
|
|
28531
|
+
stdout: process14.stdout,
|
|
28509
28532
|
write() {
|
|
28510
28533
|
}
|
|
28511
28534
|
});
|
|
@@ -28515,9 +28538,9 @@ var StdoutContext_default = StdoutContext;
|
|
|
28515
28538
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/components/StderrContext.js
|
|
28516
28539
|
init_cjs_shims();
|
|
28517
28540
|
var import_react4 = __toESM(require_react(), 1);
|
|
28518
|
-
import
|
|
28541
|
+
import process15 from "node:process";
|
|
28519
28542
|
var StderrContext = (0, import_react4.createContext)({
|
|
28520
|
-
stderr:
|
|
28543
|
+
stderr: process15.stderr,
|
|
28521
28544
|
write() {
|
|
28522
28545
|
}
|
|
28523
28546
|
});
|
|
@@ -28607,7 +28630,7 @@ function Text({ color, backgroundColor, dimColor = !1, bold = !1, italic = !1, u
|
|
|
28607
28630
|
}
|
|
28608
28631
|
|
|
28609
28632
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/components/ErrorOverview.js
|
|
28610
|
-
var cleanupPath = (
|
|
28633
|
+
var cleanupPath = (path8) => path8?.replace(`file://${cwd2()}/`, ""), stackUtils = new import_stack_utils.default({
|
|
28611
28634
|
cwd: cwd2(),
|
|
28612
28635
|
internals: import_stack_utils.default.nodeInternals()
|
|
28613
28636
|
});
|
|
@@ -28728,7 +28751,7 @@ var tab = " ", shiftTab = "\x1B[Z", escape2 = "\x1B", App = class extends import
|
|
|
28728
28751
|
value: (isEnabled) => {
|
|
28729
28752
|
let { stdin } = this.props;
|
|
28730
28753
|
if (!this.isRawModeSupported())
|
|
28731
|
-
throw stdin ===
|
|
28754
|
+
throw stdin === process16.stdin ? new Error(`Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
|
|
28732
28755
|
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`) : new Error(`Raw mode is not supported on the stdin provided to Ink.
|
|
28733
28756
|
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);
|
|
28734
28757
|
if (stdin.setEncoding("utf8"), isEnabled) {
|
|
@@ -28981,7 +29004,7 @@ Object.defineProperty(App, "displayName", {
|
|
|
28981
29004
|
});
|
|
28982
29005
|
|
|
28983
29006
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/ink.js
|
|
28984
|
-
var isCi =
|
|
29007
|
+
var isCi = process17.env.CI === "false" ? !1 : import_is_ci.default, noop = () => {
|
|
28985
29008
|
}, Ink = class {
|
|
28986
29009
|
constructor(options) {
|
|
28987
29010
|
Object.defineProperty(this, "options", {
|
|
@@ -29112,7 +29135,7 @@ var isCi = process16.env.CI === "false" ? !1 : import_is_ci.default, noop = () =
|
|
|
29112
29135
|
() => {
|
|
29113
29136
|
},
|
|
29114
29137
|
null
|
|
29115
|
-
), this.unsubscribeExit = (0, import_signal_exit3.default)(this.unmount, { alwaysLast: !1 }),
|
|
29138
|
+
), this.unsubscribeExit = (0, import_signal_exit3.default)(this.unmount, { alwaysLast: !1 }), process17.env.DEV === "true" && reconciler_default.injectIntoDevTools({
|
|
29116
29139
|
bundleType: 0,
|
|
29117
29140
|
// Reporting React DOM's version, not Ink's
|
|
29118
29141
|
// See https://github.com/facebook/react/issues/16666#issuecomment-532639905
|
|
@@ -29175,9 +29198,9 @@ var isCi = process16.env.CI === "false" ? !1 : import_is_ci.default, noop = () =
|
|
|
29175
29198
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/render.js
|
|
29176
29199
|
var render = (node, options) => {
|
|
29177
29200
|
let inkOptions = {
|
|
29178
|
-
stdout:
|
|
29179
|
-
stdin:
|
|
29180
|
-
stderr:
|
|
29201
|
+
stdout: process18.stdout,
|
|
29202
|
+
stdin: process18.stdin,
|
|
29203
|
+
stderr: process18.stderr,
|
|
29181
29204
|
debug: !1,
|
|
29182
29205
|
exitOnCtrlC: !0,
|
|
29183
29206
|
patchConsole: !0,
|
|
@@ -29194,7 +29217,7 @@ var render = (node, options) => {
|
|
|
29194
29217
|
};
|
|
29195
29218
|
}, render_default = render, getOptions = (stdout = {}) => stdout instanceof Stream ? {
|
|
29196
29219
|
stdout,
|
|
29197
|
-
stdin:
|
|
29220
|
+
stdin: process18.stdin
|
|
29198
29221
|
} : stdout, getInstance = (stdout, createInstance) => {
|
|
29199
29222
|
let instance2 = instances_default.get(stdout);
|
|
29200
29223
|
return instance2 || (instance2 = createInstance(), instances_default.set(stdout, instance2)), instance2;
|
|
@@ -29483,6 +29506,8 @@ var import_react24 = __toESM(require_react(), 1);
|
|
|
29483
29506
|
var import_supports_hyperlinks2 = __toESM(require_supports_hyperlinks(), 1);
|
|
29484
29507
|
function link(label, url, linksContext) {
|
|
29485
29508
|
if (!import_supports_hyperlinks2.default.stdout) {
|
|
29509
|
+
if (url === (label ?? url))
|
|
29510
|
+
return url;
|
|
29486
29511
|
if (linksContext === null)
|
|
29487
29512
|
return label ? `${label} ${source_default.dim(`( ${url} )`)}` : url;
|
|
29488
29513
|
let linkId = linksContext.addLink(label, url);
|
|
@@ -29780,8 +29805,8 @@ function consoleError(message) {
|
|
|
29780
29805
|
function consoleWarn(message) {
|
|
29781
29806
|
console.warn(withOrWithoutStyle(message));
|
|
29782
29807
|
}
|
|
29783
|
-
function outputWhereAppropriate(logLevel, logger, message
|
|
29784
|
-
shouldOutput(logLevel) && (logger instanceof Writable ? logger.write(message) : logger(message, logLevel)
|
|
29808
|
+
function outputWhereAppropriate(logLevel, logger, message) {
|
|
29809
|
+
shouldOutput(logLevel) && (logger instanceof Writable ? logger.write(message) : logger(message, logLevel));
|
|
29785
29810
|
}
|
|
29786
29811
|
function withOrWithoutStyle(message) {
|
|
29787
29812
|
return shouldDisplayColors() ? message : unstyled(message);
|
|
@@ -29790,8 +29815,8 @@ function unstyled(message) {
|
|
|
29790
29815
|
return stripAnsi(message);
|
|
29791
29816
|
}
|
|
29792
29817
|
function shouldDisplayColors(_process = process) {
|
|
29793
|
-
let { env:
|
|
29794
|
-
return Object.hasOwnProperty.call(
|
|
29818
|
+
let { env: env3, stdout } = _process;
|
|
29819
|
+
return Object.hasOwnProperty.call(env3, "FORCE_COLOR") ? isTruthy(env3.FORCE_COLOR) : !!stdout.isTTY;
|
|
29795
29820
|
}
|
|
29796
29821
|
function formatSection(title, body) {
|
|
29797
29822
|
let formattedTitle = `${title.toUpperCase()}${" ".repeat(35 - title.length)}`;
|
|
@@ -29869,7 +29894,7 @@ function shouldReportErrorAsUnexpected(error) {
|
|
|
29869
29894
|
if (!isFatal(error)) {
|
|
29870
29895
|
if (error instanceof Error) {
|
|
29871
29896
|
let message = error.message;
|
|
29872
|
-
return !errorMessageImpliesEnvironmentIssue(message
|
|
29897
|
+
return !errorMessageImpliesEnvironmentIssue(message);
|
|
29873
29898
|
}
|
|
29874
29899
|
return !0;
|
|
29875
29900
|
}
|
|
@@ -29878,25 +29903,18 @@ function shouldReportErrorAsUnexpected(error) {
|
|
|
29878
29903
|
function cleanSingleStackTracePath(filePath) {
|
|
29879
29904
|
return normalizePath(filePath).replace("file:/", "/").replace(/^\/?[A-Z]:/, "");
|
|
29880
29905
|
}
|
|
29881
|
-
function errorMessageImpliesEnvironmentIssue(message
|
|
29906
|
+
function errorMessageImpliesEnvironmentIssue(message) {
|
|
29882
29907
|
return [
|
|
29883
29908
|
"EPERM: operation not permitted, scandir",
|
|
29884
29909
|
"EACCES: permission denied",
|
|
29885
29910
|
"EPERM: operation not permitted, symlink",
|
|
29886
29911
|
"This version of npm supports the following node versions",
|
|
29887
|
-
"EBUSY: resource busy or locked",
|
|
29912
|
+
"EBUSY: resource busy or locked, rmdir",
|
|
29888
29913
|
"getaddrinfo ENOTFOUND",
|
|
29889
29914
|
"Client network socket disconnected before secure TLS connection was established",
|
|
29890
29915
|
"spawn EPERM",
|
|
29891
|
-
"socket hang up"
|
|
29892
|
-
|
|
29893
|
-
["Maximum call stack size exceeded", /stubborn-fs.*retryify/]
|
|
29894
|
-
].some((issueMessage) => {
|
|
29895
|
-
if (typeof issueMessage == "string")
|
|
29896
|
-
return message.includes(issueMessage);
|
|
29897
|
-
let [messageCheck, stackCheck] = issueMessage;
|
|
29898
|
-
return message.includes(messageCheck) && stackCheck.test(stack);
|
|
29899
|
-
});
|
|
29916
|
+
"socket hang up"
|
|
29917
|
+
].some((issueMessage) => message.includes(issueMessage));
|
|
29900
29918
|
}
|
|
29901
29919
|
|
|
29902
29920
|
// ../cli-kit/dist/public/node/abort.js
|
|
@@ -29932,7 +29950,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
29932
29950
|
try {
|
|
29933
29951
|
await getAndSet();
|
|
29934
29952
|
} catch (error) {
|
|
29935
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
29953
|
+
let { sendErrorToBugsnag } = await import("./error-handler-GSXEX5NX.js");
|
|
29936
29954
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
29937
29955
|
}
|
|
29938
29956
|
}, durationStack = [];
|
|
@@ -29973,20 +29991,20 @@ var import_react30 = __toESM(require_react(), 1);
|
|
|
29973
29991
|
|
|
29974
29992
|
// ../../node_modules/.pnpm/figures@5.0.0/node_modules/figures/index.js
|
|
29975
29993
|
init_cjs_shims();
|
|
29976
|
-
import
|
|
29994
|
+
import process20 from "node:process";
|
|
29977
29995
|
|
|
29978
29996
|
// ../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
29979
29997
|
init_cjs_shims();
|
|
29980
29998
|
|
|
29981
29999
|
// ../../node_modules/.pnpm/is-unicode-supported@1.3.0/node_modules/is-unicode-supported/index.js
|
|
29982
30000
|
init_cjs_shims();
|
|
29983
|
-
import
|
|
30001
|
+
import process19 from "node:process";
|
|
29984
30002
|
function isUnicodeSupported() {
|
|
29985
|
-
return
|
|
30003
|
+
return process19.platform !== "win32" ? process19.env.TERM !== "linux" : !!process19.env.CI || !!process19.env.WT_SESSION || !!process19.env.TERMINUS_SUBLIME || process19.env.ConEmuTask === "{cmd::Cmder}" || process19.env.TERM_PROGRAM === "Terminus-Sublime" || process19.env.TERM_PROGRAM === "vscode" || process19.env.TERM === "xterm-256color" || process19.env.TERM === "alacritty" || process19.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
29986
30004
|
}
|
|
29987
30005
|
|
|
29988
30006
|
// ../../node_modules/.pnpm/figures@5.0.0/node_modules/figures/index.js
|
|
29989
|
-
var { platform } =
|
|
30007
|
+
var { platform } = process20, common = {
|
|
29990
30008
|
square: "\u2588",
|
|
29991
30009
|
squareDarkShade: "\u2593",
|
|
29992
30010
|
squareMediumShade: "\u2592",
|
|
@@ -30277,9 +30295,9 @@ var outputContextStore = new AsyncLocalStorage();
|
|
|
30277
30295
|
function useConcurrentOutputContext(context, callback) {
|
|
30278
30296
|
return outputContextStore.run(context, callback);
|
|
30279
30297
|
}
|
|
30280
|
-
var ConcurrentOutput = ({ processes, prefixColumnSize, abortSignal, showTimestamps = !0, keepRunningAfterProcessesResolve = !1 }) => {
|
|
30281
|
-
let [processOutput, setProcessOutput] = (0, import_react30.useState)([]), { exit: unmountInk } = use_app_default(), concurrentColors = (0, import_react30.useMemo)(() => ["yellow", "cyan", "magenta", "green", "blue"], []), calculatedPrefixColumnSize = (0, import_react30.useMemo)(() => {
|
|
30282
|
-
let columnSize = prefixColumnSize ?? processes.reduce((maxPrefixLength,
|
|
30298
|
+
var ConcurrentOutput = ({ processes, prefixColumnSize, abortSignal, showTimestamps = !0, keepRunningAfterProcessesResolve = !1, useAlternativeColorPalette = !1 }) => {
|
|
30299
|
+
let [processOutput, setProcessOutput] = (0, import_react30.useState)([]), { exit: unmountInk } = use_app_default(), concurrentColors = (0, import_react30.useMemo)(() => useAlternativeColorPalette ? ["#b994c3", "#e69e19", "#d17a73", "cyan", "magenta", "blue"] : ["yellow", "cyan", "magenta", "green", "blue"], [useAlternativeColorPalette]), calculatedPrefixColumnSize = (0, import_react30.useMemo)(() => {
|
|
30300
|
+
let columnSize = prefixColumnSize ?? processes.reduce((maxPrefixLength, process21) => Math.max(maxPrefixLength, process21.prefix.length), 0);
|
|
30283
30301
|
return Math.min(columnSize, 25);
|
|
30284
30302
|
}, [processes, prefixColumnSize]), addPrefix = (prefix, prefixes) => {
|
|
30285
30303
|
let index = prefixes.indexOf(prefix);
|
|
@@ -30287,11 +30305,10 @@ var ConcurrentOutput = ({ processes, prefixColumnSize, abortSignal, showTimestam
|
|
|
30287
30305
|
}, lineColor = (0, import_react30.useCallback)((index) => {
|
|
30288
30306
|
let colorIndex = index % concurrentColors.length;
|
|
30289
30307
|
return concurrentColors[colorIndex];
|
|
30290
|
-
}, [concurrentColors]), writableStream = (0, import_react30.useCallback)((
|
|
30308
|
+
}, [concurrentColors]), writableStream = (0, import_react30.useCallback)((process21, prefixes) => new Writable2({
|
|
30291
30309
|
write(chunk, _encoding, next) {
|
|
30292
|
-
let context = outputContextStore.getStore(), prefix = context?.outputPrefix ??
|
|
30293
|
-
|
|
30294
|
-
`) }), setProcessOutput((previousProcessOutput) => [
|
|
30310
|
+
let context = outputContextStore.getStore(), prefix = context?.outputPrefix ?? process21.prefix, shouldStripAnsi = context?.stripAnsi ?? !0, log = chunk.toString("utf8").replace(/(\n)$/, ""), index = addPrefix(prefix, prefixes), lines = shouldStripAnsi ? stripAnsi(log).split(/\n/) : log.split(/\n/);
|
|
30311
|
+
setProcessOutput((previousProcessOutput) => [
|
|
30295
30312
|
...previousProcessOutput,
|
|
30296
30313
|
{
|
|
30297
30314
|
color: lineColor(index),
|
|
@@ -30305,9 +30322,9 @@ var ConcurrentOutput = ({ processes, prefixColumnSize, abortSignal, showTimestam
|
|
|
30305
30322
|
(async () => {
|
|
30306
30323
|
let prefixes = [];
|
|
30307
30324
|
try {
|
|
30308
|
-
await Promise.all(processes.map(async (
|
|
30309
|
-
let stdout = writableStream(
|
|
30310
|
-
await
|
|
30325
|
+
await Promise.all(processes.map(async (process21) => {
|
|
30326
|
+
let stdout = writableStream(process21, prefixes), stderr = writableStream(process21, prefixes);
|
|
30327
|
+
await process21.action(stdout, stderr, abortSignal);
|
|
30311
30328
|
})), keepRunningAfterProcessesResolve || unmountInk();
|
|
30312
30329
|
} catch (error) {
|
|
30313
30330
|
keepRunningAfterProcessesResolve || unmountInk(error);
|
|
@@ -30347,7 +30364,7 @@ init_cjs_shims();
|
|
|
30347
30364
|
import { EventEmitter as EventEmitter3 } from "events";
|
|
30348
30365
|
function renderOnce(element, { logLevel = "info", logger = consoleLog, renderOptions }) {
|
|
30349
30366
|
let { output, unmount } = renderString(element, renderOptions);
|
|
30350
|
-
return output && (isUnitTest() && collectLog(logLevel, output), outputWhereAppropriate(logLevel, logger, output
|
|
30367
|
+
return output && (isUnitTest() && collectLog(logLevel, output), outputWhereAppropriate(logLevel, logger, output)), unmount(), output;
|
|
30351
30368
|
}
|
|
30352
30369
|
async function render2(element, options) {
|
|
30353
30370
|
let { waitUntilExit } = render_default(element, options);
|
|
@@ -30512,8 +30529,8 @@ var import_react34 = __toESM(require_react(), 1), typeToLogLevel = {
|
|
|
30512
30529
|
error: consoleError
|
|
30513
30530
|
};
|
|
30514
30531
|
function alert({ type, headline, body, nextSteps, reference, link: link2, customSections, orderedNextSteps = !1, renderOptions }) {
|
|
30515
|
-
let { type: alertType, ...
|
|
30516
|
-
return
|
|
30532
|
+
let { type: alertType, ..._eventProps } = arguments[0];
|
|
30533
|
+
return renderOnce(import_react34.default.createElement(Alert, { type, headline, body, nextSteps, reference, link: link2, orderedNextSteps, customSections }), { logLevel: typeToLogLevel[type], logger: typeToLogger[type], renderOptions });
|
|
30517
30534
|
}
|
|
30518
30535
|
|
|
30519
30536
|
// ../cli-kit/dist/private/node/ui/components/FatalError.js
|
|
@@ -31449,28 +31466,21 @@ function renderError(options) {
|
|
|
31449
31466
|
return alert({ ...options, type: "error" });
|
|
31450
31467
|
}
|
|
31451
31468
|
function renderFatalError(error, { renderOptions } = {}) {
|
|
31452
|
-
return
|
|
31453
|
-
type: "fatalError",
|
|
31454
|
-
properties: { ...error, errorType: error.type === FatalErrorType.Bug ? "bug" : "abort" }
|
|
31455
|
-
}), renderOnce(import_react54.default.createElement(FatalError2, { error }), { logLevel: "error", logger: consoleError, renderOptions });
|
|
31469
|
+
return renderOnce(import_react54.default.createElement(FatalError2, { error }), { logLevel: "error", logger: consoleError, renderOptions });
|
|
31456
31470
|
}
|
|
31457
31471
|
async function renderSelectPrompt({ renderOptions, isConfirmationPrompt, ...props }, uiDebugOptions = defaultUIDebugOptions) {
|
|
31458
|
-
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions),
|
|
31472
|
+
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions), runWithTimer("cmd_all_timing_prompts_ms")(async () => {
|
|
31459
31473
|
let selectedValue;
|
|
31460
|
-
|
|
31461
|
-
|
|
31462
|
-
|
|
31463
|
-
|
|
31464
|
-
|
|
31465
|
-
|
|
31466
|
-
}), selectedValue;
|
|
31467
|
-
} finally {
|
|
31468
|
-
resetRecordedSleep();
|
|
31469
|
-
}
|
|
31474
|
+
return await render2(import_react54.default.createElement(SelectPrompt, { ...props, onSubmit: (value) => {
|
|
31475
|
+
selectedValue = value;
|
|
31476
|
+
} }), {
|
|
31477
|
+
...renderOptions,
|
|
31478
|
+
exitOnCtrlC: !1
|
|
31479
|
+
}), selectedValue;
|
|
31470
31480
|
});
|
|
31471
31481
|
}
|
|
31472
31482
|
async function renderConfirmationPrompt({ message, infoTable, confirmationMessage = "Yes, confirm", cancellationMessage = "No, cancel", renderOptions, defaultValue = !0, abortSignal, infoMessage }) {
|
|
31473
|
-
return
|
|
31483
|
+
return renderSelectPrompt({
|
|
31474
31484
|
choices: [
|
|
31475
31485
|
{
|
|
31476
31486
|
label: confirmationMessage,
|
|
@@ -31493,7 +31503,7 @@ async function renderConfirmationPrompt({ message, infoTable, confirmationMessag
|
|
|
31493
31503
|
});
|
|
31494
31504
|
}
|
|
31495
31505
|
async function renderAutocompletePrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
|
|
31496
|
-
throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions)
|
|
31506
|
+
throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions);
|
|
31497
31507
|
let newProps = {
|
|
31498
31508
|
search(term) {
|
|
31499
31509
|
let lowerTerm = term.toLowerCase();
|
|
@@ -31505,66 +31515,46 @@ async function renderAutocompletePrompt({ renderOptions, ...props }, uiDebugOpti
|
|
|
31505
31515
|
};
|
|
31506
31516
|
return runWithTimer("cmd_all_timing_prompts_ms")(async () => {
|
|
31507
31517
|
let selectedValue;
|
|
31508
|
-
|
|
31509
|
-
|
|
31510
|
-
|
|
31511
|
-
|
|
31512
|
-
|
|
31513
|
-
|
|
31514
|
-
}), selectedValue;
|
|
31515
|
-
} finally {
|
|
31516
|
-
resetRecordedSleep();
|
|
31517
|
-
}
|
|
31518
|
+
return await render2(import_react54.default.createElement(AutocompletePrompt, { ...newProps, onSubmit: (value) => {
|
|
31519
|
+
selectedValue = value;
|
|
31520
|
+
} }), {
|
|
31521
|
+
...renderOptions,
|
|
31522
|
+
exitOnCtrlC: !1
|
|
31523
|
+
}), selectedValue;
|
|
31518
31524
|
});
|
|
31519
31525
|
}
|
|
31520
31526
|
function renderTable({ renderOptions, ...props }) {
|
|
31521
|
-
return
|
|
31527
|
+
return renderOnce(import_react54.default.createElement(Table, { ...props }), { renderOptions });
|
|
31522
31528
|
}
|
|
31523
31529
|
async function renderTasks(tasks, { renderOptions } = {}) {
|
|
31524
|
-
return
|
|
31525
|
-
type: "taskbar",
|
|
31526
|
-
properties: {
|
|
31527
|
-
// Rather than timing exactly, pretend each step takes 2 seconds. This
|
|
31528
|
-
// should be easy to tweak manually.
|
|
31529
|
-
steps: tasks.map((task) => ({ title: task.title, duration: 2 }))
|
|
31530
|
-
}
|
|
31531
|
-
}), new Promise((resolve, reject) => {
|
|
31530
|
+
return new Promise((resolve, reject) => {
|
|
31532
31531
|
render2(import_react54.default.createElement(Tasks, { tasks, onComplete: resolve }), {
|
|
31533
31532
|
...renderOptions,
|
|
31534
31533
|
exitOnCtrlC: !1
|
|
31535
31534
|
}).then(() => {
|
|
31536
|
-
resetRecordedSleep();
|
|
31537
31535
|
}).catch(reject);
|
|
31538
31536
|
});
|
|
31539
31537
|
}
|
|
31540
31538
|
async function renderTextPrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
|
|
31541
|
-
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions),
|
|
31539
|
+
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions), runWithTimer("cmd_all_timing_prompts_ms")(async () => {
|
|
31542
31540
|
let enteredText = "";
|
|
31543
|
-
|
|
31544
|
-
|
|
31545
|
-
|
|
31546
|
-
|
|
31547
|
-
|
|
31548
|
-
|
|
31549
|
-
}), enteredText;
|
|
31550
|
-
} finally {
|
|
31551
|
-
resetRecordedSleep();
|
|
31552
|
-
}
|
|
31541
|
+
return await render2(import_react54.default.createElement(TextPrompt, { ...props, onSubmit: (value) => {
|
|
31542
|
+
enteredText = value;
|
|
31543
|
+
} }), {
|
|
31544
|
+
...renderOptions,
|
|
31545
|
+
exitOnCtrlC: !1
|
|
31546
|
+
}), enteredText;
|
|
31553
31547
|
});
|
|
31554
31548
|
}
|
|
31555
31549
|
async function renderDangerousConfirmationPrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
|
|
31556
|
-
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions),
|
|
31550
|
+
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions), runWithTimer("cmd_all_timing_prompts_ms")(async () => {
|
|
31557
31551
|
let confirmed;
|
|
31558
|
-
|
|
31559
|
-
|
|
31560
|
-
|
|
31561
|
-
|
|
31562
|
-
|
|
31563
|
-
|
|
31564
|
-
}), confirmed;
|
|
31565
|
-
} finally {
|
|
31566
|
-
resetRecordedSleep();
|
|
31567
|
-
}
|
|
31552
|
+
return await render2(import_react54.default.createElement(DangerousConfirmationPrompt, { ...props, onSubmit: (value) => {
|
|
31553
|
+
confirmed = value;
|
|
31554
|
+
} }), {
|
|
31555
|
+
...renderOptions,
|
|
31556
|
+
exitOnCtrlC: !1
|
|
31557
|
+
}), confirmed;
|
|
31568
31558
|
});
|
|
31569
31559
|
}
|
|
31570
31560
|
function renderText({ text, logLevel = "info", logger = consoleLog }) {
|
|
@@ -31597,8 +31587,35 @@ This usually happens when running a command non-interactively, for example in a
|
|
|
31597
31587
|
|
|
31598
31588
|
export {
|
|
31599
31589
|
isTruthy,
|
|
31600
|
-
|
|
31590
|
+
AbortController,
|
|
31591
|
+
AbortSignal,
|
|
31592
|
+
createRuntimeMetadataContainer,
|
|
31593
|
+
getAllPublicMetadata,
|
|
31594
|
+
getAllSensitiveMetadata,
|
|
31595
|
+
addPublicMetadata,
|
|
31596
|
+
addSensitiveMetadata,
|
|
31597
|
+
runWithTimer,
|
|
31598
|
+
require_react,
|
|
31601
31599
|
require_isObject,
|
|
31600
|
+
ansi_escapes_default2 as ansi_escapes_default,
|
|
31601
|
+
require_signal_exit,
|
|
31602
|
+
require_scheduler,
|
|
31603
|
+
stripAnsi,
|
|
31604
|
+
sliceAnsi,
|
|
31605
|
+
source_default,
|
|
31606
|
+
Box_default,
|
|
31607
|
+
Text,
|
|
31608
|
+
Static,
|
|
31609
|
+
use_stdin_default,
|
|
31610
|
+
use_input_default,
|
|
31611
|
+
figures_default,
|
|
31612
|
+
useConcurrentOutputContext,
|
|
31613
|
+
ConcurrentOutput,
|
|
31614
|
+
treeKill,
|
|
31615
|
+
render2 as render,
|
|
31616
|
+
handleCtrlC,
|
|
31617
|
+
require_stacktracey,
|
|
31618
|
+
require_eq,
|
|
31602
31619
|
require_mapToArray,
|
|
31603
31620
|
require_arrayPush,
|
|
31604
31621
|
require_isArray,
|
|
@@ -31651,69 +31668,10 @@ export {
|
|
|
31651
31668
|
joinWithAnd,
|
|
31652
31669
|
pascalize,
|
|
31653
31670
|
normalizeDelimitedString,
|
|
31654
|
-
temporaryDirectory,
|
|
31655
|
-
inTemporaryDirectory,
|
|
31656
|
-
readFile,
|
|
31657
|
-
readFileSync,
|
|
31658
|
-
fileRealPath,
|
|
31659
|
-
copyFile,
|
|
31660
|
-
touchFile,
|
|
31661
|
-
appendFile,
|
|
31662
|
-
writeFile,
|
|
31663
|
-
writeFileSync,
|
|
31664
|
-
mkdir,
|
|
31665
|
-
mkdirSync,
|
|
31666
|
-
removeFile,
|
|
31667
|
-
renameFile,
|
|
31668
|
-
rmdir,
|
|
31669
|
-
isDirectory,
|
|
31670
|
-
fileSize,
|
|
31671
|
-
fileSizeSync,
|
|
31672
|
-
unlinkFileSync,
|
|
31673
|
-
createFileReadStream,
|
|
31674
|
-
createFileWriteStream,
|
|
31675
|
-
fileLastUpdatedTimestamp,
|
|
31676
|
-
moveFile,
|
|
31677
|
-
chmod,
|
|
31678
|
-
fileHasExecutablePermissions,
|
|
31679
|
-
fileExists,
|
|
31680
|
-
fileExistsSync,
|
|
31681
|
-
generateRandomNameForSubdirectory,
|
|
31682
|
-
glob,
|
|
31683
|
-
findPathUp,
|
|
31684
|
-
matchGlob,
|
|
31685
|
-
AbortController,
|
|
31686
|
-
AbortSignal,
|
|
31687
|
-
createRuntimeMetadataContainer,
|
|
31688
|
-
getAllPublicMetadata,
|
|
31689
|
-
getAllSensitiveMetadata,
|
|
31690
|
-
addPublicMetadata,
|
|
31691
|
-
addSensitiveMetadata,
|
|
31692
|
-
runWithTimer,
|
|
31693
|
-
initDemoRecorder,
|
|
31694
|
-
printEventsJson,
|
|
31695
|
-
require_react,
|
|
31696
|
-
ansi_escapes_default2 as ansi_escapes_default,
|
|
31697
|
-
require_signal_exit,
|
|
31698
|
-
require_scheduler,
|
|
31699
|
-
stripAnsi,
|
|
31700
|
-
sliceAnsi,
|
|
31701
|
-
source_default,
|
|
31702
|
-
Box_default,
|
|
31703
|
-
Text,
|
|
31704
|
-
Static,
|
|
31705
|
-
use_stdin_default,
|
|
31706
|
-
use_input_default,
|
|
31707
|
-
figures_default,
|
|
31708
|
-
useConcurrentOutputContext,
|
|
31709
|
-
ConcurrentOutput,
|
|
31710
|
-
treeKill,
|
|
31711
|
-
render2 as render,
|
|
31712
|
-
handleCtrlC,
|
|
31713
|
-
require_stacktracey,
|
|
31714
31671
|
useAbortSignal,
|
|
31715
31672
|
require_baseForOwn,
|
|
31716
31673
|
require_baseEach,
|
|
31674
|
+
debounce,
|
|
31717
31675
|
renderConcurrent,
|
|
31718
31676
|
renderInfo,
|
|
31719
31677
|
renderSuccess,
|
|
@@ -31750,6 +31708,68 @@ export {
|
|
|
31750
31708
|
exec2 as exec,
|
|
31751
31709
|
sleep,
|
|
31752
31710
|
terminalSupportsPrompting,
|
|
31711
|
+
currentProcessIsGlobal,
|
|
31712
|
+
installGlobalShopifyCLI,
|
|
31713
|
+
installGlobalCLIPrompt,
|
|
31714
|
+
inferPackageManagerForGlobalCLI,
|
|
31715
|
+
outputToken,
|
|
31716
|
+
formatPackageManagerCommand,
|
|
31717
|
+
outputContent,
|
|
31718
|
+
collectedLogs,
|
|
31719
|
+
collectLog,
|
|
31720
|
+
clearCollectedLogs,
|
|
31721
|
+
outputInfo,
|
|
31722
|
+
outputSuccess,
|
|
31723
|
+
outputCompleted,
|
|
31724
|
+
outputDebug,
|
|
31725
|
+
outputWarn,
|
|
31726
|
+
outputNewline,
|
|
31727
|
+
stringifyMessage,
|
|
31728
|
+
itemToString,
|
|
31729
|
+
consoleLog,
|
|
31730
|
+
consoleError,
|
|
31731
|
+
consoleWarn,
|
|
31732
|
+
unstyled,
|
|
31733
|
+
formatSection,
|
|
31734
|
+
temporaryDirectory,
|
|
31735
|
+
inTemporaryDirectory,
|
|
31736
|
+
readFile,
|
|
31737
|
+
readFileSync,
|
|
31738
|
+
fileRealPath,
|
|
31739
|
+
copyFile,
|
|
31740
|
+
touchFile,
|
|
31741
|
+
appendFile,
|
|
31742
|
+
writeFile,
|
|
31743
|
+
writeFileSync,
|
|
31744
|
+
mkdir,
|
|
31745
|
+
mkdirSync,
|
|
31746
|
+
removeFile,
|
|
31747
|
+
renameFile,
|
|
31748
|
+
rmdir,
|
|
31749
|
+
isDirectory,
|
|
31750
|
+
fileSize,
|
|
31751
|
+
fileSizeSync,
|
|
31752
|
+
unlinkFileSync,
|
|
31753
|
+
createFileReadStream,
|
|
31754
|
+
createFileWriteStream,
|
|
31755
|
+
fileLastUpdatedTimestamp,
|
|
31756
|
+
moveFile,
|
|
31757
|
+
chmod,
|
|
31758
|
+
fileHasExecutablePermissions,
|
|
31759
|
+
fileExists,
|
|
31760
|
+
fileExistsSync,
|
|
31761
|
+
generateRandomNameForSubdirectory,
|
|
31762
|
+
glob,
|
|
31763
|
+
findPathUp,
|
|
31764
|
+
matchGlob,
|
|
31765
|
+
envPaths,
|
|
31766
|
+
logsFolder,
|
|
31767
|
+
environmentVariables,
|
|
31768
|
+
systemEnvironmentVariables,
|
|
31769
|
+
sessionConstants,
|
|
31770
|
+
bugsnagApiKey,
|
|
31771
|
+
reportingRateLimit,
|
|
31772
|
+
themeKitAccessDomain,
|
|
31753
31773
|
Environment,
|
|
31754
31774
|
serviceEnvironment,
|
|
31755
31775
|
spinFqdn,
|
|
@@ -31763,6 +31783,7 @@ export {
|
|
|
31763
31783
|
homeDirectory,
|
|
31764
31784
|
isDevelopment,
|
|
31765
31785
|
isVerbose,
|
|
31786
|
+
isAppManagementEnabled,
|
|
31766
31787
|
isShopify,
|
|
31767
31788
|
isUnitTest,
|
|
31768
31789
|
analyticsDisabled,
|
|
@@ -31780,30 +31801,7 @@ export {
|
|
|
31780
31801
|
hasGit,
|
|
31781
31802
|
ciPlatform,
|
|
31782
31803
|
macAddress,
|
|
31783
|
-
opentelemetryDomain
|
|
31784
|
-
currentProcessIsGlobal,
|
|
31785
|
-
installGlobalShopifyCLI,
|
|
31786
|
-
installGlobalCLIPrompt,
|
|
31787
|
-
inferPackageManagerForGlobalCLI,
|
|
31788
|
-
outputToken,
|
|
31789
|
-
formatPackageManagerCommand,
|
|
31790
|
-
outputContent,
|
|
31791
|
-
collectedLogs,
|
|
31792
|
-
collectLog,
|
|
31793
|
-
clearCollectedLogs,
|
|
31794
|
-
outputInfo,
|
|
31795
|
-
outputSuccess,
|
|
31796
|
-
outputCompleted,
|
|
31797
|
-
outputDebug,
|
|
31798
|
-
outputWarn,
|
|
31799
|
-
outputNewline,
|
|
31800
|
-
stringifyMessage,
|
|
31801
|
-
itemToString,
|
|
31802
|
-
consoleLog,
|
|
31803
|
-
consoleError,
|
|
31804
|
-
consoleWarn,
|
|
31805
|
-
unstyled,
|
|
31806
|
-
formatSection
|
|
31804
|
+
opentelemetryDomain
|
|
31807
31805
|
};
|
|
31808
31806
|
/*! Bundled license information:
|
|
31809
31807
|
|
|
@@ -31895,4 +31893,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31895
31893
|
* LICENSE file in the root directory of this source tree.
|
|
31896
31894
|
*)
|
|
31897
31895
|
*/
|
|
31898
|
-
//# sourceMappingURL=chunk-
|
|
31896
|
+
//# sourceMappingURL=chunk-5JZ5AGAQ.js.map
|