shopify 5.0.1 → 5.1.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-QFDTQYPM.js +1 -0
- package/dist/analytics-XADBBHOH.js +1 -0
- package/dist/bootstrap.js +1 -1
- package/dist/chunk-24Q6X53V.js +1 -0
- package/dist/{chunk-F3OM2YO6.js → chunk-25MYHE4W.js} +1 -1
- package/dist/{chunk-HP2ZAAY7.js → chunk-27JT4NA4.js} +1 -1
- package/dist/chunk-2BYW3BYX.js +1 -0
- package/dist/chunk-2KFYIYLI.js +1 -0
- package/dist/{chunk-V654BMS7.js → chunk-2KUM2RU4.js} +60 -60
- package/dist/chunk-2PD7TNFS.js +275 -0
- package/dist/{chunk-3JACWBUC.js → chunk-3C72S6LO.js} +1 -1
- package/dist/chunk-3FZ4LE6A.js +10 -0
- package/dist/{chunk-ZBVHPC6W.js → chunk-3GD5ESWN.js} +1 -1
- package/dist/chunk-3KGN6N7E.js +1 -0
- package/dist/{chunk-X4A5D3PZ.js → chunk-3MZ7ELHS.js} +2 -2
- package/dist/{chunk-VXL5FBE7.js → chunk-3PS52ZT4.js} +1 -1
- package/dist/chunk-3PYDIBTX.js +1 -0
- package/dist/chunk-3Z75BVGJ.js +1 -0
- package/dist/chunk-4FWPOGPQ.js +1 -0
- package/dist/chunk-4IP37MBX.js +1 -0
- package/dist/chunk-4NFX7YCT.js +1 -0
- package/dist/chunk-4TCXPHKN.js +1 -0
- package/dist/chunk-4WBWZIN5.js +6 -0
- package/dist/chunk-5534MHZW.js +97 -0
- package/dist/{chunk-C4EKNOLY.js → chunk-5C6CXU74.js} +1 -1
- package/dist/{chunk-56GKTWFF.js → chunk-5HOZDOJ7.js} +1 -1
- package/dist/{chunk-CX3ANDPI.js → chunk-5PSQFQL6.js} +1 -1
- package/dist/chunk-5T3ZT6CC.js +1 -0
- package/dist/chunk-62NW4EPI.js +17 -0
- package/dist/chunk-65NCQJYR.js +1 -0
- package/dist/{chunk-QGWC23HQ.js → chunk-6BYHL3DS.js} +1 -1
- package/dist/chunk-6I7DT7QR.js +3 -0
- package/dist/chunk-6IMTMS2S.js +3 -0
- package/dist/chunk-7A77JCED.js +11 -0
- package/dist/chunk-7ART2IKU.js +1 -0
- package/dist/{chunk-TTBNFGCW.js → chunk-7BPT5V24.js} +2 -2
- package/dist/{chunk-V7H7ITCF.js → chunk-7CT3NIXI.js} +1 -1
- package/dist/chunk-7DBKSSDK.js +1 -0
- package/dist/chunk-7HECBXSP.js +1 -0
- package/dist/chunk-7KID5BIR.js +4 -0
- package/dist/{chunk-63UKZLPC.js → chunk-7N7KRZOM.js} +1 -1
- package/dist/{chunk-NJVNGEOU.js → chunk-7NRHZG5Y.js} +102 -102
- package/dist/chunk-7PHDEILV.js +1 -0
- package/dist/chunk-A2NSORBM.js +2296 -0
- package/dist/chunk-A54TADAZ.js +1 -0
- package/dist/{chunk-YTUUU33R.js → chunk-AE3IQG7S.js} +1 -1
- package/dist/chunk-AGTUAQHX.js +4 -0
- package/dist/chunk-AHYI27QL.js +11 -0
- package/dist/chunk-ALINJ6J2.js +1 -0
- package/dist/chunk-AMVWKHNY.js +1 -0
- package/dist/{chunk-D4LFWIFE.js → chunk-ASKBYEO7.js} +1 -1
- package/dist/{chunk-LENSEW2F.js → chunk-AVJJGQOP.js} +1 -1
- package/dist/{chunk-QVVQUJQL.js → chunk-AY3AAV77.js} +1 -1
- package/dist/{chunk-DSKAIC7O.js → chunk-BFAOTQGH.js} +1 -1
- package/dist/{chunk-KGASGUDQ.js → chunk-BPKQA2EO.js} +1 -1
- package/dist/{chunk-KLYGMYXV.js → chunk-C2HJEGTS.js} +1 -1
- package/dist/chunk-C72QNK6O.js +4 -0
- package/dist/chunk-CDSDQTNB.js +16 -0
- package/dist/chunk-CEQGOCKX.js +1 -0
- package/dist/{chunk-QBE6XVU3.js → chunk-CIGWIKOW.js} +1 -1
- package/dist/chunk-CQAD5WML.js +1 -0
- package/dist/chunk-CRQQCT7F.js +1 -0
- package/dist/chunk-CZNUBAAG.js +3 -0
- package/dist/{chunk-WQOPLNDH.js → chunk-D7IMC2G4.js} +1 -1
- package/dist/{chunk-LGXNXAQA.js → chunk-DC7ITY6T.js} +1 -1
- package/dist/{chunk-7GHSE7SG.js → chunk-DDRP6QTC.js} +1 -1
- package/dist/{chunk-4EDE3UH7.js → chunk-DDZYIC76.js} +2 -2
- package/dist/chunk-DGIIUQH3.js +1 -0
- package/dist/{chunk-5AWELO3D.js → chunk-DMOLPSXF.js} +1 -1
- package/dist/{chunk-GSGCSBRN.js → chunk-DOLVBTCB.js} +1 -1
- package/dist/{chunk-MXXMIPUN.js → chunk-DTKGI43P.js} +2 -2
- package/dist/{chunk-37P5YOP2.js → chunk-DVD7I2TX.js} +2 -2
- package/dist/chunk-DVFVO6ZE.js +2 -0
- package/dist/{chunk-7U2MTK6I.js → chunk-DXEMSLI6.js} +1 -1
- package/dist/chunk-EDWIWZWM.js +15 -0
- package/dist/chunk-ELR6AZT4.js +9 -0
- package/dist/chunk-EVQPYZ7F.js +5 -0
- package/dist/chunk-F5QKMDP3.js +1 -0
- package/dist/{chunk-J5DUFSR4.js → chunk-F6IQWX2F.js} +1 -1
- package/dist/{chunk-XZLM4HLO.js → chunk-FAVPTYIR.js} +1 -1
- package/dist/{chunk-Q7BOSHWX.js → chunk-FDSNRKGQ.js} +1 -1
- package/dist/{chunk-DVW7NDVD.js → chunk-FHKK3QU7.js} +1 -1
- package/dist/chunk-FKKJQGYX.js +7 -0
- package/dist/chunk-FQLXQ7WN.js +16 -0
- package/dist/{chunk-6PUU6ZNQ.js → chunk-FRWQJAW2.js} +1 -1
- package/dist/{chunk-AIEVQSI3.js → chunk-FU7PYW7H.js} +1 -1
- package/dist/{chunk-5YUDEPEY.js → chunk-FYQE5E6U.js} +1 -1
- package/dist/chunk-G3EWGBXR.js +1 -0
- package/dist/chunk-G3RNO2TC.js +1 -0
- package/dist/{chunk-7NYCJG2U.js → chunk-GGCP2TIK.js} +1 -1
- package/dist/chunk-GSFWBFFH.js +1 -0
- package/dist/{chunk-NUCDRKDW.js → chunk-H2KGP2FM.js} +2 -2
- package/dist/{chunk-PVASYKSJ.js → chunk-H4K3F7PP.js} +1 -1
- package/dist/chunk-HGZ2HRPO.js +13 -0
- package/dist/chunk-HMPRWNGG.js +203 -0
- package/dist/chunk-HP4QYSBQ.js +1 -0
- package/dist/{chunk-LR4J4KYJ.js → chunk-HSTZV6H7.js} +2 -2
- package/dist/{chunk-ZHHTQRWU.js → chunk-HVUMVDUG.js} +1 -1
- package/dist/{chunk-IY5EI5V2.js → chunk-HYCNYUHW.js} +1 -1
- package/dist/{chunk-FHNJLON5.js → chunk-I3WRA2LH.js} +1 -1
- package/dist/{chunk-MS7DTL4U.js → chunk-IRLYC626.js} +2 -2
- package/dist/chunk-IWNFPBH2.js +33 -0
- package/dist/{chunk-EA5XVQJT.js → chunk-JALDNBTU.js} +1 -1
- package/dist/{chunk-ZTZGDZCE.js → chunk-JC37YZ4I.js} +1 -1
- package/dist/{chunk-DM7BTMFP.js → chunk-JG4FAT2T.js} +1 -1
- package/dist/chunk-JGLLABZR.js +8 -0
- package/dist/chunk-JIY6XWSC.js +1 -0
- package/dist/{chunk-VG2AESTZ.js → chunk-JIYCZXK5.js} +1 -1
- package/dist/chunk-JMSAHCBU.js +35 -0
- package/dist/{chunk-CWR3IFXD.js → chunk-JNSVKDBY.js} +1 -1
- package/dist/chunk-JQU2BJDH.js +3 -0
- package/dist/chunk-JVY6CCLE.js +3 -0
- package/dist/{chunk-BAHIL37I.js → chunk-K4QJEQI4.js} +1 -1
- package/dist/chunk-KCAWHJGF.js +1 -0
- package/dist/{chunk-M73IECPW.js → chunk-KFO2JNF5.js} +1 -1
- package/dist/chunk-KFR7HWCG.js +9 -0
- package/dist/{chunk-QYFU363G.js → chunk-KHZF73BL.js} +1 -1
- package/dist/{chunk-HT66BOEC.js → chunk-KM4LE7K4.js} +2 -2
- package/dist/{chunk-IILLQOUC.js → chunk-L2PUDV7Y.js} +1 -1
- package/dist/chunk-LFBFPK22.js +1 -0
- package/dist/{chunk-BN7ZXAZJ.js → chunk-LG3KEHGD.js} +2 -2
- package/dist/chunk-LGDWE3H3.js +1 -0
- package/dist/chunk-LPPEAMI6.js +1 -0
- package/dist/chunk-LXIWMYM4.js +1 -0
- package/dist/chunk-MGWCXTGD.js +1 -0
- package/dist/chunk-MGX7UG44.js +1 -0
- package/dist/chunk-MKFRKNHF.js +3 -0
- package/dist/chunk-MTT6EAQO.js +1 -0
- package/dist/{chunk-75LAVRRL.js → chunk-MU7IVBGI.js} +2 -2
- package/dist/{chunk-36TZ447N.js → chunk-MYMBHVC4.js} +1 -1
- package/dist/chunk-MZDBH4XV.js +4 -0
- package/dist/{chunk-3G2PEYPI.js → chunk-NUBJ2HK7.js} +1 -1
- package/dist/{chunk-K3YALQBQ.js → chunk-NY5N4ANL.js} +1 -1
- package/dist/{chunk-364BVGRY.js → chunk-NYMKGE3J.js} +1 -1
- package/dist/{chunk-CX5CC6P5.js → chunk-O472FAYX.js} +1 -1
- package/dist/chunk-O7HZ3EIP.js +1 -0
- package/dist/chunk-OJOF6IYG.js +9 -0
- package/dist/{chunk-EXTVC33U.js → chunk-ONZULPQH.js} +68 -66
- package/dist/chunk-ORMXPSJM.js +1 -0
- package/dist/chunk-ORYEDUKM.js +5 -0
- package/dist/{chunk-MZCIRMZJ.js → chunk-OTMYJWIP.js} +1 -1
- package/dist/chunk-OVJVFB5E.js +20 -0
- package/dist/chunk-OWQEFORZ.js +1 -0
- package/dist/{chunk-43HKFLOU.js → chunk-OXPEBT4I.js} +2 -2
- package/dist/chunk-OXZR2MB4.js +6 -0
- package/dist/chunk-OY5M52EF.js +6 -0
- package/dist/{chunk-FK5OFLSJ.js → chunk-PJZZZNWR.js} +1 -1
- package/dist/chunk-Q2LQJYRK.js +16 -0
- package/dist/chunk-QBRRFFMZ.js +1 -0
- package/dist/{chunk-KNQXCU3Y.js → chunk-QCLE5REL.js} +2 -2
- package/dist/chunk-QGQWVA7N.js +1 -0
- package/dist/chunk-QKPAB245.js +1 -0
- package/dist/chunk-QUPZOBTB.js +1 -0
- package/dist/chunk-R4E2E4NN.js +1 -0
- package/dist/{chunk-2M4BKFYF.js → chunk-R6US7F33.js} +1 -1
- package/dist/chunk-RKNVTEO3.js +5 -0
- package/dist/{chunk-2QQ7EBJD.js → chunk-RLOEI6VE.js} +1 -1
- package/dist/chunk-RSZAAN37.js +1 -0
- package/dist/{chunk-WBJ6ZHYH.js → chunk-S3RROJGG.js} +37 -37
- package/dist/chunk-S4KNPCW3.js +81 -0
- package/dist/{chunk-YFRI75U4.js → chunk-SBN3ILXO.js} +1 -1
- package/dist/chunk-SCDGLREP.js +1 -0
- package/dist/chunk-SHOMIS6Q.js +2 -0
- package/dist/chunk-SN3PMWUF.js +6 -0
- package/dist/chunk-SODCXZ5U.js +1 -0
- package/dist/chunk-SPJM7RTD.js +1 -0
- package/dist/chunk-SQL67BKI.js +5 -0
- package/dist/{chunk-MMUGP3WP.js → chunk-SURFUFAZ.js} +1 -1
- package/dist/{chunk-KOTZSPZA.js → chunk-SVQDMZJO.js} +1 -1
- package/dist/chunk-T4ZOTYOY.js +1 -0
- package/dist/chunk-T6C4WC3Z.js +2 -0
- package/dist/chunk-TD6JBHUS.js +1 -0
- package/dist/chunk-TIM4CIXZ.js +22 -0
- package/dist/{chunk-V2FCZC7U.js → chunk-TP7CTMMT.js} +1 -1
- package/dist/chunk-TSPJAMYB.js +1 -0
- package/dist/chunk-TSVEV2UD.js +26 -0
- package/dist/chunk-TTAT62N3.js +25 -0
- package/dist/{chunk-ZVEBXHEY.js → chunk-TUSS6PXB.js} +1 -1
- package/dist/chunk-TXP6KFWO.js +5 -0
- package/dist/chunk-TZHVCMZN.js +6 -0
- package/dist/chunk-UC4TOM36.js +3 -0
- package/dist/{chunk-2YGPWG3I.js → chunk-UFY4L5KQ.js} +1 -1
- package/dist/chunk-UU6UQ2QY.js +1 -0
- package/dist/chunk-V4FC72R6.js +1 -0
- package/dist/chunk-VA2S7W7H.js +10 -0
- package/dist/chunk-VE3IIC7H.js +1 -0
- package/dist/{chunk-EH22T4FI.js → chunk-VJG7VXFU.js} +2 -2
- package/dist/chunk-VQSRU5XL.js +4 -0
- package/dist/chunk-VRIFLMA3.js +70 -0
- package/dist/chunk-WBJFTCEJ.js +1 -0
- package/dist/chunk-WBPP6PO7.js +31 -0
- package/dist/chunk-WE5KY6T6.js +1 -0
- package/dist/chunk-WFPVT2IY.js +1 -0
- package/dist/{chunk-ETXBF6Q7.js → chunk-WLYXBQ2M.js} +1 -1
- package/dist/chunk-WNVOEE6T.js +7 -0
- package/dist/chunk-WPDJVUTY.js +47 -0
- package/dist/chunk-WWCYEZUU.js +1 -0
- package/dist/chunk-WWVDZ3GC.js +3 -0
- package/dist/{chunk-CXPYOLGM.js → chunk-WZBZ7FWP.js} +2 -2
- package/dist/chunk-XEZPN5TR.js +22 -0
- package/dist/{chunk-AQ34X5B3.js → chunk-XLMKHTJ5.js} +1 -1
- package/dist/chunk-XRNBCV2B.js +1 -0
- package/dist/{chunk-B4ISKIXN.js → chunk-XWLNCBAG.js} +1 -1
- package/dist/chunk-YF4AXKM4.js +1 -0
- package/dist/chunk-YKDRUAY3.js +857 -0
- package/dist/{chunk-FPOZMNT2.js → chunk-YNFQBYSL.js} +1 -1
- package/dist/{chunk-2CJQQQW4.js → chunk-YNZLLZU2.js} +1 -1
- package/dist/chunk-YOYPYB4H.js +1 -0
- package/dist/{chunk-HF4NDEX3.js → chunk-YR4J46US.js} +1 -1
- package/dist/chunk-YTL45RXR.js +103 -0
- package/dist/chunk-YVPB7OT6.js +6 -0
- package/dist/chunk-YYWSHRO2.js +89 -0
- package/dist/{chunk-5XOEMYEQ.js → chunk-Z5QEXS6F.js} +1 -1
- package/dist/chunk-Z5WFRYVQ.js +6 -0
- package/dist/{chunk-P5W5RVE6.js → chunk-Z6ZRS256.js} +1 -1
- package/dist/chunk-ZMOW2YZ4.js +18 -0
- package/dist/chunk-ZMU4EYXT.js +1 -0
- package/dist/{chunk-ACA2BGAD.js → chunk-ZNEPRGFY.js} +1 -1
- package/dist/chunk-ZXZWMXXK.js +7 -0
- 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-next.js +1 -0
- 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.d.ts +10 -10
- package/dist/cli/commands/auth/login.js +1 -1
- package/dist/cli/commands/auth/logout.d.ts +7 -7
- package/dist/cli/commands/auth/logout.js +1 -1
- package/dist/cli/commands/cache/clear.js +1 -1
- package/dist/cli/commands/config/autoupgrade/off.d.ts +7 -7
- package/dist/cli/commands/config/autoupgrade/off.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.d.ts +7 -7
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- package/dist/cli/commands/config/autoupgrade/status.d.ts +7 -7
- package/dist/cli/commands/config/autoupgrade/status.js +1 -1
- package/dist/cli/commands/debug/command-flags.js +1 -1
- package/dist/cli/commands/doc/fetch.d.ts +21 -21
- package/dist/cli/commands/doc/fetch.js +1 -1
- package/dist/cli/commands/doc/search.d.ts +23 -23
- 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.d.ts +90 -90
- package/dist/cli/commands/help.js +1 -1
- package/dist/cli/commands/kitchen-sink/async.js +1 -1
- package/dist/cli/commands/kitchen-sink/index.js +1 -1
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
- package/dist/cli/commands/kitchen-sink/static.js +1 -1
- package/dist/cli/commands/notifications/generate.js +1 -1
- package/dist/cli/commands/notifications/list.js +1 -1
- package/dist/cli/commands/organization/list.js +1 -1
- package/dist/cli/commands/search.d.ts +7 -7
- 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.d.ts +24 -24
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/version.d.ts +7 -7
- package/dist/cli/commands/version.js +1 -1
- package/dist/cli/help.js +1 -1
- package/dist/cli-version-check-V25AVSZ6.js +1 -0
- package/dist/{command-event-context-LFUZ7UCA.js → command-event-context-ILIANB5Q.js} +1 -1
- package/dist/command-json-schema-C5UZXP2W.js +1 -0
- package/dist/command-registry.js +1 -1
- package/dist/conf-store-OCGEEV4U.js +1 -0
- package/dist/custom-oclif-loader-ZVUKMRGH.js +1 -0
- package/dist/data/filters.json +41 -2
- package/dist/data/local_block_entry.json +1 -1
- package/dist/data/manifest_theme.json +1 -0
- package/dist/data/objects.json +78 -36
- package/dist/data/section.json +1 -1
- package/dist/data/shopify_system_translations.json +240 -23
- package/dist/data/strict_settings.json +24 -0
- package/dist/data/tags.json +57 -24
- package/dist/data/theme_block.json +1 -1
- package/dist/deprecations-A5AXXKIK.js +1 -0
- package/dist/dist-NORLLIHQ.js +1 -0
- package/dist/dist-XBM4XZS4.js +1 -0
- package/dist/environment-5P7JJ3GI.js +1 -0
- package/dist/environments-Y5JEI3U3.js +1 -0
- package/dist/error-GI4DXVDU.js +1 -0
- package/dist/error-handler-BS2ZENQV.js +1 -0
- package/dist/fs-UOOLPOHJ.js +1 -0
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/plugin-plugins.js +1 -1
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +2 -2
- 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-2OXOS2AW.js +1 -0
- package/dist/http-proxy-node16-NZZ674YW.js +38 -0
- package/dist/index.js +12 -12
- package/dist/is-global-CI77T7NE.js +1 -0
- package/dist/json-error-6PBUR4LQ.js +1 -0
- package/dist/latest-version-75YEFEMK.js +9 -0
- package/dist/lib-4JVADMNT.js +1 -0
- package/dist/lib-L4STV5B2.js +1 -0
- package/dist/lib-LEEN55OD.js +1 -0
- package/dist/{local-KA3IWOZ6.js → local-5NIWPWDS.js} +1 -1
- package/dist/metadata-IXPNNPNJ.js +1 -0
- package/dist/{morph-CRY35DIK.js → morph-H7XQP55V.js} +3 -3
- package/dist/node-package-manager-ALFEGGD6.js +1 -0
- package/dist/notifications-system-FQW3GKH2.js +1 -0
- package/dist/{npa-A4YSCQ5Q.js → npa-LVYMN7GE.js} +1 -1
- package/dist/os-6TNQTEUN.js +1 -0
- package/dist/output-LEOB5LAM.js +1 -0
- package/dist/{prettier-EGVCP5CY.js → prettier-VLTY4MIE.js} +1 -1
- package/dist/registry-auth-token-EDH77OOW.js +1 -0
- package/dist/registry-url-JMNV3LLX.js +1 -0
- package/dist/semver-HHZRKD6Y.js +1 -0
- package/dist/system-J4CTESP5.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui-YDUI56E3.js +1 -0
- package/dist/upgrade-LBCZORG2.js +1 -0
- package/dist/version-2YL4YEQ2.js +1 -0
- package/dist/version-X2CPQVWQ.js +1 -0
- package/dist/workerd-5UPTEWNI.js +18 -0
- package/oclif.manifest.json +25622 -1132
- package/package.json +7 -7
- package/dist/analytics-RSUIYNLC.js +0 -1
- package/dist/analytics-V2SDYXQJ.js +0 -1
- package/dist/chunk-2AW3KBTP.js +0 -1
- package/dist/chunk-2M535QQJ.js +0 -6
- package/dist/chunk-2NZ7GDDR.js +0 -2
- package/dist/chunk-2RFCYZMG.js +0 -47
- package/dist/chunk-2S5NPJEJ.js +0 -5
- package/dist/chunk-2TPLPZA2.js +0 -3
- package/dist/chunk-32O27NE3.js +0 -1
- package/dist/chunk-335BUVBP.js +0 -1
- package/dist/chunk-46JYM3GH.js +0 -1
- package/dist/chunk-4GQEXVDT.js +0 -1
- package/dist/chunk-4IUXLUFD.js +0 -6
- package/dist/chunk-4QZ6OBXL.js +0 -4
- package/dist/chunk-4SDCXKYR.js +0 -31
- package/dist/chunk-5AQ5JT2V.js +0 -7
- package/dist/chunk-5D4FNAAD.js +0 -3
- package/dist/chunk-5TWYJQQO.js +0 -1
- package/dist/chunk-5YXYYQBX.js +0 -1
- package/dist/chunk-6JZC6UKY.js +0 -20
- package/dist/chunk-6Y6A2QGK.js +0 -3
- package/dist/chunk-7AWAOPLA.js +0 -1
- package/dist/chunk-7XAEI4XT.js +0 -3
- package/dist/chunk-A7LBGXWG.js +0 -1
- package/dist/chunk-ADVLRSSO.js +0 -1
- package/dist/chunk-AOBE6HN6.js +0 -31
- package/dist/chunk-B2VE7WOX.js +0 -1
- package/dist/chunk-BB7GAZP6.js +0 -1
- package/dist/chunk-BNTOGZLY.js +0 -1
- package/dist/chunk-BOAGJ6P5.js +0 -1
- package/dist/chunk-BU3JQM3W.js +0 -1
- package/dist/chunk-C3LL5CZA.js +0 -1
- package/dist/chunk-CFUZ6574.js +0 -15
- package/dist/chunk-CKVVJ4XO.js +0 -1
- package/dist/chunk-CNPBDSDL.js +0 -1
- package/dist/chunk-DTRENW4Q.js +0 -272
- package/dist/chunk-E3CTHNQS.js +0 -1
- package/dist/chunk-FFSDGRAN.js +0 -1
- package/dist/chunk-FNWXMCSD.js +0 -97
- package/dist/chunk-FS5PZCZ3.js +0 -1
- package/dist/chunk-FTHVOIK7.js +0 -4
- package/dist/chunk-FVRI7ZKE.js +0 -103
- package/dist/chunk-FZCGRIOM.js +0 -1
- package/dist/chunk-GCKGQFV7.js +0 -1
- package/dist/chunk-GGJUPL4W.js +0 -6
- package/dist/chunk-GHU6YEXH.js +0 -15
- package/dist/chunk-GNPIKPHB.js +0 -1
- package/dist/chunk-H57KYDEI.js +0 -16
- package/dist/chunk-HB3MJYBK.js +0 -1
- package/dist/chunk-HNU6R7RT.js +0 -7
- package/dist/chunk-HPT3UXZ5.js +0 -4
- package/dist/chunk-HXNGLDMU.js +0 -1
- package/dist/chunk-IAL6IQYW.js +0 -16
- package/dist/chunk-IULZYDCI.js +0 -9
- package/dist/chunk-IWTOC6DG.js +0 -1
- package/dist/chunk-J3JPJCWP.js +0 -1
- package/dist/chunk-J3UXIC23.js +0 -10
- package/dist/chunk-J7BTC45S.js +0 -1
- package/dist/chunk-JMVK2BIB.js +0 -3
- package/dist/chunk-JUTULEWW.js +0 -5
- package/dist/chunk-KT5QQOES.js +0 -3
- package/dist/chunk-KVF55INC.js +0 -5
- package/dist/chunk-L6VONMA2.js +0 -5
- package/dist/chunk-LWMKZJ4M.js +0 -1
- package/dist/chunk-M2KX3PXA.js +0 -1
- package/dist/chunk-M7NLCGCP.js +0 -6
- package/dist/chunk-MHWETFNT.js +0 -1
- package/dist/chunk-MNWT2SQO.js +0 -2265
- package/dist/chunk-MU2X7NGF.js +0 -11
- package/dist/chunk-MZWPIFAM.js +0 -70
- package/dist/chunk-NCPZVARH.js +0 -836
- package/dist/chunk-NMECLRGK.js +0 -11
- package/dist/chunk-NMLLRFZF.js +0 -1
- package/dist/chunk-NPB753M3.js +0 -1
- package/dist/chunk-OH7BQZQ7.js +0 -2
- package/dist/chunk-OLKLHVHA.js +0 -22
- package/dist/chunk-OPVXPDOQ.js +0 -1
- package/dist/chunk-OQUXGAF2.js +0 -1
- package/dist/chunk-OUMERKRE.js +0 -10
- package/dist/chunk-OYGIQDME.js +0 -1
- package/dist/chunk-PNZURX3S.js +0 -1
- package/dist/chunk-PRKJVU4Y.js +0 -1
- package/dist/chunk-PXFPVGWV.js +0 -1
- package/dist/chunk-Q2ORJEB2.js +0 -25
- package/dist/chunk-QFWWCZOI.js +0 -1
- package/dist/chunk-QFYLJVJW.js +0 -77
- package/dist/chunk-QX3T6G5X.js +0 -1
- package/dist/chunk-RDXLDCMI.js +0 -3
- package/dist/chunk-REDUS6EW.js +0 -1
- package/dist/chunk-RFZNFTVM.js +0 -1
- package/dist/chunk-RIG66DIQ.js +0 -18
- package/dist/chunk-RNUEPPVN.js +0 -1
- package/dist/chunk-RWTAPWLJ.js +0 -3
- package/dist/chunk-T5YVYVSW.js +0 -1
- package/dist/chunk-UDPYSL3M.js +0 -4
- package/dist/chunk-ULMNNGGX.js +0 -6
- package/dist/chunk-URCH4ITT.js +0 -1
- package/dist/chunk-UU2R56LN.js +0 -12
- package/dist/chunk-V75WUEFU.js +0 -1
- package/dist/chunk-VXD26GIG.js +0 -1
- package/dist/chunk-W7S6SYBM.js +0 -2
- package/dist/chunk-WAY723TL.js +0 -16
- package/dist/chunk-WFOU5M4H.js +0 -16
- package/dist/chunk-WGOSE3RL.js +0 -4
- package/dist/chunk-WQ6W725N.js +0 -1
- package/dist/chunk-X7DCL5LT.js +0 -1
- package/dist/chunk-XDXHSGDL.js +0 -1
- package/dist/chunk-XKKKMV46.js +0 -6
- package/dist/chunk-XRVJJG6W.js +0 -26
- package/dist/chunk-XV6XCOTG.js +0 -319
- package/dist/chunk-XYFYQWKW.js +0 -1
- package/dist/chunk-YCUEDZDA.js +0 -1
- package/dist/chunk-YQ63ZFYT.js +0 -1
- package/dist/chunk-YXIFSIRX.js +0 -1
- package/dist/chunk-ZDQO6CNY.js +0 -1
- package/dist/chunk-ZGASBRSQ.js +0 -5
- package/dist/command-json-schema-6EGXCM4B.js +0 -1
- package/dist/conf-store-E7ELDWBA.js +0 -1
- package/dist/custom-oclif-loader-FKFZJPHF.js +0 -1
- package/dist/deprecations-RNGBHZYB.js +0 -1
- package/dist/dist-VHIZZDYK.js +0 -1
- package/dist/dist-WXI5YQYP.js +0 -1
- package/dist/environment-O7ECODHU.js +0 -1
- package/dist/environments-WZJ6MRTH.js +0 -1
- package/dist/error-IFB626JA.js +0 -1
- package/dist/error-handler-OVJYVIOZ.js +0 -1
- package/dist/fs-7UOUHJDO.js +0 -1
- package/dist/http-proxy-node16-D3JUYA5D.js +0 -38
- package/dist/is-global-XW3CVHLK.js +0 -1
- package/dist/json-error-C2U7ZLCG.js +0 -1
- package/dist/latest-version-LDWU5F7A.js +0 -49
- package/dist/lib-PJHT4MKY.js +0 -1
- package/dist/lib-VKSQ65BQ.js +0 -1
- package/dist/lib-YEZOHXF3.js +0 -1
- package/dist/metadata-6JI7HF5B.js +0 -1
- package/dist/node-package-manager-X3QIEMMX.js +0 -1
- package/dist/notifications-system-OXGLT2R4.js +0 -1
- package/dist/os-NORIEVMI.js +0 -1
- package/dist/output-K3JTLRJD.js +0 -1
- package/dist/system-LTHR2T7L.js +0 -1
- package/dist/ui-MYUBVKCK.js +0 -1
- package/dist/upgrade-MFTWBXL3.js +0 -1
- package/dist/version-BNGPPAUU.js +0 -1
- package/dist/version-RCGFWSB4.js +0 -1
- package/dist/workerd-ISSXMKIH.js +0 -18
- /package/dist/{chunk-YLQ3LNNY.js → chunk-2S3FHQFS.js} +0 -0
- /package/dist/{chunk-YRHFPXC3.js → chunk-Z2AV4BWZ.js} +0 -0
package/dist/chunk-AOBE6HN6.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{a as T}from"./chunk-J3JPJCWP.js";import{a as Se}from"./chunk-QYFU363G.js";import{c as Te}from"./chunk-OQUXGAF2.js";import{b as pe,c as fe,d as ue,e as ye,f as we,h as ge,i as ve,l as ke,m as Pe,o as be}from"./chunk-FVRI7ZKE.js";import{a as ie}from"./chunk-2CJQQQW4.js";import{c as ne,e as S,o as se,p as ae}from"./chunk-2RFCYZMG.js";import{c as le,d as ce,e as me}from"./chunk-AQ34X5B3.js";import{a as de}from"./chunk-2M4BKFYF.js";import{a as he}from"./chunk-63UKZLPC.js";import{k as b,l as re,n as g}from"./chunk-2NZ7GDDR.js";import{p as te,s as O,u as P,v as oe}from"./chunk-KT5QQOES.js";import{a as x,b as ee}from"./chunk-KGASGUDQ.js";import{o as z,s as B,t as Q,u as X,w as Z}from"./chunk-Q7BOSHWX.js";import{ta as $,xa as k}from"./chunk-NCPZVARH.js";import{b as K,e as V}from"./chunk-5AWELO3D.js";import{A as N,B as A,D as q,E as U,O as J,W as j,x as M,z as W}from"./chunk-V654BMS7.js";import{b as H}from"./chunk-335BUVBP.js";import{d as Y,e as G}from"./chunk-FHNJLON5.js";import{h as w}from"./chunk-J7BTC45S.js";import{Bb as u,qb as v,sb as E,yb as R}from"./chunk-RIG66DIQ.js";import{i as y}from"./chunk-B4OMIONW.js";import{b as Me}from"./chunk-YTUUU33R.js";import{e as Ge,g as p}from"./chunk-VKWPEFWQ.js";p();p();p();p();p();var Ae={workPromise:Promise.resolve()};async function Ee(e,t,n,o,s){if(n.length===0)return Ae;u("Initiating theme asset reconciliation process");let{filesOnlyPresentLocally:i,filesOnlyPresentOnRemote:r,filesWithConflictingChecksums:l}=We(n,o),a=i.length===0&&r.length===0&&l.length===0;if(k(`theme-service:theme-reconciliation:manual:${a}`),a)return u("Local and remote checksums match - no need to reconcile theme assets"),Ae;let m=await Je({filesOnlyPresentLocally:i,filesOnlyPresentOnRemote:r,filesWithConflictingChecksums:l},s);return{workPromise:Ue(e,t,o,m)}}function We(e,t){let n=new Set,o=[],s=[];for(let r of e){n.add(r.key);let l=t.files.get(r.key);l?r.checksum!==l.checksum&&s.push(r):o.push(r)}let i=Array.from(t.files.values()).filter(r=>!n.has(r.key));return{filesOnlyPresentOnRemote:F(o,t),filesOnlyPresentLocally:F(i,t),filesWithConflictingChecksums:F(s,t)}}function F(e,t){return t.applyIgnoreFilters(e).filter(o=>o.key.endsWith(".json"))}async function C(e,t,n,o){if(e.length===0)return;if(o){Ne(e,n,o);return}W({body:{list:{title:t,items:e.map(i=>i.key)}}}),await U({message:"Reconciliation Strategy",choices:[{label:n.remote.label,value:_},{label:n.local.label,value:Re}]})===_?n.remote.callback(e):n.local.callback(e)}function Ne(e,t,n){switch(n){case"keep-remote":t.remote.callback(e);break;case"keep-local":t.local.callback(e);break;case"abort":break}}function qe(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 w("Theme JSON files need reconciliation.",t.filter(n=>n.files.length>0).map(n=>`${n.title}
|
|
2
|
-
${n.files.map(o=>`- ${o.key}`).join(`
|
|
3
|
-
`)}`).join(`
|
|
4
|
-
|
|
5
|
-
`))}async function Ue(e,t,n,o){let{localFilesToDelete:s,filesToDownload:i,remoteFilesToDelete:r}=o,l=s.map(h=>n.delete(h.key)),a=T(i,P,async h=>{let c=await b(e.id,h.map(f=>f.key),t);return Promise.all(c.map(f=>{if(f)return n.write(f)}))}),m=re(e.id,r.map(h=>h.key),t);await Promise.all([...l,...a,m])}async function Je(e,t){let{filesOnlyPresentLocally:n,filesOnlyPresentOnRemote:o,filesWithConflictingChecksums:s}=e,{reconciliationStrategy:i}=t,r=[],l=[],a=[],m={filesOnlyPresentLocally:t.noDelete?[]:n,filesOnlyPresentOnRemote:o,filesWithConflictingChecksums:s},h=Object.values(m).some(c=>c.length>0);return i==="abort"&&h&&qe(m),t.noDelete||await C(n,"The files listed below are only present locally. What would you like to do?",{remote:{label:"Delete files from the local directory",callback:c=>{r.push(...c)}},local:{label:"Upload local files to the remote theme",callback:()=>{}}},i),await C(o,"The files listed below are only present on the remote theme. What would you like to do?",{remote:{label:"Download remote files to the local directory",callback:c=>{l.push(...c)}},local:{label:"Delete files from the remote theme",callback:c=>{a.push(...c)}}},i),await C(s,"The files listed below differ between the local and remote versions. What would you like to do?",{remote:{label:"Keep the remote version",callback:c=>{l.push(...c)}},local:{label:"Keep the local version",callback:c=>{a.push(...c)}}},i),{localFilesToDelete:r,filesToDownload:l,remoteFilesToDelete:a}}p();var je=3e3,L=class extends Error{};function Fe(e,t,n,o,s,i){u("Listening for changes in the theme editor");let r=5,l=0,a="",m=n,h=async()=>{await new Promise(c=>setTimeout(c,je)),m=await Ke(e,t,m,o,s).then(c=>(l=0,a="",c)).catch(c=>{if(l++,c.message!==a&&(a=c.message,S("Error while polling for changes.",c)),l>=r){let f=new w("Too many polling errors...","Please check the errors above and ensure you have a stable internet connection.");q(f),i(f)}return m})};setTimeout(async()=>{for(;;)await h()})}async function Ke(e,t,n,o,s){let i=new Set(o.unsyncedFileKeys),r=Oe(n,o,i),l=await g(e.id,t).then(h=>Oe(h,o,i)),a=ze(r,l),m=Ve(l,r);return await Xe(o,a),await Be(e,t,o,a),await Qe(o,m,s),l}function Ve(e,t){let n=new Map(e.map(s=>[s.key,s]));return t.filter(s=>n.get(s.key)===void 0)}function ze(e,t){let n=new Map(e.map(s=>[s.key,s]));return t.filter(s=>{let i=n.get(s.key);if(!i||i.checksum!==s.checksum)return!0})}async function Be(e,t,n,o){let s=o.filter(r=>n.files.get(r.key)?.checksum!==r.checksum),i=T(s,P,async r=>b(e.id,r.map(l=>l.key),t).then(l=>Promise.all(l.map(async a=>{a&&(await n.write(a),R(E`• ${O.format(new Date)} Synced ${v.raw("\xBB")} ${v.gray(`download ${a.key} from remote theme`)}`))}))));await Promise.all(i)}async function Qe(e,t,n){if(!n.noDelete)return Promise.all(t.map(o=>{if(e.files.get(o.key))return e.delete(o.key).then(()=>{R(E`• ${O.format(new Date)} Synced ${v.raw("\xBB")} ${v.gray(`remove ${o.key} from local theme`)}`)})}))}async function Xe(e,t){let n=new Map(e.files);await Promise.all(t.map(o=>e.read(o.key)));for(let o of t){let s=n.get(o.key)?.checksum,i=e.files.get(o.key)?.checksum;if(s!==i)throw new L(`Detected changes to the file '${o.key}' on both local and remote sources. Aborting...`)}}function Oe(e,t,n){return t.applyIgnoreFilters(e).filter(s=>s.key.endsWith(".json")).filter(s=>!n.has(s.key))}var Re="local",_="remote";async function Ce(e,t,n,o,s,i){u("Initiating theme asset reconciliation process"),await o.ready();let{workPromise:r}=await Ee(e,t,n,o,s);return{updatedRemoteChecksumsPromise:r.then(async()=>{let a=await g(e.id,t);return Fe(e,t,a,o,s,i),a}),workPromise:r}}import{createServer as Ze}from"node:http";function _e(e,t){let{promise:n,resolve:o,reject:s}=Promise.withResolvers(),i=ge(e,t),r=xe(e,t,s),l=Promise.all([i,r.workPromise]).then(()=>t.localThemeFileSystem.startWatcher(e.id.toString(),t.session)),a=tt(e,t,l);return{workPromise:l,serverStart:a.start,dispatchEvent:a.dispatch,renderDevSetupProgress:r.renderProgress,backgroundJobPromise:n,resolveBackgroundJob:o}}function xe(e,t,n){let o=a=>(S("Failed to perform the initial theme synchronization.",a),n(a),new Promise(()=>{})),i=g(e.id,t.session).then(a=>et(e,t,a,n)),r=i.then(async({updatedRemoteChecksumsPromise:a})=>{let m=await a;return Se(e,t.session,m,t.localThemeFileSystem,{nodelete:t.options.noDelete,deferPartialWork:!0,backgroundWorkCatch:o})});return{workPromise:r.then(a=>a.workPromise).catch(o),renderProgress:async()=>{if(t.options.themeEditorSync){let{workPromise:m}=await i;await me([{title:"Performing file synchronization. This may take a while...",task:async()=>{await m}}])}let{renderThemeSyncProgress:a}=await r;await a()}}}function et(e,t,n,o){return t.options.themeEditorSync?Ce(e,t.session,n,t.localThemeFileSystem,{noDelete:t.options.noDelete,ignore:t.options.ignore,only:t.options.only,reconciliationStrategy:t.options.reconciliationStrategy},o):Promise.resolve({updatedRemoteChecksumsPromise:Promise.resolve(n),workPromise:Promise.resolve()})}function tt(e,t,n){let o=X(),s=[`http://${t.options.host}:${t.options.port}`,`https://${t.session.storeFqdn}`,"https://online-store-web.shopifyapps.com"];o.use(ye(t.options.host,t.options.port)),o.use(Q(async()=>(await n,B(r=>{r.node.req.headers.origin&&z(r,{origin:a=>s.includes(a),credentials:!0,methods:["GET","POST","HEAD","OPTIONS"],preflight:{statusCode:204}})})))),t.options.liveReload!=="off"&&o.use(ve(e,t)),o.use(ue(e,t)),o.use(pe(e,t)),o.use(fe(e,t));let i=Ze(Z(o));return{dispatch:o.handler.bind(o),start:async()=>new Promise(r=>i.listen({port:t.options.port,host:t.options.host},()=>r({close:async()=>{await Promise.all([new Promise(l=>{i.closeAllConnections(),i.close(l)})])}})))}}import ot from"readline";var rt="127.0.0.1",nt=9292,Le=!1;async function De(e){if(!await be(e.directory)&&!await le(e.force))return;e.password?.startsWith("shpat_")&&A({headline:"Admin API token missing features:",body:["Directly using an Admin API token will result in some missing features.","We recommend generating a password from the Theme Access app.","Alternatively, you can authenticate normally by not passing the --password flag.",`
|
|
6
|
-
`,{list:{title:"Known limitations:",items:["Hot module reloading","Password protected storefronts"]}}],link:{label:"Theme Access app",url:"https://shopify.dev/docs/storefronts/themes/tools/theme-access"}}),e.listing&&await ke(e.directory,e.listing);let[t,n]=await Promise.all([se(e.adminSession),ne(e.adminSession)]),o=n?await ie(e.storePassword,e.adminSession.storeFqdn,t):void 0,s=we(),i=Pe(e.directory,{filters:e,listing:e.listing,noDelete:e.noDelete,notify:e.notify}),r=e.host??rt,l;if(e.port){if(!await ee(e.port))throw new w(`Port ${e.port} is not available. Try a different port or remove the --port flag to use an available port.`);l=e.port}else l=await x(nt);let a={local:`http://${r}:${l}`,giftCard:`http://${r}:${l}/gift_cards/[store_id]/preview`,themeEditor:`https://${e.store}/admin/themes/${e.theme.id}/editor?hr=${l}`,preview:`https://${e.store}/?preview_theme_id=${e.theme.id}`},h={session:await ae(e.theme.id.toString(),e.adminSession,e.password,o,t),localThemeFileSystem:i,localThemeExtensionFileSystem:s,directory:e.directory,type:"theme",lastRequestedPath:"",options:{themeEditorSync:e["theme-editor-sync"],reconciliationStrategy:e.reconciliationStrategy,host:r,port:l,open:e.open,liveReload:e["live-reload"],standardEventsDevBundle:!0,standardEventsInspector:e["standard-events-inspector"],noDelete:e.noDelete,ignore:e.ignore,only:e.only,errorOverlay:e["error-overlay"]}},{serverStart:c,renderDevSetupProgress:f,backgroundJobPromise:He,resolveBackgroundJob:$e}=_e(e.theme,h),I=j();if(I){ot.emitKeypressEvents(process.stdin);let Ye=st(a,h,$e);process.stdin.on("keypress",Ye)}await Promise.all([He,f().then(c).then(()=>{I&&process.stdin.setRawMode(!0),lt(a),e.open&&Ie(a.local,"development server")})]),await it(e.commandConfig,e.adminSession),process.exit(0)}async function it(e,t){if(!Le){Le=!0;try{await Y(()=>({store_fqdn_hash:H(t.storeFqdn)})),await G(()=>({store_fqdn:t.storeFqdn})),await $({config:e,exitMode:"ok"})}catch{}}}function st(e,t,n){let o=M(Ie,100,{leading:!0,trailing:!1});return(s,i)=>{if(i.ctrl&&i.name==="c"){n();return}switch(i.name){case void 0:break;case"t":o(e.local,"localhost");break;case"p":o(e.preview,"theme preview");break;case"e":o(t.lastRequestedPath==="/"?e.themeEditor:`${e.themeEditor}&previewPath=${encodeURIComponent(t.lastRequestedPath)}`,"theme editor");break;case"g":o(e.giftCard,"gift card preview");break;default:break}}}function Ie(e,t){J(e).catch(at(t))}function at(e){return t=>{A({headline:`Failed to open ${e}.`,body:t.stack??t.message})}}function lt(e){N({body:[{list:{title:y.bold("Preview your theme ")+y.cyan("(t)"),items:[{link:{url:e.local}}]}}],nextSteps:[[{link:{label:`Share your theme preview ${y.cyan("(p)")}`,url:e.preview}},{subdued:e.preview}],[{link:{label:`Customize your theme at the theme editor ${y.cyan("(e)")}`,url:e.themeEditor}}],[{link:{label:`Preview your gift cards ${y.cyan("(g)")}`,url:e.giftCard}}]]})}var d=Ge(Me(),1);var D=class extends oe{static get requiresSyncAnalytics(){return!0}static summary="Uploads the current theme as a development theme to the connected store, then prints theme editor and preview URLs to your terminal. While running, changes will push to the store in real time.";static descriptionWithMarkdown=`
|
|
7
|
-
Uploads the current theme as the specified theme, or a [development theme](https://shopify.dev/docs/themes/tools/cli#development-themes), to a store so you can preview it.
|
|
8
|
-
|
|
9
|
-
This command returns the following information:
|
|
10
|
-
|
|
11
|
-
- A link to your development theme at http://127.0.0.1:9292. This URL can hot reload local changes to CSS and sections, or refresh the entire page when a file changes, enabling you to preview changes in real time using the store's data.
|
|
12
|
-
|
|
13
|
-
You can specify a different network interface and port using \`--host\` and \`--port\`.
|
|
14
|
-
|
|
15
|
-
- A link to the [editor](https://shopify.dev/docs/themes/tools/online-editor) for the theme in the Shopify admin.
|
|
16
|
-
|
|
17
|
-
- A [preview link](https://help.shopify.com/manual/online-store/themes/adding-themes#share-a-theme-preview-with-others) that you can share with other developers.
|
|
18
|
-
|
|
19
|
-
If you already have a development theme for your current environment, then this command replaces the development theme with your local theme. You can override this using the \`--theme-editor-sync\` flag.
|
|
20
|
-
|
|
21
|
-
> Note: You can't preview checkout customizations using http://127.0.0.1:9292.
|
|
22
|
-
|
|
23
|
-
Development themes are deleted when you run \`shopify auth logout\`. If you need a preview link that can be used after you log out, then you should [share](https://shopify.dev/docs/api/shopify-cli/theme/theme-share) your theme or [push](https://shopify.dev/docs/api/shopify-cli/theme/theme-push) to an unpublished theme on your store.
|
|
24
|
-
|
|
25
|
-
You can run this command only in a directory that matches the [default Shopify theme folder structure](https://shopify.dev/docs/themes/tools/cli#directory-structure).`;static description=this.descriptionForHelp();static flags={...K,...te,host:d.Flags.string({description:"Set which network interface the web server listens on. The default value is 127.0.0.1.",env:"SHOPIFY_FLAG_HOST"}),"live-reload":d.Flags.string({description:`The live reload mode switches the server behavior when a file is modified:
|
|
26
|
-
- hot-reload Hot reloads local changes to CSS and sections (default)
|
|
27
|
-
- full-page Always refreshes the entire page
|
|
28
|
-
- off Deactivate live reload`,default:"hot-reload",options:["hot-reload","full-page","off"],env:"SHOPIFY_FLAG_LIVE_RELOAD"}),"error-overlay":d.Flags.string({description:`Controls the visibility of the error overlay when an theme asset upload fails:
|
|
29
|
-
- silent Prevents the error overlay from appearing.
|
|
30
|
-
- default Displays the error overlay.
|
|
31
|
-
`,options:["silent","default"],default:"default",env:"SHOPIFY_FLAG_ERROR_OVERLAY"}),"theme-editor-sync":d.Flags.boolean({description:"Synchronize Theme Editor updates in the local theme files.",env:"SHOPIFY_FLAG_THEME_EDITOR_SYNC"}),"standard-events-inspector":d.Flags.boolean({description:"Inject the standard events inspector into storefront HTML.",env:"SHOPIFY_FLAG_STANDARD_EVENTS_INSPECTOR",default:!1}),"reconciliation-strategy":d.Flags.string({description:"How to resolve JSON conflicts when --theme-editor-sync is enabled. Use keep-local to keep local files, keep-remote to keep remote files, or abort to fail instead of prompting.",options:["keep-local","keep-remote","abort"],env:"SHOPIFY_FLAG_RECONCILIATION_STRATEGY",dependsOn:["theme-editor-sync"]}),port:V({description:"Local port to serve theme preview from.",env:"SHOPIFY_FLAG_PORT"}),theme:d.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID"}),listing:d.Flags.string({description:"The listing preset to use for multi-preset themes. Applies preset files from listings/[preset-name] directory.",env:"SHOPIFY_FLAG_LISTING"}),nodelete:d.Flags.boolean({char:"n",description:"Prevents files from being deleted in the remote theme when a file has been deleted locally. This applies to files that are deleted while the command is running, and files that have been deleted locally before the command is run.",env:"SHOPIFY_FLAG_NODELETE"}),only:d.Flags.string({char:"o",multiple:!0,description:"Hot reload only files that match the specified pattern.",env:"SHOPIFY_FLAG_ONLY"}),ignore:d.Flags.string({char:"x",multiple:!0,description:"Skip hot reloading any files that match the specified pattern.",env:"SHOPIFY_FLAG_IGNORE"}),force:d.Flags.boolean({hidden:!0,char:"f",description:"Proceed without confirmation, if current directory does not seem to be theme directory.",env:"SHOPIFY_FLAG_FORCE"}),notify:d.Flags.string({description:"The file path or URL. The file path is to a file that you want updated on idle. The URL path is where you want a webhook posted to report on file changes.",env:"SHOPIFY_FLAG_NOTIFY"}),open:d.Flags.boolean({description:"Automatically launch the theme preview in your default web browser.",env:"SHOPIFY_FLAG_OPEN",default:!1}),"store-password":d.Flags.string({description:"The password for storefronts with password protection.",env:"SHOPIFY_FLAG_STORE_PASSWORD"}),"allow-live":d.Flags.boolean({description:"Allow development on a live theme.",char:"a",env:"SHOPIFY_FLAG_ALLOW_LIVE",default:!1})};static multiEnvironmentsFlags=null;async command(t,n){let{ignore:o=[],only:s=[]}=t;k("theme-command:dev:single-env:authenticated");let i,r;if(t.theme){let a={filter:{theme:t.theme}};i=await he(n,a),r={...t,theme:i.id.toString(),store:n.storeFqdn}}else{i=await new de(n).findOrCreate();let a=t["theme-editor-sync"]&&i.createdAtRuntime;r={...t,theme:i.id.toString(),store:n.storeFqdn,"overwrite-json":a}}await ce(i,"start development mode",t["allow-live"])&&(await De({adminSession:n,commandConfig:this.config,directory:r.path,store:r.store,password:r.password,storePassword:r["store-password"],theme:i,listing:r.listing,host:r.host,port:r.port,"live-reload":r["live-reload"],"error-overlay":r["error-overlay"],force:r.force,open:r.open,"theme-editor-sync":r["theme-editor-sync"],"standard-events-inspector":r["standard-events-inspector"],reconciliationStrategy:r["reconciliation-strategy"],noDelete:r.nodelete,ignore:o,only:s,notify:r.notify}),await Te({path:r.path,password:r.password,store:r.store,force:r.force,verbose:r.verbose,noColor:r["no-color"],silent:!0}))}};export{D as a};
|
package/dist/chunk-B2VE7WOX.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as u}from"./chunk-OLKLHVHA.js";import{R as a}from"./chunk-NCPZVARH.js";import{b as i,c as n}from"./chunk-5AWELO3D.js";import{a as e}from"./chunk-BN7ZXAZJ.js";import{wb as c,zb as r}from"./chunk-RIG66DIQ.js";import{b as t}from"./chunk-FZCGRIOM.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();var m=e({name:"AuthLogoutResult",schema:t.object({status:t.literal("success")}).strict()}),o=class p extends u{static descriptionWithMarkdown="Logs you out of the Shopify account or Partner account and store.";static description=this.descriptionForHelp();static flags={...i,...n};static get jsonOutputSchema(){return m}async run(){let{flags:l}=await this.parse(p);await a(),l.json?c(m.encode({status:"success"})):r("Logged out from all the accounts")}};export{o as a};
|
package/dist/chunk-BB7GAZP6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as h,b as w}from"./chunk-MZWPIFAM.js";import{j as f}from"./chunk-NCPZVARH.js";import{U as d}from"./chunk-V654BMS7.js";import{h as i}from"./chunk-J7BTC45S.js";import{Fa as m,ma as p}from"./chunk-RIG66DIQ.js";import{c as u}from"./chunk-IWTNUJGY.js";import{g as l}from"./chunk-VKWPEFWQ.js";l();import{writeFile as g}from"fs/promises";var S=1024*1024,y=100,U=y*S,E=3,_=new Set([408,429,500,502,503,504]);async function j(o,e){let t=u(e,"manifest.json");await g(t,JSON.stringify(o,null,2))}var A=["!**/*.js.map","!**/*.metafile.json"];async function k(o,e,t){let n=t??["**/*",...A];e.endsWith(".br")?await w({inputDirectory:o,outputPath:e,matchFilePattern:n}):await h({inputDirectory:o,outputZipPath:e,matchFilePattern:n})}async function C(o,e){let t=await m(e);if(t>U){let s=`${(Math.ceil(t/S*100)/100).toFixed(2)} MB`;throw new i(`Your app bundle exceeds the ${y} MB upload limit (it is ${s}).`,"Check the asset paths in your extension configuration \u2014 a misconfigured source can pull in much more than intended. Exclude large files or directories from your bundle, then try again.")}let n=p(e),r;for(let s=1;s<=E;s++){if(r=await f(o,{method:"put",body:n},"slow-request"),r.ok)return;let T=s===E;if(_.has(r.status)&&!T){await r.text().catch(()=>{}),await d(2**s*.1);continue}break}let a=r?.status,c=(await r?.text().catch(()=>""))?.trim();throw new i(`Failed to upload your app bundle to storage${a?` (HTTP ${a})`:""}.`,"This is usually transient. Please try again, and check your network connection if it persists.",c?[`Storage responded with: ${c.slice(0,300)}`]:void 0)}async function D(o,e){let t=await o.generateSignedUploadUrl(e);if(!t.assetUrl||t.userErrors?.length>0){let n=t.userErrors.map(r=>r.message).join(", ");throw new i(n)}return t.assetUrl}export{j as a,A as b,k as c,C as d,D as e};
|
package/dist/chunk-BNTOGZLY.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-OLKLHVHA.js";import{sa as r}from"./chunk-NCPZVARH.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var t=class extends e{static hidden=!0;async run(){await r()}};export{t as a};
|
package/dist/chunk-BOAGJ6P5.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as s,g as h}from"./chunk-VKWPEFWQ.js";var v=s((O,x)=>{"use strict";h();x.exports=p;function p(i,f,e){i instanceof RegExp&&(i=o(i,e)),f instanceof RegExp&&(f=o(f,e));var n=d(i,f,e);return n&&{start:n[0],end:n[1],pre:e.slice(0,n[0]),body:e.slice(n[0]+i.length,n[1]),post:e.slice(n[1]+f.length)}}function o(i,f){var e=f.match(i);return e?e[0]:null}p.range=d;function d(i,f,e){var n,a,c,u,g,l=e.indexOf(i),t=e.indexOf(f,l+1),r=l;if(l>=0&&t>0){if(i===f)return[l,t];for(n=[],c=e.length;r>=0&&!g;)r==l?(n.push(r),l=e.indexOf(i,r+1)):n.length==1?g=[n.pop(),t]:(a=n.pop(),a<c&&(c=a,u=t),t=e.indexOf(f,r+1)),r=l<t&&l>=0?l:t;n.length&&(g=[c,u])}return g}});export{v as a};
|
package/dist/chunk-BU3JQM3W.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-ZBVHPC6W.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends o{};export{t as a};
|
package/dist/chunk-C3LL5CZA.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as a}from"./chunk-2NZ7GDDR.js";import{N as l}from"./chunk-NCPZVARH.js";import{h}from"./chunk-J7BTC45S.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();var i=["live","unpublished","development"];async function A(e,r){let t=await l(e,r);return d(t)}async function d(e,{allowEmpty:r=!1}={}){let t=e.storeFqdn,o=(await a(e)).filter(w);if(o.length===0&&!r)throw new h(`There are no themes in the ${t} store`);return o.sort(y)}function w(e){return i.includes(e.role)}function y(e,r){return i.indexOf(e.role)-i.indexOf(r.role)}u();function E(e,r,t,{allowEmpty:o=!1}={}){return T(e,r,t,o)??L(e,r,t,o)}function T(e,r,t,o){let n=t.role;if(!n)return;let s=`No themes on the store ${e} match the role "${n}"`;return p(r,f=>f.role===n).orThrow(s,o)}function L(e,r,t,o){return t.themeIdentifiers.flatMap(s=>{let f=`No themes on the store ${e} match the ID or name "${s}"`;return p(r,c=>`${c.id}`===s||c.name.toLowerCase()===s.toLowerCase()?!0:g(c.name.toLowerCase(),s.toLowerCase())).orThrow(f,o)})}function p(e,r){let t=e.filter(r);return t.length>0?{orThrow:o=>t}:{orThrow:(o,n)=>{if(n)return[];throw new h(o)}}}var m=class{queryProps;constructor(r){this.queryProps=r}get role(){for(let r of i)if(this.queryProps[r])return r}get themeIdentifiers(){return[this.queryProps.theme,this.queryProps.themes].flat().filter(t=>!!t)}any(){return Object.values(this.queryProps).some(r=>r?.length!==void 0?r.length>0:!!r)}};function g(e,r){let t=r.replace(/(^\*)|(\*$)/g,"");return r.startsWith("*")&&r.endsWith("*")?e.includes(t):r.startsWith("*")?e.endsWith(t):r.endsWith("*")?e.startsWith(t):!1}export{i as a,A as b,d as c,E as d,m as e};
|
package/dist/chunk-CFUZ6574.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{a as _}from"./chunk-2CJQQQW4.js";import{c as O,j as A,p as k}from"./chunk-2RFCYZMG.js";import{a as P}from"./chunk-QGWC23HQ.js";import{b as S,m as I}from"./chunk-2NZ7GDDR.js";import{j as T,k as q,l as L,p as R,v as b}from"./chunk-KT5QQOES.js";import{xa as E}from"./chunk-NCPZVARH.js";import{a as v}from"./chunk-MHWETFNT.js";import{b as g}from"./chunk-5AWELO3D.js";import{h as i}from"./chunk-J7BTC45S.js";import{Bb as c,qb as l,sb as m,yb as o}from"./chunk-RIG66DIQ.js";import{b as x}from"./chunk-46JYM3GH.js";import{b as G}from"./chunk-YTUUU33R.js";import{e as W,g as r}from"./chunk-VKWPEFWQ.js";r();r();r();var d=class extends P{context="REPL";constructor(t){super(t),this.themeId=T()}async create(t,n){let s=await super.create(t,n);return await this.uploadThemeAssets(s),s}async findOrCreate(){let t=await this.fetch();if(!t){let n=`Liquid Console (${v})`;t=await this.create(S,n)}return t}setTheme(t){q(t)}removeTheme(){L()}async uploadThemeAssets(t){let n=[{key:"config/settings_data.json",value:"{}"},{key:"config/settings_schema.json",value:"[]"},{key:"snippets/eval.liquid",value:""},{key:"layout/password.liquid",value:"{{ content_for_header }}{{ content_for_layout }}"},{key:"layout/theme.liquid",value:"{{ content_for_header }}{{ content_for_layout }}"},{key:"sections/announcement-bar.liquid",value:""},{key:"templates/index.json",value:JSON.stringify({sections:{announcement:{type:"announcement-bar",settings:{}}},order:["announcement"]})}];await I(t.id,n,this.adminSession)}};r();r();async function $(e){return await H(e)??await j(e)??await Y(e)??await z(e)??void 0}async function H(e){c(`Evaluating snippet - ${e.snippet}`);let t=`{ "type": "display", "value": {{ ${e.snippet} | json }} }`,n=await f({...e,snippet:t}),s=await n.text();return F(n.status,s)?Q(s):void 0}async function j(e){c(`Evaluating context - ${e.snippet}`);let t=`{ "type": "context", "value": "{% ${e.snippet.replace(/"/g,'\\"')} %}" }`,n=await f({...e,snippet:t}),s=await n.text();F(n.status,s)&&e.replSession.push(JSON.parse(t))}async function Y(e){if(c(`Evaluating assignment context - ${e.snippet}`),oe(e.snippet))return e.snippet=`assign ${e.snippet}`,o(m`${l.gray(`> ${e.snippet}`)}`),j(e)}async function z(e){c(`Evaluating syntax error - ${e.snippet}`);let t="";if(X(e.snippet)||(t=await(await f({...e,snippet:`{{ ${e.snippet} }}`})).text()),h(t)||(t=await(await f({...e,snippet:`{% ${e.snippet} %}`})).text()),h(t)){let n=t.replace(/ \(snippets\/eval line \d+\)/,"");B(e.snippet,n)}}function B(e,t){if(t.includes("Unknown tag")){o(m`${l.errorText(`Unknown object, property, tag, or filter: '${e}'`)}`);return}let n=C(t);n&&o(m`${l.errorText(n)}`)}async function f(e){let t=K(e);e.url.startsWith("/")||(e.url=`/${e.url}`);let n=await A(e.themeSession,{method:"GET",path:e.url,query:[],themeId:e.themeId,sectionId:"announcement-bar",headers:{},replaceTemplates:{"sections/announcement-bar.liquid":"{% render 'eval' %}","snippets/eval.liquid":`
|
|
2
|
-
${t}
|
|
3
|
-
`}});return Z(n)&&ne(),ee(n)&&se(),te(n)&&re(),n}function K(e){return`[${[...e.replSession.map(n=>JSON.stringify(n)),e.snippet].join(",").replace(/\\"/g,'"')}]`}function Q(e){let t=C(e);if(t)return JSON.parse(t)?.find(s=>s.type==="display")?.value}function C(e){let t=e.split(`
|
|
4
|
-
`).slice(1,-1);if(t.length!==0)return t.join("")}function h(e){return e.includes("Liquid syntax error")}function X(e){return/^\s*assign\s*((?:\(?[\w\-.[\]]\)?)+)\s*=\s*(.*)\s*/m.test(e)}function Z(e){return e.status===401||e.status===403}function ee(e){return e.status===430||e.status===429}function te(e){return e.headers.get("server-timing")?.includes('pageType;desc="404"')??!1}function ne(){throw new i("Session expired. Please initiate a new one.")}function se(){throw new i("Evaluations limit reached. Try again later.")}function re(){throw new i("Page not found. Please provide a valid --url value!")}function oe(e){return/^\s*((?:\(?[\w\-.[\]]\)?)+)\s*=\s*(.*)\s*/m.test(e)}function F(e,t){return e===200&&!h(t)}r();function N(e){if(D(e)){o("Object can't be printed, but you can access its fields. Read more at https://shopify.dev/docs/api/liquid.");return}if(e==null){M("null");return}let t=JSON.stringify(e,null,2);M(t)}function D(e){if(Array.isArray(e))return e.length>0?D(e[0]):!1;if(e&&typeof e=="object"){let n=e.error;return typeof n=="string"&&n.includes("json not allowed for this object")}return!1}function M(e){return o(m`${l.cyan(e)}`)}import{createInterface as ie}from"readline";var ae=`Liquid Console doesn't support Liquid delimiters such as '{{ ... }}' or '{% ... %}'.
|
|
5
|
-
Please use 'collections.first' instead of '{{ collections.first }}'.`;async function J(e,t,n){if(x())throw new i("The theme console requires user input and can't run with `--no-input`.");process.stdin.isTTY&&process.stdin.ref();let s=ie({input:process.stdin,output:process.stdout}),a=[];s.on("line",u=>{ue(u,e,t,n,s,a)}),s.prompt()}async function ue(e,t,n,s,a,u){try{if(pe(e))return o(ae),a.prompt();let p=await $({snippet:e,themeSession:t,themeId:n,url:s,replSession:u});N(p),a.prompt()}catch(p){throw a.close(),p instanceof Error?(c(p.stack??"Error backtrace not found"),new i(p.message)):new i("An unknown error occurred. Please try again.")}}function pe(e){return/^\s*(\{\{|{%)/.test(e)}async function U(e,t){let n=await ce(e),s=await O(e)?await _(t,e.storeFqdn):void 0;return{themeId:n,storePassword:s}}async function ce(e){return(await new d(e).findOrCreate()).id.toString()}async function V(e,t,n,s,a){if(o(`Welcome to Shopify Liquid console
|
|
6
|
-
(press Ctrl + C to exit)`),s?.startsWith("shpat_"))throw new i("Unable to use Admin API tokens with the console command",`To use this command with the --password flag you must:
|
|
7
|
-
|
|
8
|
-
1. Install the Theme Access app on your shop
|
|
9
|
-
2. Generate a new password
|
|
10
|
-
|
|
11
|
-
Alternatively, you can authenticate normally by not passing the --password flag.
|
|
12
|
-
|
|
13
|
-
Learn more: https://shopify.dev/docs/storefronts/themes/tools/theme-access`);let u=await k(t,e,s,a);return J(u,t,n)}var y=W(G(),1);var w=class extends b{static summary="Shopify Liquid REPL (read-eval-print loop) tool";static usage=["theme console","theme console --url /products/classic-leather-jacket"];static descriptionWithMarkdown=`Starts the Shopify Liquid REPL (read-eval-print loop) tool. This tool provides an interactive terminal interface for evaluating Liquid code and exploring Liquid objects, filters, and tags using real store data.
|
|
14
|
-
|
|
15
|
-
You can also provide context to the console using a URL, as some Liquid objects are context-specific`;static description=this.descriptionForHelp();static flags={...g,...R,url:y.Flags.string({description:"The url to be used as context",env:"SHOPIFY_FLAG_URL",default:"/"}),"store-password":y.Flags.string({description:"The password for storefronts with password protection.",env:"SHOPIFY_FLAG_STORE_PASSWORD"})};static multiEnvironmentsFlags=null;async command(t,n){let{url:s,password:a}=t,{themeId:u,storePassword:p}=await U(n,t["store-password"]);E("theme-command:console:single-env:authenticated"),await V(n,u,s,a,p)}};export{w as a};
|
package/dist/chunk-CKVVJ4XO.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-ZHHTQRWU.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();async function r(d){await t.addPublicMetadata(()=>d)}export{r as a};
|
package/dist/chunk-CNPBDSDL.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as j}from"./chunk-NPB753M3.js";import{a as C}from"./chunk-D4LFWIFE.js";import{Ma as O,ja as N}from"./chunk-XV6XCOTG.js";import{b as R,c as k}from"./chunk-5AWELO3D.js";import{H as w}from"./chunk-V654BMS7.js";import{a as y}from"./chunk-BN7ZXAZJ.js";import{h as S}from"./chunk-J7BTC45S.js";import{Hb as b,ba as v,qb as x,sb as E,wb as I,yb as f}from"./chunk-RIG66DIQ.js";import{i as T}from"./chunk-B4OMIONW.js";import{b as o}from"./chunk-FZCGRIOM.js";import{i as L}from"./chunk-IWTNUJGY.js";import{g as r}from"./chunk-VKWPEFWQ.js";r();r();var B=o.object({createdAt:o.string(),createdBy:o.string(),versionTag:o.string().nullable().optional(),status:o.string(),versionId:o.string(),message:o.string()}),u=y({name:"AppVersionsListResult",schema:o.array(B),definitions:{AppVersion:B}});r();async function M(i,t){let n=await i.appVersions(t);if(!n.app)throw new S(`Shopify did not return app information for API key ${t.apiKey}.`);return{appVersions:n.app.appVersions.nodes.map(e=>({createdAt:v(new Date(e.createdAt)),createdBy:e.createdBy?.displayName??"",versionTag:e.versionTag,status:e.status,versionId:e.versionId,message:e.message??""})),totalResults:n.app.appVersions.pageInfo.totalResults}}r();var $=12;async function D({app:i,appVersions:t,totalResults:n,remoteApp:e,organization:p,developerPlatformClient:m},d){if(d==="json"){I(u.encode(t));return}if(N({org:p.businessName,appName:e.title,configFile:L(i.configPath)}),t.length===0){f("No app versions found for this app");return}let g=t.map(({versionId:s,...a})=>({...a,status:a.status==="active"?T.green(`\u2605 ${a.status}`):a.status})),l=(process.stdout.columns??75)-$,c=l;g.forEach(s=>{let a=s.message.length+(s.versionTag?.length??0)+b(s.status).length+s.createdAt.length+s.createdBy.length;if(a>l){let J=a-s.message.length,A=Math.max(l-J,10);A<c&&(c=A)}}),g.forEach(s=>{s.message.length>c&&(s.message=`${s.message.slice(0,c-3)}...`)}),w({rows:g,columns:{versionTag:{header:"VERSION"},status:{header:"STATUS"},message:{header:"MESSAGE"},createdAt:{header:"DATE CREATED"},createdBy:{header:"CREATED BY"}}});let F=x.link(m.webUiName,[await m.appDeepLink(e),"versions"].join("/"));f(E`\nView all ${String(n)} app versions in the ${F}`)}var h=class i extends j{static summary="List deployed versions of your app.";static descriptionWithMarkdown="Lists the deployed app versions. An app version is a snapshot of your app extensions.";static get jsonOutputSchema(){return u}static description=this.descriptionForHelp();static flags={...R,...C,...k};async run(){let{flags:t}=await this.parse(i),{app:n,remoteApp:e,developerPlatformClient:p,organization:m}=await O({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config}),d=await M(p,e);return await D({app:n,remoteApp:e,organization:m,developerPlatformClient:p,...d},t.json?"json":"text"),{app:n}}};export{h as a};
|