@shopify/cli 3.69.3 → 3.70.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/assets/hydrogen/starter/CHANGELOG.md +147 -0
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/root.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/[sitemap.xml].tsx +6 -166
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +2 -1
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +3 -1
- package/dist/assets/hydrogen/starter/app/routes/sitemap.$type.$page[.xml].tsx +24 -0
- package/dist/assets/hydrogen/starter/package.json +10 -10
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +11 -37
- package/dist/chunk-2PUMVRDO.js +131 -0
- package/dist/{chunk-WJCZFW37.js → chunk-335KXO4I.js} +12 -8
- package/dist/{chunk-MLSNFFTR.js → chunk-43YGIE7Y.js} +2 -2
- package/dist/chunk-47OJGAFT.js +28 -0
- package/dist/chunk-5OP2SA7G.js +3634 -0
- package/dist/{chunk-BZO3BX6M.js → chunk-5QQTRGJ7.js} +4 -4
- package/dist/{chunk-V5DOEDF4.js → chunk-7GNQ7YY4.js} +7 -7
- package/dist/{chunk-RTXVY32Y.js → chunk-AT4IG4GJ.js} +32 -216
- package/dist/{chunk-T65TTGOS.js → chunk-BMNDAI5O.js} +4 -4
- package/dist/{chunk-6XKWVDB6.js → chunk-CBBS4CV7.js} +3 -3
- package/dist/{chunk-27ILOE3X.js → chunk-CBD6UXLA.js} +8 -8
- package/dist/chunk-DVTWERMH.js +105 -0
- package/dist/{chunk-KNW6BL2Q.js → chunk-E2SYFYJU.js} +4 -4
- package/dist/{chunk-7D77RINN.js → chunk-FDJVVEGH.js} +17 -7
- package/dist/{chunk-65CKWSWQ.js → chunk-GDYKHT64.js} +2610 -6199
- package/dist/{chunk-NIFSDRC3.js → chunk-I3IIDOBX.js} +3 -3
- package/dist/{chunk-ZCYPTS6V.js → chunk-JLK5OMFF.js} +2 -2
- package/dist/{chunk-WHHRKJDE.js → chunk-KYBCPKPL.js} +3 -3
- package/dist/{chunk-AKHBZYBW.js → chunk-LN444KRM.js} +2 -2
- package/dist/chunk-MH5JSAVK.js +28 -0
- package/dist/{chunk-7GWY3FA4.js → chunk-MMQOVZDR.js} +6 -4
- package/dist/{chunk-RHX2I4MG.js → chunk-MQXHFQM3.js} +4 -4
- package/dist/{chunk-PO7KPJGR.js → chunk-MRDDDATQ.js} +3 -3
- package/dist/{chunk-UL6L7ZS3.js → chunk-N2DEYZD6.js} +3 -3
- package/dist/{chunk-WITDBDKW.js → chunk-N4X7XQWN.js} +2 -2
- package/dist/{chunk-AN5WQN4K.js → chunk-ND6AGPC6.js} +3 -3
- package/dist/{chunk-A3JXD7N7.js → chunk-NEOIQ6PN.js} +3 -3
- package/dist/{chunk-KGLQ4JD4.js → chunk-NH4U4X67.js} +3 -3
- package/dist/{chunk-AZKJLRVK.js → chunk-NYFXBTWK.js} +3 -3
- package/dist/{chunk-ERVB6ERU.js → chunk-OWLPHMUA.js} +3 -3
- package/dist/{chunk-Y54K4MPH.js → chunk-P6ABWRKD.js} +7 -7
- package/dist/{chunk-B6RI3XO4.js → chunk-PJKCWDDX.js} +117 -117
- package/dist/{chunk-2Q5IM74H.js → chunk-PKE54TAY.js} +5 -5
- package/dist/{chunk-JGXT3WUR.js → chunk-RUK73IAH.js} +2 -2
- package/dist/{chunk-IUHYP3QG.js → chunk-SYRHCENA.js} +2 -2
- package/dist/{chunk-XROTFVTO.js → chunk-TCTXUAZT.js} +3 -3
- package/dist/chunk-UOZCMFCN.js +160 -0
- package/dist/{chunk-VEEUPLAO.js → chunk-VFQMUAHB.js} +4 -4
- package/dist/{chunk-I66GPBMO.js → chunk-VHAXHYTL.js} +3 -3
- package/dist/{chunk-F2NOZSYG.js → chunk-VT3VJHZ7.js} +4 -4
- package/dist/{chunk-ACM5TZH6.js → chunk-WI6MEN7U.js} +2 -2
- package/dist/{chunk-OWPU7LGF.js → chunk-WN3FKMKB.js} +14 -14
- package/dist/{chunk-FRDQIYC3.js → chunk-X6F3DHKX.js} +2 -2
- package/dist/{chunk-P7JUHQKL.js → chunk-XEDHKQZA.js} +4 -3
- package/dist/{chunk-5O3Y6TSZ.js → chunk-XSMWYZDC.js} +86 -106
- package/dist/cli/commands/auth/logout.js +20 -18
- package/dist/cli/commands/auth/logout.test.js +25 -23
- package/dist/cli/commands/cache/clear.d.ts +6 -0
- package/dist/cli/commands/cache/clear.js +35 -0
- package/dist/cli/commands/debug/command-flags.js +19 -17
- package/dist/cli/commands/demo/catalog.js +20 -18
- package/dist/cli/commands/demo/generate-file.js +20 -18
- package/dist/cli/commands/demo/index.js +20 -18
- package/dist/cli/commands/demo/print-ai-prompt.js +20 -18
- package/dist/cli/commands/docs/generate.js +19 -17
- package/dist/cli/commands/docs/generate.test.js +19 -17
- package/dist/cli/commands/help.js +19 -17
- package/dist/cli/commands/kitchen-sink/async.js +20 -18
- package/dist/cli/commands/kitchen-sink/async.test.js +20 -18
- package/dist/cli/commands/kitchen-sink/index.js +22 -20
- package/dist/cli/commands/kitchen-sink/index.test.js +22 -20
- package/dist/cli/commands/kitchen-sink/prompts.js +20 -18
- package/dist/cli/commands/kitchen-sink/prompts.test.js +20 -18
- package/dist/cli/commands/kitchen-sink/static.js +20 -18
- package/dist/cli/commands/kitchen-sink/static.test.js +20 -18
- package/dist/cli/commands/notifications/generate.d.ts +6 -0
- package/dist/cli/commands/notifications/generate.js +36 -0
- package/dist/cli/commands/notifications/list.d.ts +6 -0
- package/dist/cli/commands/notifications/list.js +36 -0
- package/dist/cli/commands/search.js +20 -18
- package/dist/cli/commands/upgrade.js +20 -18
- package/dist/cli/commands/version.js +20 -18
- package/dist/cli/commands/version.test.js +20 -18
- package/dist/cli/services/commands/notifications.d.ts +2 -0
- package/dist/cli/services/commands/notifications.js +31 -0
- package/dist/cli/services/commands/search.js +9 -9
- package/dist/cli/services/commands/search.test.js +9 -9
- package/dist/cli/services/commands/version.js +10 -10
- package/dist/cli/services/commands/version.test.js +11 -11
- package/dist/cli/services/demo.js +9 -9
- package/dist/cli/services/demo.test.js +11 -11
- package/dist/cli/services/kitchen-sink/async.js +9 -9
- package/dist/cli/services/kitchen-sink/prompts.js +9 -9
- package/dist/cli/services/kitchen-sink/static.js +9 -9
- package/dist/cli/services/upgrade.js +10 -10
- package/dist/cli/services/upgrade.test.js +12 -12
- package/dist/{constants-T7JXE5K7.js → constants-QFFDI47A.js} +6 -4
- package/dist/{custom-oclif-loader-YBMJNE6U.js → custom-oclif-loader-IZLFCRGJ.js} +11 -11
- package/dist/data/filters.json +39 -16
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +164 -6
- package/dist/data/shopify_system_translations.json +32 -3
- package/dist/{del-7ZS2Z64N.js → del-FEQWOMIX.js} +2 -2
- package/dist/{error-handler-A4P3264C.js → error-handler-DAI5HMQW.js} +17 -16
- package/dist/hooks/postrun.js +14 -13
- package/dist/hooks/prerun.js +14 -13
- package/dist/index.js +13542 -10915
- package/dist/{lib-JHUCJTHS.js → lib-JJXX7GH6.js} +5 -5
- package/dist/{local-ZKVS3PQJ.js → local-QD6GDUUE.js} +9 -9
- package/dist/{morph-QZYXTRWT.js → morph-FN23MJ2S.js} +10 -10
- package/dist/{node-UHHST6UJ.js → node-4XKDIIJ7.js} +23 -21
- package/dist/{node-package-manager-EU3ZOEFD.js → node-package-manager-IEZ6F5VN.js} +10 -10
- package/dist/{system-L7HP2PAP.js → system-KSIGUX64.js} +9 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-HXNDVEEG.js → ui-BUB4OWO7.js} +9 -9
- package/dist/{workerd-7CGH4YHE.js → workerd-DIIGDIHZ.js} +22 -20
- package/oclif.manifest.json +61 -104
- package/package.json +7 -7
- 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
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# This is a Docker image to test the CLI in UNIX environments other than macOS
|
|
2
|
-
# Build the image: docker build . -t shopify-cli
|
|
3
|
-
# Run tests: docker run -t --rm --volume "$(pwd):/usr/src/app" shopify-cli bundle exec rake test
|
|
4
|
-
FROM cimg/ruby:2.7.5
|
|
5
|
-
|
|
6
|
-
RUN git config --global user.email "development-lifecycle@shopify.com"
|
|
7
|
-
RUN git config --global user.name "Development Lifecycle"
|
|
8
|
-
|
|
9
|
-
RUN gem update bundler
|
|
10
|
-
|
|
11
|
-
WORKDIR /usr/src/app
|
|
12
|
-
|
|
13
|
-
COPY Gemfile Gemfile.lock ./
|
|
14
|
-
COPY shopify-cli.gemspec shopify-cli.gemspec
|
|
15
|
-
COPY lib/shopify_cli/version.rb lib/shopify_cli/version.rb
|
|
16
|
-
RUN bundle install
|
|
17
|
-
|
|
18
|
-
# Update git
|
|
19
|
-
RUN sudo add-apt-repository -y ppa:git-core/ppa
|
|
20
|
-
RUN sudo apt-get update
|
|
21
|
-
RUN sudo apt-get install git -y
|
|
22
|
-
|
|
23
|
-
# Install the latest version of NodeJS
|
|
24
|
-
RUN sudo apt-get install ca-certificates -y
|
|
25
|
-
RUN curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
|
|
26
|
-
RUN sudo apt-get install -y nodejs
|
|
27
|
-
|
|
28
|
-
# Install the latest version of Yarn
|
|
29
|
-
RUN sudo npm install --global yarn
|
|
30
|
-
|
|
31
|
-
# Python is necessary to compile NPM packages with native extensions through node-gyp
|
|
32
|
-
RUN sudo apt install python2-minimal -y
|
|
33
|
-
|
|
34
|
-
# Install sqlite3
|
|
35
|
-
RUN sudo apt-get install libsqlite3-dev -y
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# NOTE: These are development-only dependencies
|
|
2
|
-
source "https://rubygems.org"
|
|
3
|
-
|
|
4
|
-
gem "bugsnag", "~> 6.22"
|
|
5
|
-
gem "listen", "~> 3.7.0"
|
|
6
|
-
|
|
7
|
-
# None of these can actually be used in a development copy of dev
|
|
8
|
-
# They are all for CI and tests
|
|
9
|
-
# `dev` uses no gems
|
|
10
|
-
group :development, :test do
|
|
11
|
-
gem "pry-byebug"
|
|
12
|
-
gem "byebug"
|
|
13
|
-
gem "rubocop-shopify", require: false
|
|
14
|
-
gem "rubocop-minitest", require: false
|
|
15
|
-
gem "rubocop-rake", require: false
|
|
16
|
-
gem "iniparse", "~> 1.5"
|
|
17
|
-
gem "colorize", "~> 0.8.1"
|
|
18
|
-
gem "bundler", ">= 2.3.11"
|
|
19
|
-
gem "rake", "~> 12.3", ">= 12.3.3"
|
|
20
|
-
gem "minitest", "~> 5.0"
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
group :test do
|
|
24
|
-
gem "mocha", require: false
|
|
25
|
-
gem "minitest-reporters", require: false
|
|
26
|
-
gem "minitest-fail-fast", require: false
|
|
27
|
-
gem "fakefs", ">= 1.0", require: false
|
|
28
|
-
gem "webmock", require: false
|
|
29
|
-
gem "timecop", require: false
|
|
30
|
-
gem "rack", require: false
|
|
31
|
-
gem "cucumber", "~> 7.0", require: false
|
|
32
|
-
end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Shopify CLI 2.0
|
|
2
|
-
|
|
3
|
-
<a href="https://github.com/Shopify/shopify-cli/actions/workflows/shopify.yml"><img src="https://github.com/shopify/shopify-cli/actions/workflows/shopify.yml/badge.svg" alt="Shopify"></a>
|
|
4
|
-
<img src="https://img.shields.io/github/v/release/shopify/shopify-cli?include_prereleases&style=flat-square" alt="Latest Version">
|
|
5
|
-
<img src="https://img.shields.io/github/forks/shopify/shopify-cli?style=flat-square" alt="GitHub forks">
|
|
6
|
-
<img src="https://img.shields.io/github/stars/shopify/shopify-cli?style=flat-square" alt="GitHub stars">
|
|
7
|
-
<img src="https://img.shields.io/github/commit-activity/w/shopify/shopify-cli?style=flat-square" alt="Commit Activity">
|
|
8
|
-
<img src="https://img.shields.io/github/contributors/shopify/shopify-cli?style=flat-square" alt="Contributors">
|
|
9
|
-
<img src="https://img.shields.io/github/commits-since/shopify/shopify-cli/latest?style=flat-square" alt="Latest Commits">
|
|
10
|
-
<a href="http://twitter.com/ShopifyDevs"><img src="https://img.shields.io/twitter/follow/ShopifyDevs?style=flat-square" alt="Twitter Followers"></a>
|
|
11
|
-
<img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License">
|
|
12
|
-
<img src="https://img.shields.io/badge/Powered%20by-Ruby-red" alt="Powered by Ruby">
|
|
13
|
-
|
|
14
|
-
Shopify CLI 2.0 is a command line to help you build on Shopify. It's available as a Ruby gem and can be run and installed on Mac, Linux, and Windows systems.
|
|
15
|
-
|
|
16
|
-
## CLI Deprecation & Sunset
|
|
17
|
-
|
|
18
|
-
Note that Shopify 2.0 is deprecated and will be [sunset on May 31, 2023](https://shopify.dev/changelog/cli-2-0-to-be-sunset-on-may-31-2023). We encourage using [Shopify CLI 3.0](https://github.com/Shopify/cli) to develop apps, custom storefronts, and themes.
|
|
19
|
-
|
|
20
|
-
## Contributing 👩💻
|
|
21
|
-
|
|
22
|
-
Shopify CLI is an [open source tool](/LICENSE) and everyone is welcome to help the community by [contributing](/docs/README.md) to the project.
|
|
23
|
-
|
|
24
|
-
## Help 🖐
|
|
25
|
-
|
|
26
|
-
If you encounter issues using the CLI or have feedback you'd like to share with us, below are some options:
|
|
27
|
-
|
|
28
|
-
- [Open a GitHub issue](https://github.com/Shopify/shopify-cli/issues) - To report bugs or request new features, open an issue in the Shopify CLI repository.
|
|
29
|
-
|
|
30
|
-
- [Shopify Community Forums](https://community.shopify.com/) - Visit our forums to connect with the community and learn more about Shopify CLI development.
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
ENV["SHOPIFY_CLI_TEST"] = "1"
|
|
2
|
-
|
|
3
|
-
require_relative "bin/load_shopify"
|
|
4
|
-
require_relative "utilities/utilities"
|
|
5
|
-
require_relative "lib/shopify_cli/constants"
|
|
6
|
-
require_relative "lib/shopify_cli/version"
|
|
7
|
-
require "rake/testtask"
|
|
8
|
-
require "rubocop/rake_task"
|
|
9
|
-
require "bundler/gem_tasks"
|
|
10
|
-
require "shellwords"
|
|
11
|
-
require "digest"
|
|
12
|
-
require "open3"
|
|
13
|
-
|
|
14
|
-
Rake::TestTask.new do |t|
|
|
15
|
-
t.libs += %w(test)
|
|
16
|
-
t.test_files = FileList["test/**/*_test.rb"]
|
|
17
|
-
t.verbose = false
|
|
18
|
-
t.warning = false
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
desc "A set of tasks that run in Linux environments"
|
|
22
|
-
namespace :linux do
|
|
23
|
-
desc "Runs the test suite in a Linux Docker environment"
|
|
24
|
-
task :test do
|
|
25
|
-
Utilities::Docker.run_and_rm_container("bundle", "exec", "rake", "test")
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
RuboCop::RakeTask.new
|
|
30
|
-
|
|
31
|
-
task(default: [:test, :rubocop])
|
|
32
|
-
|
|
33
|
-
desc("Start up irb with cli loaded")
|
|
34
|
-
task :console do
|
|
35
|
-
exec("irb", "-r", "./bin/load_shopify.rb", "-r", "byebug")
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
desc("Notifies a new version to Bugsnag")
|
|
39
|
-
task :notify_version_to_bugsnag do
|
|
40
|
-
# This task runs at deployment time to notify
|
|
41
|
-
# Bugsnag about new versions. Because the deployment
|
|
42
|
-
# environment has Node, we can run the Bugsnag CLI
|
|
43
|
-
# through npx.
|
|
44
|
-
system(
|
|
45
|
-
{ "npm_config_yes" => "true" },
|
|
46
|
-
"npx", "-q", "bugsnag-build-reporter",
|
|
47
|
-
"-k", ShopifyCLI::Constants::Bugsnag::API_KEY,
|
|
48
|
-
"-v", ShopifyCLI::VERSION
|
|
49
|
-
) || abort
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
namespace :rdoc do
|
|
53
|
-
repo = "https://github.com/Shopify/shopify-cli.wiki.git"
|
|
54
|
-
intermediate = "markdown_intermediate"
|
|
55
|
-
file_to_doc = [
|
|
56
|
-
"lib/shopify_cli/admin_api.rb",
|
|
57
|
-
"lib/shopify_cli/context.rb",
|
|
58
|
-
"lib/shopify_cli/db.rb",
|
|
59
|
-
"lib/shopify_cli/git.rb",
|
|
60
|
-
"lib/shopify_cli/lazy_delegator.rb",
|
|
61
|
-
"lib/shopify_cli/method_object.rb",
|
|
62
|
-
"lib/shopify_cli/partners_api.rb",
|
|
63
|
-
"lib/shopify_cli/project.rb",
|
|
64
|
-
"lib/shopify_cli/result.rb",
|
|
65
|
-
"lib/shopify_cli/transform_data_structure.rb",
|
|
66
|
-
]
|
|
67
|
-
|
|
68
|
-
task all: [:markdown, :wiki, :cleanup]
|
|
69
|
-
|
|
70
|
-
desc("Generate markdown files from rdoc comments")
|
|
71
|
-
task :markdown do
|
|
72
|
-
require "rdoc/rdoc"
|
|
73
|
-
require "docgen/markdown"
|
|
74
|
-
options = RDoc::Options.new
|
|
75
|
-
options.setup_generator("markdown")
|
|
76
|
-
options.op_dir = intermediate
|
|
77
|
-
options.files = file_to_doc
|
|
78
|
-
RDoc::RDoc.new.document(options)
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
desc("Copy markdown documentation to the wiki and commit them")
|
|
82
|
-
task :wiki do
|
|
83
|
-
require "tmpdir"
|
|
84
|
-
Dir.mktmpdir do |temp_dir|
|
|
85
|
-
system("git clone --depth=1 #{repo} #{temp_dir}")
|
|
86
|
-
FileUtils.cp(Dir[File.join(intermediate, "*.md")], temp_dir)
|
|
87
|
-
Dir.chdir(temp_dir) do
|
|
88
|
-
system("git add --all")
|
|
89
|
-
system('git commit -am "auto doc update"')
|
|
90
|
-
system("git push")
|
|
91
|
-
end
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
desc("Clean up any documentation related files")
|
|
96
|
-
task :cleanup do
|
|
97
|
-
FileUtils.rm_r(intermediate)
|
|
98
|
-
end
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
desc("Generate markdown documentation and update the wiki")
|
|
102
|
-
task(rdoc: "rdoc:all")
|
|
103
|
-
|
|
104
|
-
namespace :extensions do
|
|
105
|
-
task :update do
|
|
106
|
-
version = ENV.fetch("VERSION").strip
|
|
107
|
-
error("Invalid version") unless /^v\d+\.\d+\.\d+/.match(version)
|
|
108
|
-
File.write(Paths.extension("version"), version)
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
task :symlink do
|
|
112
|
-
source = Paths.root("..", "shopify-cli-extensions", "shopify-extensions")
|
|
113
|
-
error("Unable to find shopify-extensions executable: #{executable}") unless File.executable?(source)
|
|
114
|
-
target = Paths.extension("shopify-extensions")
|
|
115
|
-
File.delete(target) if File.exist?(target)
|
|
116
|
-
File.symlink(source, target)
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
task :install do
|
|
120
|
-
target = Paths.extension("shopify-extensions")
|
|
121
|
-
require_relative Paths.extension("shopify_extensions.rb")
|
|
122
|
-
File.delete(target) if File.exist?(target)
|
|
123
|
-
ShopifyExtensions.install(target: target)
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
module Paths
|
|
127
|
-
def self.extension(*args)
|
|
128
|
-
root("ext", "shopify-extensions", *args)
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
def self.root(*args)
|
|
132
|
-
Pathname(File.dirname(__FILE__)).join(*args).to_s
|
|
133
|
-
end
|
|
134
|
-
end
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
namespace :scripts do
|
|
138
|
-
namespace :javy do
|
|
139
|
-
task :symlink do
|
|
140
|
-
source = Paths.root("..", "javy", "target", "release", "javy")
|
|
141
|
-
error("Unable to find javy executable: #{executable}") unless File.executable?(source)
|
|
142
|
-
target = Paths.javy("javy")
|
|
143
|
-
File.delete(target) if File.exist?(target)
|
|
144
|
-
File.symlink(source, target)
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
task :install do
|
|
148
|
-
require_relative Paths.javy("javy.rb")
|
|
149
|
-
Javy.install
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
module Paths
|
|
153
|
-
def self.javy(*args)
|
|
154
|
-
root("ext", "javy", *args)
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
def self.root(*args)
|
|
158
|
-
Pathname(File.dirname(__FILE__)).join(*args).to_s
|
|
159
|
-
end
|
|
160
|
-
end
|
|
161
|
-
end
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
def error(message, output: STDERR, code: 1)
|
|
165
|
-
output.puts(message)
|
|
166
|
-
exit(code)
|
|
167
|
-
end
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported versions
|
|
4
|
-
|
|
5
|
-
### New features
|
|
6
|
-
|
|
7
|
-
New features will only be added to the main branch and will not be made available in point releases.
|
|
8
|
-
|
|
9
|
-
### Bug fixes
|
|
10
|
-
|
|
11
|
-
Only the latest release series will receive bug fixes. When enough bugs are fixed and its deemed worthy to release a new gem, this is the branch it happens from.
|
|
12
|
-
|
|
13
|
-
### Security issues
|
|
14
|
-
|
|
15
|
-
Only the latest release series will receive patches and new versions in case of a security issue.
|
|
16
|
-
|
|
17
|
-
### Severe security issues
|
|
18
|
-
|
|
19
|
-
For severe security issues we will provide new versions as above, and also the last major release series will receive patches and new versions. The classification of the security issue is judged by the core team.
|
|
20
|
-
|
|
21
|
-
### Unsupported Release Series
|
|
22
|
-
|
|
23
|
-
When a release series is no longer supported, it's your own responsibility to deal with bugs and security issues. If you are not comfortable maintaining your own versions, you should upgrade to a supported version.
|
|
24
|
-
|
|
25
|
-
## Reporting a bug
|
|
26
|
-
|
|
27
|
-
All security bugs in shopify repositories should be reported to [our hackerone program](https://hackerone.com/shopify)
|
|
28
|
-
Shopify's whitehat program is our way to reward security researchers for finding serious security vulnerabilities in the In Scope properties listed at the bottom of this page, including our core application (all functionality associated with a Shopify store, particularly your-store.myshopify.com/admin) and certain ancillary applications.
|
|
29
|
-
|
|
30
|
-
## Disclosure Policy
|
|
31
|
-
|
|
32
|
-
We look forward to working with all security researchers and strive to be respectful, always assume the best and treat others as peers. We expect the same in return from all participants. To achieve this, our team strives to:
|
|
33
|
-
|
|
34
|
-
- Reply to all reports within one business day and triage within two business days (if applicable)
|
|
35
|
-
- Be as transparent as possible, answering all inquires about our report decisions and adding hackers to duplicate HackerOne reports
|
|
36
|
-
- Award bounties within a week of resolution (excluding extenuating circumstances)
|
|
37
|
-
- Only close reports as N/A when the issue reported is included in Known Issues, Ineligible Vulnerabilities Types or lacks evidence of a vulnerability
|
|
38
|
-
|
|
39
|
-
**The following rules must be followed in order for any rewards to be paid:**
|
|
40
|
-
|
|
41
|
-
- You may only test against shops you have created which include your HackerOne YOURHANDLE @ wearehackerone.com registered email address.
|
|
42
|
-
- You must not attempt to gain access to, or interact with, any shops other than those created by you.
|
|
43
|
-
- The use of commercial scanners is prohibited (e.g., Nessus).
|
|
44
|
-
- Rules for reporting must be followed.
|
|
45
|
-
- Do not disclose any issues publicly before they have been resolved.
|
|
46
|
-
- Shopify reserves the right to modify the rules for this program or deem any submissions invalid at any time. Shopify may cancel the whitehat program without notice at any time.
|
|
47
|
-
- Contacting Shopify Support over chat, email or phone about your HackerOne report is not allowed. We may disqualify you from receiving a reward, or from participating in the program altogether.
|
|
48
|
-
- You are not an employee of Shopify; employees should report bugs to the internal bug bounty program.
|
|
49
|
-
- You hereby represent, warrant and covenant that any content you submit to Shopify is an original work of authorship and that you are legally entitled to grant the rights and privileges conveyed by these terms. You further represent, warrant and covenant that the consent of no other person or entity is or will be necessary for Shopify to use the submitted content.
|
|
50
|
-
- By submitting content to Shopify, you irrevocably waive all moral rights which you may have in the content.
|
|
51
|
-
- All content submitted by you to Shopify under this program is licensed under the MIT License.
|
|
52
|
-
- You must report any discovered vulnerability to Shopify as soon as you have validated the vulnerability.
|
|
53
|
-
- Failure to follow any of the foregoing rules will disqualify you from participating in this program.
|
|
54
|
-
|
|
55
|
-
** Please see our [Hackerone Profile](https://hackerone.com/shopify) for full details
|
|
56
|
-
|
|
57
|
-
## Receiving Security Updates
|
|
58
|
-
|
|
59
|
-
To recieve all general updates to vulnerabilities, please subscribe to our hackerone [Hacktivity](https://hackerone.com/shopify/hacktivity)
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# This is a Docker image to test the CLI in UNIX environments other than macOS
|
|
2
|
-
# Build the image: docker build . -t shopify-cli
|
|
3
|
-
# Run tests: docker run -t --rm --volume "$(pwd):/usr/src/app" shopify-cli bundle exec rake test
|
|
4
|
-
FROM cimg/ruby:2.7.5
|
|
5
|
-
|
|
6
|
-
RUN git config --global user.email "development-lifecycle@shopify.com"
|
|
7
|
-
RUN git config --global user.name "Development Lifecycle"
|
|
8
|
-
|
|
9
|
-
RUN gem install bundler -v 2.3.11
|
|
10
|
-
|
|
11
|
-
WORKDIR /usr/src/app
|
|
12
|
-
|
|
13
|
-
COPY Gemfile Gemfile.lock ./
|
|
14
|
-
COPY shopify-cli.gemspec shopify-cli.gemspec
|
|
15
|
-
COPY lib/shopify_cli/version.rb lib/shopify_cli/version.rb
|
|
16
|
-
RUN bundle install
|
|
17
|
-
|
|
18
|
-
# Update git
|
|
19
|
-
RUN sudo add-apt-repository -y ppa:git-core/ppa
|
|
20
|
-
RUN sudo apt-get update
|
|
21
|
-
RUN sudo apt-get install git -y
|
|
22
|
-
|
|
23
|
-
# Install the latest version of NodeJS
|
|
24
|
-
RUN sudo apt-get install ca-certificates -y
|
|
25
|
-
RUN curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
|
|
26
|
-
RUN sudo apt-get install -y nodejs
|
|
27
|
-
|
|
28
|
-
# Install the latest version of Yarn
|
|
29
|
-
RUN sudo npm install --global yarn
|
|
30
|
-
|
|
31
|
-
# Python is necessary to compile NPM packages with native extensions through node-gyp
|
|
32
|
-
RUN sudo apt install python2-minimal -y
|
|
33
|
-
|
|
34
|
-
# Install sqlite3
|
|
35
|
-
RUN sudo apt-get install libsqlite3-dev -y
|
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
require_relative "load_shopify"
|
|
5
|
-
require "irb"
|
|
6
|
-
require "irb/completion"
|
|
7
|
-
require "irb/ext/save-history"
|
|
8
|
-
|
|
9
|
-
IRB.conf[:SAVE_HISTORY] = 100
|
|
10
|
-
IRB.conf[:HISTORY_FILE] = File.expand_path("../../.console_history", __FILE__)
|
|
11
|
-
IRB.start
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
lib_path = File.expand_path("../../lib", __FILE__)
|
|
4
|
-
$LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
|
|
5
|
-
|
|
6
|
-
ENV["SHELLPID"] ||= Process.ppid.to_s
|
|
7
|
-
ENV["USER_PWD"] ||= Dir.pwd
|
|
8
|
-
|
|
9
|
-
# Prune non-absolute paths from PATH to prevent non-deterministic behavior
|
|
10
|
-
# i.e. If user has "." or "./bin" in their PATH
|
|
11
|
-
# Note that this logic is duplicated in lib/shopify.rb
|
|
12
|
-
ENV["PATH"] = ENV["PATH"].split(File::PATH_SEPARATOR).select do |p|
|
|
13
|
-
p.start_with?("/", "~", /[A-Z]:\\/)
|
|
14
|
-
end.join(File::PATH_SEPARATOR)
|
|
15
|
-
|
|
16
|
-
$original_env = ENV.to_hash
|
|
17
|
-
|
|
18
|
-
require "shopify_cli"
|
|
19
|
-
|
|
20
|
-
if ENV["PRINT_LOADED_FEATURES"]
|
|
21
|
-
puts $LOADED_FEATURES
|
|
22
|
-
end
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
module Warning
|
|
4
|
-
def self.warn(string)
|
|
5
|
-
super if ENV["DEBUG"]
|
|
6
|
-
end
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
module Kernel
|
|
10
|
-
# make an alias of the original require
|
|
11
|
-
alias_method :original_require, :require
|
|
12
|
-
|
|
13
|
-
# rewrite require
|
|
14
|
-
def require(name)
|
|
15
|
-
original_require(name)
|
|
16
|
-
rescue LoadError => e
|
|
17
|
-
# Special case for readline, which may fail on Windows and always raises a
|
|
18
|
-
# LoadError from Ruby 3.3.0.
|
|
19
|
-
raise if name == "readline.#{RbConfig::CONFIG["DLEXT"]}"
|
|
20
|
-
# Special case for psych (yaml), which rescues this itself
|
|
21
|
-
raise if name == "#{RUBY_VERSION[/\d+\.\d+/]}/psych.so"
|
|
22
|
-
# Special case for ffi, which rescues this itself
|
|
23
|
-
raise if name == "#{RUBY_VERSION.split(".")[0, 2].join(".")}/ffi_c"
|
|
24
|
-
# Special case for nokogiri, which might install the wrong architecture
|
|
25
|
-
if name == "nokogiri/nokogiri"
|
|
26
|
-
STDERR.puts(<<~MESSAGE)
|
|
27
|
-
The Nokogiri gem is failing to load, due to an installation or architecture issue.
|
|
28
|
-
|
|
29
|
-
To fix this, reinstall Nokogiri.
|
|
30
|
-
|
|
31
|
-
• Installation guide: https://nokogiri.org/tutorials/installing_nokogiri.html
|
|
32
|
-
|
|
33
|
-
MESSAGE
|
|
34
|
-
STDERR.puts e.full_message
|
|
35
|
-
exit(1)
|
|
36
|
-
end
|
|
37
|
-
STDERR.puts "[Note] You cannot use gems with Shopify CLI."
|
|
38
|
-
STDERR.puts "[LoadError] #{e.message}"
|
|
39
|
-
if ENV["DEBUG"]
|
|
40
|
-
STDERR.puts e.backtrace
|
|
41
|
-
STDERR.puts "\n"
|
|
42
|
-
end
|
|
43
|
-
STDERR.puts " They are disabled."
|
|
44
|
-
STDERR.puts " Please don't modify the CLI locally."
|
|
45
|
-
STDERR.puts " If you would like to contribute to the CLI project, please refer to"
|
|
46
|
-
STDERR.puts " https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md"
|
|
47
|
-
STDERR.puts "\n"
|
|
48
|
-
raise
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
require_relative "./load_shopify"
|
|
53
|
-
|
|
54
|
-
exit(
|
|
55
|
-
proc do
|
|
56
|
-
ShopifyCLI::ErrorHandler.call do
|
|
57
|
-
ShopifyCLI::Core::EntryPoint.call(ARGV.dup)
|
|
58
|
-
end
|
|
59
|
-
rescue StandardError => error
|
|
60
|
-
ShopifyCLI::ErrorHandler.exception = error
|
|
61
|
-
if ShopifyCLI::Environment.print_stacktrace?
|
|
62
|
-
raise error
|
|
63
|
-
else
|
|
64
|
-
1
|
|
65
|
-
end
|
|
66
|
-
end.call
|
|
67
|
-
)
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
$LOAD_PATH.unshift(File.expand_path("../../vendor/deps/cli-ui/lib", __FILE__))
|
|
4
|
-
require "open3"
|
|
5
|
-
require "fileutils"
|
|
6
|
-
|
|
7
|
-
def fmt(tag, msg)
|
|
8
|
-
# Not really CLI::UI.fmt compatible: no nesting support, for example.
|
|
9
|
-
# While we could pull in CLI::UI here, it makes it more difficult to
|
|
10
|
-
# bootstrap a new project and to fix a broken vendor.
|
|
11
|
-
fmt_msg = msg
|
|
12
|
-
.gsub(/{{yellow:(.*?)}}/, "\x1b[33m\\1\x1b[31m")
|
|
13
|
-
.gsub(/{{green:(.*?)}}/, "\x1b[32m\\1\x1b[31m")
|
|
14
|
-
.gsub(/{{blue:(.*?)}}/, "\x1b[34m\\1\x1b[31m")
|
|
15
|
-
.gsub(/{{bold_blue:(.*?)}}/, "\x1b[1;34m\\1\x1b[0;31m")
|
|
16
|
-
.gsub(/{{bold_green:(.*?)}}/, "\x1b[1;32m\\1\x1b[0;31m")
|
|
17
|
-
"\x1b[1;31m[#{tag}] \x1b[0;31m#{fmt_msg}\x1b[0m"
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
def bail(msg)
|
|
21
|
-
STDERR.puts(fmt("ERROR", msg))
|
|
22
|
-
exit(1)
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def warn(msg)
|
|
26
|
-
STDERR.puts(fmt("WARNING", msg))
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
def source_path
|
|
30
|
-
File.expand_path(ENV.fetch("SOURCE_ROOT", File.expand_path("../../..", __FILE__)))
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
deps = %w(cli-ui cli-kit)
|
|
34
|
-
|
|
35
|
-
deps.each do |dep|
|
|
36
|
-
path = File.expand_path(dep, source_path)
|
|
37
|
-
|
|
38
|
-
unless Dir.exist?(path)
|
|
39
|
-
bail(
|
|
40
|
-
"dependency is not checked out: {{yellow:#{dep}}}.\n" \
|
|
41
|
-
" This repo {{bold_blue:(github.com/shopify/#{dep})}} must be cloned at" \
|
|
42
|
-
" {{bold_blue:#{path}}} for this script to succeed.\n" \
|
|
43
|
-
" Currently, SOURCE_ROOT is set to {{bold_blue:#{source_path}}}.\n" \
|
|
44
|
-
" Alternatively, you can set {{bold_blue:SOURCE_ROOT}} to a directory containing {{yellow:#{dep}}}.\n" \
|
|
45
|
-
" {{bold_blue:SOURCE_ROOT}} defaults to {{bold_blue:../}}."
|
|
46
|
-
)
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
head_sha = nil
|
|
50
|
-
dirty = false
|
|
51
|
-
|
|
52
|
-
Dir.chdir(path) do
|
|
53
|
-
_, _, stat = Open3.capture3("git fetch origin master")
|
|
54
|
-
bail("couldn't git fetch in dependency: {{yellow:#{dep}}}") unless stat.success?
|
|
55
|
-
|
|
56
|
-
head_sha, stat = Open3.capture2("git rev-parse HEAD")
|
|
57
|
-
bail("couldn't determine HEAD: {{yellow:#{dep}}}") unless stat.success?
|
|
58
|
-
head_sha.chomp!
|
|
59
|
-
|
|
60
|
-
fetch_head_sha, stat = Open3.capture2("git rev-parse FETCH_HEAD")
|
|
61
|
-
bail("couldn't determine FETCH_HEAD: {{yellow:#{dep}}}") unless stat.success?
|
|
62
|
-
fetch_head_sha.chomp!
|
|
63
|
-
|
|
64
|
-
git_status, stat = Open3.capture2("git status --porcelain")
|
|
65
|
-
bail("couldn't determine git status: {{yellow:#{dep}}}") unless stat.success?
|
|
66
|
-
|
|
67
|
-
if head_sha != fetch_head_sha
|
|
68
|
-
warn(
|
|
69
|
-
"Copying files from {{yellow:#{path}}} to satisfy dependency {{yellow:#{dep}}}.\n" \
|
|
70
|
-
" However, the repo at {{yellow:#{path}}} isn't up to date.\n" \
|
|
71
|
-
" The checked-out revision is {{yellow:#{head_sha[0..8]}}}, and "\
|
|
72
|
-
"{{yellow:origin/master}} is {{yellow:#{fetch_head_sha[0..8]}}}.\n" \
|
|
73
|
-
" Unless you know what you're doing, you should {{green:cd}} to that" \
|
|
74
|
-
" repo and {{green:git pull}}, then run this again."
|
|
75
|
-
)
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
unless git_status.chomp.empty?
|
|
79
|
-
dirty = true
|
|
80
|
-
warn("importing uncommitted changes from dependency: {{yellow:#{dep}}}")
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
depdir = File.expand_path("../../vendor/deps/#{dep}", __FILE__)
|
|
85
|
-
FileUtils.rm_rf(depdir)
|
|
86
|
-
FileUtils.mkdir_p(depdir)
|
|
87
|
-
dstlib = File.expand_path("lib", depdir)
|
|
88
|
-
srclib = File.expand_path("lib", path)
|
|
89
|
-
|
|
90
|
-
FileUtils.cp_r(srclib, dstlib)
|
|
91
|
-
|
|
92
|
-
rev = head_sha
|
|
93
|
-
rev << " (dirty)" if dirty
|
|
94
|
-
rev << "\n"
|
|
95
|
-
|
|
96
|
-
File.write("#{depdir}/REVISION", rev)
|
|
97
|
-
end
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: dev
|
|
2
|
-
type:
|
|
3
|
-
- ruby
|
|
4
|
-
|
|
5
|
-
env:
|
|
6
|
-
SHOPIFY_CLI_DEVELOPMENT: "1"
|
|
7
|
-
|
|
8
|
-
up:
|
|
9
|
-
- ruby: 3.1.0
|
|
10
|
-
- homebrew:
|
|
11
|
-
- dpkg:
|
|
12
|
-
version: 1.21.1
|
|
13
|
-
- rpm:
|
|
14
|
-
version: 4.17.0
|
|
15
|
-
- bundler
|
|
16
|
-
|
|
17
|
-
test:
|
|
18
|
-
desc: "Run tests."
|
|
19
|
-
run: |
|
|
20
|
-
if [ "$#" -eq 1 ] && [[ -f $1 ]];
|
|
21
|
-
then
|
|
22
|
-
bundle exec rake test TEST=$1
|
|
23
|
-
else
|
|
24
|
-
bundle exec rake test $@
|
|
25
|
-
fi
|
|
26
|
-
|
|
27
|
-
commands:
|
|
28
|
-
style:
|
|
29
|
-
run: bundle exec rubocop .
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Documentation
|
|
2
|
-
|
|
3
|
-
This directory contains documentation for **contributors** of the Shopify CLI.
|
|
4
|
-
It also contains documentation that is relevant to **users** like migration guidelines.
|
|
5
|
-
|
|
6
|
-
## Contributors
|
|
7
|
-
|
|
8
|
-
- [**Testing**](contributors/testing.md): Read about testing strategies and how they are used across the codebase.
|
|
9
|
-
|
|
10
|
-
## Users
|
|
11
|
-
|
|
12
|
-
- [**Installation**](users/installation.md): Learn how to install the Shopify CLI in different OSs.
|
|
13
|
-
- [**Migrate from theme-kit**](users/migrate-from-themekit.md): If you were previously using theme-kit, check out this documentation to learn how to migrate to the Shopify CLI theme commands.
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
## Testing
|
|
2
|
-
|
|
3
|
-
The project employs a diverse suite tests that help ensure it works as intended and prevents regressions as it continues to grow and evolve.
|
|
4
|
-
|
|
5
|
-
### Unit Tests
|
|
6
|
-
Most of the internal components the project uses have unit tests to thoroughly test them. Here dependencies of components are mocked or stubbed appropriately to ensure tests are reliable, test only one component and are fast!
|
|
7
|
-
|
|
8
|
-
### Acceptance Tests
|
|
9
|
-
|
|
10
|
-
Acceptance tests run the built `shopify` command line and verify its output and results. They are the slowest to run however provide the most coverage. The idea is to test a few complete scenarios for each major feature.
|
|
11
|
-
|
|
12
|
-
Those are written in [Cucumber](https://cucumber.io/) and Ruby and can be found in the [`features/`](/features) directory. They can be executed by running:
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
bundle exec cucumber
|
|
16
|
-
bundle exec cucumber features/theme.feature:3 # A specific test
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
> **Note** that we currently don't have an approach for stubbing the interactions with the GraphQL APIs and that therefore we can't write acceptance tests for commands that interact with APIs.
|
|
20
|
-
|
|
21
|
-
#### Debugging acceptance tests
|
|
22
|
-
When developing acceptance tests, it can be helpful to see the outputs of running commands.
|
|
23
|
-
To see outputs, append `--verbose` when running an acceptance test. Example:
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
bundle exec cucumber features/theme.feature --verbose
|
|
27
|
-
```
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Migrate from Theme Kit
|
|
2
|
-
|
|
3
|
-
Shopify CLI is the recommended and officially supported tool for developing Themes and creating CI/CD workflows.
|
|
4
|
-
|
|
5
|
-
This guide shows how to achieve equivalent flows with the new version of the CLI.
|
|
6
|
-
|
|
7
|
-
## Equivalent commands
|
|
8
|
-
|
|
9
|
-
| Theme Kit Command | Shopify CLI Equivalent | Objective |
|
|
10
|
-
|---|---|---|
|
|
11
|
-
|`theme deploy`|`shopify theme push`| Deploy a local (to the CLI) version of the Theme in the current working directory to a remote store.|
|
|
12
|
-
|`theme new`|`shopify theme init`| Scaffold a new theme. In the case of the CLI it clones Dawn to be used as a reference Theme. Alternatively, it's possible to simply clone Dawn `git clone git@github.com:Shopify/dawn.git` and use it with the CLI.
|
|
13
|
-
|`theme download`|`shopify theme pull`| Download your remote theme files.|
|
|
14
|
-
|`theme watch` & `theme open` | `shopify theme serve` | Start a theme server to locally preview changes with CSS & Section hot reload enabled|
|
|
15
|
-
|-| `shopify theme check`| Run the Theme Check linter on your theme codebase.|
|
|
16
|
-
|-|`shopify theme publish`| Set a remote theme as the live theme.|
|
|
17
|
-
|-|`shopify theme package`|Pack your Theme as a zip file ready for distribution and submission to the Theme Store.|
|
|
18
|
-
|`theme remove`| `shopify theme delete`| Theme kit removes files from the Theme whereas Shopify CLI will remotely destroy the specified theme.|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
16e1a74c06eff6e5be79253a8ee96a08a404e95be3479a6e384c8926bb736e43
|