shopify 5.1.0 → 5.2.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-23GM6KJU.js +1 -0
- package/dist/analytics-743FYOAE.js +1 -0
- package/dist/bootstrap.js +1 -1
- package/dist/{chunk-HSTZV6H7.js → chunk-2EQRXSF6.js} +1 -1
- package/dist/{chunk-AY3AAV77.js → chunk-2IXP3IPE.js} +1 -1
- package/dist/{chunk-OTMYJWIP.js → chunk-2KACAQJS.js} +1 -1
- package/dist/{chunk-24Q6X53V.js → chunk-2OCSYLKZ.js} +1 -1
- package/dist/{chunk-QCLE5REL.js → chunk-2PILNMHJ.js} +1 -1
- package/dist/{chunk-WPDJVUTY.js → chunk-36S6MFJQ.js} +1 -1
- package/dist/{chunk-YNZLLZU2.js → chunk-3DB4EC62.js} +1 -1
- package/dist/{chunk-FQLXQ7WN.js → chunk-3GL3IT4K.js} +1 -1
- package/dist/{chunk-JALDNBTU.js → chunk-3JRB7Q3T.js} +1 -1
- package/dist/{chunk-7A77JCED.js → chunk-3OYMK5X6.js} +1 -1
- package/dist/{chunk-ORMXPSJM.js → chunk-422BGHXN.js} +1 -1
- package/dist/{chunk-ZMU4EYXT.js → chunk-43C32FUQ.js} +1 -1
- package/dist/{chunk-ELR6AZT4.js → chunk-4AN7ECPE.js} +1 -1
- package/dist/chunk-4AWVU2OV.js +1 -0
- package/dist/chunk-4KBOLN7Q.js +8 -0
- package/dist/{chunk-YYWSHRO2.js → chunk-4LJERO23.js} +3 -3
- package/dist/{chunk-4FWPOGPQ.js → chunk-4M5WHOZW.js} +1 -1
- package/dist/{chunk-OWQEFORZ.js → chunk-4RO35FFQ.js} +1 -1
- package/dist/{chunk-6I7DT7QR.js → chunk-4ZS5354G.js} +1 -1
- package/dist/{chunk-ZXZWMXXK.js → chunk-55AWBPKU.js} +1 -1
- package/dist/{chunk-7PHDEILV.js → chunk-5BUYR23E.js} +1 -1
- package/dist/{chunk-AHYI27QL.js → chunk-5EDA7PVE.js} +3 -3
- package/dist/{chunk-5C6CXU74.js → chunk-5P6OELKZ.js} +1 -1
- package/dist/{chunk-SPJM7RTD.js → chunk-5PVXLQNX.js} +1 -1
- package/dist/{chunk-FU7PYW7H.js → chunk-5S2P4MHJ.js} +1 -1
- package/dist/{chunk-SBN3ILXO.js → chunk-5TJJVSCI.js} +1 -1
- package/dist/{chunk-VE3IIC7H.js → chunk-5TOK5OJS.js} +1 -1
- package/dist/{chunk-LGDWE3H3.js → chunk-5ZG2SWU2.js} +1 -1
- package/dist/{chunk-DDZYIC76.js → chunk-62F4ZMSC.js} +1 -1
- package/dist/{chunk-4NFX7YCT.js → chunk-652NT7OW.js} +1 -1
- package/dist/{chunk-5534MHZW.js → chunk-6B5KM3A4.js} +1 -1
- package/dist/{chunk-CRQQCT7F.js → chunk-6LCESSY3.js} +1 -1
- package/dist/chunk-6QHDMCAA.js +1 -0
- package/dist/{chunk-2KUM2RU4.js → chunk-7A4ZE5IS.js} +2 -2
- package/dist/{chunk-R6US7F33.js → chunk-7AQZKPJU.js} +1 -1
- package/dist/{chunk-HMPRWNGG.js → chunk-7FBOMPO5.js} +2 -2
- package/dist/{chunk-DGIIUQH3.js → chunk-7UK565VJ.js} +1 -1
- package/dist/{chunk-DOLVBTCB.js → chunk-A5BSUUNQ.js} +1 -1
- package/dist/{chunk-SCDGLREP.js → chunk-ADGE7MKB.js} +1 -1
- package/dist/{chunk-65NCQJYR.js → chunk-AEWRZ7AE.js} +1 -1
- package/dist/chunk-ALDJTWCO.js +1 -0
- package/dist/chunk-ARL5WBDK.js +1 -0
- package/dist/chunk-AXFEIJC7.js +1 -0
- package/dist/{chunk-JNSVKDBY.js → chunk-AYGL6F3P.js} +1 -1
- package/dist/{chunk-F6IQWX2F.js → chunk-AYTTE7X5.js} +1 -1
- package/dist/{chunk-JIYCZXK5.js → chunk-BDIZUTKC.js} +1 -1
- package/dist/{chunk-Z5WFRYVQ.js → chunk-BQKF4SRH.js} +1 -1
- package/dist/{chunk-7ART2IKU.js → chunk-C2AOCLEZ.js} +1 -1
- package/dist/{chunk-NYMKGE3J.js → chunk-C2SGJ5IG.js} +1 -1
- package/dist/{chunk-LPPEAMI6.js → chunk-C3S3UMV3.js} +1 -1
- package/dist/{chunk-S3RROJGG.js → chunk-C5DKLOW4.js} +1 -1
- package/dist/{chunk-DC7ITY6T.js → chunk-CA3GVT4D.js} +1 -1
- package/dist/{chunk-KFR7HWCG.js → chunk-CCLU5ZRK.js} +1 -1
- package/dist/{chunk-3FZ4LE6A.js → chunk-CE6XQDAG.js} +2 -2
- package/dist/{chunk-RKNVTEO3.js → chunk-CEJ5WS4I.js} +1 -1
- package/dist/chunk-CIBBQO2L.js +6 -0
- package/dist/{chunk-L2PUDV7Y.js → chunk-CKJXJ6HD.js} +1 -1
- package/dist/{chunk-KHZF73BL.js → chunk-COGKVNQB.js} +1 -1
- package/dist/{chunk-OY5M52EF.js → chunk-CQPZOXWO.js} +1 -1
- package/dist/{chunk-AVJJGQOP.js → chunk-CZYQIWNL.js} +1 -1
- package/dist/{chunk-VA2S7W7H.js → chunk-DA5RQFXA.js} +1 -1
- package/dist/{chunk-NUBJ2HK7.js → chunk-DESZFFOK.js} +1 -1
- package/dist/{chunk-WLYXBQ2M.js → chunk-DKR7562G.js} +1 -1
- package/dist/{chunk-KM4LE7K4.js → chunk-DNNTAMC5.js} +1 -1
- package/dist/{chunk-V4FC72R6.js → chunk-DUPQUQ2Z.js} +1 -1
- package/dist/{chunk-FHKK3QU7.js → chunk-DUTIWCJ2.js} +1 -1
- package/dist/chunk-E6JEBSHZ.js +20 -0
- package/dist/{chunk-VQSRU5XL.js → chunk-E6KNAPIY.js} +1 -1
- package/dist/{chunk-MTT6EAQO.js → chunk-E7XCCLQH.js} +1 -1
- package/dist/chunk-EE72PCKT.js +1 -0
- package/dist/{chunk-AGTUAQHX.js → chunk-EEYXBKR7.js} +1 -1
- package/dist/{chunk-H2KGP2FM.js → chunk-EGLA3WLZ.js} +1 -1
- package/dist/{chunk-JMSAHCBU.js → chunk-FDFE3SSG.js} +1 -1
- package/dist/{chunk-TSPJAMYB.js → chunk-FI5TQHUA.js} +1 -1
- package/dist/{chunk-QKPAB245.js → chunk-FIKZQ4RA.js} +1 -1
- package/dist/chunk-FJOVMEPN.js +3 -0
- package/dist/{chunk-5PSQFQL6.js → chunk-FLARCZ5F.js} +1 -1
- package/dist/{chunk-WE5KY6T6.js → chunk-FOMMPAWZ.js} +1 -1
- package/dist/chunk-G3DXNSA2.js +1 -0
- package/dist/{chunk-HYCNYUHW.js → chunk-G7JO3W2R.js} +1 -1
- package/dist/{chunk-C2HJEGTS.js → chunk-GABIWYY3.js} +1 -1
- package/dist/{chunk-OXZR2MB4.js → chunk-GFSEU7PF.js} +1 -1
- package/dist/{chunk-AMVWKHNY.js → chunk-GFVUWVEM.js} +1 -1
- package/dist/{chunk-D7IMC2G4.js → chunk-GHNSXX7R.js} +1 -1
- package/dist/{chunk-7N7KRZOM.js → chunk-GQ3LY7BY.js} +1 -1
- package/dist/{chunk-PJZZZNWR.js → chunk-H45S4MGC.js} +1 -1
- package/dist/{chunk-OJOF6IYG.js → chunk-HEB4YYM6.js} +4 -4
- package/dist/{chunk-I3WRA2LH.js → chunk-HI5FTI3M.js} +1 -1
- package/dist/{chunk-WFPVT2IY.js → chunk-HJ24NEP5.js} +1 -1
- package/dist/{chunk-LFBFPK22.js → chunk-HQFXVVTB.js} +1 -1
- package/dist/{chunk-27JT4NA4.js → chunk-HR6R7JXN.js} +1 -1
- package/dist/{chunk-JVY6CCLE.js → chunk-HRHJA5ZP.js} +1 -1
- package/dist/{chunk-5HOZDOJ7.js → chunk-HT5JQJMB.js} +1 -1
- package/dist/chunk-HT7273V7.js +1 -0
- package/dist/{chunk-ONZULPQH.js → chunk-HUB4HDWN.js} +75 -75
- package/dist/{chunk-HGZ2HRPO.js → chunk-IATNIWOC.js} +1 -1
- package/dist/{chunk-T6C4WC3Z.js → chunk-IHVWDKDV.js} +1 -1
- package/dist/{chunk-DMOLPSXF.js → chunk-IKXUYCK7.js} +1 -1
- package/dist/{chunk-HP4QYSBQ.js → chunk-IVQN2RUP.js} +1 -1
- package/dist/{chunk-FYQE5E6U.js → chunk-J324ZPO6.js} +1 -1
- package/dist/{chunk-3MZ7ELHS.js → chunk-JJQ3DJG5.js} +1 -1
- package/dist/{chunk-RLOEI6VE.js → chunk-JLAN6JXJ.js} +1 -1
- package/dist/{chunk-XRNBCV2B.js → chunk-K2GCCCCV.js} +1 -1
- package/dist/{chunk-ASKBYEO7.js → chunk-K4KKSBUW.js} +1 -1
- package/dist/{chunk-JC37YZ4I.js → chunk-K5UVCBIP.js} +1 -1
- package/dist/{chunk-3C72S6LO.js → chunk-KN2JIDNO.js} +1 -1
- package/dist/{chunk-WBJFTCEJ.js → chunk-KORVOCNN.js} +1 -1
- package/dist/{chunk-MGWCXTGD.js → chunk-KRQCQ57O.js} +1 -1
- package/dist/{chunk-3GD5ESWN.js → chunk-KT2AMFVW.js} +1 -1
- package/dist/{chunk-VRIFLMA3.js → chunk-L23Q53FM.js} +1 -1
- package/dist/{chunk-OXPEBT4I.js → chunk-L3DTONOI.js} +1 -1
- package/dist/{chunk-CEQGOCKX.js → chunk-LRETOC6P.js} +1 -1
- package/dist/{chunk-F5QKMDP3.js → chunk-LXFWK3O2.js} +1 -1
- package/dist/{chunk-KCAWHJGF.js → chunk-LZ2TN7EZ.js} +1 -1
- package/dist/{chunk-EDWIWZWM.js → chunk-MBAPM5HA.js} +1 -1
- package/dist/{chunk-IRLYC626.js → chunk-MGZK5EQW.js} +1 -1
- package/dist/{chunk-GSFWBFFH.js → chunk-MKUXSM33.js} +1 -1
- package/dist/chunk-MQ55QUOJ.js +276 -0
- package/dist/{chunk-A2NSORBM.js → chunk-NAQJMRPT.js} +1 -1
- package/dist/{chunk-Z5QEXS6F.js → chunk-NMXRDF4T.js} +1 -1
- package/dist/{chunk-SODCXZ5U.js → chunk-NOWM3CCG.js} +1 -1
- package/dist/{chunk-TXP6KFWO.js → chunk-NVDFXEQ5.js} +1 -1
- package/dist/{chunk-TP7CTMMT.js → chunk-OCILF2DD.js} +1 -1
- package/dist/{chunk-XWLNCBAG.js → chunk-OGBMFGYC.js} +1 -1
- package/dist/{chunk-ZMOW2YZ4.js → chunk-OIQ5NQ5I.js} +3 -3
- package/dist/{chunk-YTL45RXR.js → chunk-OKRKVVTK.js} +1 -1
- package/dist/{chunk-JQU2BJDH.js → chunk-ONNUEQGR.js} +1 -1
- package/dist/chunk-OSASE35V.js +6 -0
- package/dist/{chunk-6IMTMS2S.js → chunk-OTMTS5L4.js} +1 -1
- package/dist/{chunk-MKFRKNHF.js → chunk-OWPAHXDF.js} +1 -1
- package/dist/{chunk-YVPB7OT6.js → chunk-P7HZGJRU.js} +1 -1
- package/dist/{chunk-5T3ZT6CC.js → chunk-PIU3GVJ4.js} +1 -1
- package/dist/{chunk-DVD7I2TX.js → chunk-PSNCWS3Q.js} +1 -1
- package/dist/{chunk-XEZPN5TR.js → chunk-PSREELSQ.js} +4 -4
- package/dist/{chunk-SURFUFAZ.js → chunk-Q2CKRCPM.js} +1 -1
- package/dist/{chunk-WWCYEZUU.js → chunk-QA2D7DT2.js} +1 -1
- package/dist/{chunk-G3EWGBXR.js → chunk-QDMTJKQ3.js} +1 -1
- package/dist/{chunk-NY5N4ANL.js → chunk-QIJ7D2JS.js} +1 -1
- package/dist/{chunk-7DBKSSDK.js → chunk-QLN6IOOY.js} +1 -1
- package/dist/{chunk-A54TADAZ.js → chunk-QU3USVKT.js} +1 -1
- package/dist/chunk-R2E6TMBE.js +22 -0
- package/dist/chunk-R5COVIJM.js +1 -0
- package/dist/{chunk-S4KNPCW3.js → chunk-RFJ2LI64.js} +1 -1
- package/dist/chunk-RNF6T6IO.js +5 -0
- package/dist/{chunk-DVFVO6ZE.js → chunk-RSNFNZ6F.js} +1 -1
- package/dist/{chunk-7BPT5V24.js → chunk-RZ3UGOV4.js} +2 -2
- package/dist/{chunk-GGCP2TIK.js → chunk-S23ZG2RG.js} +1 -1
- package/dist/{chunk-3PS52ZT4.js → chunk-SAK42CAY.js} +1 -1
- package/dist/{chunk-G3RNO2TC.js → chunk-SBX7CMHM.js} +1 -1
- package/dist/{chunk-TUSS6PXB.js → chunk-SGQTRKYZ.js} +1 -1
- package/dist/{chunk-SQL67BKI.js → chunk-SNPJVVVE.js} +1 -1
- package/dist/{chunk-QUPZOBTB.js → chunk-SNRGS3YU.js} +1 -1
- package/dist/{chunk-FKKJQGYX.js → chunk-SUTSCIXU.js} +1 -1
- package/dist/{chunk-SHOMIS6Q.js → chunk-SWFCT5B7.js} +1 -1
- package/dist/{chunk-WZBZ7FWP.js → chunk-SZ64GAVG.js} +1 -1
- package/dist/{chunk-DTKGI43P.js → chunk-TDHIOONG.js} +1 -1
- package/dist/{chunk-7NRHZG5Y.js → chunk-TLN4BKXJ.js} +1 -1
- package/dist/{chunk-XLMKHTJ5.js → chunk-TXMZPF2U.js} +1 -1
- package/dist/{chunk-6BYHL3DS.js → chunk-TZOB52QK.js} +1 -1
- package/dist/{chunk-HVUMVDUG.js → chunk-U5BKU3OL.js} +1 -1
- package/dist/chunk-UK3BDOHR.js +7 -0
- package/dist/{chunk-YKDRUAY3.js → chunk-UORSJB4A.js} +90 -90
- package/dist/{chunk-Z6ZRS256.js → chunk-UY44O4IZ.js} +1 -1
- package/dist/{chunk-JG4FAT2T.js → chunk-V3H6SYK3.js} +1 -1
- package/dist/{chunk-AE3IQG7S.js → chunk-VBPMVVLV.js} +1 -1
- package/dist/{chunk-SVQDMZJO.js → chunk-VGBCG3I5.js} +1 -1
- package/dist/{chunk-MYMBHVC4.js → chunk-VHRUPKWH.js} +1 -1
- package/dist/{chunk-CZNUBAAG.js → chunk-VVHJ2AUF.js} +1 -1
- package/dist/{chunk-T4ZOTYOY.js → chunk-WB5GRBHW.js} +1 -1
- package/dist/{chunk-YNFQBYSL.js → chunk-WBKQSSWW.js} +1 -1
- package/dist/{chunk-MU7IVBGI.js → chunk-WDXDT7XY.js} +2 -2
- package/dist/{chunk-FAVPTYIR.js → chunk-WHOD5I7N.js} +1 -1
- package/dist/{chunk-7CT3NIXI.js → chunk-WL3M63DG.js} +1 -1
- package/dist/{chunk-25MYHE4W.js → chunk-WLJDMI7E.js} +1 -1
- package/dist/{chunk-VJG7VXFU.js → chunk-WZ3QWPK5.js} +2 -2
- package/dist/{chunk-BPKQA2EO.js → chunk-X5V7AGVU.js} +1 -1
- package/dist/{chunk-UFY4L5KQ.js → chunk-X76AYO36.js} +1 -1
- package/dist/{chunk-WBPP6PO7.js → chunk-XB7H2RYV.js} +1 -1
- package/dist/chunk-XHHAVKKV.js +1 -0
- package/dist/{chunk-4TCXPHKN.js → chunk-XKNDU62O.js} +1 -1
- package/dist/{chunk-7KID5BIR.js → chunk-XVJRGOJA.js} +1 -1
- package/dist/{chunk-CDSDQTNB.js → chunk-Y3ZAQZPH.js} +1 -1
- package/dist/{chunk-Q2LQJYRK.js → chunk-YGN65N6W.js} +1 -1
- package/dist/{chunk-UC4TOM36.js → chunk-YTC367JI.js} +1 -1
- package/dist/{chunk-TTAT62N3.js → chunk-Z2FGYMJ6.js} +1 -1
- package/dist/chunk-Z3QZNLT5.js +1 -0
- package/dist/{chunk-TSVEV2UD.js → chunk-ZC3EDADH.js} +1 -1
- package/dist/{chunk-O7HZ3EIP.js → chunk-ZLITAXPT.js} +1 -1
- package/dist/{chunk-WWVDZ3GC.js → chunk-ZNEQZV5K.js} +1 -1
- package/dist/{chunk-OVJVFB5E.js → chunk-ZOU6SOXW.js} +1 -1
- package/dist/{chunk-KFO2JNF5.js → chunk-ZQNGYJKJ.js} +1 -1
- package/dist/{chunk-MZDBH4XV.js → chunk-ZRM7ESSS.js} +1 -1
- package/dist/{chunk-ORYEDUKM.js → chunk-ZX33FUW3.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/{cli-version-check-V25AVSZ6.js → cli-version-check-BW2CUMX4.js} +1 -1
- package/dist/{command-json-schema-C5UZXP2W.js → command-json-schema-LGR44Q2G.js} +1 -1
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-OCGEEV4U.js → conf-store-TODPQ2LC.js} +1 -1
- package/dist/configs/all.yml +9 -0
- package/dist/configs/recommended.yml +9 -0
- package/dist/{custom-oclif-loader-ZVUKMRGH.js → custom-oclif-loader-BPE2TH4B.js} +1 -1
- package/dist/data/objects.json +204 -11
- package/dist/data/section.json +14 -0
- package/dist/data/setting.json +9 -5
- package/dist/data/shopify_system_translations.json +84 -21
- package/dist/{deprecations-A5AXXKIK.js → deprecations-5CSI24TV.js} +1 -1
- package/dist/dist-LPKYTX3M.js +1 -0
- package/dist/dist-WT6MPTKJ.js +1 -0
- package/dist/{environments-Y5JEI3U3.js → environments-3HTT5CVC.js} +1 -1
- package/dist/error-PFOKPWFX.js +1 -0
- package/dist/error-handler-23FASAEU.js +1 -0
- package/dist/{fs-UOOLPOHJ.js → fs-RA25PWSJ.js} +1 -1
- 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-EVDTYINS.js +1 -0
- package/dist/index.js +12 -12
- package/dist/{is-global-CI77T7NE.js → is-global-3DNAMKUU.js} +1 -1
- package/dist/{json-error-6PBUR4LQ.js → json-error-HGCRNJRF.js} +1 -1
- package/dist/{lib-4JVADMNT.js → lib-4ZA53LTZ.js} +1 -1
- package/dist/{lib-L4STV5B2.js → lib-F3MES3XF.js} +1 -1
- package/dist/{lib-LEEN55OD.js → lib-XPJABU24.js} +1 -1
- package/dist/{local-5NIWPWDS.js → local-LNGPIGLG.js} +1 -1
- package/dist/{metadata-IXPNNPNJ.js → metadata-VHLSUKCW.js} +1 -1
- package/dist/{node-package-manager-ALFEGGD6.js → node-package-manager-SSFNUVWB.js} +1 -1
- package/dist/notifications-system-3NQRYYKW.js +1 -0
- package/dist/{os-6TNQTEUN.js → os-KIKVJONE.js} +1 -1
- package/dist/{output-LEOB5LAM.js → output-DUJTSURG.js} +1 -1
- package/dist/{prettier-VLTY4MIE.js → prettier-NOE3TJJ5.js} +1 -1
- package/dist/{system-J4CTESP5.js → system-CGOZSROX.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-YDUI56E3.js → ui-YMBFS3NG.js} +1 -1
- package/dist/upgrade-73RRPDSC.js +1 -0
- package/dist/version-AMUEEBIG.js +1 -0
- package/dist/{version-2YL4YEQ2.js → version-S4MGCKDO.js} +1 -1
- package/dist/{workerd-5UPTEWNI.js → workerd-DRWNY3S4.js} +1 -1
- package/oclif.manifest.json +23 -62
- package/package.json +7 -7
- package/dist/analytics-QFDTQYPM.js +0 -1
- package/dist/analytics-XADBBHOH.js +0 -1
- package/dist/chunk-2BYW3BYX.js +0 -1
- package/dist/chunk-2PD7TNFS.js +0 -275
- package/dist/chunk-3Z75BVGJ.js +0 -1
- package/dist/chunk-4WBWZIN5.js +0 -6
- package/dist/chunk-62NW4EPI.js +0 -17
- package/dist/chunk-ALINJ6J2.js +0 -1
- package/dist/chunk-BFAOTQGH.js +0 -1
- package/dist/chunk-CIGWIKOW.js +0 -1
- package/dist/chunk-DXEMSLI6.js +0 -1
- package/dist/chunk-H4K3F7PP.js +0 -5
- package/dist/chunk-JGLLABZR.js +0 -8
- package/dist/chunk-JIY6XWSC.js +0 -1
- package/dist/chunk-LXIWMYM4.js +0 -1
- package/dist/chunk-MGX7UG44.js +0 -1
- package/dist/chunk-QGQWVA7N.js +0 -1
- package/dist/chunk-RSZAAN37.js +0 -1
- package/dist/chunk-SN3PMWUF.js +0 -6
- package/dist/chunk-TD6JBHUS.js +0 -1
- package/dist/chunk-TIM4CIXZ.js +0 -22
- package/dist/chunk-WNVOEE6T.js +0 -7
- package/dist/chunk-YOYPYB4H.js +0 -1
- package/dist/cli/commands/app/logs-next.js +0 -1
- package/dist/dist-NORLLIHQ.js +0 -1
- package/dist/dist-XBM4XZS4.js +0 -1
- package/dist/error-GI4DXVDU.js +0 -1
- package/dist/error-handler-BS2ZENQV.js +0 -1
- package/dist/http-2OXOS2AW.js +0 -1
- package/dist/notifications-system-FQW3GKH2.js +0 -1
- package/dist/upgrade-LBCZORG2.js +0 -1
- package/dist/version-X2CPQVWQ.js +0 -1
- /package/dist/{chunk-2S3FHQFS.js → chunk-HVECVOIO.js} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as R,b as T,c as m,d as F,g as v}from"./chunk-
|
|
1
|
+
import{a as R,b as T,c as m,d as F,g as v}from"./chunk-OWPAHXDF.js";import{p as S,v as w}from"./chunk-VVHJ2AUF.js";import{Ea as h}from"./chunk-UORSJB4A.js";import{b as l,c as f}from"./chunk-IKXUYCK7.js";import{a as c}from"./chunk-LG3KEHGD.js";import{S as d,zb as n}from"./chunk-OIQ5NQ5I.js";import{b as P}from"./chunk-VBPMVVLV.js";import{e as O,g as r}from"./chunk-VKWPEFWQ.js";r();r();var j=c({name:"ThemeShareResult",schema:m.schema,definitions:m.definitions}),o={...j,encode:m.encode};r();function x(s,e){e==="json"?n(o.encode(T(s))):F(s,"text")}function y(s){let e=s.map(t=>"error"in t?t:(R.safeParse(t.result).data?.hasErrors&&(process.exitCode=1),{...t,result:t.result??{status:"skipped",reason:"unsafe-directory"}}));n(o.encode({environments:e}))}var u=O(P(),1);var p=class extends w{static jsonOutputSchema=o;static summary="Creates a shareable, unpublished, and new theme on your theme library with a randomized name.";static descriptionWithMarkdown=`Uploads your theme as a new, unpublished theme in your theme library. The theme is given a randomized name.
|
|
2
2
|
|
|
3
3
|
This command returns a [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with others.`;static description=this.descriptionForHelp();static flags={...l,...f,...S,force:u.Flags.boolean({hidden:!0,char:"f",description:"Proceed without confirmation, if current directory does not seem to be theme directory.",env:"SHOPIFY_FLAG_FORCE"}),listing:u.Flags.string({description:"The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.",env:"SHOPIFY_FLAG_LISTING"})};static multiEnvironmentsFlags=["store","password","path"];async command(e,t,a,C,b){let g={environment:e.environment,force:e.force,noColor:e["no-color"],password:e.password,path:e.path,store:e.store,theme:d("creative"),unpublished:!0,listing:e.listing};h("theme-command:share");let i=await v(g,t,a,b);return i?.hasErrors&&(process.exitCode=1),e.json&&a||(i?x(i,e.json?"json":"text"):e.json&&n(o.encode({status:"cancelled"}))),h("theme-command:share"),i??(e.json&&a?{status:"skipped",reason:"unsafe-directory"}:void 0)}renderEnvironmentResults(e){y(e)}};export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i}from"./chunk-
|
|
1
|
+
import{b as i}from"./chunk-PSREELSQ.js";import{Y as e}from"./chunk-UORSJB4A.js";import{b as r,c as n}from"./chunk-IKXUYCK7.js";import{a}from"./chunk-LG3KEHGD.js";import{Cb as u,zb as c}from"./chunk-OIQ5NQ5I.js";import{b as t}from"./chunk-3PYDIBTX.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();var m=a({name:"AuthLogoutResult",schema:t.object({status:t.literal("success")}).strict()}),o=class p extends i{static descriptionWithMarkdown="Logs you out of the Shopify account or Partner account and store.";static jsonOutputSchema=m;static description=this.descriptionForHelp();static flags={...r,...n};async run(){let{flags:l}=await this.parse(p);await e(),l.json?c(m.encode({status:"success"})):u("Logged out from all the accounts")}};export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{N as s,R as m}from"./chunk-
|
|
1
|
+
import{N as s,R as m}from"./chunk-7A4ZE5IS.js";import{a as h}from"./chunk-7UNQOKZW.js";import{mb as p}from"./chunk-OIQ5NQ5I.js";import{a as d}from"./chunk-O472FAYX.js";import{e as c,g as f}from"./chunk-VKWPEFWQ.js";f();var l=c(h(),1),n=c(d(),1),w=30*1e3;async function v(e){try{return(await s("npm",["list","@shopify/cli"],{cwd:e})).match(/@shopify\/cli@([\w.-]*)/)?.[1]}catch{return}}async function C(e="shopify"){try{let t={...process.env,SHOPIFY_CLI_NO_ANALYTICS:"1"},o=l.default.sync(e,{all:!0}).filter(i=>!i.includes("node_modules"));if(!o[0])return;let r=(await s(o[0],[],{env:t})).match(/@shopify\/cli\/([^\s]+)/);if(r&&r[1]){let i=r[1];if((0,n.satisfies)(i,">=3.59.0")||a(i))return i}return}catch{return}}async function I(){try{let e={env:{HOMEBREW_NO_AUTO_UPDATE:"1"}},t=AbortSignal.timeout(w);if(await m("brew",["update","--quiet"],{...e,signal:t}),t.aborted)return;let o=await s("brew",["info","--json=v2",p()],e),r=JSON.parse(o).formulae?.[0]?.versions?.stable;return(0,n.valid)(r)??void 0}catch{return}}function a(e){return e.startsWith("0.0.0")}function O(e,t){if(a(e)||a(t))return!1;let o=new n.SemVer(e),u=new n.SemVer(t);return o.major!==u.major}export{v as a,C as b,I as c,a as d,O as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e}from"./chunk-
|
|
1
|
+
import{p as e}from"./chunk-VVHJ2AUF.js";import{b as n}from"./chunk-VBPMVVLV.js";import{e as m,g as t}from"./chunk-VKWPEFWQ.js";t();var l=m(n(),1);async function f(s){let o=s.indexOf("--"),r=(o<0?s:s.slice(0,o)).filter(c=>c==="--allow-custom-checks"||c==="--no-allow-custom-checks"),{flags:a}=await l.Parser.parse(r,{flags:{"allow-custom-checks":e["allow-custom-checks"]}});return{authorizeCustomChecks:()=>a["allow-custom-checks"]===!0}}export{f as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Da as fs,Eb as bs,Oa as ds,Pa as ps,Sa as gs,Va as ms,ab as ys,la as kt,oa as Te,ta as us,tb as St,va as Tt,vb as ws}from"./chunk-
|
|
1
|
+
import{Da as fs,Eb as bs,Oa as ds,Pa as ps,Sa as gs,Va as ms,ab as ys,la as kt,oa as Te,ta as us,tb as St,va as Tt,vb as ws}from"./chunk-OIQ5NQ5I.js";import{c as ke,f as bt,h as hs}from"./chunk-IWTNUJGY.js";import{a as X,c as bi,e as ki,g as be}from"./chunk-VKWPEFWQ.js";var gi=bi(l=>{"use strict";be();Object.defineProperty(l,"__esModule",{value:!0});var Ti=X("stream"),U=X("path"),G=X("fs"),js=X("crypto"),O=class{constructor(e,s,i,r,n){this.kind=e,this.input=s,this.begin=i,this.end=r,this.file=n}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,s]=[1,1];for(let i=0;i<this.begin;i++)this.input[i]===`
|
|
2
2
|
`?(e++,s=1):s++;return[e,s]}size(){return this.end-this.begin}},E=class{liquidMethodMissing(e,s){}},Si=Object.prototype.toString,ks=String.prototype.toLowerCase,pt=Object.hasOwnProperty;function p(t){return typeof t=="string"}function S(t){return typeof t=="function"}function xi(t){return t&&S(t.then)}function Fe(t){return t&&S(t.next)&&S(t.throw)&&S(t.return)}function Xt(t){return function(...e){return new Promise((s,i)=>{t(...e,(r,n)=>{r?i(r):s(n)})})}}function h(t){return t=m(t),p(t)?t:k(t)?"":x(t)?t.map(e=>h(e)).join(""):String(t)}function ge(t,e,s){if(e<0&&(e=t.length+e),!(s&&!pt.call(t,e)))return t[e]}function me(t){return t=m(t),x(t)?t:p(t)&&t.length>0?[t]:Li(t)?Array.from(t):gt(t)?Object.keys(t).map(e=>[e,t[e]]):[]}function L(t){return t=m(t),k(t)?[]:x(t)?t:[t]}function m(t){return t instanceof E&&S(t.valueOf)?t.valueOf():t}function _t(t){return+m(t)||0}function ye(t){return typeof t=="number"}function $s(t){return t&&S(t.toLiquid)?$s(t.toLiquid()):t}function k(t){return t==null}function _i(t){return t===void 0}function x(t){return Si.call(t)==="[object Array]"}function Bs(t){return t&&ye(t.length)}function Li(t){return gt(t)&&Symbol.iterator in t}function Ts(t,e){t=t||{};for(let s in t)if(pt.call(t,s)&&e(t[s],s,t)===!1)break;return t}function gt(t){let e=typeof t;return t!==null&&(e==="object"||e==="function")}function Is(t,e,s=1){let i=[];for(let r=t;r<e;r+=s)i.push(r);return i}function te(t,e,s=" "){return Ws(t,e,s,(i,r)=>r+i)}function Fi(t,e,s=" "){return Ws(t,e,s,(i,r)=>i+r)}function Ws(t,e,s,i){t=String(t);let r=e-t.length;return r<=0?t:i(t,s.repeat(r))}function Us(t){return t}function Oi(t){return[...t].some(s=>s>="a"&&s<="z")?t.toUpperCase():t.toLowerCase()}function zi(t,e){return t.length>e?t.slice(0,e-3)+"...":t}function vi(t,e){return k(t)&&k(e)?0:k(t)?1:k(e)||t<e?-1:t>e?1:0}function Ri(t,e){return k(t)&&k(e)?0:k(t)?1:k(e)||(t=ks.call(t),e=ks.call(e),t<e)?-1:t>e?1:0}function mt(t){return function(...e){return t.call(this,...e.map(m))}}function V(t){return function(...e){return t.call(this,...e.map(_t))}}function*Se(t){let e=new Set;for(let s of t){let i=JSON.stringify(s);e.has(i)||(e.add(i),yield s)}}var Ss="__liquidClass__",D=class extends Error{constructor(e,s){super(typeof e=="string"?e:e.message),this.context="",typeof e!="string"&&Object.defineProperty(this,"originalError",{value:e,enumerable:!1}),Object.defineProperty(this,"token",{value:s,enumerable:!1}),Object.defineProperty(this,Ss,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:Ai(this.token),enumerable:!1}),this.message=Ni(this.message,this.token),this.stack=this.message+`
|
|
3
3
|
`+this.context+`
|
|
4
4
|
`+this.stack,this.originalError&&(this.stack+=`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as uo,e as fo,f as po}from"./chunk-VJG7VXFU.js";import{c as mo,i as go,o as Ur}from"./chunk-2S3FHQFS.js";import{a as ho}from"./chunk-DC7ITY6T.js";import{b as et}from"./chunk-XEZPN5TR.js";import{B as je,Ma as oo,T as Yt,V as Jt,Y as Wt,qa as Bt,s as qt,ua as zt}from"./chunk-YKDRUAY3.js";import{B as eo,D as to,l as Kt,m as Xt,p as Zt,x as Ze}from"./chunk-4WBWZIN5.js";import{b as lo,c as ce}from"./chunk-DMOLPSXF.js";import{B as no,C as G,D as M,G as io,I as se,L as so,x as q,y as ie,z as Y}from"./chunk-2KUM2RU4.js";import{a as Mt,d as Vt}from"./chunk-25MYHE4W.js";import{j as Ht}from"./chunk-2KFYIYLI.js";import{a as re}from"./chunk-LG3KEHGD.js";import{i as p,l as Fe}from"./chunk-TD6JBHUS.js";import{Ba as Xe,Bb as F,Da as _e,Eb as I,Sa as w,T as jt,Va as Dt,W as Ft,Y as Nt,_ as Lt,_a as Ut,kb as Qt,la as R,oa as ne,qb as ro,ta as C,tb as J,ub as ao,va as $e,vb as ae,xa as Ie,zb as co}from"./chunk-ZMOW2YZ4.js";import{i as E}from"./chunk-B4OMIONW.js";import{b as S,i as Gt,k as Te}from"./chunk-3PYDIBTX.js";import{b as ke}from"./chunk-AE3IQG7S.js";import{a as Tt}from"./chunk-JD5P5RAJ.js";import{c as g,e as b,f as Q,h as O,i as K,j as Oe,m as Qe,p as Ke}from"./chunk-IWTNUJGY.js";import{b as Dr}from"./chunk-JFBCE4HN.js";import{e as ye,g as l}from"./chunk-VKWPEFWQ.js";l();import{createRequire as Hr}from"node:module";import{pathToFileURL as yo}from"node:url";var wo=Hr(import.meta.url);async function So(e){let t;try{t=wo.resolve("vite",process.env.SHOPIFY_UNIT_TEST?void 0:{paths:[e]})}catch(s){throw s instanceof Error&&s.code==="MODULE_NOT_FOUND"?new p("Could not find the 'vite' package in your project.","Hydrogen uses Vite to run this command.",["Run this command from the root directory of your Hydrogen app.","Install your project dependencies (for example, by running `npm install`) and try again."]):s}let o=await eo(t),r=o.content.exports?.["."];typeof r!="string"&&(r=r?.import),typeof r!="string"&&(r=r.default);let n=g(O(o.path),r);return import(yo(n).href)}function Gr(e,t){let o=wo.resolve(e,process.env.SHOPIFY_UNIT_TEST?void 0:{paths:[t]});return import(yo(o).href)}l();l();import{isAbsolute as Mr,resolve as Vr}from"node:path";var Pi=S.string().refine(Mr,"Expected an absolute native filesystem path").transform(e=>Vr(e)),vo=S.string().datetime({precision:0}),we=S.string().regex(/^gid:\/\/shopify\/HydrogenStorefront\/\d+$/).describe("A Shopify HydrogenStorefront GID."),Ei=S.string().regex(/^gid:\/\/shopify\/HydrogenStorefrontEnvironment\/\d+$/).describe("A Shopify HydrogenStorefrontEnvironment GID."),bo=S.string().regex(/^gid:\/\/shopify\/HydrogenStorefrontDeployment\/\d+$/).describe("A Shopify HydrogenStorefrontDeployment GID."),xo=S.enum(["success","partial","skipped","cancelled"]),tt=S.string().regex(/^[a-z0-9][a-z0-9-]*\.myshopify\.com$/).nullable();function Po(e){return new Date(e).toISOString().replace(/\.\d{3}Z$/,"Z")}function Ne(e){let t=e?.toLowerCase();return t&&/^[a-z0-9][a-z0-9-]*\.myshopify\.com$/.test(t)?t:null}l();import{format as qr}from"node:util";async function Eo(e){if(!X())return e();let t={log:console.log,info:console.info,debug:console.debug},o={...t};for(let r of["log","info","debug"])o[r]=(...n)=>{X()?Mt(["--json"],()=>F(qr(...n))):t[r](...n)},console[r]=o[r];try{return await e()}finally{for(let r of["log","info","debug"])console[r]===o[r]&&(console[r]=t[r])}}function X(){return Te()==="json"||Ht()}function Le(e,t,o=X()){return o?(co(e.encode(t)),!0):!1}l();var Co=S.object({gid:bo,createdAt:vo,commitMessage:S.string().nullable()}).strict(),ot=S.object({gid:we,name:S.string(),productionUrl:S.string().url().nullable()}).strict().describe("All projected fields are present; unavailable productionUrl is null."),Ro=ot.extend({currentProductionDeployment:Co.nullable()}).strict();function rt(e){return{gid:e.id,name:e.title,productionUrl:e.productionUrl||null}}function Ni({shop:e,storefronts:t}){return{storeDomain:Ne(e),storefronts:t.map(o=>({...rt(o),currentProductionDeployment:o.currentProductionDeployment?{gid:o.currentProductionDeployment.id,createdAt:Po(o.currentProductionDeployment.createdAt),commitMessage:o.currentProductionDeployment.commitMessage??null}:null}))}}var Li=re({name:"HydrogenListResult",schema:S.object({storeDomain:tt,storefronts:S.array(Ro)}).strict().describe("The complete list of Hydrogen storefronts for the store."),definitions:{Storefront:Ro,Deployment:Co}}),nt=re({name:"HydrogenLinkResult",schema:S.object({status:xo,changed:S.boolean(),storeDomain:tt,storefront:ot.nullable()}).strict(),definitions:{Storefront:ot}}),Di=re({name:"HydrogenUnlinkResult",schema:S.object({status:S.literal("success"),changed:S.boolean(),storefront:S.object({gid:we,name:S.string()}).strict().nullable()}).strict()});var We=ye(ke(),1);l();var $o=ye(ke(),1);l();import{createRequire as Ao}from"node:module";function ko({id:e,projectPath:t}){if(!(!e||!Yr(t,e)))throw new p(`\`shopify ${e.replace(/:/g," ")}\` is not supported by this version of Hydrogen`,"The installed version of @shopify/hydrogen disables this command.",["Use your framework or package tooling instead."])}function Yr(e,t){try{let n=Ao(g(e,"package.json"))("@shopify/hydrogen/package.json")?.shopify?.cli?.disabledCommands;return Array.isArray(n)&&n.includes(t)}catch{return!1}}function Oo(e){try{let o=Ao(import.meta.url)(g(e,"package.json"));return[o?.dependencies,o?.devDependencies,o?.peerDependencies].some(r=>!!r?.["@shopify/hydrogen"])}catch{return!1}}var le=class extends et{static baseFlags={...et.baseFlags,...lo};async _run(){let t=()=>Eo(()=>super._run()),{flags:o}=await $o.Parser.parse([],{flags:ce});return o.json&&(process.env.SHOPIFY_FLAG_JSON="true"),o.json&&Te()!=="json"?Gt({outputMode:"json",sink:Vt},t):t()}async init(){if(await super.init(),!this.id?.startsWith("hydrogen:")||this.id==="hydrogen:init")return;let t=this.argv.indexOf("--"),o=t<0?this.argv:this.argv.slice(0,t);if(o.some(i=>["--help","-h","--json-schema"].includes(i))||Tt(process.env.SHOPIFY_FLAG_JSON_SCHEMA))return;let r=o.findIndex(i=>/^--path($|=)/.test(i)),n=r<0?process.env.SHOPIFY_HYDROGEN_FLAG_PATH:o[r]?.startsWith("--path=")?o[r].slice(7):o[r+1],s=n&&!n.startsWith("--")?b(Ke(),n):Ke();if(!Oo(s))throw new p("Looks like you're trying to run a Hydrogen command outside of a Hydrogen project.","Run `shopify hydrogen init` to create a new Hydrogen project or use the `--path` flag to specify an existing Hydrogen project.");ko({id:this.id,projectPath:s})}};l();var A=ye(ke(),1);l();l();l();import{fileURLToPath as Io}from"node:url";import{existsSync as Br}from"node:fs";l();import{exec as Jr}from"node:child_process";import{promisify as Wr}from"node:util";var D=Wr(Jr);function ns(){let e=process.listeners("warning")[0];e&&(process.removeAllListeners("warning"),process.prependListener("warning",t=>{t.name!="ExperimentalWarning"&&e(t)}))}var st=new URL("../../..",import.meta.url).pathname,Se=(()=>{try{let e=g(O(st),"templates","skeleton");return Br(e)}catch{return!1}})(),ms=Se?st:void 0,zr="assets/hydrogen",Qr="starter",Z="routes",it;async function Kr(){if(it??=await Ut("package.json",{cwd:Io(import.meta.url),type:"file"}),!it)throw new p("Could not find assets directory","Please report this error.");return it}async function U(e,...t){return g(O(await Kr()),process.env.SHOPIFY_UNIT_TEST?"assets":`dist/${zr}`,e??"",...t)}async function ve(e,t){t??=await at();let o=new URL(`${t}/app${e?`/${e}`:""}`,import.meta.url);return o.protocol==="file:"?Io(o):o.toString()}function at(e=!!process.env.SHOPIFY_UNIT_TEST){return e?De():U(Qr)}function De(){if(!Se)throw new p("Trying to use skeleton source dir outside of Hydrogen monorepo.","Please report this error.");return g(O(st),"templates","skeleton")}function Xr(){return g(De(),"node_modules")}async function _o(){if(Se)return Xr();let{stdout:e}=await D("npm root");return e.trim()}var ct=["tailwind","vanilla-extract","css-modules","postcss"];async function To(e,t,o,r=(n,s)=>n){let n=await U(e);return Promise.all(Object.entries(t).map(async([s,i])=>{let a=await R(g(n,s));await C(g(o,i),r(a,s))}))}async function jo(e,t,o){let r=Object.values(e).map(s=>w(g(t,s)).then(i=>i?s:null)),n=(await Promise.all(r)).filter(Boolean);return!(n.length>0&&!o&&!await M({message:`Some files already exist (${n.join(", ")}). Overwrite?`,defaultValue:!1}))}l();l();import{readdir as Zr}from"node:fs/promises";l();Ur();import*as Fo from"fs/promises";import*as No from"path";var lt={arrowParens:"always",singleQuote:!0,bracketSpacing:!1,trailingComma:"all"};async function V(e=process.cwd()){let t=(await Fo.lstat(e)).isFile()?e:No.resolve(e,"prettier.file");try{return await mo(t)||lt}catch{return lt}}async function ee(e,t=lt,o=""){let r=Oe(o);return go(e,{parser:r===".tsx"||r===".ts"?"typescript":"babel",...t})}async function ue(e,t,o){let r=await o(await R(e));if(typeof r=="string")return t&&(r=await ee(r,t,e)),C(e,r)}var en=["tsx","ts","jsx","js","mjs","cjs"];async function T(e,t,o=en){let r=await Zr(e);if(r.includes(t)){let n=b(e,t);if(!await _e(n))return{filepath:n};for(let s of["ts","js"]){let i=b(e,`${t}/index.${s}`);if(await w(b(e,i)))return{filepath:i,extension:s,astType:s}}}else for(let n of o){let s=`${t}.${n}`;if(r.includes(s)){let i=n==="mjs"||n==="cjs"?"js":n;return{filepath:b(e,s),extension:n,astType:i}}}return{}}var Lo=Object.freeze(["dependencies","devDependencies","peerDependencies"]);async function Ue(e,t,o){let r=await Ze(g(t,"package.json")),n=await Ze(g(e,"package.json")),s=new Set(["comment",...o?.ignoredKeys??[]]),i=Object.keys(n).filter(c=>!Lo.includes(c));for(let c of i){if(s.has(c))continue;let u=n[c],f=r[c],m=Array.isArray(u)&&Array.isArray(f)?[...f,...u]:typeof u=="object"&&typeof f=="object"?{...f,...u}:u;r[c]=m}let a=Object.entries(r.dependencies||{}).find(([c])=>c.startsWith("@remix-run/"))?.[1];for(let c of Lo)s.has(c)||n[c]&&(r[c]=[...new Set([...Object.keys(r[c]??{}),...Object.keys(n[c]??{})])].sort().reduce((u,f)=>{let m=n[c]?.[f]??r[c]?.[f];return f.startsWith("@remix-run/")&&a&&(m=a),u[f]=m,u},{}));await to(t,o?.onResult?.(r)??r)}l();l();async function be(e){let t=await import("@ast-grep/napi");if(!(e in t))throw new Error(`Wrong language for AST: ${e}`);return t[e]}async function Do(e,t,o){let{filepath:r,astType:n}=await T(e,"root");if(!r||!n)throw new p(`Could not find root file in ${e}`);await ue(r,t,async s=>{let i=`import ${o.isDefault?o.name:`{${o.name}}`} from '${(o.isAbsolute?"":"./")+o.path}';`;if(s.includes(i.split("from")[0]))return;let c=(await be(n)).parse(s).root(),u=c.findAll({rule:{kind:"import_statement"}}).reverse(),f=u.find(v=>v.text().includes(".css"))||u.shift(),m=c.find({rule:{kind:"jsx_element",regex:"resetStyles",has:{kind:"jsx_opening_element",has:{kind:"identifier",pattern:"link"}}}});if(!f||!m)throw new p('Could not find a "links" export in root file. Please add one and try again.');let d=f.text(),h=m.text(),x=o.isConditional?`{${o.name} && <link rel="stylesheet" href={${o.name}}></link>}`:`<link rel="stylesheet" href={${o.name}}></link>`;return s.replace(d,d+`
|
|
1
|
+
import{a as uo,e as fo,f as po}from"./chunk-WZ3QWPK5.js";import{c as mo,i as go,o as Ur}from"./chunk-HVECVOIO.js";import{a as ho}from"./chunk-CA3GVT4D.js";import{b as et}from"./chunk-PSREELSQ.js";import{B as je,Na as oo,T as Yt,V as Jt,Y as Wt,ra as Bt,s as qt,va as zt}from"./chunk-UORSJB4A.js";import{B as eo,D as to,l as Kt,m as Xt,p as Zt,x as Ze}from"./chunk-OSASE35V.js";import{b as lo,c as ce}from"./chunk-IKXUYCK7.js";import{B as no,C as G,D as M,G as io,I as se,L as so,x as q,y as ie,z as Y}from"./chunk-7A4ZE5IS.js";import{a as Mt,d as Vt}from"./chunk-WLJDMI7E.js";import{j as Ht}from"./chunk-2KFYIYLI.js";import{a as re}from"./chunk-LG3KEHGD.js";import{j as p,n as Fe}from"./chunk-FJOVMEPN.js";import{Ba as Xe,Bb as F,Da as _e,Eb as I,Sa as w,T as jt,Va as Dt,W as Ft,Y as Nt,_ as Lt,_a as Ut,kb as Qt,la as R,oa as ne,qb as ro,ta as C,tb as J,ub as ao,va as $e,vb as ae,xa as Ie,zb as co}from"./chunk-OIQ5NQ5I.js";import{i as E}from"./chunk-B4OMIONW.js";import{b as S,i as Gt,k as Te}from"./chunk-3PYDIBTX.js";import{b as ke}from"./chunk-VBPMVVLV.js";import{a as Tt}from"./chunk-JD5P5RAJ.js";import{c as g,e as b,f as Q,h as O,i as K,j as Oe,m as Qe,p as Ke}from"./chunk-IWTNUJGY.js";import{b as Dr}from"./chunk-JFBCE4HN.js";import{e as ye,g as l}from"./chunk-VKWPEFWQ.js";l();import{createRequire as Hr}from"node:module";import{pathToFileURL as yo}from"node:url";var wo=Hr(import.meta.url);async function So(e){let t;try{t=wo.resolve("vite",process.env.SHOPIFY_UNIT_TEST?void 0:{paths:[e]})}catch(s){throw s instanceof Error&&s.code==="MODULE_NOT_FOUND"?new p("Could not find the 'vite' package in your project.","Hydrogen uses Vite to run this command.",["Run this command from the root directory of your Hydrogen app.","Install your project dependencies (for example, by running `npm install`) and try again."]):s}let o=await eo(t),r=o.content.exports?.["."];typeof r!="string"&&(r=r?.import),typeof r!="string"&&(r=r.default);let n=g(O(o.path),r);return import(yo(n).href)}function Gr(e,t){let o=wo.resolve(e,process.env.SHOPIFY_UNIT_TEST?void 0:{paths:[t]});return import(yo(o).href)}l();l();import{isAbsolute as Mr,resolve as Vr}from"node:path";var Pi=S.string().refine(Mr,"Expected an absolute native filesystem path").transform(e=>Vr(e)),vo=S.string().datetime({precision:0}),we=S.string().regex(/^gid:\/\/shopify\/HydrogenStorefront\/\d+$/).describe("A Shopify HydrogenStorefront GID."),Ei=S.string().regex(/^gid:\/\/shopify\/HydrogenStorefrontEnvironment\/\d+$/).describe("A Shopify HydrogenStorefrontEnvironment GID."),bo=S.string().regex(/^gid:\/\/shopify\/HydrogenStorefrontDeployment\/\d+$/).describe("A Shopify HydrogenStorefrontDeployment GID."),xo=S.enum(["success","partial","skipped","cancelled"]),tt=S.string().regex(/^[a-z0-9][a-z0-9-]*\.myshopify\.com$/).nullable();function Po(e){return new Date(e).toISOString().replace(/\.\d{3}Z$/,"Z")}function Ne(e){let t=e?.toLowerCase();return t&&/^[a-z0-9][a-z0-9-]*\.myshopify\.com$/.test(t)?t:null}l();import{format as qr}from"node:util";async function Eo(e){if(!X())return e();let t={log:console.log,info:console.info,debug:console.debug},o={...t};for(let r of["log","info","debug"])o[r]=(...n)=>{X()?Mt(["--json"],()=>F(qr(...n))):t[r](...n)},console[r]=o[r];try{return await e()}finally{for(let r of["log","info","debug"])console[r]===o[r]&&(console[r]=t[r])}}function X(){return Te()==="json"||Ht()}function Le(e,t,o=X()){return o?(co(e.encode(t)),!0):!1}l();var Co=S.object({gid:bo,createdAt:vo,commitMessage:S.string().nullable()}).strict(),ot=S.object({gid:we,name:S.string(),productionUrl:S.string().url().nullable()}).strict().describe("All projected fields are present; unavailable productionUrl is null."),Ro=ot.extend({currentProductionDeployment:Co.nullable()}).strict();function rt(e){return{gid:e.id,name:e.title,productionUrl:e.productionUrl||null}}function Ni({shop:e,storefronts:t}){return{storeDomain:Ne(e),storefronts:t.map(o=>({...rt(o),currentProductionDeployment:o.currentProductionDeployment?{gid:o.currentProductionDeployment.id,createdAt:Po(o.currentProductionDeployment.createdAt),commitMessage:o.currentProductionDeployment.commitMessage??null}:null}))}}var Li=re({name:"HydrogenListResult",schema:S.object({storeDomain:tt,storefronts:S.array(Ro)}).strict().describe("The complete list of Hydrogen storefronts for the store."),definitions:{Storefront:Ro,Deployment:Co}}),nt=re({name:"HydrogenLinkResult",schema:S.object({status:xo,changed:S.boolean(),storeDomain:tt,storefront:ot.nullable()}).strict(),definitions:{Storefront:ot}}),Di=re({name:"HydrogenUnlinkResult",schema:S.object({status:S.literal("success"),changed:S.boolean(),storefront:S.object({gid:we,name:S.string()}).strict().nullable()}).strict()});var We=ye(ke(),1);l();var $o=ye(ke(),1);l();import{createRequire as Ao}from"node:module";function ko({id:e,projectPath:t}){if(!(!e||!Yr(t,e)))throw new p(`\`shopify ${e.replace(/:/g," ")}\` is not supported by this version of Hydrogen`,"The installed version of @shopify/hydrogen disables this command.",["Use your framework or package tooling instead."])}function Yr(e,t){try{let n=Ao(g(e,"package.json"))("@shopify/hydrogen/package.json")?.shopify?.cli?.disabledCommands;return Array.isArray(n)&&n.includes(t)}catch{return!1}}function Oo(e){try{let o=Ao(import.meta.url)(g(e,"package.json"));return[o?.dependencies,o?.devDependencies,o?.peerDependencies].some(r=>!!r?.["@shopify/hydrogen"])}catch{return!1}}var le=class extends et{static baseFlags={...et.baseFlags,...lo};async _run(){let t=()=>Eo(()=>super._run()),{flags:o}=await $o.Parser.parse([],{flags:ce});return o.json&&(process.env.SHOPIFY_FLAG_JSON="true"),o.json&&Te()!=="json"?Gt({outputMode:"json",sink:Vt},t):t()}async init(){if(await super.init(),!this.id?.startsWith("hydrogen:")||this.id==="hydrogen:init")return;let t=this.argv.indexOf("--"),o=t<0?this.argv:this.argv.slice(0,t);if(o.some(i=>["--help","-h","--json-schema"].includes(i))||Tt(process.env.SHOPIFY_FLAG_JSON_SCHEMA))return;let r=o.findIndex(i=>/^--path($|=)/.test(i)),n=r<0?process.env.SHOPIFY_HYDROGEN_FLAG_PATH:o[r]?.startsWith("--path=")?o[r].slice(7):o[r+1],s=n&&!n.startsWith("--")?b(Ke(),n):Ke();if(!Oo(s))throw new p("Looks like you're trying to run a Hydrogen command outside of a Hydrogen project.","Run `shopify hydrogen init` to create a new Hydrogen project or use the `--path` flag to specify an existing Hydrogen project.");ko({id:this.id,projectPath:s})}};l();var A=ye(ke(),1);l();l();l();import{fileURLToPath as Io}from"node:url";import{existsSync as Br}from"node:fs";l();import{exec as Jr}from"node:child_process";import{promisify as Wr}from"node:util";var D=Wr(Jr);function ns(){let e=process.listeners("warning")[0];e&&(process.removeAllListeners("warning"),process.prependListener("warning",t=>{t.name!="ExperimentalWarning"&&e(t)}))}var st=new URL("../../..",import.meta.url).pathname,Se=(()=>{try{let e=g(O(st),"templates","skeleton");return Br(e)}catch{return!1}})(),ms=Se?st:void 0,zr="assets/hydrogen",Qr="starter",Z="routes",it;async function Kr(){if(it??=await Ut("package.json",{cwd:Io(import.meta.url),type:"file"}),!it)throw new p("Could not find assets directory","Please report this error.");return it}async function U(e,...t){return g(O(await Kr()),process.env.SHOPIFY_UNIT_TEST?"assets":`dist/${zr}`,e??"",...t)}async function ve(e,t){t??=await at();let o=new URL(`${t}/app${e?`/${e}`:""}`,import.meta.url);return o.protocol==="file:"?Io(o):o.toString()}function at(e=!!process.env.SHOPIFY_UNIT_TEST){return e?De():U(Qr)}function De(){if(!Se)throw new p("Trying to use skeleton source dir outside of Hydrogen monorepo.","Please report this error.");return g(O(st),"templates","skeleton")}function Xr(){return g(De(),"node_modules")}async function _o(){if(Se)return Xr();let{stdout:e}=await D("npm root");return e.trim()}var ct=["tailwind","vanilla-extract","css-modules","postcss"];async function To(e,t,o,r=(n,s)=>n){let n=await U(e);return Promise.all(Object.entries(t).map(async([s,i])=>{let a=await R(g(n,s));await C(g(o,i),r(a,s))}))}async function jo(e,t,o){let r=Object.values(e).map(s=>w(g(t,s)).then(i=>i?s:null)),n=(await Promise.all(r)).filter(Boolean);return!(n.length>0&&!o&&!await M({message:`Some files already exist (${n.join(", ")}). Overwrite?`,defaultValue:!1}))}l();l();import{readdir as Zr}from"node:fs/promises";l();Ur();import*as Fo from"fs/promises";import*as No from"path";var lt={arrowParens:"always",singleQuote:!0,bracketSpacing:!1,trailingComma:"all"};async function V(e=process.cwd()){let t=(await Fo.lstat(e)).isFile()?e:No.resolve(e,"prettier.file");try{return await mo(t)||lt}catch{return lt}}async function ee(e,t=lt,o=""){let r=Oe(o);return go(e,{parser:r===".tsx"||r===".ts"?"typescript":"babel",...t})}async function ue(e,t,o){let r=await o(await R(e));if(typeof r=="string")return t&&(r=await ee(r,t,e)),C(e,r)}var en=["tsx","ts","jsx","js","mjs","cjs"];async function T(e,t,o=en){let r=await Zr(e);if(r.includes(t)){let n=b(e,t);if(!await _e(n))return{filepath:n};for(let s of["ts","js"]){let i=b(e,`${t}/index.${s}`);if(await w(b(e,i)))return{filepath:i,extension:s,astType:s}}}else for(let n of o){let s=`${t}.${n}`;if(r.includes(s)){let i=n==="mjs"||n==="cjs"?"js":n;return{filepath:b(e,s),extension:n,astType:i}}}return{}}var Lo=Object.freeze(["dependencies","devDependencies","peerDependencies"]);async function Ue(e,t,o){let r=await Ze(g(t,"package.json")),n=await Ze(g(e,"package.json")),s=new Set(["comment",...o?.ignoredKeys??[]]),i=Object.keys(n).filter(c=>!Lo.includes(c));for(let c of i){if(s.has(c))continue;let u=n[c],f=r[c],m=Array.isArray(u)&&Array.isArray(f)?[...f,...u]:typeof u=="object"&&typeof f=="object"?{...f,...u}:u;r[c]=m}let a=Object.entries(r.dependencies||{}).find(([c])=>c.startsWith("@remix-run/"))?.[1];for(let c of Lo)s.has(c)||n[c]&&(r[c]=[...new Set([...Object.keys(r[c]??{}),...Object.keys(n[c]??{})])].sort().reduce((u,f)=>{let m=n[c]?.[f]??r[c]?.[f];return f.startsWith("@remix-run/")&&a&&(m=a),u[f]=m,u},{}));await to(t,o?.onResult?.(r)??r)}l();l();async function be(e){let t=await import("@ast-grep/napi");if(!(e in t))throw new Error(`Wrong language for AST: ${e}`);return t[e]}async function Do(e,t,o){let{filepath:r,astType:n}=await T(e,"root");if(!r||!n)throw new p(`Could not find root file in ${e}`);await ue(r,t,async s=>{let i=`import ${o.isDefault?o.name:`{${o.name}}`} from '${(o.isAbsolute?"":"./")+o.path}';`;if(s.includes(i.split("from")[0]))return;let c=(await be(n)).parse(s).root(),u=c.findAll({rule:{kind:"import_statement"}}).reverse(),f=u.find(v=>v.text().includes(".css"))||u.shift(),m=c.find({rule:{kind:"jsx_element",regex:"resetStyles",has:{kind:"jsx_opening_element",has:{kind:"identifier",pattern:"link"}}}});if(!f||!m)throw new p('Could not find a "links" export in root file. Please add one and try again.');let d=f.text(),h=m.text(),x=o.isConditional?`{${o.name} && <link rel="stylesheet" href={${o.name}}></link>}`:`<link rel="stylesheet" href={${o.name}}></link>`;return s.replace(d,d+`
|
|
2
2
|
`+i).replace(h,x+`
|
|
3
3
|
`+h)})}async function He(e,t,o,r){let{filepath:n,astType:s}=await T(e,"vite.config");if(!n||!s)throw new p(`Could not find vite.config file in ${e}`);await ue(n,t,async i=>{let a=`import ${o.isDefault?o.name:`{${o.name}}`} from '${o.path}';`;if(new RegExp(`['"]${o.path.replace("/","\\/")}['"]`).test(i))return;let u=(await be(s)).parse(i).root(),f=u.findAll({rule:{kind:"import_statement"}}).pop(),m=u.find(tn);if(!f||!m)throw new p('Could not find a "plugins" key in Vite config file. Please add one and try again.');let d=f.text(),h=m.text(),x=`${o.name}(${r?JSON.stringify(r):""})`;return i.replace(d,d+`
|
|
4
4
|
`+a).replace(h,h.replace("[",`[${x},`))})}var tn={rule:{pattern:"[$$$]",inside:{kind:"pair",stopBy:"neighbor",has:{field:"key",regex:"^plugins$",stopBy:"neighbor"},inside:{kind:"object",stopBy:"neighbor",all:[{inside:{kind:"export_statement",regex:"export default",stopBy:"end"}},{not:{inside:{kind:"object",stopBy:"end"}}}]}}}};var Uo="styles/tailwind.css";async function Ho({rootDirectory:e,appDirectory:t},o=!1){let r=Q(e,t),n={"tailwind.css":g(r,Uo)};if(!await jo(n,e,o)){F("Skipping CSS setup as some files already exist. You may use `--force` or `-f` to override it.");return}return{workPromise:Promise.all([Ue(await U("tailwind"),e),To("tailwind",n,e),V(e).then(i=>Promise.all([Do(t,i,{name:"tailwindCss",path:`${Uo}?url`,isDefault:!0}),He(e,i,{name:"tailwindcss",path:"@tailwindcss/vite",isDefault:!0})]))]),generatedAssets:Object.values(n),needsInstallDeps:!0}}l();async function Go({rootDirectory:e}){return{workPromise:Promise.all([Ue(await U("vanilla-extract"),e),V(e).then(o=>He(e,o,{path:"@vanilla-extract/vite-plugin",name:"vanillaExtractPlugin",isDefault:!1}))]),generatedAssets:[],needsInstallDeps:!0}}var ut=[...ct,"none"],ft={tailwind:"Tailwind v4","vanilla-extract":"Vanilla Extract","css-modules":"CSS Modules",postcss:"PostCSS"},ia={postcss:"https://vitejs.dev/guide/features.html#postcss","css-modules":"https://vitejs.dev/guide/features.html#css-modules","vanilla-extract":"https://vanilla-extract.style/documentation/styling/",tailwind:"https://tailwindcss.com/docs/configuration"};function Mo(e,t,o){switch(e){case"tailwind":return Ho(t,o);case"vanilla-extract":return Go(t);case"postcss":case"css-modules":return{workPromise:Promise.resolve(),generatedAssets:[],needsInstallDeps:!1};default:throw new Error("Unknown strategy")}}async function Vo(e){let t=Object.entries({...ft,...e?.extraChoices});return G({message:"Select a styling library",...e,choices:t.map(([o,r])=>({value:o,label:r})),defaultValue:"tailwind"})}l();l();l();l();async function te(e,t,o=!0){let{transpileTs:r}=await import("./morph-H7XQP55V.js");return r(e,t,o)}l();var qo={checkJs:!1,target:"ES2022",module:"ES2022",moduleResolution:"bundler",baseUrl:".",paths:{"~/*":["app/*"]}},on=new Set(["noLib","target","module","moduleResolution","checkJs","experimentalDecorators","allowSyntheticDefaultImports","baseUrl","paths",...Object.keys(qo)]);function rn(e,t=!1){let o={compilerOptions:{...qo}};if(e.include&&(o.include=e.include.filter(r=>t||!r.endsWith(".d.ts")).map(r=>r.replace(/(?<!\.d)\.ts(x?)$/,".js$1"))),e.compilerOptions)for(let r of on)e.compilerOptions[r]!==void 0&&(o.compilerOptions[r]=e.compilerOptions[r]);return o}async function pt(e,t=!0){let o=g(e,"app/routes.ts");if(await w(o)){let i=(await R(o)).replace("./layout.tsx","./layout.jsx");await C(o,i)}let r=await Dt("**/*.+(ts|tsx)",{absolute:!0,cwd:e,dot:!0,ignore:["**/node_modules/**"]}),n=await V();for(let s of r){if(s.endsWith(".d.ts")){t||await Ie(s);continue}let i=await R(s),a=await ee(await te(i,s,t),n);await Ie(s),await C(s.replace(/\.ts(x?)$/,".js$1"),a)}try{let s=g(e,"remix.config.js"),i=await R(s);i=i.replace(/\/server\.ts/gim,"/server.js"),await C(s,i)}catch(s){I(`Could not change TS extensions in remix.config.js:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as h,D as e,E as r,I as o,J as s,n}from"./chunk-
|
|
1
|
+
import{C as h,D as e,E as r,I as o,J as s,n}from"./chunk-7A4ZE5IS.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();async function y(){await h({message:"Associate your project with the org Castile Ventures?",choices:[{label:"first",value:"first",disabled:!0},{label:"second",value:"second"},{label:"third (limit reached)",value:"third",disabled:!0},{label:"fourth (limit reached)",value:"fourth",disabled:!0},{label:"fifth",value:"fifth",group:"Automations",disabled:!0},{label:"sixth",value:"sixth",group:"Automations"},{label:"seventh",value:"seventh"},{label:"eighth (limit reached)",value:"eighth",group:"Merchant Admin",disabled:!0},{label:"ninth",value:"ninth",group:"Merchant Admin"},{label:"tenth",value:"tenth"}],infoTable:[{header:"add",items:["new-ext"],bullet:"+"},{header:"remove",items:["integrated-demand-ext","order-discount"],bullet:"-"}]}),await o({message:"App project name (can be changed later)",defaultValue:"expansive commerce app",validate:t=>{if(t.includes("shopify"))return`Can't include "shopify" in the name`}});let l=[{label:"first",value:"first"},{label:"second",value:"second"},{label:"third",value:"third"},{label:"fourth",value:"fourth"},{label:"fifth",value:"fifth"},{label:"sixth",value:"sixth"},{label:"seventh",value:"seventh"},{label:"eighth",value:"eighth"},{label:"ninth",value:"ninth"},{label:"tenth",value:"tenth"},{label:"eleventh",value:"eleventh"},{label:"twelfth",value:"twelfth"},{label:"thirteenth",value:"thirteenth"},{label:"fourteenth",value:"fourteenth"},{label:"fifteenth",value:"fifteenth"},{label:"sixteenth",value:"sixteenth"},{label:"seventeenth",value:"seventeenth"},{label:"eighteenth",value:"eighteenth"},{label:"nineteenth",value:"nineteenth"},{label:"twentieth",value:"twentieth"},{label:"twenty-first",value:"twenty-first"},{label:"twenty-second",value:"twenty-second"},{label:"twenty-third",value:"twenty-third"},{label:"twenty-fourth",value:"twenty-fourth"},{label:"twenty-fifth",value:"twenty-fifth"},{label:"twenty-sixth",value:"twenty-sixth"},{label:"twenty-seventh",value:"twenty-seventh"},{label:"twenty-eighth",value:"twenty-eighth"},{label:"twenty-ninth",value:"twenty-ninth"},{label:"thirtieth",value:"thirtieth"},{label:"thirty-first",value:"thirty-first"},{label:"thirty-second",value:"thirty-second"},{label:"thirty-third",value:"thirty-third"},{label:"thirty-fourth",value:"thirty-fourth"},{label:"thirty-fifth",value:"thirty-fifth"},{label:"thirty-sixth",value:"thirty-sixth"},{label:"thirty-seventh",value:"thirty-seventh"},{label:"thirty-eighth",value:"thirty-eighth"},{label:"thirty-ninth",value:"thirty-ninth"},{label:"fortieth",value:"fortieth"},{label:"forty-first",value:"forty-first"},{label:"forty-second",value:"forty-second"},{label:"forty-third",value:"forty-third"},{label:"forty-fourth",value:"forty-fourth"},{label:"forty-fifth",value:"forty-fifth"},{label:"forty-sixth",value:"forty-sixth"},{label:"forty-seventh",value:"forty-seventh"},{label:"forty-eighth",value:"forty-eighth"},{label:"forty-ninth",value:"forty-ninth"},{label:"fiftieth",value:"fiftieth"}];await r({message:"Template",choices:l,search(t){return Promise.resolve({data:l.filter(f=>f.label.includes(t))})}});let a=[["first theme",{subdued:"(#1)"}],["second theme",{subdued:"(#2)"}]];await e({message:"Add the following themes to the store?",infoTable:{"":a},confirmationMessage:"Yes, add them",cancellationMessage:"Cancel"});let u={title:{color:"red",text:`${n.warning} This can't be undone.`},body:"The action you are executing should be confirmed to proceed."};await e({message:"Delete the following themes from the store?",infoTable:{"":a},infoMessage:u,confirmationMessage:"Yes, delete them",cancellationMessage:"Cancel",defaultValue:!1}),await e({message:["Make the following changes to your",{filePath:".env"},"file?"],defaultValue:!0,confirmationMessage:"Yes, confirm changes",cancellationMessage:"No, make changes later"}),await s({message:"Release this version of Mega App?",infoTable:[{header:"Includes",items:["My subscription extension","Order discount function","Subscription cancelled trigger","Add subscription action"],bullet:"+"},{header:"Removes",items:["product-discount-function","product-subscription-extension"],bullet:"-"}],confirmation:"Mega App"})}export{y as a};
|