@shopify/cli 4.8.5 → 4.9.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/analytics-QK4RFCB6.js +1 -0
- package/dist/analytics-R6I5APDB.js +1 -0
- package/dist/assets/hydrogen/starter/package.json +1 -1
- package/dist/bootstrap.js +1 -3
- package/dist/chunk-22LJALHJ.js +7 -0
- package/dist/{chunk-6ICRPFG4.js → chunk-23K3B23N.js} +1 -1
- package/dist/chunk-2KLXRVGQ.js +317 -0
- package/dist/{chunk-ZMD5TNU5.js → chunk-2LZQM5JG.js} +1 -1
- package/dist/chunk-2OHSGC4Q.js +1 -0
- package/dist/chunk-2Q3WIH7S.js +6 -0
- package/dist/{chunk-HSETBDXR.js → chunk-2W6M7YDY.js} +1 -1
- package/dist/{chunk-2JM3XHTQ.js → chunk-2YFB3PTV.js} +9 -9
- package/dist/chunk-2YRVHJEY.js +4 -0
- package/dist/{chunk-DKAWQBTI.js → chunk-3AASYIOA.js} +3 -3
- package/dist/chunk-3DMDSAWK.js +20 -0
- package/dist/{chunk-NZ3HLDJG.js → chunk-3SG5EJFC.js} +1 -1
- package/dist/chunk-3T2WMZHC.js +1 -0
- package/dist/{chunk-773TIA5M.js → chunk-3VYOLEQE.js} +2 -2
- package/dist/chunk-3WVEL423.js +1 -0
- package/dist/{chunk-H5MENHJ2.js → chunk-3ZK5JZLY.js} +1 -1
- package/dist/chunk-44QTWXOJ.js +8 -0
- package/dist/{chunk-4QBJ5JBX.js → chunk-4A7FPJVT.js} +16 -15
- package/dist/chunk-4TQFTZVD.js +18 -0
- package/dist/chunk-4WACZNFF.js +1 -0
- package/dist/{chunk-4UD2LW4O.js → chunk-4XSYMLQG.js} +1 -1
- package/dist/{chunk-T3B6KIPU.js → chunk-4Y22EM45.js} +1 -1
- package/dist/chunk-53U6XS3J.js +1 -0
- package/dist/chunk-55NKAIIT.js +1 -0
- package/dist/chunk-55PABKRC.js +5 -0
- package/dist/chunk-5BLXN5WU.js +1 -0
- package/dist/{chunk-AOPEKBDL.js → chunk-5BYVVXGD.js} +1 -1
- package/dist/{chunk-ZMTTZXC4.js → chunk-5HEBS5DG.js} +3 -3
- package/dist/{chunk-VIMFXQ3Q.js → chunk-5HONV6NQ.js} +1 -1
- package/dist/chunk-5RL6DKWR.js +5 -0
- package/dist/chunk-5XO6PAMV.js +1 -0
- package/dist/chunk-6DHY67FO.js +6 -0
- package/dist/{chunk-5GUXN2RU.js → chunk-6GA56I3E.js} +1 -1
- package/dist/chunk-6IL3B5Z5.js +4 -0
- package/dist/{chunk-AEPBX4GI.js → chunk-6ILP6QCH.js} +1 -1
- package/dist/{chunk-PL7AJVTV.js → chunk-6RBCFXJT.js} +1 -1
- package/dist/{chunk-NZE4C4OI.js → chunk-72HS7MHV.js} +1 -1
- package/dist/{chunk-RU6J6QQF.js → chunk-74HXMIDM.js} +1 -1
- package/dist/{chunk-PJ7L6NSD.js → chunk-77B77IGP.js} +1 -1
- package/dist/chunk-7DRKDQRT.js +1 -0
- package/dist/chunk-7HDJBEBP.js +3 -0
- package/dist/chunk-7IGMIDKK.js +15 -0
- package/dist/chunk-7QQPAT4L.js +1 -0
- package/dist/chunk-7Y4X5I6N.js +1 -0
- package/dist/{chunk-NPATN7YS.js → chunk-7ZSN2QT5.js} +1 -1
- package/dist/chunk-A54V5UCD.js +5 -0
- package/dist/{chunk-MNYKIPG7.js → chunk-AD4S2VEI.js} +1 -1
- package/dist/chunk-ADW7ECNU.js +7 -0
- package/dist/chunk-AS2O62JX.js +1 -0
- package/dist/chunk-ASUARYJD.js +1 -0
- package/dist/chunk-B4RPJYDH.js +1 -0
- package/dist/{chunk-PIQI72DV.js → chunk-BJOJNAKH.js} +1 -1
- package/dist/chunk-BL5JWD3Y.js +16 -0
- package/dist/chunk-BOFCBTX7.js +1 -0
- package/dist/chunk-BPIQ4YTW.js +1 -0
- package/dist/chunk-C6FZII5S.js +1 -0
- package/dist/{chunk-6LNTC6EK.js → chunk-CACPRKUF.js} +1 -1
- package/dist/{chunk-WKTIQUQP.js → chunk-CHLSNYF7.js} +1 -1
- package/dist/chunk-CMICT4XI.js +1 -0
- package/dist/chunk-CPFAATMO.js +6 -0
- package/dist/{chunk-R4TOHQH3.js → chunk-CSRNHTHO.js} +2 -2
- package/dist/chunk-D3K42KBL.js +9 -0
- package/dist/chunk-DGMRL5DQ.js +1 -0
- package/dist/chunk-DKJPE42V.js +2 -0
- package/dist/{chunk-SOJHJ4QK.js → chunk-DYA5UUXL.js} +1 -1
- package/dist/chunk-E5ND6RBL.js +1 -0
- package/dist/{chunk-DV7FOLG4.js → chunk-E75DJTAF.js} +1 -1
- package/dist/chunk-ECEOBSGD.js +1 -0
- package/dist/{chunk-6IOVTFAH.js → chunk-EYSZRIUL.js} +1 -1
- package/dist/chunk-FCULF3JA.js +1 -0
- package/dist/chunk-FL34EOXG.js +1 -0
- package/dist/chunk-FW5HGFSZ.js +20 -0
- package/dist/{chunk-M2M3I63K.js → chunk-G54BKNIX.js} +1 -1
- package/dist/{chunk-PU6KWWVK.js → chunk-G7OIACY5.js} +1 -1
- package/dist/{chunk-VVPIXC3W.js → chunk-GALDYSEX.js} +1 -1
- package/dist/{chunk-WQOV3LQA.js → chunk-GDQLA5NB.js} +1 -1
- package/dist/{chunk-GCJAY2XJ.js → chunk-GJJBOCKD.js} +3 -3
- package/dist/{chunk-OJSF3H2G.js → chunk-GQZPGTG7.js} +2 -2
- package/dist/{chunk-MMHTYLTG.js → chunk-GVRFO4CV.js} +1 -1
- package/dist/chunk-HB3MJYBK.js +1 -0
- package/dist/{chunk-AEUCDGTB.js → chunk-HDQXFGYG.js} +1 -1
- package/dist/chunk-HSTNTHWM.js +1 -0
- package/dist/{chunk-WAZL37JY.js → chunk-HSZC2LBB.js} +1 -1
- package/dist/chunk-I4FGM6UH.js +8 -0
- package/dist/chunk-I7GYNNCU.js +6 -0
- package/dist/{chunk-MFP63IUM.js → chunk-IBTQO3JD.js} +1 -1
- package/dist/{chunk-MVJSQT7V.js → chunk-IISE7SBT.js} +1 -1
- package/dist/chunk-IUZZWXJG.js +3 -0
- package/dist/chunk-IWML2HLC.js +5 -0
- package/dist/{chunk-CTNBSUVU.js → chunk-JA2QZ635.js} +2 -2
- package/dist/chunk-JOJRABPY.js +3 -0
- package/dist/chunk-JQKB3D37.js +1 -0
- package/dist/chunk-JROJL6RV.js +1 -0
- package/dist/{chunk-4JU7N2OF.js → chunk-JTPVSO6Y.js} +1 -1
- package/dist/chunk-JWDUSMCA.js +1 -0
- package/dist/{chunk-3CKUOG4B.js → chunk-KLYJDAP6.js} +1 -1
- package/dist/{chunk-LZZAD3FW.js → chunk-KVROYIUQ.js} +1 -1
- package/dist/chunk-L5XWYTHY.js +836 -0
- package/dist/chunk-LOTGSNS5.js +2 -0
- package/dist/{chunk-KHRZFJHM.js → chunk-LQLFMDVD.js} +1 -1
- package/dist/{chunk-Z4E2EXZV.js → chunk-LSWFHTJT.js} +1 -1
- package/dist/{chunk-BPJRQOHO.js → chunk-LV2IWYGL.js} +1 -1
- package/dist/{chunk-XRWQ7AXY.js → chunk-LYPNQFWX.js} +1 -1
- package/dist/{chunk-UJSCQJLW.js → chunk-MRVQ6XRW.js} +1 -1
- package/dist/chunk-MVVHISCR.js +2 -0
- package/dist/{chunk-VPOAOUT4.js → chunk-N4DE5H65.js} +1 -1
- package/dist/{chunk-W6ST525S.js → chunk-N56BJ3F7.js} +1 -1
- package/dist/{chunk-POOKYUTJ.js → chunk-NF7MOA4K.js} +1 -1
- package/dist/{chunk-PQDB3FUL.js → chunk-NGN7U2UF.js} +1 -1
- package/dist/{chunk-KDMJ2BLO.js → chunk-NTVEJYKI.js} +1 -1
- package/dist/chunk-NYABB6XW.js +1 -0
- package/dist/{chunk-RSGIMVPN.js → chunk-O6E7YL7N.js} +2 -2
- package/dist/chunk-OASB6XPV.js +16 -0
- package/dist/{chunk-I6DVGPJ7.js → chunk-OBYY45BX.js} +1 -1
- package/dist/chunk-OETFY7FE.js +28 -0
- package/dist/{chunk-K5OTE6CX.js → chunk-OEZATTOS.js} +1 -1
- package/dist/{chunk-D34ZSTCK.js → chunk-OG7SF4FU.js} +1 -1
- package/dist/chunk-OM243CQ6.js +6 -0
- package/dist/chunk-P3Z5RLVV.js +3 -0
- package/dist/{chunk-ZFA5DIJ3.js → chunk-PBBZNGS4.js} +1 -1
- package/dist/chunk-PGTKKP2B.js +11 -0
- package/dist/chunk-PK4ID32C.js +1 -0
- package/dist/{chunk-G7C4LBG2.js → chunk-PVOWU77O.js} +1 -1
- package/dist/{chunk-SYBKHTVU.js → chunk-PXD2WJOI.js} +3 -3
- package/dist/chunk-PXXTSW6I.js +4 -0
- package/dist/{chunk-IYFHBTJ2.js → chunk-PZHE37Z4.js} +1 -1
- package/dist/{chunk-WHXY372K.js → chunk-Q34PKJRR.js} +1 -1
- package/dist/{chunk-6QWLOSUQ.js → chunk-Q3O3AFZT.js} +1 -1
- package/dist/chunk-Q45XAEG2.js +16 -0
- package/dist/{chunk-DPMOLROM.js → chunk-QAXFCAOV.js} +5 -5
- package/dist/{chunk-FXBQKJTS.js → chunk-QBGSSUJP.js} +1 -1
- package/dist/chunk-QILWHHAQ.js +1 -0
- package/dist/{chunk-HGFCNPSN.js → chunk-QJST4LZX.js} +1 -1
- package/dist/chunk-QQN4PJZD.js +1 -0
- package/dist/{chunk-OAEGTH4Q.js → chunk-QSKOR3ED.js} +1 -1
- package/dist/{chunk-C4UCOQUP.js → chunk-QTEWTPAQ.js} +2 -2
- package/dist/chunk-QWDJRSJJ.js +1 -0
- package/dist/{chunk-TUWRPDTE.js → chunk-R757TSQ6.js} +1 -1
- package/dist/chunk-RCIU7NHA.js +1 -0
- package/dist/chunk-RGIUP4FW.js +1 -0
- package/dist/{chunk-4SXHXMK6.js → chunk-RHNFWHFY.js} +1 -1
- package/dist/{chunk-6QU2BHVL.js → chunk-S7536EWZ.js} +4 -4
- package/dist/{chunk-GW7IEG4G.js → chunk-SDFO7P2M.js} +1 -1
- package/dist/{chunk-7O2KMA4J.js → chunk-SDJNAUU6.js} +1 -1
- package/dist/chunk-SGBLCVUX.js +1 -0
- package/dist/chunk-SJARQZVN.js +3 -0
- package/dist/chunk-SKRUMRB4.js +383 -0
- package/dist/{chunk-BU6LJZG7.js → chunk-SW5EWGBJ.js} +1 -1
- package/dist/chunk-SXPWOYLT.js +7 -0
- package/dist/chunk-T234RERA.js +7 -0
- package/dist/chunk-TJJVX7CU.js +4 -0
- package/dist/{chunk-TTV2GWNE.js → chunk-TMV37ENR.js} +1 -1
- package/dist/{chunk-4UAJ6ULU.js → chunk-TNXZWQZU.js} +1 -1
- package/dist/{chunk-GUPUXFIP.js → chunk-TO7TXDLU.js} +1 -1
- package/dist/chunk-TSLZNTFM.js +3 -0
- package/dist/{chunk-NAQ7KT6L.js → chunk-UFU2LGFK.js} +1 -1
- package/dist/chunk-VDDNDA5K.js +15 -0
- package/dist/{chunk-F33TYJM5.js → chunk-VFO5OYQ4.js} +1 -1
- package/dist/{chunk-4DIR65KL.js → chunk-VFP3PUGZ.js} +24 -24
- package/dist/{chunk-6QDOCBD4.js → chunk-VZUHMW5E.js} +4 -3
- package/dist/chunk-W7CBJNXD.js +12 -0
- package/dist/chunk-WCAGYCT7.js +4 -0
- package/dist/{chunk-DPNZWBT5.js → chunk-WNO2V53C.js} +1 -1
- package/dist/{chunk-4XE6E4DC.js → chunk-WPUQTUDX.js} +1 -1
- package/dist/chunk-WU7MSL3I.js +8 -0
- package/dist/chunk-WXV35TPE.js +1 -0
- package/dist/{chunk-77KSMVIO.js → chunk-XBSWZ6BT.js} +6 -6
- package/dist/chunk-XCNJL7ES.js +1 -0
- package/dist/{chunk-WM3GKSPE.js → chunk-XFZDFDZV.js} +1 -1
- package/dist/chunk-XTYSJIZY.js +1 -0
- package/dist/chunk-Y5ZN62VF.js +1 -0
- package/dist/{chunk-EBBS7VG6.js → chunk-YAH5WFYR.js} +3 -3
- package/dist/{chunk-EJJPVVQ2.js → chunk-YBQKJHZW.js} +1 -1
- package/dist/chunk-YD66PU3Y.js +1 -0
- package/dist/chunk-YGFEUXKQ.js +1 -0
- package/dist/chunk-YJWNM4XO.js +18 -0
- package/dist/{chunk-RX63KGTK.js → chunk-YQQHBFMA.js} +1 -1
- package/dist/chunk-YRHFPXC3.js +1 -0
- package/dist/chunk-YTJ3EPD3.js +1 -0
- package/dist/chunk-YX5GRXRS.js +2368 -0
- package/dist/chunk-Z35PUKKP.js +7 -0
- package/dist/{chunk-WKRX4FBZ.js → chunk-Z3XIZMEM.js} +1 -1
- package/dist/chunk-ZGASBRSQ.js +5 -0
- package/dist/{chunk-HS3VTFW3.js → chunk-ZHJ6KA43.js} +1 -1
- package/dist/{chunk-H6TWXT6Q.js → chunk-ZO4IBP4B.js} +1 -1
- package/dist/chunk-ZOYSMJ27.js +1 -0
- package/dist/chunk-ZPCCSPAE.js +3 -0
- package/dist/chunk-ZSJXZCAW.js +4 -0
- package/dist/{chunk-A2BZY6TE.js → chunk-ZSVR5NEO.js} +1 -1
- package/dist/{chunk-J774336K.js → chunk-ZUVAHONX.js} +1 -1
- package/dist/chunk-ZVDFCUJT.js +2 -0
- package/dist/cli/commands/app/app-logs/sources.js +1 -1
- package/dist/cli/commands/app/build.js +1 -1
- package/dist/cli/commands/app/bulk/cancel.js +1 -1
- package/dist/cli/commands/app/bulk/execute.js +1 -1
- package/dist/cli/commands/app/bulk/status.js +1 -1
- package/dist/cli/commands/app/config/link.js +1 -1
- package/dist/cli/commands/app/config/pull.js +1 -1
- package/dist/cli/commands/app/config/use.js +1 -1
- package/dist/cli/commands/app/config/validate.js +1 -1
- package/dist/cli/commands/app/demo/watcher.js +1 -1
- package/dist/cli/commands/app/deploy.js +1 -1
- package/dist/cli/commands/app/dev/clean.js +1 -1
- package/dist/cli/commands/app/dev.js +1 -1
- package/dist/cli/commands/app/env/pull.js +1 -1
- package/dist/cli/commands/app/env/show.js +1 -1
- package/dist/cli/commands/app/execute.js +1 -1
- package/dist/cli/commands/app/function/build.js +1 -1
- package/dist/cli/commands/app/function/info.js +1 -1
- package/dist/cli/commands/app/function/replay.js +1 -1
- package/dist/cli/commands/app/function/run.js +1 -1
- package/dist/cli/commands/app/function/schema.js +1 -1
- package/dist/cli/commands/app/function/typegen.js +1 -1
- package/dist/cli/commands/app/generate/extension.js +1 -1
- package/dist/cli/commands/app/graphiql.js +1 -1
- package/dist/cli/commands/app/import/channel-config.js +1 -0
- package/dist/cli/commands/app/import/custom-data-definitions.js +1 -0
- package/dist/cli/commands/app/import/dashboard-extensions.js +1 -0
- package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import-extensions.js +1 -1
- package/dist/cli/commands/app/info.js +1 -1
- package/dist/cli/commands/app/init.js +1 -1
- package/dist/cli/commands/app/logs.js +1 -1
- package/dist/cli/commands/app/release.js +1 -1
- package/dist/cli/commands/app/security/check.js +1 -0
- package/dist/cli/commands/app/security/clean.js +1 -0
- package/dist/cli/commands/app/security/instructions.js +1 -0
- package/dist/cli/commands/app/security/record.js +1 -0
- package/dist/cli/commands/app/security/review.js +1 -0
- package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/list.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/status.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/unschedule.js +1 -1
- package/dist/cli/commands/app/versions/list.js +1 -1
- package/dist/cli/commands/app/webhook/trigger.js +1 -1
- package/dist/cli/commands/auth/login.d.ts +16 -1
- package/dist/cli/commands/auth/login.js +1 -1
- package/dist/cli/commands/auth/logout.d.ts +16 -1
- package/dist/cli/commands/auth/logout.js +1 -1
- package/dist/cli/commands/cache/clear.js +1 -1
- package/dist/cli/commands/config/autoupgrade/off.d.ts +13 -0
- package/dist/cli/commands/config/autoupgrade/off.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.d.ts +13 -0
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- package/dist/cli/commands/config/autoupgrade/status.d.ts +13 -0
- package/dist/cli/commands/config/autoupgrade/status.js +1 -1
- package/dist/cli/commands/debug/command-flags.js +1 -1
- package/dist/cli/commands/doc/fetch.d.ts +2 -0
- package/dist/cli/commands/doc/fetch.js +1 -1
- package/dist/cli/commands/doc/search.d.ts +1 -0
- package/dist/cli/commands/doc/search.js +1 -1
- package/dist/cli/commands/docs/generate.js +1 -1
- package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
- package/dist/cli/commands/doctor-release/theme/index.d.ts +1 -0
- package/dist/cli/commands/doctor-release/theme/index.js +1 -1
- package/dist/cli/commands/help.d.ts +431 -1
- package/dist/cli/commands/help.js +1 -1
- package/dist/cli/commands/kitchen-sink/async.js +1 -1
- package/dist/cli/commands/kitchen-sink/index.js +1 -1
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
- package/dist/cli/commands/kitchen-sink/static.js +1 -1
- package/dist/cli/commands/notifications/generate.js +1 -1
- package/dist/cli/commands/notifications/list.js +1 -1
- package/dist/cli/commands/organization/list.js +1 -1
- package/dist/cli/commands/search.d.ts +11 -1
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/send-analytics.js +1 -1
- package/dist/cli/commands/theme/check.js +1 -1
- package/dist/cli/commands/theme/console.js +1 -1
- package/dist/cli/commands/theme/delete.js +1 -1
- package/dist/cli/commands/theme/dev.js +1 -1
- package/dist/cli/commands/theme/duplicate.js +1 -1
- package/dist/cli/commands/theme/info.js +1 -1
- package/dist/cli/commands/theme/init.js +1 -1
- package/dist/cli/commands/theme/language-server.js +1 -1
- package/dist/cli/commands/theme/list.js +1 -1
- package/dist/cli/commands/theme/metafields/pull.js +1 -1
- package/dist/cli/commands/theme/open.js +1 -1
- package/dist/cli/commands/theme/package.js +1 -1
- package/dist/cli/commands/theme/preview.js +1 -1
- package/dist/cli/commands/theme/profile.js +1 -1
- package/dist/cli/commands/theme/publish.js +1 -1
- package/dist/cli/commands/theme/pull.js +1 -1
- package/dist/cli/commands/theme/push.js +1 -1
- package/dist/cli/commands/theme/rename.js +1 -1
- package/dist/cli/commands/theme/share.js +1 -1
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/version.d.ts +15 -1
- package/dist/cli/commands/version.js +1 -1
- package/dist/cli/help.d.ts +5 -2
- package/dist/cli/help.js +6 -2
- package/dist/cli/services/commands/auth/login/types.d.ts +11 -0
- package/dist/cli/services/commands/auth/login/types.js +7 -0
- package/dist/cli/services/commands/config/autoupgrade/index.d.ts +3 -0
- package/dist/cli/services/commands/config/autoupgrade/index.js +9 -0
- package/dist/cli/services/commands/config/autoupgrade/result.d.ts +2 -0
- package/dist/cli/services/commands/config/autoupgrade/result.js +15 -0
- package/dist/cli/services/commands/config/autoupgrade/types.d.ts +10 -0
- package/dist/cli/services/commands/config/autoupgrade/types.js +7 -0
- package/dist/cli/services/commands/doc/fetch.d.ts +1 -1
- package/dist/cli/services/commands/doc/fetch.js +11 -2
- package/dist/cli/services/commands/help/index.d.ts +3 -0
- package/dist/cli/services/commands/help/index.js +51 -0
- package/dist/cli/services/commands/help/result.d.ts +2 -0
- package/dist/cli/services/commands/help/result.js +6 -0
- package/dist/cli/services/commands/help/types.d.ts +431 -0
- package/dist/cli/services/commands/help/types.js +71 -0
- package/dist/cli/services/commands/search/index.d.ts +2 -0
- package/dist/cli/services/commands/search/index.js +8 -0
- package/dist/cli/services/commands/search/result.d.ts +2 -0
- package/dist/cli/services/commands/search/result.js +12 -0
- package/dist/cli/services/commands/search/types.d.ts +10 -0
- package/dist/cli/services/commands/search/types.js +7 -0
- package/dist/cli/services/commands/version/index.d.ts +2 -0
- package/dist/cli/services/commands/version/index.js +5 -0
- package/dist/cli/services/commands/version/result.d.ts +2 -0
- package/dist/cli/services/commands/version/result.js +6 -0
- package/dist/cli/services/commands/version/types.d.ts +10 -0
- package/dist/cli/services/commands/version/types.js +7 -0
- package/dist/command-json-schema-Y3N2NUZN.js +1 -0
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-5UUKEHZV.js → conf-store-5ZA3ILWV.js} +1 -1
- package/dist/custom-oclif-loader-VQKMCXNH.js +1 -0
- package/dist/deprecations-PFQXWNF6.js +1 -0
- package/dist/dist-4X53WJBQ.js +1 -0
- package/dist/dist-5M2V3YCM.js +1 -0
- package/dist/environment-ZUTBXY7U.js +1 -0
- package/dist/environments-3RUZ7F4Q.js +1 -0
- package/dist/error-FBSXLW22.js +1 -0
- package/dist/error-handler-D5BURRJ7.js +1 -0
- package/dist/fs-ZLV5W4TV.js +1 -0
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/plugin-plugins.js +1 -1
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +1 -1
- package/dist/hooks/public-metadata.js +1 -1
- package/dist/hooks/sensitive-metadata.js +1 -1
- package/dist/hooks/tunnel-provider.js +1 -1
- package/dist/hooks/tunnel-start.js +1 -1
- package/dist/http-proxy-node16-D3JUYA5D.js +38 -0
- package/dist/index.js +13 -14
- package/dist/is-global-GZ5CIXQA.js +1 -0
- package/dist/json-error-2BL3UZ7H.js +1 -0
- package/dist/lib-AD2G3QH3.js +1 -0
- package/dist/lib-VEVNMHDE.js +1 -0
- package/dist/lib-ZQW4E7QU.js +1 -0
- package/dist/local-KAZJAYLX.js +1 -0
- package/dist/metadata-M3ZE24WB.js +1 -0
- package/dist/{morph-BMYYMQNX.js → morph-42EXMN3K.js} +3 -3
- package/dist/node-package-manager-RVPONQBY.js +1 -0
- package/dist/notifications-system-MYEMV7JF.js +1 -0
- package/dist/os-DRUILZZR.js +1 -0
- package/dist/output-SDE274Y5.js +1 -0
- package/dist/{path-MBXP7ZIC.js → path-6YMSTSWG.js} +1 -1
- package/dist/system-5FQ3L5PA.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui-TEZZM7SE.js +1 -0
- package/dist/uncaught-error-handler.d.ts +6 -0
- package/dist/uncaught-error-handler.js +33 -0
- package/dist/upgrade-3PIVJYBL.js +1 -0
- package/dist/version-FMWTVLMF.js +1 -0
- package/dist/version-IAMVSP7U.js +1 -0
- package/dist/workerd-WRW4ZUYM.js +18 -0
- package/oclif.manifest.json +2646 -226
- package/package.json +17 -8
- package/dist/analytics-4D5FCVMV.js +0 -1
- package/dist/analytics-XRYJEPWC.js +0 -1
- package/dist/chunk-2IZROVCY.js +0 -1
- package/dist/chunk-2KD4LHRT.js +0 -5
- package/dist/chunk-2SOA4M4G.js +0 -1
- package/dist/chunk-2WNF5BX4.js +0 -18
- package/dist/chunk-2Z52XJQG.js +0 -1
- package/dist/chunk-34PQ6LJC.js +0 -1
- package/dist/chunk-3NW372KT.js +0 -1
- package/dist/chunk-4JLOCGTK.js +0 -3
- package/dist/chunk-4NZ465W4.js +0 -1
- package/dist/chunk-5EME57E6.js +0 -7
- package/dist/chunk-5N33O2RV.js +0 -1
- package/dist/chunk-5PAPCPUM.js +0 -1
- package/dist/chunk-5U24BORP.js +0 -6
- package/dist/chunk-6ARAJULJ.js +0 -1
- package/dist/chunk-7VJPQ52S.js +0 -15
- package/dist/chunk-7ZEVVGCH.js +0 -1
- package/dist/chunk-A5FV7HOY.js +0 -16
- package/dist/chunk-ADS7BFDG.js +0 -15
- package/dist/chunk-ADUMJRRY.js +0 -1
- package/dist/chunk-AI4SPBPV.js +0 -2
- package/dist/chunk-AKETXXYD.js +0 -1
- package/dist/chunk-ANOCIVJ3.js +0 -8
- package/dist/chunk-BMPCDXJR.js +0 -4
- package/dist/chunk-CAKGQWX4.js +0 -7
- package/dist/chunk-CBGDD3ZG.js +0 -317
- package/dist/chunk-CRALWNNO.js +0 -1
- package/dist/chunk-CUGLV7UX.js +0 -1
- package/dist/chunk-CWSQIPY5.js +0 -5
- package/dist/chunk-D6LV5CJL.js +0 -2
- package/dist/chunk-DGMHUJV3.js +0 -4
- package/dist/chunk-ENUN2VSC.js +0 -2
- package/dist/chunk-EX7Y3BEH.js +0 -1
- package/dist/chunk-FDK3NDYQ.js +0 -5
- package/dist/chunk-FLV6UQRA.js +0 -1
- package/dist/chunk-FTC3BXSD.js +0 -3
- package/dist/chunk-FXWNYGIW.js +0 -1
- package/dist/chunk-G5272L77.js +0 -7
- package/dist/chunk-G5QSVBYP.js +0 -19
- package/dist/chunk-G6SURO6V.js +0 -8
- package/dist/chunk-GBYDMHZ3.js +0 -3
- package/dist/chunk-GCN4O7HM.js +0 -1
- package/dist/chunk-GR6NR5QK.js +0 -1
- package/dist/chunk-HKHGJYRC.js +0 -1
- package/dist/chunk-IKNCFVVX.js +0 -1
- package/dist/chunk-IMIPD73V.js +0 -6
- package/dist/chunk-IPN5OHBY.js +0 -6
- package/dist/chunk-J2HBEHCX.js +0 -9
- package/dist/chunk-K3OI5VDE.js +0 -1
- package/dist/chunk-KB43BSFM.js +0 -3
- package/dist/chunk-KGRDHI2A.js +0 -2
- package/dist/chunk-KNCYAIJ2.js +0 -7
- package/dist/chunk-KYNXMDFU.js +0 -836
- package/dist/chunk-L7CQQML6.js +0 -6
- package/dist/chunk-LCVDLQEZ.js +0 -1
- package/dist/chunk-NDAUL4H4.js +0 -1
- package/dist/chunk-NDFKLPHJ.js +0 -1705
- package/dist/chunk-NUKSSKYR.js +0 -1
- package/dist/chunk-NVNDQQN6.js +0 -8
- package/dist/chunk-O452KNRL.js +0 -1
- package/dist/chunk-P5R6JZMT.js +0 -6
- package/dist/chunk-PDWJ2YH2.js +0 -1
- package/dist/chunk-PSSOCUUD.js +0 -375
- package/dist/chunk-PWXGGZQB.js +0 -1
- package/dist/chunk-QKUTVLRJ.js +0 -4
- package/dist/chunk-QOOVB6RW.js +0 -6
- package/dist/chunk-RGJVJ22M.js +0 -3
- package/dist/chunk-TIG7SSKB.js +0 -3
- package/dist/chunk-TU47HMTL.js +0 -1
- package/dist/chunk-UBTHWHPB.js +0 -12
- package/dist/chunk-UDWSRNKO.js +0 -1
- package/dist/chunk-VE6BYYBP.js +0 -5
- package/dist/chunk-W3BNL2Q5.js +0 -1
- package/dist/chunk-WDY5CK2T.js +0 -11
- package/dist/chunk-WHZKFG2B.js +0 -1
- package/dist/chunk-WLU7UG44.js +0 -3
- package/dist/chunk-WNBRPWSB.js +0 -1
- package/dist/chunk-WWRLFLGM.js +0 -2
- package/dist/chunk-XOEBZR5C.js +0 -3
- package/dist/chunk-YGSXN3YD.js +0 -28
- package/dist/chunk-YN5SVIOI.js +0 -11
- package/dist/chunk-YVB7ZPHR.js +0 -20
- package/dist/chunk-ZIAXZ5VG.js +0 -1
- package/dist/chunk-ZZNGFCJ3.js +0 -4
- package/dist/cli/commands/app/doctor/instructions.js +0 -1
- package/dist/cli/commands/app/doctor.js +0 -1
- package/dist/cli/commands/config/autoupgrade/constants.d.ts +0 -4
- package/dist/cli/commands/config/autoupgrade/constants.js +0 -1
- package/dist/cli/services/commands/search.d.ts +0 -1
- package/dist/cli/services/commands/search.js +0 -7
- package/dist/cli/services/commands/version.d.ts +0 -1
- package/dist/cli/services/commands/version.js +0 -6
- package/dist/custom-oclif-loader-BWAMUFQ4.js +0 -1
- package/dist/deprecations-DVGWC3RL.js +0 -1
- package/dist/dist-CN7N5IOM.js +0 -1
- package/dist/dist-Q5U4WGYG.js +0 -1
- package/dist/environments-M4CFP4XF.js +0 -1
- package/dist/error-ZES2RSN7.js +0 -1
- package/dist/error-handler-CRTU67VJ.js +0 -1
- package/dist/fs-GELMKEWX.js +0 -1
- package/dist/http-proxy-node16-A6AKKRQH.js +0 -38
- package/dist/is-global-X2QNCXXB.js +0 -1
- package/dist/lib-2BR2WN7L.js +0 -1
- package/dist/lib-M72BVWQ3.js +0 -1
- package/dist/lib-P3APEIHY.js +0 -1
- package/dist/local-HMFFXIE3.js +0 -1
- package/dist/metadata-SXJZZMCI.js +0 -1
- package/dist/node-package-manager-2D2CIFTG.js +0 -1
- package/dist/notifications-system-WH6MAXEN.js +0 -1
- package/dist/os-PY42WAOB.js +0 -1
- package/dist/output-MSTNB7GI.js +0 -1
- package/dist/system-7XRI63YJ.js +0 -1
- package/dist/ui-77QYNWJB.js +0 -1
- package/dist/upgrade-UVPNOKKK.js +0 -1
- package/dist/version-DXGPL73I.js +0 -1
- package/dist/version-XMVQO6PD.js +0 -1
- package/dist/workerd-SOWC66FA.js +0 -18
package/dist/chunk-IMIPD73V.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{a as f,b as R,c as _,d as N,e as O,f as F,g as j,h as x,i as E,j as L}from"./chunk-NDFKLPHJ.js";import{a as $}from"./chunk-4JU7N2OF.js";import{b as C,c as I}from"./chunk-2IZROVCY.js";import{b as A}from"./chunk-UBTHWHPB.js";import{A as v,B as P,D as b,V as D,z as w}from"./chunk-PSSOCUUD.js";import{h as k}from"./chunk-W3BNL2Q5.js";import{a as z}from"./chunk-CTNBSUVU.js";import{wb as S}from"./chunk-G5QSVBYP.js";import{d as a,f as c,g as y}from"./chunk-773TIA5M.js";import{e as q,g as i}from"./chunk-VKWPEFWQ.js";i();i();i();import{randomBytes as U}from"node:crypto";import{lstat as p,mkdir as Q,realpath as T,rename as X,unlink as Z,writeFile as tt}from"node:fs/promises";function et(t){let e=a(t,".shopify","app-doctor");return{artifactDirectory:e,reviewPath:a(e,"review.json"),tracePath:a(e,"trace.json")}}async function B(t){let e=et(t.appRoot);return await nt(t.appRoot,e.artifactDirectory),await W(e.tracePath,`${JSON.stringify(t.trace,null,2)}
|
|
2
|
-
`),t.operation!=="scan"?{artifactDirectory:e.artifactDirectory,tracePath:e.tracePath}:(await W(e.reviewPath,`${JSON.stringify(t.reviewPack,null,2)}
|
|
3
|
-
`),e)}async function nt(t,e){let n=c(t),o=c(e);J(n,o);let r=await p(n);(r.isSymbolicLink()||!r.isDirectory())&&d(o);let s=n;for(let K of[".shopify","app-doctor"])s=a(s,K),await ot(s);let u=await T(n),V=await T(o);J(u,V)}async function ot(t){try{let n=await p(t);(n.isSymbolicLink()||!n.isDirectory())&&d(t);return}catch(n){if(n.code!=="ENOENT")throw n}await Q(t,{mode:448});let e=await p(t);(e.isSymbolicLink()||!e.isDirectory())&&d(t)}function J(t,e){let n=y(t,e);(!n||n.startsWith("..")||n.startsWith("/"))&&d(e)}function d(t){throw new k(`Refusing to write App Doctor artifacts through a symbolic link or outside the app: ${t}`,"Remove or replace the unsafe App Doctor artifact path, then run the command again.")}async function W(t,e){await h(t);let n=`${t}.${U(8).toString("hex")}.tmp`;await h(n);try{await tt(n,e,{encoding:"utf8",mode:384}),await h(t),await X(n,t)}catch(o){throw await Z(n).catch(()=>{}),o}}async function h(t){try{(await p(t)).isSymbolicLink()&&d(t)}catch(e){if(e.code==="ENOENT")return;throw e}}i();function H(t){return t.operation==="scan"?{operation:"scan",engine:t.engine,scan:t.scan,trace:t.trace,reviewPack:t.reviewPack}:{operation:"compile",engine:t.engine,scan:t.scan,trace:t.trace,findings:t.findings}}function Y(t){return`${JSON.stringify(t,null,2)}
|
|
4
|
-
`}i();var rt={high:"High",medium:"Medium",low:"Low"};function it(t){return{type:st(t),options:{headline:at(t),body:ct(t),...t.findings?{}:{nextSteps:ft(t.commands)},reference:[{subdued:`Engine: ${t.engine.name} ${t.engine.version}`},{subdued:`Ruleset: ${t.engine.ruleset}`}],customSections:dt(t)}}}function G(t){let{type:e,options:n}=it(t);if(e==="success"){w(n);return}if(e==="warning"){v(n);return}P(n)}function M(t){return t.scan.score===null||!t.scan.scan.coverage_complete||t.scan.scan.coverage_gaps.length>0}function st(t){return t.findings&&t.findings.rejected.length>0||t.scan.issues.some(e=>e.severity==="high")?"error":t.scan.issues.length>0||M(t)?"warning":"success"}function at(t){if(t.findings&&t.findings.rejected.length>0)return"App Doctor could not compile some agent findings.";let e=t.scan.issues.length;return e>0?`${e} security ${e===1?"issue":"issues"} found.`:M(t)?"Scan completed with coverage gaps.":"No security issues found."}function ct(t){let e=t.scan,n=[{userInput:f(e.app.name)},{char:"."},`${e.scan.files_scanned} files scanned in ${ht(t.elapsedMilliseconds)}.`],o=e.scan.checks_executed.filter(r=>r.status==="not_applicable").length;return o>0&&n.push({info:`
|
|
5
|
-
${o} check${o===1?"":"s"} not applicable.`}),t.reviewCheckCount!==void 0&&n.push({info:`
|
|
6
|
-
${t.reviewCheckCount} check${t.reviewCheckCount===1?"":"s"} ready for your coding agent.`}),n}function ft(t){return[["Investigate the review pack, then compile the trace with",{command:E(t.compile)}]]}function dt(t){let e=[];for(let n of ut(t.scan.issues))e.push({title:rt[n.severity],body:{list:{items:n.issues.map(o=>lt(o,t.verbose))}}});if(t.scan.scan.coverage_gaps.length>0){let n=t.scan.scan.coverage_gaps,o=n.slice(0,8).map(r=>f(r.message));n.length>8&&o.push({info:`${n.length-8} more coverage gaps`}),e.push({title:"Coverage gaps",body:{list:{items:o}}})}if(t.findings){let n=[t.findings.accepted===0&&t.findings.rejected.length>0?"No agent findings were merged.":`Merged ${t.findings.accepted} agent finding(s) into the trace.`,...t.findings.rejected.map(o=>({error:`Rejected: ${f(o)}`})),...(t.findings.warnings??[]).map(o=>({warn:f(o)})),["Trace written to",{filePath:t.tracePath}]];e.push({title:"Agent findings",body:{list:{items:n}}})}else t.reviewPath&&e.push({title:"Artifacts",body:{list:{items:[["Review pack:",{filePath:t.reviewPath}],["Trace:",{filePath:t.tracePath}]]}}});return t.verbose&&e.push({title:"Scan details",body:{tabularData:[["Framework",t.scan.detection.framework],["Surface",t.scan.detection.surface],["Languages",t.scan.detection.languages.map(n=>`${n.name} (${n.support})`).join(", ")||"none"],["Capabilities",pt(t.scan.capabilities)],["Rules run",String(t.scan.scan.rules_run)],["Not run",String(t.scan.scan.rules_skipped)],["Input hash",t.scan.scan.input_hash],["Result hash",t.scan.scan.result_hash]],firstColumnSubdued:!0}}),e}function lt(t,e){let n=R(t),o=n.location.line?`${n.location.file}:${n.location.line}`:n.location.file,r=[{bold:n.title},{subdued:n.id},{filePath:o}];return e&&(r.push({subdued:n.message},{subdued:`Fix: ${n.fix.description}`}),n.fix.guide&&(n.fix.guide.startsWith("https://")||n.fix.guide.startsWith("http://")?r.push({link:{label:"Docs",url:n.fix.guide}}):r.push({subdued:`Docs: ${n.fix.guide}`})),n.snippet&&r.push({subdued:`Code: ${n.snippet}`})),r}function ut(t){let e=[];for(let n of _(t)){let o=e[e.length-1];o?.severity===n.severity?o.issues.push(n):e.push({severity:n.severity,issues:[n]})}return e}function pt(t){let e=Object.entries(t).filter(([,n])=>n).map(([n])=>n);return e.length>0?e.join(", "):"none detected"}function ht(t){return t<1e3?`${Math.round(t)}ms`:`${(t/1e3).toFixed(1)}s`}var mt={message:"How would you like to hand the results to your coding agent?",choices:[{label:"Copy instructions to the clipboard",value:"copy"},{label:"Print instructions to the terminal",value:"print"},{label:"Nothing",value:"nothing"}],defaultValue:"copy"},gt={execute:async({directory:t,findingsPath:e})=>{let n=F(t),o=e?await O(e):void 0;return j({appRoot:n,findings:o})},writeArtifacts:B,canPrompt:D,selectInstructionsDestination:()=>b(mt),deliverInstructions:L,output:S,renderReport:G,setExitCode:t=>{process.exitCode=t}};async function yt(t,e){return t.json||t.skipInstructions||t.findingsPath?"nothing":t.yes?"print":e.canPrompt()?e.selectInstructionsDestination():"nothing"}function wt(t,e,n,o){return{scan:t.scan,engine:t.engine,verbose:n,elapsedMilliseconds:t.elapsedMilliseconds,commands:o,tracePath:e.tracePath,reviewPath:e.reviewPath,reviewCheckCount:t.operation==="scan"?t.reviewPack.checks.length:void 0,findings:t.operation==="compile"?t.findings:void 0}}async function m(t,e=gt){let n=await e.execute({directory:t.directory,findingsPath:t.findingsPath}),o=await e.writeArtifacts(n),r=x(n.appRoot);t.json?e.output(Y(H(n))):e.renderReport(wt(n,o,t.verbose,r));let s=await yt(t,e);s!=="nothing"&&await e.deliverInstructions({directory:t.directory,copy:s==="copy",scanComplete:!0,commands:r});let u=N(n,t.blocking);u!==0&&e.setExitCode(u)}var l=q(z(),1);var vt=["high","medium","low","none"],g=class t extends A{static hidden=!0;static summary="Check an app for Shopify-specific security issues.";static descriptionWithMarkdown="Runs Shopify App Doctor locally and creates its review pack and trace.\n\nPass `--findings` after completing the review pack to validate agent findings and compile them into the trace. In interactive terminals, the command offers to copy the coding-agent instructions, print them, or choose nothing; copying is the default. In CI and other non-interactive environments, instructions aren't offered unless you pass `--yes`, which prints them. JSON output never prompts or prints those instructions. You can also run `shopify app doctor instructions` to print, copy, or write them later.\n\nCVE detection runs `npm audit` (or the pnpm/yarn equivalent) in an isolated sandbox and sends package names and versions to the public npm registry at https://registry.npmjs.org/.";static description=this.descriptionWithoutMarkdown();static flags={...C,path:$.path,...I,findings:l.Flags.string({description:"Validate agent findings from a JSON file and compile them into the trace.",parse:async e=>c(e),env:"SHOPIFY_FLAG_APP_DOCTOR_FINDINGS"}),blocking:l.Flags.string({description:"The minimum finding severity that causes a non-zero exit code.",options:vt,default:"none",env:"SHOPIFY_FLAG_APP_DOCTOR_BLOCKING"}),yes:l.Flags.boolean({description:"Print coding-agent instructions without prompting.",default:!1,exclusive:["skip-instructions"],env:"SHOPIFY_FLAG_YES"}),"skip-instructions":l.Flags.boolean({description:"Don't offer to show coding-agent instructions.",default:!1,exclusive:["yes"],env:"SHOPIFY_FLAG_APP_DOCTOR_SKIP_INSTRUCTIONS"})};async run(){let{flags:e}=await this.parse(t);await m({directory:e.path,json:e.json,verbose:!!e.verbose,blocking:e.blocking,yes:e.yes,skipInstructions:e["skip-instructions"],findingsPath:e.findings})}};export{g as a};
|
package/dist/chunk-IPN5OHBY.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-UBTHWHPB.js";import{y as i}from"./chunk-PSSOCUUD.js";import{t}from"./chunk-DPMOLROM.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var o=class extends r{static summary="Disable automatic upgrades for Shopify CLI.";static descriptionWithMarkdown=`Disable automatic upgrades for Shopify CLI.
|
|
2
|
-
|
|
3
|
-
When auto-upgrade is disabled, Shopify CLI won't automatically update. Run \`shopify upgrade\` to update manually.
|
|
4
|
-
|
|
5
|
-
To enable auto-upgrade, run \`shopify config autoupgrade on\`.
|
|
6
|
-
`;static description=this.descriptionWithoutMarkdown();async run(){t(!1),i({body:e.off})}};export{o as a};
|
package/dist/chunk-J2HBEHCX.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{b as i}from"./chunk-2IZROVCY.js";import{b as o}from"./chunk-UBTHWHPB.js";import{N as t}from"./chunk-PSSOCUUD.js";import{a as p}from"./chunk-CTNBSUVU.js";import{e as h,g as a}from"./chunk-VKWPEFWQ.js";a();a();async function c(r){let e=new URLSearchParams;e.append("search",r??""),await t(`https://shopify.dev?${e.toString()}`)}var n=h(p(),1),s=class r extends o{static description="Search shopify.dev for the most relevant content matching a query. Best for discovery \u2014 surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch`.";static usage="search [query]";static examples=[`# open the search modal on Shopify.dev
|
|
2
|
-
shopify search
|
|
3
|
-
|
|
4
|
-
# search for a term on Shopify.dev
|
|
5
|
-
shopify search <query>
|
|
6
|
-
|
|
7
|
-
# search for a phrase on Shopify.dev
|
|
8
|
-
shopify search "<a search query separated by spaces>"
|
|
9
|
-
`];static args={query:n.Args.string()};static flags={...i};async run(){let{args:e}=await this.parse(r);await c(e.query)}};export{s as a};
|
package/dist/chunk-K3OI5VDE.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as d}from"./chunk-TUWRPDTE.js";import{Aa as i}from"./chunk-KYNXMDFU.js";import{A as m,B as u,E as s,H as a}from"./chunk-PSSOCUUD.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();function f(e){return[`'${e.name}'`,{subdued:`(#${e.id})`}]}function y(e){return{list:{items:e.map(f)}}}async function T(e,r="It doesn't seem like you're running this command in a theme directory.",o,n){if(e)return!0;if(n)return u({headline:o?`Environment: ${o}`:"",body:r}),!1;if(m({body:r}),!process.stdout.isTTY)return!0;let t=await s({message:"Do you want to proceed?"});return i(`theme-service:confirm-directory:${t}`),t}async function v(e,r,o){if(e.role!==d||!process.stdout.isTTY||o)return!0;let n=`You're about to ${r} on your live theme "${e.name}". This will make changes visible to customers. Are you sure you want to proceed?`,t=await s({message:n,confirmationMessage:"Yes, proceed with live theme",cancellationMessage:"No, cancel"});return i(`theme-service:confirm-live-theme:${t}`),t}async function E(e,r,o=!1){e.length>0&&await a(e,{renderOptions:{stdout:r??process.stderr},noProgressBar:o})}export{f as a,y as b,T as c,v as d,E as e};
|
package/dist/chunk-KB43BSFM.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{b as g}from"./chunk-2IZROVCY.js";import{b as y}from"./chunk-UBTHWHPB.js";import{r as u}from"./chunk-KYNXMDFU.js";import{h as r}from"./chunk-W3BNL2Q5.js";import{a as R}from"./chunk-CTNBSUVU.js";import{ua as l,wa as m,wb as v,xb as w}from"./chunk-G5QSVBYP.js";import{f as p,i as h}from"./chunk-773TIA5M.js";import{e as A,g as s}from"./chunk-VKWPEFWQ.js";s();s();var U="text/markdown",L="X-Shopify-Surface",E="cli",F=["shopify.dev"];async function S(t,e){let c;try{c=new URL(t)}catch{throw new r(`Invalid URL: ${t}`)}let{hostname:d}=c;if(!F.some(o=>d===o||d.endsWith(`.${o}`)))throw new r(`Only documents from the following hosts can be fetched: ${F.join(", ")}.`);let i=await u(t,{headers:{Accept:U,[L]:E}});if(!i.ok)throw new r(`Failed to fetch ${t}: ${i.status} ${i.statusText}`);let f=await i.text();if(e){let o=p(e);await m(h(o)),await l(o,f),w(`Saved ${t} to ${o}`);return}v(f)}var n=A(R(),1),a=class t extends y{static description="Download a complete document from shopify.dev. Every page on shopify.dev has a Markdown version, and that is what this tool returns. Use this to pull an entire document verbatim \u2014 for example, a set of instructions an agent follows like a centrally-served skill. For finding the relevant pieces of content across shopify.dev instead, use `doc search`.";static examples=[`# fetch the Markdown version of a Shopify.dev page
|
|
2
|
-
shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli`,`# save the document to a file instead of printing it
|
|
3
|
-
shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --output docs/shopify-cli.md`];static flags={...g,url:n.Flags.string({description:"The shopify.dev URL to fetch.",env:"SHOPIFY_FLAG_URL",required:!0}),output:n.Flags.string({description:"Write the document to this file path instead of printing it to stdout.",env:"SHOPIFY_FLAG_OUTPUT"})};async run(){let{flags:e}=await this.parse(t);await S(e.url,e.output)}};export{a};
|
package/dist/chunk-KGRDHI2A.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{W as X,ca as z,da as j,ea as v,fa as J,ga as A,ha as W,ia as k,ja as q,ka as N,la as B,ma as L,na as K,oa as R,pa as Q}from"./chunk-CBGDD3ZG.js";import{c as H}from"./chunk-WWRLFLGM.js";import{b as T,e as G,m as l}from"./chunk-AI4SPBPV.js";import{D as x,z as U}from"./chunk-PSSOCUUD.js";import{h as C,j as P}from"./chunk-W3BNL2Q5.js";import{Ta as V,X as c,_ as b,qa as F,sb as $,wa as I,ya as D}from"./chunk-G5QSVBYP.js";import{d as E,j as M}from"./chunk-773TIA5M.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();s();function Y(e){switch(e){case d.Offsite:return v;case d.CreditCard:return L;case d.CustomCreditCard:return N;case d.CustomOnsite:return k;case d.Redeemable:return A;case d.CardPresent:return R}}var d;(function(e){e.Offsite="payments_app",e.CreditCard="payments_app_credit_card",e.CustomCreditCard="payments_app_custom_credit_card",e.CustomOnsite="payments_app_custom_onsite",e.Redeemable="payments_app_redeemable",e.CardPresent="payments_app_card_present"})(d||(d={}));function Z(e,t){let i=e.activeVersion?.context??e.draftVersion?.context??Y(e.type);switch(i){case v:return w(e,t,J);case L:return w(e,t,K);case N:return w(e,t,B);case k:return w(e,t,q);case A:return w(e,t,W);case R:return w(e,t,Q);default:throw new Error(`Unsupported extension: ${i}`)}}function w(e,t,i){let n=(e.activeVersion??e.draftVersion)?.config;if(!n)throw new Error("No config found for extension");let r=JSON.parse(n),p=i(r,t);p&&delete p.api_version;let a=e.activeVersion?.context??e.draftVersion?.context??Y(e.type);return{api_version:r.api_version,extensions:[{name:e.title,type:"payments_extension",handle:c(e.title.substring(0,l)),...p,targeting:[{target:`${a}`}]}]}}s();s();var pe=new Map(j.map(e=>[e[1],e[0]])),fe=(e,t)=>{let i=pe.get(e.uiType);if(!i)throw new C(`Field type ${e.uiType} is not supported`);let o={key:e.name,description:e.description??void 0,type:i};return t==="flow_action_definition"&&(o.name=e.label,o.required=e.required),o},ue=(e,t)=>{let n={type:t==="flow_action_definition"?`${e.name.replace("_id","")}_reference`:`${e.uiType}_reference`};return t==="flow_action_definition"&&(n.required=e.required),e.uiType==="marketing-activity-id"&&(n.marketingActivityCreateUrl=e.marketingActivityCreateUrl,n.marketingActivityDeleteUrl=e.marketingActivityDeleteUrl),n},ee=(e,t)=>t?t.map(o=>o.uiType==="commerce-object-id"||o.uiType==="marketing-activity-id"||z.includes(o.uiType)?ue(o,e):fe(o,e)):[];function te(e){let t=e.activeVersion?.config??e.draftVersion?.config;if(!t)throw new Error("No config found for extension");let i=e.type==="flow_action_definition"?"https://url.com/api/execute":void 0,o;if(e.type==="flow_trigger_discovery_webhook"){let n=JSON.parse(t);o={extensions:[{type:"flow_trigger_lifecycle_callback",name:e.title,handle:c(e.title.substring(0,l)),url:n.url}]}}else{let n=JSON.parse(t),r=ee(e.type,n.fields??[]);o={extensions:[{type:e.type.replace("_definition",""),name:n.title,handle:c(e.title.substring(0,l)),description:n.description,runtime_url:n.url??i,config_page_url:n.custom_configuration_page_url,config_page_preview_url:n.custom_configuration_page_preview_url,validation_url:n.validation_url}],settings:(r?.length??0)>0?{fields:r}:void 0}}return o}s();s();var ie=e=>{let t=e.split("#");if(t.length!==2||t.some(p=>p===""||p===void 0))throw new Error("Invalid context");let i="admin",o=de(t[0]??""),n=me(t[1]??""),r="link";return n==="selection"?[i,`${o}-index`,`${n}-action`,r].join("."):[i,`${o}-${n}`,"action",r].join(".")},me=e=>{switch(e.toLocaleLowerCase()){case"show":return"details";case"index":return"index";case"action":return"selection";case"fulfilled_card":return"fulfilled-card";default:throw new Error(`Invalid context location: ${e}`)}},de=e=>e.toLocaleLowerCase()==="variants"?"product-variant":b(e.toLocaleLowerCase().replace(new RegExp("(s)$"),""));function ne(e,t,i){let o=e.activeVersion?.config??e.draftVersion?.config;if(!o)throw new Error("No config found for extension");let n=e.activeVersion?.context??e.draftVersion?.context;if(!n)throw new Error("No context found for link extension");let r=JSON.parse(o);if(i.embedded)try{let a=new URL(r.url),_=a.pathname.startsWith("/")?a.pathname.substring(1):a.pathname,u=new URL(`app://${_}`);u.search=a.search,u.hash=a.hash,r.url=u.toString()}catch{}return{extensions:[{type:"admin_link",name:r.text,handle:c(e.title.substring(0,l)),targeting:[{url:r.url,target:ie(n)}]}]}}s();var ge={facebook:"social",instagram:"social",google:"search",pinterest:"social",bing:"search",email:"email",snapchat:"social",sms:"sms",verizon_media:"display",ebay:"marketplace",tiktok:"social",flow:"email"},_e={facebook:"facebook.com",instagram:"instagram.com",google:"google.com",pinterest:"pinterest.com",bing:"bing.com",snapchat:"snapchat.com",verizon_media:null,email:null,sms:null,ebay:"ebay.com",tiktok:"tiktok.com",flow:null};function ye(e){let t=new URL(e);return t.pathname+t.search+t.hash}function oe(e){let t=e.activeVersion?.config??e.draftVersion?.config;if(!t)throw new Error("No config found for extension");let i=JSON.parse(t);return{extensions:[{type:"marketing_activity",name:e.title,handle:c(e.title.substring(0,l)),title:i.title,description:i.description,api_path:ye(i.app_api_url),tactic:i.tactic,marketing_channel:ge[i.platform]??"",referring_domain:_e[i.platform]??"",is_automation:i.is_automation,use_external_editor:i.use_external_editor,preview_data:i.preview_data,fields:i.fields.map(({id:n,...r})=>r)}]}}s();function re(e){let t=e.activeVersion?.config??e.draftVersion?.config;if(!t)throw new Error("No config found for extension");let i=JSON.parse(t);return{extensions:[{type:"subscription_link_extension",name:e.title,handle:c(e.title.substring(0,l)),pattern:i.pattern}]}}var O=[{label:"Payments Extensions",value:"payments",extensionTypes:["payments_app","payments_app_credit_card","payments_app_custom_credit_card","payments_app_custom_onsite","payments_app_redeemable","payments_extension"],buildExtensionConfig:Z},{label:"Flow Extensions",value:"flow",extensionTypes:["flow_action_definition","flow_trigger_definition","flow_trigger_discovery_webhook"],buildExtensionConfig:te},{label:"Marketing Activity Extensions",value:"marketing activity",extensionTypes:["marketing_activity_extension"],buildExtensionConfig:oe},{label:"Subscription Link Extensions",value:"subscription link",extensionTypes:["subscription_link","subscription_link_extension"],buildExtensionConfig:re},{label:"Admin Link extensions",value:"link extension",extensionTypes:["app_link","bulk_action"],buildExtensionConfig:ne}];function se(e){return O.filter(t=>t.extensionTypes.some(i=>e.some(o=>o.type.toLowerCase()===i.toLowerCase())))}async function ft(e){if(e.length===1&&e[0])return e[0];let t=e.map(n=>({label:n.label,value:n.value})),i=await x({message:"Extension type to migrate",choices:t}),o=e.find(n=>n.value===i);if(o===void 0)throw new C("Invalid migration choice");return o}s();var vt=O.flatMap(e=>e.extensionTypes),g;(function(e){e.Write="write",e.Skip="skip",e.Cancel="cancel"})(g||(g={}));async function Ee({name:e,app:t}){let i=b(e),o=E(t.directory,G.extensions.directoryName,i);if(await V(o)){let n=[{label:"Overwrite local TOML with remote configuration",value:g.Write},{label:"Keep local TOML",value:g.Skip},{label:"Cancel",value:g.Cancel}],r=await x({message:`Directory "${i}" already exists. What would you like to do?`,choices:n});if(r===g.Cancel)throw new P;return{directory:o,action:r}}return await I(o),await F(E(o,T.lockFile)),{directory:o,action:g.Write}}async function Ce(e){let{app:t,remoteApp:i,extensionTypes:o,extensions:n,buildExtensionConfig:r,all:p}=e,a=n.filter(f=>o.includes(f.type.toLowerCase()));if(a=we(t,a),a.length===0)throw new C("No extensions to migrate");if(!p){let f=a.map(y=>({label:y.title,value:y.uuid}));a.length>1&&f.push({label:"All",value:"All"});let m=await x({message:"Extensions to migrate",choices:f});m!=="All"&&(a=[a.find(y=>y?.uuid===m)])}let _={},u=a.map(async f=>{let{directory:m,action:y}=await Ee({app:t,name:f.title}),ae=c(f.title.substring(0,l));if(_[ae]=f.uuid,y===g.Write){let S=r(f,n,t.configuration),ce=E(m,"shopify.extension.toml");await new H(ce,S).replace(S);let le=E(m,T.lockFile);await D(le)}return{extension:f,directory:E("extensions",M(m))}}),h=await Promise.all(u);xe(h),await X({app:t,appApiKey:i.apiKey,extensionUuids:_,command:"import-extensions"})}function we(e,t){let i=e.dotenv?.variables??{},o=e.allExtensions.map(n=>i[n.idEnvironmentVariableName]);return t.filter(n=>!o.includes(n.uuid))}async function At(e){let t=se(e.extensions);await Promise.all(t.map(async i=>Ce({...e,extensionTypes:i.extensionTypes,buildExtensionConfig:i.buildExtensionConfig,all:!0})))}function xe(e){U({headline:["Imported the following extensions from the dashboard:"],body:e.map(t=>$`• "${t.extension.title}" at: ${t.directory}`.value).join(`
|
|
2
|
-
`)})}s();async function Lt({developerPlatformClient:e,apiKey:t,organizationId:i,extensionTypes:o,onlyDashboardManaged:n=!1}){let r=await e.appExtensionRegistrations({id:t,apiKey:t,organizationId:i}),{dashboardManagedExtensionRegistrations:p,extensionRegistrations:a}=r.app;return(n?p:a.concat(p)).filter(u=>{let h=o.includes(u.type.toLowerCase()),f=u.activeVersion&&u.activeVersion.config,m=u.draftVersion&&u.draftVersion.config;return h&&(f??m)})}export{se as a,ft as b,vt as c,Ce as d,we as e,At as f,Lt as g};
|
package/dist/chunk-KNCYAIJ2.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{A as n,B as i,C as t,G as s,y as e,z as o}from"./chunk-PSSOCUUD.js";import{h as d,k as l}from"./chunk-W3BNL2Q5.js";import{g as r}from"./chunk-VKWPEFWQ.js";r();async function u(){e({headline:"CLI update available.",body:["Run",{command:"npm run shopify upgrade"},{char:"."}]}),e({headline:["To connect this project to your shopify store cd into:",{filePath:"/my-store/hydrogen.config.js"},{char:"."}],body:["You can also try the following steps:",{list:{items:[["Run",{command:"shopify project connect"}],["Run",{command:"hydrogen start"}]]}}]}),e({headline:"About your app.",customSections:[{body:{tabularData:[["Configuration file",{filePath:"shopify.app.scalable-transaction-app.toml"}],["App name",{userInput:"scalable-transaction-app"}],["Access scopes","read_products,write_products"]],firstColumnSubdued:!0}}]}),e({headline:[{userInput:"my-app"},"initialized and ready to build."],nextSteps:[["Run",{command:"cd verification-app"}],["To preview your project, run",{command:"npm app dev"}],["To add extensions, run",{command:"npm generate extension"}]],reference:[["Run",{command:"npm shopify help"}],{link:{label:"Dev docs",url:"https://shopify.dev"}}],customSections:[{title:"Custom section",body:{list:{items:[{link:{label:"Item 1",url:"https://shopify.com"}},"Item 2",{link:{url:"https://community.shopify.com/"}}]}}},{title:"Custom section 2",body:{list:{items:["Item 1","Item 2","Item 3"]}}}]}),o({headline:"CLI updated.",body:"You are now running version 3.47."}),o({headline:"Deployment successful.",body:"Your extensions have been uploaded to your Shopify Partners Dashboard.",nextSteps:[{link:{label:"See your deployment and set it live",url:"https://partners.shopify.com/1797046/apps/4523695/deployments"}}]}),n({headline:"You have reached your limit of checkout extensions for this app.",body:"You can free up space for a new one by deleting an existing one."}),n({headline:"Required access scope update.",body:"The deadline for re-selecting your app scopes is May 1, 2022.",reference:[{link:{label:"Dev docs",url:"https://shopify.dev/app/scopes"}}]});let a=new l("Something went wrong.");a.stack=`
|
|
2
|
-
Error: Unexpected error
|
|
3
|
-
at Module._compile (internal/modules/cjs/loader.js:1137:30)
|
|
4
|
-
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
|
|
5
|
-
at Module.load (internal/modules/cjs/loader.js:985:32)
|
|
6
|
-
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
|
|
7
|
-
`,t(a);let c=[["Have you",{link:{label:"created a Shopify Partners organization",url:"https://partners.shopify.com/signup"}},{char:"?"}],"Have you confirmed your accounts from the emails you received?",["Need to connect to a different App or organization? Run the command again with",{command:"--reset"}]];t(new d("No Organization found",void 0,c)),i({headline:"Version couldn't be released.",body:"This version needs to be submitted for review and approved by Shopify before it can be released."}),s({rows:[{id:"1",name:"John Doe",email:"jon@doe.com"},{id:"2",name:"Jane Doe",email:"jane@doe.com"},{id:"3",name:"John Smith",email:"jon@smith.com"}],columns:{id:{header:"ID",color:"red"},name:{header:"Name",color:"dim"},email:{}}})}export{u as a};
|