shopify 4.9.2 → 4.9.3
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-CLYTLX2B.js +1 -0
- package/dist/analytics-K6IFFIPX.js +1 -0
- package/dist/bootstrap.js +1 -1
- package/dist/{chunk-ELJ34WWD.js → chunk-2E2NYRQH.js} +1 -1
- package/dist/{chunk-JUCOIXG5.js → chunk-2GYIQINP.js} +1 -1
- package/dist/{chunk-FNKTF2OF.js → chunk-2NRFFAV4.js} +1 -1
- package/dist/{chunk-4565O5TG.js → chunk-2S7WRX2J.js} +1 -1
- package/dist/{chunk-HKZ75UKL.js → chunk-2WQGEYBB.js} +1 -1
- package/dist/{chunk-N4AR2B6D.js → chunk-32HWTEOM.js} +1 -1
- package/dist/chunk-3B3CJS5I.js +1 -0
- package/dist/chunk-3FCN4NS6.js +6 -0
- package/dist/{chunk-CDIKRQ6M.js → chunk-3FPVTPQO.js} +1 -1
- package/dist/{chunk-JCKA3O5A.js → chunk-3JN6OWIO.js} +1 -1
- package/dist/{chunk-CNAMKKAK.js → chunk-3U2OMG7L.js} +1 -1
- package/dist/{chunk-3ZL4TDTH.js → chunk-3YAD263J.js} +1 -1
- package/dist/{chunk-OXN2DID2.js → chunk-43DSLBSX.js} +1 -1
- package/dist/{chunk-I55L6FOM.js → chunk-46I3BQZH.js} +1 -1
- package/dist/{chunk-5BO5HCN6.js → chunk-4J7HQGWI.js} +1 -1
- package/dist/{chunk-46U6C6C6.js → chunk-4LTQEQ4O.js} +1 -1
- package/dist/{chunk-TWS34WUT.js → chunk-4MUH4E2U.js} +1 -1
- package/dist/{chunk-EZ5F4ZFY.js → chunk-4Q5TSWQL.js} +3 -3
- package/dist/{chunk-IQIUFTR6.js → chunk-4Q7NZI5A.js} +1 -1
- package/dist/{chunk-BVVYKX4D.js → chunk-4RFKEFWW.js} +1 -1
- package/dist/{chunk-X6HLGOIV.js → chunk-52ZHZWF7.js} +1 -1
- package/dist/{chunk-SHBB5GST.js → chunk-543SYIY6.js} +1 -1
- package/dist/chunk-5BGUKF7L.js +1 -0
- package/dist/{chunk-3NRGGEGU.js → chunk-5LONOHNN.js} +1 -1
- package/dist/{chunk-R6IJRVVM.js → chunk-5LZ5L2FF.js} +1 -1
- package/dist/{chunk-AVOSD4NV.js → chunk-5RJ6KQHZ.js} +1 -1
- package/dist/{chunk-WZEKBD7B.js → chunk-66JMKA7C.js} +1 -1
- package/dist/{chunk-J7ZG6SO3.js → chunk-6BVQSX7D.js} +1 -1
- package/dist/{chunk-G627WGIC.js → chunk-6HWDGTSX.js} +2 -2
- package/dist/{chunk-RBPMV3KB.js → chunk-6JOZHD34.js} +1 -1
- package/dist/{chunk-WINVPFT5.js → chunk-6ZSI3C4G.js} +1 -1
- package/dist/{chunk-TEASB2WU.js → chunk-73LX4DOM.js} +1 -1
- package/dist/{chunk-KY36HSIB.js → chunk-7AP5E5CF.js} +1 -1
- package/dist/{chunk-OERMQ2FP.js → chunk-7IYSJGFF.js} +2 -2
- package/dist/{chunk-3ATOVFLZ.js → chunk-7KCHSZ6H.js} +1 -1
- package/dist/{chunk-NDMISEDF.js → chunk-7KVTQDRW.js} +1 -1
- package/dist/{chunk-YKYJOUV7.js → chunk-7NHCYOKI.js} +1 -1
- package/dist/{chunk-Z5SFLTH6.js → chunk-7SIY6GZD.js} +1 -1
- package/dist/{chunk-BLBJT7BM.js → chunk-A36J5FWZ.js} +1 -1
- package/dist/{chunk-UB2LAIXS.js → chunk-A6KNDSNT.js} +1 -1
- package/dist/{chunk-JJHJYBPQ.js → chunk-A6NAQ2Y3.js} +1 -1
- package/dist/{chunk-EMRUM6AA.js → chunk-A75SA57D.js} +1 -1
- package/dist/{chunk-65I35VBS.js → chunk-A76YYGZT.js} +1 -1
- package/dist/{chunk-UOKX3AME.js → chunk-ACGPDJ6Q.js} +1 -1
- package/dist/{chunk-PV5C6Q2P.js → chunk-ADGPOQ5M.js} +1 -1
- package/dist/{chunk-PQMKPXFV.js → chunk-ADL6JSX7.js} +1 -1
- package/dist/{chunk-J66WAKXN.js → chunk-ADVNRGOU.js} +1 -1
- package/dist/{chunk-D2S566HF.js → chunk-AF36J7R7.js} +1 -1
- package/dist/{chunk-ZJ4H3XEL.js → chunk-B32O5KET.js} +1 -1
- package/dist/{chunk-5TQOMAJS.js → chunk-BHOZAIHS.js} +1 -1
- package/dist/{chunk-KPNUSDCW.js → chunk-BWCPDFEY.js} +1 -1
- package/dist/{chunk-SDHDDNKM.js → chunk-BZSCRXYR.js} +3 -3
- package/dist/{chunk-LIQSNIB3.js → chunk-C4G7OKJD.js} +1 -1
- package/dist/{chunk-6H3HVSO5.js → chunk-CB6QT5K5.js} +1 -1
- package/dist/{chunk-7EDXMGBQ.js → chunk-CGCM5DB7.js} +1 -1
- package/dist/{chunk-XE5QH4D7.js → chunk-CNA5YGXA.js} +1 -1
- package/dist/{chunk-UYRXUGLY.js → chunk-CNHO3T4F.js} +1 -1
- package/dist/{chunk-4S2WKMLJ.js → chunk-CPT2VBMR.js} +1 -1
- package/dist/{chunk-GPJJA3FX.js → chunk-CQKZSB7Z.js} +1 -1
- package/dist/{chunk-7ZNR4YL4.js → chunk-CTDETNGR.js} +1 -1
- package/dist/{chunk-MP5NZL7C.js → chunk-CTVOXVXG.js} +1 -1
- package/dist/{chunk-2X3HYG4B.js → chunk-DE5BUQL5.js} +1 -1
- package/dist/{chunk-BVR3GF2L.js → chunk-DHWY73OS.js} +1 -1
- package/dist/chunk-DPGUL2TW.js +1 -0
- package/dist/{chunk-PYILLIGT.js → chunk-DWDR7XMI.js} +1 -1
- package/dist/{chunk-RY6TZDVV.js → chunk-E7PW5SVD.js} +1 -1
- package/dist/{chunk-Q4TZD2M6.js → chunk-EA5LKCRF.js} +1 -1
- package/dist/{chunk-HYC3JXR4.js → chunk-EJ46P6A3.js} +1 -1
- package/dist/{chunk-QN6SITWN.js → chunk-EM6KPZCM.js} +1 -1
- package/dist/{chunk-TUE67I2F.js → chunk-FHOBQUQT.js} +1 -1
- package/dist/{chunk-2R2PKQQV.js → chunk-FKGN6F3F.js} +1 -1
- package/dist/{chunk-KYBZ2MBA.js → chunk-FLPWT4AK.js} +1 -1
- package/dist/{chunk-55QTRPZ2.js → chunk-FMBC7LZB.js} +1 -1
- package/dist/{chunk-OMEWUFUL.js → chunk-GB4WR6DY.js} +1 -1
- package/dist/{chunk-EXKTQF26.js → chunk-GBG6SUK4.js} +1 -1
- package/dist/{chunk-JCO2SDDR.js → chunk-GIGA7EU3.js} +1 -1
- package/dist/{chunk-WXT5AKZV.js → chunk-GOBTF2ZH.js} +1 -1
- package/dist/{chunk-OIQVPTNQ.js → chunk-GPJAWTR7.js} +1 -1
- package/dist/{chunk-7ARGLS6W.js → chunk-GQZ3KCWJ.js} +1 -1
- package/dist/{chunk-C4GEP3CX.js → chunk-H3N5LKJD.js} +1 -1
- package/dist/{chunk-525BMYNR.js → chunk-H4PXFC7T.js} +1 -1
- package/dist/{chunk-ELQ5NPPB.js → chunk-H5ZPH2EC.js} +1 -1
- package/dist/{chunk-RAQP66LR.js → chunk-HHNMV6GX.js} +1 -1
- package/dist/{chunk-PQH4U2XV.js → chunk-HJPAHR2V.js} +1 -1
- package/dist/{chunk-XTKXBQVA.js → chunk-HQ4JWC5M.js} +1 -1
- package/dist/{chunk-UMSO6MOI.js → chunk-IH2CB73H.js} +1 -1
- package/dist/{chunk-IESHPQLC.js → chunk-IJM576XA.js} +1 -1
- package/dist/{chunk-3NUQGW57.js → chunk-IKN6ICJR.js} +1 -1
- package/dist/{chunk-RCYQPOJW.js → chunk-IN634BRF.js} +3 -3
- package/dist/{chunk-Q26ES5T3.js → chunk-IR6OW5R2.js} +1 -1
- package/dist/{chunk-JKWB7WTO.js → chunk-ISU7Q2EB.js} +1 -1
- package/dist/{chunk-EMKLN75K.js → chunk-J6BK6SNB.js} +1 -1
- package/dist/{chunk-NLKO2J7T.js → chunk-JQ3DMPI6.js} +1 -1
- package/dist/{chunk-6NLGZGYE.js → chunk-JTXQPPKQ.js} +1 -1
- package/dist/{chunk-7IRPE3M5.js → chunk-JYWFR6VL.js} +1 -1
- package/dist/chunk-KD5AYVA2.js +1 -0
- package/dist/{chunk-PG6XEOYF.js → chunk-KEI3OJVP.js} +1 -1
- package/dist/{chunk-EP5HIGAL.js → chunk-KFOU4WLJ.js} +1 -1
- package/dist/{chunk-BPVXYM6G.js → chunk-KI3VRWBP.js} +1 -1
- package/dist/{chunk-DTGIMRBX.js → chunk-KRL7FE6M.js} +1 -1
- package/dist/{chunk-BLCR7BXU.js → chunk-KWKRJYTY.js} +1 -1
- package/dist/{chunk-2NMICU24.js → chunk-KXZQKOKF.js} +1 -1
- package/dist/{chunk-LWF4EV22.js → chunk-KY4WH4ZK.js} +1 -1
- package/dist/{chunk-T3JUBPBU.js → chunk-KZ54OSBH.js} +1 -1
- package/dist/{chunk-YXKMPCFH.js → chunk-KZE6JT42.js} +1 -1
- package/dist/{chunk-OCQZ2ULI.js → chunk-KZWYFH7M.js} +1 -1
- package/dist/chunk-L4DFMMOI.js +1 -0
- package/dist/{chunk-5JW2EYSE.js → chunk-LGRZQTQL.js} +1 -1
- package/dist/{chunk-AKP4QAGL.js → chunk-LIE6QSQ2.js} +1 -1
- package/dist/{chunk-VXGXK66W.js → chunk-LOTMFUSV.js} +1 -1
- package/dist/{chunk-CHRFYG6W.js → chunk-MAQ3SRQF.js} +1 -1
- package/dist/{chunk-2P5DUPT7.js → chunk-MBE23GGW.js} +1 -1
- package/dist/{chunk-SZ2JOXTG.js → chunk-MDGF3K45.js} +1 -1
- package/dist/{chunk-MIP2Y34N.js → chunk-ME4EYPKZ.js} +1 -1
- package/dist/{chunk-7MMPQMU7.js → chunk-MMCDBR23.js} +1 -1
- package/dist/{chunk-R43LXE66.js → chunk-MNHZWEXI.js} +1 -1
- package/dist/{chunk-YIV3CWED.js → chunk-MROQ2FRU.js} +1 -1
- package/dist/{chunk-SWNY3RUM.js → chunk-MVFBLQ4J.js} +1 -1
- package/dist/{chunk-FICC6IFE.js → chunk-MWVT5HYW.js} +1 -1
- package/dist/{chunk-NS4FUSSK.js → chunk-MYIN4HYW.js} +1 -1
- package/dist/{chunk-SQIESCOJ.js → chunk-MYP6QEJW.js} +1 -1
- package/dist/{chunk-UVC3IXM3.js → chunk-NC64STMQ.js} +1 -1
- package/dist/{chunk-WNE2MZAZ.js → chunk-NL6DJQJG.js} +1 -1
- package/dist/{chunk-E64OFJHF.js → chunk-NO3QDX7R.js} +1 -1
- package/dist/{chunk-2VDCTMLY.js → chunk-NYVG34OW.js} +1 -1
- package/dist/{chunk-U5L2P36D.js → chunk-O36EB75H.js} +1 -1
- package/dist/{chunk-IJLD5UYC.js → chunk-O7YHDFOO.js} +1 -1
- package/dist/{chunk-3E3MCY5O.js → chunk-OSGXBBUJ.js} +3 -3
- package/dist/{chunk-JWDR66AS.js → chunk-OUO2T3CC.js} +1 -1
- package/dist/{chunk-JAX56OYG.js → chunk-OVTWO3W7.js} +1 -1
- package/dist/{chunk-QA2NOPXG.js → chunk-P4MNJULR.js} +1 -1
- package/dist/{chunk-HZJHGHLN.js → chunk-P7YDAQ53.js} +1 -1
- package/dist/{chunk-7GJYJ6DU.js → chunk-PE6H7U6N.js} +1 -1
- package/dist/{chunk-Q7PF4VKI.js → chunk-PFBESNYV.js} +62 -51
- package/dist/{chunk-SRDKLZ4O.js → chunk-PFPVFPHV.js} +1 -1
- package/dist/{chunk-RW2MONAS.js → chunk-PQEFZTEJ.js} +1 -1
- package/dist/chunk-Q54LU5W4.js +1 -0
- package/dist/{chunk-I2LILWDI.js → chunk-QKJ542VO.js} +1 -1
- package/dist/{chunk-DH5E6NM3.js → chunk-QKSN6ZYW.js} +1 -1
- package/dist/{chunk-IOS4IDZ2.js → chunk-QZGVZMB5.js} +1 -1
- package/dist/{chunk-ER7ZTF26.js → chunk-RJGFFGEN.js} +1 -1
- package/dist/{chunk-BK4VCXDD.js → chunk-S34ZYEZS.js} +1 -1
- package/dist/{chunk-3EEH3A27.js → chunk-SZLNUMWO.js} +1 -1
- package/dist/{chunk-JLGXJHPX.js → chunk-T3LZJIZN.js} +1 -1
- package/dist/{chunk-EGJQEKAO.js → chunk-TFB4JJFQ.js} +1 -1
- package/dist/{chunk-THW6UDZH.js → chunk-TWT5LVEM.js} +1 -1
- package/dist/{chunk-MQZPASSP.js → chunk-UGJN5Q6Y.js} +1 -1
- package/dist/{chunk-TPPBEVNQ.js → chunk-UKINO57E.js} +1 -1
- package/dist/{chunk-3F42A3XV.js → chunk-UYWRJHAJ.js} +3 -3
- package/dist/{chunk-QMJZFKKU.js → chunk-UZL4B7LA.js} +1 -1
- package/dist/{chunk-EJY4LA2S.js → chunk-V4F4LQBQ.js} +1 -1
- package/dist/{chunk-HVU3D3ZU.js → chunk-VCAYMY7D.js} +2 -2
- package/dist/{chunk-ZZ7SOJHH.js → chunk-VDE7IIYQ.js} +1 -1
- package/dist/{chunk-B477XHLZ.js → chunk-VOOYVTYA.js} +1 -1
- package/dist/{chunk-MW3HFOPD.js → chunk-VWDVWHV7.js} +1 -1
- package/dist/{chunk-W56I6HOT.js → chunk-WEB63XPH.js} +1 -1
- package/dist/{chunk-DGOBYP74.js → chunk-WS54VCDC.js} +1 -1
- package/dist/{chunk-FU4UVINZ.js → chunk-WUGFTI5M.js} +1 -1
- package/dist/{chunk-PQCALXSD.js → chunk-X5VBX2QA.js} +1 -1
- package/dist/{chunk-JAY7AGAG.js → chunk-XBCFYD3T.js} +1 -1
- package/dist/{chunk-Z57YWHOE.js → chunk-XGFY6FV4.js} +1 -1
- package/dist/{chunk-PFIQR7XS.js → chunk-XMPLZWXP.js} +1 -1
- package/dist/{chunk-XRJ2GQ24.js → chunk-XSGYQXWO.js} +1 -1
- package/dist/{chunk-Q555FV2X.js → chunk-XVOUKPGD.js} +1 -1
- package/dist/{chunk-PI6FLLDD.js → chunk-XZHUUA6U.js} +1 -1
- package/dist/{chunk-VZLEYZLX.js → chunk-XZOSPVMV.js} +1 -1
- package/dist/{chunk-3U2MYUWG.js → chunk-Y45QFHVA.js} +1 -1
- package/dist/{chunk-SYNCIFJ6.js → chunk-YKK4PGCQ.js} +1 -1
- package/dist/{chunk-6SO5GA6P.js → chunk-YMAVVMN5.js} +1 -1
- package/dist/{chunk-M7QFZQ23.js → chunk-YN3NT2RC.js} +1 -1
- package/dist/{chunk-PGE4HGLA.js → chunk-YPGZANN3.js} +1 -1
- package/dist/{chunk-P6TOIMMF.js → chunk-YS447QGN.js} +1 -1
- package/dist/{chunk-RDO5IWB5.js → chunk-YUM5XGSV.js} +1 -1
- package/dist/{chunk-CGH5Y6XE.js → chunk-YVX2OJ7N.js} +1 -1
- package/dist/{chunk-ANHSOQTZ.js → chunk-YWS2OTSC.js} +1 -1
- package/dist/{chunk-MHZSSRHP.js → chunk-YZXNXWDR.js} +1 -1
- package/dist/{chunk-P2MVR6CG.js → chunk-Z5M2VWQZ.js} +1 -1
- package/dist/{chunk-GS52MX5F.js → chunk-ZBMEU2CE.js} +1 -1
- package/dist/{chunk-4QEALPWD.js → chunk-ZIL2P7FL.js} +1 -1
- package/dist/{chunk-RGZCV56L.js → chunk-ZRW47MJT.js} +1 -1
- package/dist/{chunk-T6TYF72N.js → chunk-ZZWGNETX.js} +1 -1
- 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 -1
- package/dist/cli/commands/app/import/custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import/dashboard-extensions.js +1 -1
- 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 -1
- package/dist/cli/commands/app/security/clean.js +1 -1
- package/dist/cli/commands/app/security/instructions.js +1 -1
- package/dist/cli/commands/app/security/record.js +1 -1
- package/dist/cli/commands/app/security/review.js +1 -1
- 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.js +1 -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.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- 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.js +1 -1
- 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.js +1 -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.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.js +1 -1
- package/dist/cli/help.js +1 -1
- package/dist/{command-json-schema-HYYJSZAH.js → command-json-schema-AWZEAYEU.js} +1 -1
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-CDZ5YSQM.js → conf-store-TBERV4YJ.js} +1 -1
- package/dist/{custom-oclif-loader-NVOK22CJ.js → custom-oclif-loader-RHFO4GO3.js} +1 -1
- package/dist/{deprecations-33DG6ZUL.js → deprecations-FNYLBULK.js} +1 -1
- package/dist/dist-HV5W7PYL.js +1 -0
- package/dist/dist-VKKGDJQ2.js +1 -0
- package/dist/environments-XC6OMZY2.js +1 -0
- package/dist/{error-V77H2UYX.js → error-SI2QH7DT.js} +1 -1
- package/dist/error-handler-XOEXJ4TY.js +1 -0
- package/dist/{fs-SKH3XZU7.js → fs-J67RRM6W.js} +1 -1
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.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/index.js +1 -1
- package/dist/{is-global-2G4BLF7H.js → is-global-BSY2VR5F.js} +1 -1
- package/dist/{json-error-WSMAL66C.js → json-error-BVX244JK.js} +1 -1
- package/dist/{local-G2Z24BHM.js → local-VCJXKA4Z.js} +1 -1
- package/dist/{metadata-Y3RKC4P2.js → metadata-G7M7BSIE.js} +1 -1
- package/dist/{node-package-manager-A7HTBJKY.js → node-package-manager-PMTBCYAX.js} +1 -1
- package/dist/notifications-system-O2R4VN7A.js +1 -0
- package/dist/{os-7VQXVZWF.js → os-MMNGCSNT.js} +1 -1
- package/dist/{output-ZFFHJGNK.js → output-2Q6CSC33.js} +1 -1
- package/dist/{system-ZLITSFDC.js → system-DQ2SKK6C.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-YSFALYSL.js → ui-QOSX5V7Z.js} +1 -1
- package/dist/upgrade-7HYLPUVK.js +1 -0
- package/dist/version-BPEZT4N3.js +1 -0
- package/dist/version-VNCEYJRH.js +1 -0
- package/dist/{workerd-RNDPF36Q.js → workerd-2RFRLQVH.js} +1 -1
- package/oclif.manifest.json +4 -4
- package/package.json +7 -7
- package/dist/analytics-H2ANKZ2S.js +0 -1
- package/dist/analytics-Q6HJRPRX.js +0 -1
- package/dist/chunk-246AZCDT.js +0 -1
- package/dist/chunk-DV77BSKW.js +0 -1
- package/dist/chunk-FQKURDZR.js +0 -6
- package/dist/chunk-JUVJNIEA.js +0 -1
- package/dist/chunk-KOYBR5MV.js +0 -1
- package/dist/chunk-QLHPTMIH.js +0 -1
- package/dist/chunk-TQ7MHGY4.js +0 -1
- package/dist/dist-DODCXJ2A.js +0 -1
- package/dist/dist-YXMAKIFS.js +0 -1
- package/dist/environments-KBRQNE4R.js +0 -1
- package/dist/error-handler-JY3ZKE2G.js +0 -1
- package/dist/notifications-system-E64OSVXF.js +0 -1
- package/dist/upgrade-I4JTR4LA.js +0 -1
- package/dist/version-AOVO47AW.js +0 -1
- package/dist/version-LQV54JBC.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as v}from"./chunk-J3JPJCWP.js";import{a as ue}from"./chunk-
|
|
1
|
+
import{a as v}from"./chunk-J3JPJCWP.js";import{a as ue}from"./chunk-GBG6SUK4.js";import{b as ne,c as se,d as ie,e as ae,f as le,h as ce,i as me,k as de,l as fe,n as he}from"./chunk-LIE6QSQ2.js";import{a as x}from"./chunk-O36EB75H.js";import{c as Z,e as b,m as ee,n as te}from"./chunk-XZHUUA6U.js";import{c as re,e as oe}from"./chunk-DE5BUQL5.js";import{k as P,l as X,n as w}from"./chunk-XBCFYD3T.js";import{s as C,u as k}from"./chunk-4MUH4E2U.js";import{a as Y,b as Q}from"./chunk-6JOZHD34.js";import{o as j,s as z,t as N,u as B,w as V}from"./chunk-Q7BOSHWX.js";import{na as L,ra as _}from"./chunk-OSGXBBUJ.js";import{A as R,C as G,D as U,N as J,V as K,w as W,y as M,z as q}from"./chunk-IN634BRF.js";import{b as $}from"./chunk-YTJ3EPD3.js";import{d as H,e as I}from"./chunk-HJPAHR2V.js";import{i as y}from"./chunk-VDE7IIYQ.js";import{Cb as g,Eb as T,Kb as E,Nb as u}from"./chunk-UYWRJHAJ.js";import{i as p}from"./chunk-B4OMIONW.js";import{g as f}from"./chunk-VKWPEFWQ.js";f();f();f();f();var pe={workPromise:Promise.resolve()};async function ye(e,t,o,r,n){if(o.length===0)return pe;u("Initiating theme asset reconciliation process");let{filesOnlyPresentLocally:i,filesOnlyPresentOnRemote:s,filesWithConflictingChecksums:l}=Se(o,r),a=i.length===0&&s.length===0&&l.length===0;if(_(`theme-service:theme-reconciliation:manual:${a}`),a)return u("Local and remote checksums match - no need to reconcile theme assets"),pe;let m=await Fe({filesOnlyPresentLocally:i,filesOnlyPresentOnRemote:s,filesWithConflictingChecksums:l},n);return{workPromise:Oe(e,t,r,m)}}function Se(e,t){let o=new Set,r=[],n=[];for(let s of e){o.add(s.key);let l=t.files.get(s.key);l?s.checksum!==l.checksum&&n.push(s):r.push(s)}let i=Array.from(t.files.values()).filter(s=>!o.has(s.key));return{filesOnlyPresentOnRemote:S(r,t),filesOnlyPresentLocally:S(i,t),filesWithConflictingChecksums:S(n,t)}}function S(e,t){return t.applyIgnoreFilters(e).filter(r=>r.key.endsWith(".json"))}async function A(e,t,o,r){if(e.length===0)return;if(r){Ae(e,o,r);return}M({body:{list:{title:t,items:e.map(i=>i.key)}}}),await U({message:"Reconciliation Strategy",choices:[{label:o.remote.label,value:D},{label:o.local.label,value:we}]})===D?o.remote.callback(e):o.local.callback(e)}function Ae(e,t,o){switch(o){case"keep-remote":t.remote.callback(e);break;case"keep-local":t.local.callback(e);break;case"abort":break}}function De(e){let t=[{title:"The files listed below are only present locally.",files:e.filesOnlyPresentLocally},{title:"The files listed below are only present on the remote theme.",files:e.filesOnlyPresentOnRemote},{title:"The files listed below differ between the local and remote versions.",files:e.filesWithConflictingChecksums}];throw new y("Theme JSON files need reconciliation.",t.filter(o=>o.files.length>0).map(o=>`${o.title}
|
|
2
2
|
${o.files.map(r=>`- ${r.key}`).join(`
|
|
3
3
|
`)}`).join(`
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y}from"./chunk-
|
|
1
|
+
import{a as y}from"./chunk-3B3CJS5I.js";import{a as d}from"./chunk-LOTMFUSV.js";import{Ha as h}from"./chunk-KEI3OJVP.js";import{b as g,c as l}from"./chunk-EA5LKCRF.js";import{a as m}from"./chunk-UGJN5Q6Y.js";import{Ib as u,Vb as f,b as e}from"./chunk-UYWRJHAJ.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();o();function S(s){return s.allExtensions.filter(t=>t.isFunctionExtension).map(t=>({source:`extensions.${t.configuration.handle}`,namespace:"extensions",handle:t.handle,name:t.name,type:t.type,externalType:t.externalType,humanName:t.humanName,uid:t.uid,directory:t.directory,configurationPath:t.configurationPath,configuration:t.configuration,entrySourceFilePath:t.entrySourceFilePath,outputPath:t.outputPath,surface:t.surface,features:t.features,dependency:t.dependency}))}o();var P=e.object({source:e.string(),namespace:e.literal("extensions"),handle:e.string(),name:e.string(),type:e.string(),externalType:e.string(),humanName:e.string(),uid:e.string(),directory:e.string(),configurationPath:e.string(),configuration:e.record(e.unknown()),entrySourceFilePath:e.string(),outputPath:e.string(),surface:e.string(),features:e.array(e.string()),dependency:e.string().optional()}).strict(),c=m({name:"AppLogSourcesResult",schema:e.object({sources:e.array(P)}).strict(),definitions:{AppLogSource:P}});o();function j(s,t){if(t==="json"){u(c.encode({sources:s}));return}let r=new Map;s.forEach(({source:a})=>{let n=a.split(".");if(n.length>=2){let i=n[0];r.has(i)||r.set(i,[]),r.set(i,[...r.get(i),a])}});for(let[a,n]of r)u(f(a,n.join(`
|
|
2
2
|
`)))}var p=class s extends y{static summary="Print out a list of sources that may be used with the logs command.";static descriptionWithMarkdown="The output source names can be used with the `--source` argument of `shopify app logs` to filter log output. Currently only function extensions are supported as sources.";static get jsonOutputSchema(){return c}static description=this.descriptionForHelp();static flags={...g,...d,...l};async run(){let{flags:t}=await this.parse(s),{app:r}=await h({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config});return r.errors.isEmpty()?j(S(r),t.json?"json":"text"):process.exit(2),{app:r}}};export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-YN3NT2RC.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends o{};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-2NRFFAV4.js";import{b as a}from"./chunk-4Q5TSWQL.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();var t=class extends a{static description="View the UI kit components that process async tasks";static hidden=!0;async run(){await o()}};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as h,ba as F,c,ca as g,f as k,g as v,n as m}from"./chunk-
|
|
1
|
+
import{A as h,ba as F,c,ca as g,f as k,g as v,n as m}from"./chunk-OSGXBBUJ.js";import{b as l}from"./chunk-XVOUKPGD.js";import{i as n,l as A}from"./chunk-VDE7IIYQ.js";import{Cb as b,Eb as f}from"./chunk-UYWRJHAJ.js";import{i as q}from"./chunk-WNO2V53C.js";import{g as d}from"./chunk-VKWPEFWQ.js";d();d();var $={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"publicApiVersions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicApiVersions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"handle"}},{kind:"Field",name:{kind:"Name",value:"supported"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};var S=new Map;async function Y(t,r,e,o){let p="Admin",u=o??await T(r),s=r.storeFqdn,i=V(r);l()==="local"&&(i["x-forwarded-host"]=s,s=new m().host("app"));let a=E(s,u,r);return F({query:t,api:p,addedHeaders:i,url:a,token:r.token,variables:e})}async function D(t){let{query:r,session:e,variables:o,version:p,responseOptions:u,preferredBehaviour:s}=t,i=p??S.get(e.storeFqdn);i??=await T(e,s);let a=e.storeFqdn,y=V(e);l()==="local"&&(y["x-forwarded-host"]=a,a=new m().host("app"));let x={url:E(a,i,e),api:"Admin",token:e.token,addedHeaders:y},w;return"refresh"in e&&(w={type:"token_refresh",handler:e.refresh}),g({...x,query:r,variables:o,responseOptions:u,unauthorizedHandler:w,preferredBehaviour:s})}function V(t){return h(t)?{"X-Shopify-Shop":t.storeFqdn,"X-Shopify-Access-Token":t.token}:{}}async function T(t,r){let o=(await N(t,r)).reverse()[0];return S.set(t.storeFqdn,o),o}async function N(t,r){return(await R(t,r)).filter(o=>o.supported).map(o=>o.handle).sort()}async function R(t,r){try{return(await D({query:$,session:t,variables:{},version:"unstable",responseOptions:{handleErrors:!1},preferredBehaviour:r})).publicApiVersions}catch(e){if(e instanceof c&&e.response.status===403){let o=t.storeFqdn.replace(".myshopify.com","");throw new n(f`Looks like you don't have access to this dev store: (${b.link(o,`https://${t.storeFqdn}`)})`,f`If you're not the owner, create a dev store staff account for yourself`)}throw e instanceof c&&(e.response.status===401||e.response.status===404)?new n(`Error connecting to your store ${t.storeFqdn}: ${e.message} ${e.response.status} ${e.response.data}`):e instanceof c&&e.response.status===402?new n(`The store ${t.storeFqdn} is currently unavailable.`,"This usually means the store is frozen, paused, or closed. Check the store in the Shopify admin and try again once it is reactivated."):e instanceof c&&e.response.status>=500?new n(`The Admin API for ${t.storeFqdn} returned a server error (HTTP ${e.response.status}).`,"This is a problem on the Shopify side, not with your command. Wait a moment and try again."):v(e)?new n(`Request to ${t.storeFqdn} was aborted before it completed.`,"The request was cancelled or timed out before the store responded. Try running the command again."):k(e)?new n(`Network error connecting to your store ${t.storeFqdn}: ${e instanceof Error?e.message:String(e)}`,"Check your internet connection and try again."):new A(`Unknown error connecting to your store ${t.storeFqdn}: ${e instanceof Error?e.message:String(e)}`)}}function E(t,r,e){let o=r??"unstable";return e&&h(e)?`https://${q}/cli/admin/api/${o}/graphql.json`:`https://${t}/admin/api/${o}/graphql.json`}export{Y as a,D as b,N as c,R as d,E as e};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as A}from"./chunk-VJEKDBGZ.js";import{b as f}from"./chunk-
|
|
1
|
+
import{a as A}from"./chunk-VJEKDBGZ.js";import{b as f}from"./chunk-GOBTF2ZH.js";import{f as C}from"./chunk-HJPAHR2V.js";import{i as n}from"./chunk-VDE7IIYQ.js";import{Cb as a,Eb as s,Ia as b,Nb as u,Xa as I,_a as G}from"./chunk-UYWRJHAJ.js";import{a as k,r as g}from"./chunk-FKGN6F3F.js";import{q as w}from"./chunk-3VYOLEQE.js";import{e as D,g as $}from"./chunk-VKWPEFWQ.js";$();var R=D(A());async function r(e,t){try{return(await f("git",e,{cwd:t})).stdout}catch(o){if(o instanceof Error){let i=new n(o.message);throw i.stack=o.stack,"exitCode"in o&&Object.assign(i,{exitCode:o.exitCode}),i}throw o}}async function K(e,t="main"){if(t.startsWith("-"))throw new n(`Invalid initial branch name: ${t}. Branch names can't start with a hyphen.`);u(s`Initializing git repository at ${a.path(e)}...`),await m(),await r(["init"],e),await r(["checkout","-b",t],e)}async function Q(e,t){try{return(await r(["check-ignore",...t],e)).split(`
|
|
2
2
|
`).filter(Boolean)}catch(o){if(o instanceof n&&"exitCode"in o&&o.exitCode===1)return[];throw o}}async function V(e){return C("cmd_all_timing_network_ms")(async()=>{let{repoUrl:t,destination:o,shallow:i,latestTag:l}=e;if(u(s`Git-cloning repository ${t} into ${a.path(o)}...`),await m(),await I(o)){if(!await b(o))throw new n(s`Can't clone to ${a.path(o)}`,"The path exists but isn't a directory.");if((await G(["*",".*"],{cwd:o,deep:1,onlyFiles:!1})).length>0)throw new n(s`Directory ${a.path(o)} already exists and is not empty`,s`Choose a different name or remove the existing directory first.`)}let[E,d]=t.split("#");if(d&&l)throw new n("Error cloning the repository. Git can't clone the latest release with a 'branch'.");if(i&&l)throw new n("Error cloning the repository. Git can't clone the latest release with the 'shallow' property.");let h=["clone","--recurse-submodules"];d&&h.push("--branch",d),i&&h.push("--depth","1"),k()||h.push("-c","core.askpass=true"),h.push(E,o);try{if(await f("git",h),l){let c=await S(o,t);await r(["checkout",c],o)}}catch(c){if(c instanceof n)throw c;if(c instanceof Error){let x=new n(c.message);throw x.stack=c.stack,x}throw c}})}async function S(e,t){let o=await F(e);if(!o)throw new n(`Couldn't obtain the most recent tag of the repository ${t}`);return o}async function X(e){let o=await r(["log","-1","--format=%H%x00%ai%x00%s%x00%D%x00%b%x00%an%x00%ae"],e);if(!o.trim())throw new n("Must have at least one commit to run command",s`Run ${a.genericShellCommand("git commit -m 'Initial commit'")} to create your first commit.`);let i=o.split("\0");return{hash:i[0],date:i[1],message:i[2],refs:i[3],body:i[4],author_name:i[5],author_email:i[6]}}async function Y(e){await r(["add","--all"],e)}async function Z(e,t){let o=["commit","-m",e];if(t?.author){if(t.author.startsWith("-"))throw new n(`Invalid commit author: ${t.author}. Author name/email can't start with a hyphen.`);o.push("--author",t.author)}return await r(o,t?.directory),(await r(["rev-parse","HEAD"],t?.directory)).trim()}async function m(){if(!await g())throw new n("Git is necessary in the environment to continue",s`Install ${a.link("git","https://git-scm.com/book/en/v2/Getting-Started-Installing-Git")}`)}var p=class extends n{};async function N(e){if(await m(),!await v(e))throw new p(`${a.path(e??w())} is not a Git directory`)}async function tt(e){return await g()?v(e):!1}async function v(e){try{return await f("git",["rev-parse","--git-dir"],{cwd:e}),!0}catch(t){if(t instanceof Error&&"exitCode"in t&&t.exitCode===128)return!1;throw t}}var y=class extends n{};async function et(e){if(!await T(e))throw new y(`${a.path(e??w())} is not a clean Git directory`)}async function T(e){return(await r(["status","--porcelain"],e)).trim()===""}async function F(e){try{return(await r(["describe","--tags","--abbrev=0"],e)).trim()||void 0}catch(t){if(t instanceof n&&"exitCode"in t&&t.exitCode===128)return;throw t}}async function ot(e,t="origin"){if(u(s`Removing git remote ${t} from ${a.path(e)}...`),await m(),!(await r(["remote"],e)).split(`
|
|
3
3
|
`).filter(Boolean).includes(t)){u(s`Remote ${t} does not exist, no action needed`);return}await r(["remote","remove",t],e)}export{K as a,Q as b,V as c,X as d,Y as e,Z as f,N as g,tt as h,y as i,et as j,T as k,ot as l};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-3B3CJS5I.js";import{a as m}from"./chunk-LOTMFUSV.js";import{Ha as l,i as s,ja as d}from"./chunk-KEI3OJVP.js";import{b as u}from"./chunk-EA5LKCRF.js";import{Cb as n,Eb as a,Ib as c}from"./chunk-UYWRJHAJ.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();i();async function g(e,t,o){return S(e,t,o,"text")}async function S(e,t,o,r){return await d(t,o.source),r==="json"?a`${n.json({SHOPIFY_API_KEY:t.apiKey,SHOPIFY_API_SECRET:t.apiSecretKeys[0]?.secret,SCOPES:s(e.configuration)})}`:a`
|
|
2
2
|
${n.green("SHOPIFY_API_KEY")}=${t.apiKey}
|
|
3
3
|
${n.green("SHOPIFY_API_SECRET")}=${t.apiSecretKeys[0]?.secret??""}
|
|
4
4
|
${n.green("SCOPES")}=${s(e.configuration)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-HB3MJYBK.js";import{a as I}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-HB3MJYBK.js";import{a as I}from"./chunk-YKK4PGCQ.js";import{a as x}from"./chunk-MVFBLQ4J.js";import{A as R,D as T,F,I as d,L as u,a as A,e as b,f as k,r as _,v}from"./chunk-PFBESNYV.js";import{b as S}from"./chunk-EA5LKCRF.js";import{b as w}from"./chunk-4Q5TSWQL.js";import{_ as y,z as g}from"./chunk-IN634BRF.js";import{i as a}from"./chunk-VDE7IIYQ.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();c();var B=5e6,$={readStdin:y,engineVersion:k,writeAgentFindings:v,recordMetadata:I};function E(t){return u(t.record)}function s(t,e){throw new a("The findings document was rejected. Nothing was recorded.",null,[["Fix every error, then run",{command:E(e)},"again."]],[{title:"Errors",body:{list:{items:t}}}])}async function z(t,e){try{return await e.readStdin()}catch(i){throw i instanceof a&&s([i.message],t),i}}async function V(t,e){let i=await z(t,e);if(i===void 0)throw new a("No findings document was piped on stdin.",null,[["Pipe the findings document on stdin:",{command:E(t)}]]);let n=Buffer.byteLength(i,"utf8");n>B&&s([`The findings document is ${n} bytes; the limit is 5 MB.`],t);try{return JSON.parse(i)}catch(o){let r=o instanceof Error?o.message:String(o);s([`The findings document is not valid JSON: ${r}`],t)}}async function f(t,e=$){let{selection:i}=t,n=d(i,t.path),o=await V(n,e),r=b(o,{engineVersion:e.engineVersion()});r.ok||s(r.errors,n);let h=R(r.document);h>_&&s([`The recorded findings would be stored as ${h} bytes; the limit is 5 MB. Shorten or remove findings.`],n);let C=await e.writeAgentFindings(i.appDirectory,T(i),r.document),l=r.document.checks.reduce((D,N)=>D+N.findings.length,0);return await e.recordMetadata({num_security_findings:l}),{path:C,checks:r.document.checks.length,findings:l}}function M(t,e,i){let n=d(e,i);g({headline:"Agent findings recorded.",body:[`Recorded ${m(t.checks,"check")} and ${m(t.findings,"finding")} in`,{filePath:t.path}],nextSteps:[["Run",{command:u(n.review)},"to see the results."]]})}var p=class t extends w{static summary="Record agent findings from an app security check.";static descriptionWithMarkdown="Reads a coding agent's complete findings document from stdin, validates it, and replaces `agent-findings.json` in the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`. `--client-id` is checked against your Shopify account before anything is read, so it needs you to be logged in.\n\nThe document must include a `scope` with the `include_dirs`, `excludes` and `no_git_ignore` values of the `check` run it describes, exactly as typed. It's recorded as reported and never compared with the scan's files.\n\nThe document is recorded all or nothing: if anything is invalid, the command fails with every error, writes nothing, and exits with a non-zero code. It needs the results directory that `shopify app security check` creates.";static description=this.descriptionForHelp();static flags={...S,...A};async run(){let{flags:e}=await this.parse(t),i=await F({path:e.path,config:e.config,clientId:e["client-id"],withoutAppConfig:e["without-app-config"],allowPrompts:!1,validateClientIdFlag:!0});await x(i,e.path);let n=await f({selection:i,path:e.path});M(n,i,e.path)}};export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Q,b as W,c as X}from"./chunk-
|
|
1
|
+
import{a as Q,b as W,c as X}from"./chunk-4Q7NZI5A.js";import{a as L,c as P,e as f,f as M,h as T,i as q,m as V,p as F,q as U,r as j,s as z,u as H}from"./chunk-MWVT5HYW.js";import{a as _}from"./chunk-3B3CJS5I.js";import{a as G,b as J}from"./chunk-LOTMFUSV.js";import{b as N}from"./chunk-EA5LKCRF.js";import{A as v,B as E,I as D,a as $,y as g,z as u}from"./chunk-IN634BRF.js";import{i as m,l as R}from"./chunk-VDE7IIYQ.js";import{Cb as r,Eb as s,Ib as x,Xa as I,qa as C,ya as S}from"./chunk-UYWRJHAJ.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();c();async function te(t,e){if(t)return t.join(`
|
|
2
2
|
`);if(e){if(!await I(e))throw new m(s`Variable file not found at ${r.path(e)}. Please check the path and try again.`);return C(e,{encoding:"utf8"})}else return}async function Y(t){let{organization:e,remoteApp:i,store:n,query:o,variables:p,variableFile:b,outputFile:O,watch:Z=!1,version:ee}=t,{adminSession:d,version:k}=await D({title:s`Authenticating`,task:async()=>{let a=await Q(i,n.shopDomain),l=await M({adminSession:a,userSpecifiedVersion:ee,minimumDefaultVersion:L});return{adminSession:a,version:l}},renderOptions:{stdout:process.stderr}}),B=await te(p,b);ae(o,B),X(o,n),g({headline:"Starting bulk operation.",body:[{list:{items:W({organization:e,remoteApp:i,storeFqdn:n.shopDomain,version:k})}}]});let w=f(o)?await q({adminSession:d,query:o,variablesJsonl:B,version:k}):await T({adminSession:d,query:o,version:k});if(w?.userErrors?.length){E({headline:"Error creating bulk operation.",body:{list:{items:w.userErrors.map(a=>a.field?`${a.field.join(".")}: ${a.message}`:a.message)}}});return}let y=w?.bulkOperation;if(y)if(Z){let a=new $,l=await U(d,y.id,a.signal,()=>a.abort());a.signal.aborted?g({headline:`Bulk operation ${l.id} is still running in the background.`,body:h(l.id)}):await K(l,O)}else{let a=await F(d,y.id);["FAILED","CANCELED","EXPIRED"].includes(a.status)?await K(a,O):u({headline:"Bulk operation is running.",body:h(a.id),customSections:[{body:[{list:{items:[s`ID: ${r.cyan(a.id)}`.value]}}]}]})}else throw v({headline:"Bulk operation not created successfully.",body:"This is an unexpected error. Please try again later."}),new R("Bulk operation response returned null with no error message.")}async function K(t,e){let i=V(t).value,o=[{body:[{list:{items:[s`ID: ${r.cyan(t.id)}`.value,s`Status: ${r.yellow(t.status)}`.value,s`Created at: ${r.gray(String(t.createdAt))}`.value,...t.completedAt?[s`Completed at: ${r.gray(String(t.completedAt))}`.value]:[]]}}]}];switch(t.status){case"CREATED":u({headline:"Bulk operation started.",body:h(t.id),customSections:o});break;case"RUNNING":u({headline:"Bulk operation is running.",body:h(t.id),customSections:o});break;case"COMPLETED":if(t.url){let p=await j(t.url),b=z(p);e?await S(e,p):x(p),b?v({headline:"Bulk operation completed with errors.",body:e?`Results written to ${e}. Check file for error details.`:"Check results for error details.",customSections:o}):u({headline:i,body:e?[`Results written to ${e}`]:void 0,customSections:o})}else u({headline:i,customSections:o});break;case"CANCELED":case"CANCELING":case"EXPIRED":case"FAILED":E({headline:i,customSections:o});break}}function ae(t,e){if(f(t)&&!e)throw new m(s`Bulk mutations require variables. Provide a JSONL file with ${r.yellow("--variable-file")} or individual JSON objects with ${r.yellow("--variables")}.`);if(!f(t)&&e)throw new m(s`The ${r.yellow("--variables")} and ${r.yellow("--variable-file")} flags can only be used with mutations, not queries.`)}function h(t){return[`Monitor its progress with:
|
|
3
3
|
`,{command:`shopify app bulk status --id=${P(t)}`}]}var A=class t extends _{static summary="Execute bulk operations.";static descriptionWithMarkdown=`Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as w}from"./chunk-
|
|
1
|
+
import{a as w}from"./chunk-Q54LU5W4.js";import{a as y}from"./chunk-ACGPDJ6Q.js";import{a as h}from"./chunk-LOTMFUSV.js";import{Ia as b,g}from"./chunk-KEI3OJVP.js";import{b as u}from"./chunk-EA5LKCRF.js";import{S as f,x as d,z as m}from"./chunk-IN634BRF.js";import{d as l}from"./chunk-HJPAHR2V.js";import{b as A}from"./chunk-I3J63RFV.js";import{e as _,g as s}from"./chunk-VKWPEFWQ.js";s();s();s();async function o(e,{web:i,stdout:t,stderr:a,signal:n,env:p={}}){let c=i.configuration.commands[e];if(!c)return;let[I,...v]=c.split(" ");await f(I,v,{cwd:i.directory,stdout:t,stderr:a,signal:n,env:p}),t.write("Web successfully built.")}async function S(e){!e.skipDependenciesInstallation&&!e.project.usesWorkspaces&&await y(e.project);let i={};e.apiKey&&(i.SHOPIFY_API_KEY=e.apiKey),await g(e.app),await d({processes:[...e.app.webs.map(t=>({prefix:["web",...t.configuration.roles].join("-"),action:async(a,n,p)=>{await o("build",{web:t,stdout:a,stderr:n,signal:p,env:i})}})),...e.app.allExtensions.map(t=>({prefix:t.localIdentifier,action:async(a,n,p)=>{await t.build({stdout:a,stderr:n,signal:p,app:e.app,environment:"production"})}}))],showTimestamps:!1}),m({headline:[{userInput:e.app.name},"built!"]})}var k=S;var x=_(A(),1);var r=class e extends w{static summary="Build the app, including extensions.";static descriptionWithMarkdown="This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs [Theme Check](https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.";static description=this.descriptionForHelp();static flags={...u,...h,"skip-dependencies-installation":x.Flags.boolean({hidden:!1,description:"Skips the installation of dependencies. Deprecated, use workspaces instead.",env:"SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION",default:!1})};async run(){let{flags:i}=await this.parse(e),t=i["client-id"];await l(()=>({cmd_app_dependency_installation_skipped:i["skip-dependencies-installation"]}));let{app:a,project:n}=await b({directory:i.path,userProvidedConfigName:i.config});return await k({app:a,project:n,skipDependenciesInstallation:i["skip-dependencies-installation"],apiKey:t}),{app:a}}};export{r as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as y}from"./chunk-
|
|
1
|
+
import{i as y}from"./chunk-IH2CB73H.js";import{I as O,y as w}from"./chunk-IN634BRF.js";import{i as d}from"./chunk-VDE7IIYQ.js";import{Eb as m,Ib as S}from"./chunk-UYWRJHAJ.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();function h(t){return t.map(M).join(" \xB7 ")}function $(t,r){if(r){S(JSON.stringify({schemaVersion:1,operations:t},null,2));return}w({headline:"Subscription migration operations.",body:t.map(M)})}function M(t){return`${t.id}: ${t.status} (${t.results.edges.length}/${t.total} settled)`}i();i();var T=1e3,A=new Set(["COMPLETED","FAILED","CANCELED"]);async function E({clientId:t,operationIds:r,getOperation:s=y,pollIntervalMs:p=T,sleep:u=C,onUpdate:c}){let f=new Map,l=new Map,g=!0,a=[...r];for(;a.length>0;){let e=await Promise.all(a.map(async o=>{let n=await s({clientId:t,operationId:o});if(!n)throw new d(`Migration operation not found: ${o}`);return{operationId:o,operation:n}})),L=e.some(({operationId:o,operation:n})=>l.get(o)!==JSON.stringify(n));for(let{operationId:o,operation:n}of e)f.set(o,n),l.set(o,JSON.stringify(n));if(c&&(g||L)){let o=r.map(n=>f.get(n));await c(o)}g=!1,a=e.filter(({operation:o})=>!A.has(o.status)).map(({operationId:o})=>o),a.length>0&&await u(p)}return r.map(e=>f.get(e))}async function C(t){await new Promise(r=>setTimeout(r,t))}async function U({clientId:t,operationIds:r,waitForOperations:s=E}){return O({title:m`Polling subscription migration operations`,task:p=>s({clientId:t,operationIds:r,onUpdate:u=>p(m`${h(u)}`)}),renderOptions:{stdout:process.stderr}})}export{$ as a,U as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as s,c as i,d as n}from"./chunk-
|
|
1
|
+
import{a as s,c as i,d as n}from"./chunk-O7YHDFOO.js";import{b as a,c as r}from"./chunk-EA5LKCRF.js";import{b as e}from"./chunk-4Q5TSWQL.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var t=class u extends e{static summary="Check whether auto-upgrade is enabled, disabled, or not yet configured.";static descriptionWithMarkdown=`Check whether auto-upgrade is enabled, disabled, or not yet configured.
|
|
2
2
|
|
|
3
3
|
When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-UYWRJHAJ.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();a();a();var j=Symbol("Let zodToJsonSchema decide on which parser to use");var T={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},N=e=>typeof e=="string"?{...T,name:e}:{...T,...e};a();var M=e=>{let t=N(e),r=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([n,i])=>[i._def,{def:i._def,path:[...t.basePath,t.definitionPath,n],jsonSchema:void 0}]))}};a();function k(e,t,r,n){n?.errorMessages&&r&&(e.errorMessage={...e.errorMessage,[t]:r})}function m(e,t,r,n,i){e[t]=r,k(e,t,n,i)}a();var A=(e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")};a();a();a();function f(e){if(e.target!=="openAi")return{};let t=[...e.basePath,e.definitionPath,e.openAiAnyTypeName];return e.flags.hasReferencedOpenAiAnyType=!0,{$ref:e.$refStrategy==="relative"?A(t,e.currentPath):t.join("/")}}a();function $(e,t){let r={type:"array"};return e.type?._def&&e.type?._def?.typeName!==p.ZodAny&&(r.items=o(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&m(r,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&m(r,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(m(r,"minItems",e.exactLength.value,e.exactLength.message,t),m(r,"maxItems",e.exactLength.value,e.exactLength.message,t)),r}a();function w(e,t){let r={type:"integer",format:"int64"};if(!e.checks)return r;for(let n of e.checks)switch(n.kind){case"min":t.target==="jsonSchema7"?n.inclusive?m(r,"minimum",n.value,n.message,t):m(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),m(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?m(r,"maximum",n.value,n.message,t):m(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),m(r,"maximum",n.value,n.message,t));break;case"multipleOf":m(r,"multipleOf",n.value,n.message,t);break}return r}a();function E(){return{type:"boolean"}}a();function v(e,t){return o(e.type._def,t)}a();var z=(e,t)=>o(e.innerType._def,t);a();function _(e,t,r){let n=r??t.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((i,s)=>_(e,t,i))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return se(e,t)}}var se=(e,t)=>{let r={type:"integer",format:"unix-time"};if(t.target==="openApi3")return r;for(let n of e.checks)switch(n.kind){case"min":m(r,"minimum",n.value,n.message,t);break;case"max":m(r,"maximum",n.value,n.message,t);break}return r};a();function R(e,t){return{...o(e.innerType._def,t),default:e.defaultValue()}}a();function L(e,t){return t.effectStrategy==="input"?o(e.schema._def,t):f(t)}a();function F(e){return{type:"string",enum:Array.from(e.values)}}a();var pe=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function I(e,t){let r=[o(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),o(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(s=>!!s),n=t.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,i=[];return r.forEach(s=>{if(pe(s))i.push(...s.allOf),s.unevaluatedProperties===void 0&&(n=void 0);else{let c=s;if("additionalProperties"in s&&s.additionalProperties===!1){let{additionalProperties:l,...u}=s;c=u}else n=void 0;i.push(c)}}),i.length?{allOf:i,...n}:void 0}a();function C(e,t){let r=typeof e.value;return r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"?{type:Array.isArray(e.value)?"array":"object"}:t.target==="openApi3"?{type:r==="bigint"?"integer":r,enum:[e.value]}:{type:r==="bigint"?"integer":r,const:e.value}}a();a();a();var S,g={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(S===void 0&&(S=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),S),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function P(e,t){let r={type:"string"};if(e.checks)for(let n of e.checks)switch(n.kind){case"min":m(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t);break;case"max":m(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"email":switch(t.emailStrategy){case"format:email":y(r,"email",n.message,t);break;case"format:idn-email":y(r,"idn-email",n.message,t);break;case"pattern:zod":d(r,g.email,n.message,t);break}break;case"url":y(r,"uri",n.message,t);break;case"uuid":y(r,"uuid",n.message,t);break;case"regex":d(r,n.regex,n.message,t);break;case"cuid":d(r,g.cuid,n.message,t);break;case"cuid2":d(r,g.cuid2,n.message,t);break;case"startsWith":d(r,RegExp(`^${Z(n.value,t)}`),n.message,t);break;case"endsWith":d(r,RegExp(`${Z(n.value,t)}$`),n.message,t);break;case"datetime":y(r,"date-time",n.message,t);break;case"date":y(r,"date",n.message,t);break;case"time":y(r,"time",n.message,t);break;case"duration":y(r,"duration",n.message,t);break;case"length":m(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t),m(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"includes":{d(r,RegExp(Z(n.value,t)),n.message,t);break}case"ip":{n.version!=="v6"&&y(r,"ipv4",n.message,t),n.version!=="v4"&&y(r,"ipv6",n.message,t);break}case"base64url":d(r,g.base64url,n.message,t);break;case"jwt":d(r,g.jwt,n.message,t);break;case"cidr":{n.version!=="v6"&&d(r,g.ipv4Cidr,n.message,t),n.version!=="v4"&&d(r,g.ipv6Cidr,n.message,t);break}case"emoji":d(r,g.emoji(),n.message,t);break;case"ulid":{d(r,g.ulid,n.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{y(r,"binary",n.message,t);break}case"contentEncoding:base64":{m(r,"contentEncoding","base64",n.message,t);break}case"pattern:zod":{d(r,g.base64,n.message,t);break}}break}case"nanoid":d(r,g.nanoid,n.message,t);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return r}function Z(e,t){return t.patternStrategy==="escape"?me(e):e}var ue=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function me(e){let t="";for(let r=0;r<e.length;r++)ue.has(e[r])||(t+="\\"),t+=e[r];return t}function y(e,t,r,n){e.format||e.anyOf?.some(i=>i.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&n.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):m(e,"format",t,r,n)}function d(e,t,r,n){e.pattern||e.allOf?.some(i=>i.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&n.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.allOf.push({pattern:U(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):m(e,"pattern",U(t,n),r,n)}function U(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let r={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},n=r.i?e.source.toLowerCase():e.source,i="",s=!1,c=!1,l=!1;for(let u=0;u<n.length;u++){if(s){i+=n[u],s=!1;continue}if(r.i){if(c){if(n[u].match(/[a-z]/)){l?(i+=n[u],i+=`${n[u-2]}-${n[u]}`.toUpperCase(),l=!1):n[u+1]==="-"&&n[u+2]?.match(/[a-z]/)?(i+=n[u],l=!0):i+=`${n[u]}${n[u].toUpperCase()}`;continue}}else if(n[u].match(/[a-z]/)){i+=`[${n[u]}${n[u].toUpperCase()}]`;continue}}if(r.m){if(n[u]==="^"){i+=`(^|(?<=[\r
|
|
2
2
|
]))`;continue}else if(n[u]==="$"){i+=`($|(?=[\r
|
|
3
3
|
]))`;continue}}if(r.s&&n[u]==="."){i+=c?`${n[u]}\r
|
|
4
4
|
`:`[${n[u]}\r
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h,b as I}from"./chunk-
|
|
1
|
+
import{a as h,b as I}from"./chunk-DE5BUQL5.js";import{a as D}from"./chunk-7NHCYOKI.js";import{a as _,c as b}from"./chunk-2E2NYRQH.js";import{e as F,q as y}from"./chunk-XBCFYD3T.js";import{i as w,p as g,v as T}from"./chunk-4MUH4E2U.js";import{b as v,f as u}from"./chunk-EA5LKCRF.js";import{E as p,z as d}from"./chunk-IN634BRF.js";import{Y as c}from"./chunk-UYWRJHAJ.js";import{b as C}from"./chunk-I3J63RFV.js";import{e as E,g as a}from"./chunk-VKWPEFWQ.js";a();a();async function O(t,e,r){let n=e.themes;e.development&&(n=[(await new D(t).find()).id.toString()]);let m=t.storeFqdn,i=await H(t,{...e,themes:n,development:!1});if(!e.force&&!r&&!await L(i,m))return;await Promise.all(i.map(o=>(F(o)&&w(),y(o.id,t))));let l=e.environment?[{subdued:`Environment: ${e.environment}
|
|
2
2
|
|
|
3
3
|
`}]:[];d({body:c(i,o=>[...l,`The following themes were deleted from ${m}:`,I(o)],o=>[...l,"The theme",...h(o),`was deleted from ${m}.`])})}async function H(t,e){if(e.selectTheme||e.themes.length>0)return b(t,e);let r=t.storeFqdn;return[await _(t,{header:`Select a theme to delete from ${r}`,filter:{development:e.development}})]}async function L(t,e){let n={message:c(t,m=>[`Delete the following themes from ${e}?`],m=>["Delete",...h(m),`from ${e}?`]),confirmationMessage:"Yes, confirm changes",cancellationMessage:"Cancel"};return t.length>1&&(n.infoTable={"":t.map(h)}),p(n)}var s=E(C(),1);var f=class extends T{static summary="Delete remote themes from the connected store. This command can't be undone.";static descriptionWithMarkdown=`Deletes a theme from your store.
|
|
4
4
|
|