shopify 5.0.2 → 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-RPCIFYCY.js → chunk-2EQRXSF6.js} +2 -2
- package/dist/{chunk-NXAEBGMO.js → chunk-2IXP3IPE.js} +1 -1
- package/dist/{chunk-T4XJKM6B.js → chunk-2KACAQJS.js} +1 -1
- package/dist/chunk-2KFYIYLI.js +1 -0
- package/dist/chunk-2OCSYLKZ.js +1 -0
- package/dist/{chunk-AQKWPRZE.js → chunk-2PILNMHJ.js} +2 -2
- package/dist/chunk-36S6MFJQ.js +47 -0
- package/dist/{chunk-TFPW2VGN.js → chunk-3DB4EC62.js} +1 -1
- package/dist/chunk-3GL3IT4K.js +16 -0
- package/dist/{chunk-C3RFAKWR.js → chunk-3JRB7Q3T.js} +1 -1
- package/dist/chunk-3KGN6N7E.js +1 -0
- package/dist/chunk-3OYMK5X6.js +11 -0
- package/dist/chunk-3PYDIBTX.js +1 -0
- package/dist/chunk-422BGHXN.js +1 -0
- package/dist/chunk-43C32FUQ.js +1 -0
- package/dist/chunk-4AN7ECPE.js +9 -0
- package/dist/chunk-4AWVU2OV.js +1 -0
- package/dist/chunk-4IP37MBX.js +1 -0
- package/dist/chunk-4KBOLN7Q.js +8 -0
- package/dist/chunk-4LJERO23.js +89 -0
- package/dist/chunk-4M5WHOZW.js +1 -0
- package/dist/chunk-4RO35FFQ.js +1 -0
- package/dist/chunk-4ZS5354G.js +3 -0
- package/dist/chunk-55AWBPKU.js +7 -0
- package/dist/chunk-5BUYR23E.js +1 -0
- package/dist/chunk-5EDA7PVE.js +11 -0
- package/dist/{chunk-UKWIWCOH.js → chunk-5P6OELKZ.js} +1 -1
- package/dist/chunk-5PVXLQNX.js +1 -0
- package/dist/{chunk-J5ERDFIC.js → chunk-5S2P4MHJ.js} +1 -1
- package/dist/{chunk-26PWHH3B.js → chunk-5TJJVSCI.js} +1 -1
- package/dist/chunk-5TOK5OJS.js +1 -0
- package/dist/chunk-5ZG2SWU2.js +1 -0
- package/dist/{chunk-SLY27GDC.js → chunk-62F4ZMSC.js} +2 -2
- package/dist/chunk-652NT7OW.js +1 -0
- package/dist/chunk-6B5KM3A4.js +97 -0
- package/dist/chunk-6LCESSY3.js +1 -0
- package/dist/chunk-6QHDMCAA.js +1 -0
- package/dist/{chunk-D2KIGKBI.js → chunk-7A4ZE5IS.js} +60 -60
- package/dist/{chunk-CGVROSPS.js → chunk-7AQZKPJU.js} +1 -1
- package/dist/chunk-7FBOMPO5.js +203 -0
- package/dist/chunk-7HECBXSP.js +1 -0
- package/dist/chunk-7UK565VJ.js +1 -0
- package/dist/{chunk-LHXFTFFM.js → chunk-A5BSUUNQ.js} +1 -1
- package/dist/chunk-ADGE7MKB.js +1 -0
- package/dist/chunk-AEWRZ7AE.js +1 -0
- package/dist/chunk-ALDJTWCO.js +1 -0
- package/dist/chunk-ARL5WBDK.js +1 -0
- package/dist/chunk-AXFEIJC7.js +1 -0
- package/dist/{chunk-KZRLZWOU.js → chunk-AYGL6F3P.js} +1 -1
- package/dist/{chunk-URXM5A2K.js → chunk-AYTTE7X5.js} +1 -1
- package/dist/{chunk-3ODQKAEA.js → chunk-BDIZUTKC.js} +1 -1
- package/dist/chunk-BQKF4SRH.js +6 -0
- package/dist/chunk-C2AOCLEZ.js +1 -0
- package/dist/{chunk-WRZWHT6M.js → chunk-C2SGJ5IG.js} +1 -1
- package/dist/chunk-C3S3UMV3.js +1 -0
- package/dist/{chunk-WBJ6ZHYH.js → chunk-C5DKLOW4.js} +37 -37
- package/dist/chunk-C72QNK6O.js +4 -0
- package/dist/{chunk-6ES4KRFW.js → chunk-CA3GVT4D.js} +1 -1
- package/dist/chunk-CCLU5ZRK.js +9 -0
- package/dist/chunk-CE6XQDAG.js +10 -0
- package/dist/chunk-CEJ5WS4I.js +5 -0
- package/dist/{chunk-VEUKT5EI.js → chunk-CIBBQO2L.js} +2 -2
- package/dist/{chunk-IILLQOUC.js → chunk-CKJXJ6HD.js} +1 -1
- package/dist/{chunk-MEYVUHQH.js → chunk-COGKVNQB.js} +1 -1
- package/dist/chunk-CQAD5WML.js +1 -0
- package/dist/chunk-CQPZOXWO.js +6 -0
- package/dist/{chunk-62EOM3Y2.js → chunk-CZYQIWNL.js} +1 -1
- package/dist/chunk-DA5RQFXA.js +10 -0
- package/dist/{chunk-7GHSE7SG.js → chunk-DDRP6QTC.js} +1 -1
- package/dist/{chunk-Q5IC3IYY.js → chunk-DESZFFOK.js} +1 -1
- package/dist/{chunk-PLSS456F.js → chunk-DKR7562G.js} +1 -1
- package/dist/{chunk-LGXI7EGM.js → chunk-DNNTAMC5.js} +2 -2
- package/dist/chunk-DUPQUQ2Z.js +1 -0
- package/dist/{chunk-Q4JYAUVL.js → chunk-DUTIWCJ2.js} +1 -1
- package/dist/chunk-E6JEBSHZ.js +20 -0
- package/dist/chunk-E6KNAPIY.js +4 -0
- package/dist/chunk-E7XCCLQH.js +1 -0
- package/dist/chunk-EE72PCKT.js +1 -0
- package/dist/chunk-EEYXBKR7.js +4 -0
- package/dist/{chunk-ZRI3SSLG.js → chunk-EGLA3WLZ.js} +2 -2
- package/dist/chunk-EVQPYZ7F.js +5 -0
- package/dist/chunk-FDFE3SSG.js +35 -0
- package/dist/{chunk-Q7BOSHWX.js → chunk-FDSNRKGQ.js} +1 -1
- package/dist/chunk-FI5TQHUA.js +1 -0
- package/dist/chunk-FIKZQ4RA.js +1 -0
- package/dist/chunk-FJOVMEPN.js +3 -0
- package/dist/{chunk-ER6C5WS3.js → chunk-FLARCZ5F.js} +1 -1
- package/dist/chunk-FOMMPAWZ.js +1 -0
- package/dist/{chunk-6PUU6ZNQ.js → chunk-FRWQJAW2.js} +1 -1
- package/dist/{chunk-HXZAY5OA.js → chunk-G3DXNSA2.js} +1 -1
- package/dist/{chunk-XWSWXQCC.js → chunk-G7JO3W2R.js} +1 -1
- package/dist/{chunk-WESTVWWD.js → chunk-GABIWYY3.js} +1 -1
- package/dist/chunk-GFSEU7PF.js +6 -0
- package/dist/chunk-GFVUWVEM.js +1 -0
- package/dist/{chunk-ISKQQXLZ.js → chunk-GHNSXX7R.js} +1 -1
- package/dist/{chunk-2L6AN3QA.js → chunk-GQ3LY7BY.js} +1 -1
- package/dist/{chunk-2A2JSAAA.js → chunk-H45S4MGC.js} +1 -1
- package/dist/chunk-HEB4YYM6.js +9 -0
- package/dist/{chunk-CXI3RHPW.js → chunk-HI5FTI3M.js} +1 -1
- package/dist/chunk-HJ24NEP5.js +1 -0
- package/dist/chunk-HQFXVVTB.js +1 -0
- package/dist/{chunk-TODZ3TJR.js → chunk-HR6R7JXN.js} +1 -1
- package/dist/chunk-HRHJA5ZP.js +3 -0
- package/dist/{chunk-QEKGGTMN.js → chunk-HT5JQJMB.js} +1 -1
- package/dist/chunk-HT7273V7.js +1 -0
- package/dist/{chunk-UXVXVI6O.js → chunk-HUB4HDWN.js} +78 -76
- package/dist/chunk-IATNIWOC.js +13 -0
- package/dist/chunk-IHVWDKDV.js +2 -0
- package/dist/{chunk-3KM5ZOW2.js → chunk-IKXUYCK7.js} +1 -1
- package/dist/chunk-IVQN2RUP.js +1 -0
- package/dist/chunk-IWNFPBH2.js +33 -0
- package/dist/{chunk-ESFCYB46.js → chunk-J324ZPO6.js} +1 -1
- package/dist/{chunk-KNWT7JLL.js → chunk-JJQ3DJG5.js} +2 -2
- package/dist/{chunk-7CCTPBCT.js → chunk-JLAN6JXJ.js} +1 -1
- package/dist/chunk-K2GCCCCV.js +1 -0
- package/dist/{chunk-NVKJ7ZLP.js → chunk-K4KKSBUW.js} +1 -1
- package/dist/{chunk-BAHIL37I.js → chunk-K4QJEQI4.js} +1 -1
- package/dist/{chunk-QDCLL5OI.js → chunk-K5UVCBIP.js} +1 -1
- package/dist/{chunk-64G5TGFF.js → chunk-KN2JIDNO.js} +1 -1
- package/dist/chunk-KORVOCNN.js +1 -0
- package/dist/chunk-KRQCQ57O.js +1 -0
- package/dist/{chunk-3MYDSQHF.js → chunk-KT2AMFVW.js} +1 -1
- package/dist/chunk-L23Q53FM.js +70 -0
- package/dist/{chunk-UBP3LQFY.js → chunk-L3DTONOI.js} +2 -2
- package/dist/{chunk-BN7ZXAZJ.js → chunk-LG3KEHGD.js} +2 -2
- package/dist/chunk-LRETOC6P.js +1 -0
- package/dist/chunk-LXFWK3O2.js +1 -0
- package/dist/chunk-LZ2TN7EZ.js +1 -0
- package/dist/chunk-MBAPM5HA.js +15 -0
- package/dist/{chunk-UUAKOX7E.js → chunk-MGZK5EQW.js} +2 -2
- package/dist/chunk-MKUXSM33.js +1 -0
- package/dist/chunk-MQ55QUOJ.js +276 -0
- package/dist/chunk-NAQJMRPT.js +2296 -0
- package/dist/{chunk-DZKFP6H2.js → chunk-NMXRDF4T.js} +1 -1
- package/dist/chunk-NOWM3CCG.js +1 -0
- package/dist/chunk-NVDFXEQ5.js +5 -0
- package/dist/{chunk-CX5CC6P5.js → chunk-O472FAYX.js} +1 -1
- package/dist/{chunk-B2O3ANRZ.js → chunk-OCILF2DD.js} +1 -1
- package/dist/{chunk-67L7FIB6.js → chunk-OGBMFGYC.js} +1 -1
- package/dist/chunk-OIQ5NQ5I.js +18 -0
- package/dist/chunk-OKRKVVTK.js +103 -0
- package/dist/chunk-ONNUEQGR.js +3 -0
- package/dist/chunk-OSASE35V.js +6 -0
- package/dist/chunk-OTMTS5L4.js +3 -0
- package/dist/chunk-OWPAHXDF.js +3 -0
- package/dist/chunk-P7HZGJRU.js +6 -0
- package/dist/chunk-PIU3GVJ4.js +1 -0
- package/dist/{chunk-2WJOTJOD.js → chunk-PSNCWS3Q.js} +2 -2
- package/dist/chunk-PSREELSQ.js +22 -0
- package/dist/{chunk-AQ6EVL73.js → chunk-Q2CKRCPM.js} +1 -1
- package/dist/chunk-QA2D7DT2.js +1 -0
- package/dist/chunk-QBRRFFMZ.js +1 -0
- package/dist/chunk-QDMTJKQ3.js +1 -0
- package/dist/{chunk-3Z3MADXZ.js → chunk-QIJ7D2JS.js} +1 -1
- package/dist/chunk-QLN6IOOY.js +1 -0
- package/dist/chunk-QU3USVKT.js +1 -0
- package/dist/chunk-R2E6TMBE.js +22 -0
- package/dist/chunk-R4E2E4NN.js +1 -0
- package/dist/chunk-R5COVIJM.js +1 -0
- package/dist/chunk-RFJ2LI64.js +81 -0
- package/dist/chunk-RNF6T6IO.js +5 -0
- package/dist/chunk-RSNFNZ6F.js +2 -0
- package/dist/{chunk-I4CEH7AK.js → chunk-RZ3UGOV4.js} +2 -2
- package/dist/{chunk-35XFNKNB.js → chunk-S23ZG2RG.js} +1 -1
- package/dist/{chunk-PF53E2DC.js → chunk-SAK42CAY.js} +1 -1
- package/dist/chunk-SBX7CMHM.js +1 -0
- package/dist/{chunk-S5P7KWY4.js → chunk-SGQTRKYZ.js} +1 -1
- package/dist/chunk-SNPJVVVE.js +5 -0
- package/dist/chunk-SNRGS3YU.js +1 -0
- package/dist/chunk-SUTSCIXU.js +7 -0
- package/dist/chunk-SWFCT5B7.js +2 -0
- package/dist/{chunk-4KECSZTL.js → chunk-SZ64GAVG.js} +2 -2
- package/dist/{chunk-WBVS5NBV.js → chunk-TDHIOONG.js} +2 -2
- package/dist/{chunk-W37IFK3P.js → chunk-TLN4BKXJ.js} +102 -102
- package/dist/{chunk-QW52RPAU.js → chunk-TXMZPF2U.js} +1 -1
- package/dist/chunk-TZHVCMZN.js +6 -0
- package/dist/{chunk-IHXGZW42.js → chunk-TZOB52QK.js} +1 -1
- package/dist/{chunk-N57Y7THE.js → chunk-U5BKU3OL.js} +1 -1
- package/dist/{chunk-Y55T4IIQ.js → chunk-UK3BDOHR.js} +1 -1
- package/dist/chunk-UORSJB4A.js +857 -0
- package/dist/chunk-UU6UQ2QY.js +1 -0
- package/dist/{chunk-PWAT52M4.js → chunk-UY44O4IZ.js} +1 -1
- package/dist/{chunk-QF5WKTPD.js → chunk-V3H6SYK3.js} +1 -1
- package/dist/{chunk-YTUUU33R.js → chunk-VBPMVVLV.js} +1 -1
- package/dist/{chunk-SNH4XZ6E.js → chunk-VGBCG3I5.js} +1 -1
- package/dist/{chunk-QEVTBD33.js → chunk-VHRUPKWH.js} +1 -1
- package/dist/chunk-VVHJ2AUF.js +3 -0
- package/dist/chunk-WB5GRBHW.js +1 -0
- package/dist/{chunk-YSWVYPWR.js → chunk-WBKQSSWW.js} +1 -1
- package/dist/{chunk-SIL6HPMK.js → chunk-WDXDT7XY.js} +2 -2
- package/dist/{chunk-SACNUF4I.js → chunk-WHOD5I7N.js} +1 -1
- package/dist/{chunk-Z2WAW6MM.js → chunk-WL3M63DG.js} +1 -1
- package/dist/{chunk-LEHBZKK3.js → chunk-WLJDMI7E.js} +1 -1
- package/dist/{chunk-PTSCGSQV.js → chunk-WZ3QWPK5.js} +2 -2
- package/dist/{chunk-H6GNKWYM.js → chunk-X5V7AGVU.js} +1 -1
- package/dist/{chunk-RPVZ2JON.js → chunk-X76AYO36.js} +1 -1
- package/dist/chunk-XB7H2RYV.js +31 -0
- package/dist/chunk-XHHAVKKV.js +1 -0
- package/dist/chunk-XKNDU62O.js +1 -0
- package/dist/chunk-XVJRGOJA.js +4 -0
- package/dist/chunk-Y3ZAQZPH.js +16 -0
- package/dist/chunk-YF4AXKM4.js +1 -0
- package/dist/chunk-YGN65N6W.js +16 -0
- package/dist/{chunk-HF4NDEX3.js → chunk-YR4J46US.js} +1 -1
- package/dist/chunk-YTC367JI.js +3 -0
- package/dist/{chunk-ZBL7XMJ6.js → chunk-Z2FGYMJ6.js} +2 -2
- package/dist/chunk-Z3QZNLT5.js +1 -0
- package/dist/chunk-ZC3EDADH.js +26 -0
- package/dist/chunk-ZLITAXPT.js +1 -0
- package/dist/{chunk-ACA2BGAD.js → chunk-ZNEPRGFY.js} +1 -1
- package/dist/chunk-ZNEQZV5K.js +3 -0
- package/dist/chunk-ZOU6SOXW.js +20 -0
- package/dist/{chunk-YV2TP44L.js → chunk-ZQNGYJKJ.js} +1 -1
- package/dist/chunk-ZRM7ESSS.js +4 -0
- package/dist/chunk-ZX33FUW3.js +5 -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.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-BW2CUMX4.js +1 -0
- package/dist/{command-event-context-LFUZ7UCA.js → command-event-context-ILIANB5Q.js} +1 -1
- package/dist/command-json-schema-LGR44Q2G.js +1 -0
- package/dist/command-registry.js +1 -1
- package/dist/conf-store-TODPQ2LC.js +1 -0
- package/dist/configs/all.yml +9 -0
- package/dist/configs/recommended.yml +9 -0
- package/dist/custom-oclif-loader-BPE2TH4B.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 +279 -44
- package/dist/data/section.json +15 -1
- package/dist/data/setting.json +9 -5
- package/dist/data/shopify_system_translations.json +312 -32
- 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-5CSI24TV.js +1 -0
- package/dist/dist-LPKYTX3M.js +1 -0
- package/dist/dist-WT6MPTKJ.js +1 -0
- package/dist/environment-5P7JJ3GI.js +1 -0
- package/dist/environments-3HTT5CVC.js +1 -0
- package/dist/error-PFOKPWFX.js +1 -0
- package/dist/error-handler-23FASAEU.js +1 -0
- package/dist/fs-RA25PWSJ.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-EVDTYINS.js +1 -0
- package/dist/http-proxy-node16-NZZ674YW.js +38 -0
- package/dist/index.js +12 -12
- package/dist/is-global-3DNAMKUU.js +1 -0
- package/dist/json-error-HGCRNJRF.js +1 -0
- package/dist/latest-version-75YEFEMK.js +9 -0
- package/dist/lib-4ZA53LTZ.js +1 -0
- package/dist/lib-F3MES3XF.js +1 -0
- package/dist/lib-XPJABU24.js +1 -0
- package/dist/{local-OKPVB4NH.js → local-LNGPIGLG.js} +1 -1
- package/dist/metadata-VHLSUKCW.js +1 -0
- package/dist/{morph-CRY35DIK.js → morph-H7XQP55V.js} +3 -3
- package/dist/node-package-manager-SSFNUVWB.js +1 -0
- package/dist/notifications-system-3NQRYYKW.js +1 -0
- package/dist/{npa-A4YSCQ5Q.js → npa-LVYMN7GE.js} +1 -1
- package/dist/os-KIKVJONE.js +1 -0
- package/dist/output-DUJTSURG.js +1 -0
- package/dist/{prettier-EGVCP5CY.js → prettier-NOE3TJJ5.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-CGOZSROX.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui-YMBFS3NG.js +1 -0
- package/dist/upgrade-73RRPDSC.js +1 -0
- package/dist/version-AMUEEBIG.js +1 -0
- package/dist/version-S4MGCKDO.js +1 -0
- package/dist/workerd-DRWNY3S4.js +18 -0
- package/oclif.manifest.json +25618 -1167
- package/package.json +7 -7
- package/dist/analytics-NMMVOF4B.js +0 -1
- package/dist/analytics-UK77WNLG.js +0 -1
- package/dist/chunk-224UPIYS.js +0 -4
- package/dist/chunk-27NXPOAS.js +0 -1
- package/dist/chunk-2MT3LSMZ.js +0 -1
- package/dist/chunk-2T4HDR6R.js +0 -70
- package/dist/chunk-2ZBXHCQZ.js +0 -1
- package/dist/chunk-335BUVBP.js +0 -1
- package/dist/chunk-33ZE3DRQ.js +0 -16
- package/dist/chunk-34MOWGRL.js +0 -1
- package/dist/chunk-3JSKNXL7.js +0 -1
- package/dist/chunk-3MG4MTWQ.js +0 -1
- package/dist/chunk-3XRI3D44.js +0 -1
- package/dist/chunk-43R5VGKT.js +0 -1
- package/dist/chunk-4WYKPIN3.js +0 -1
- package/dist/chunk-5AEZJZNQ.js +0 -1
- package/dist/chunk-5ED7SOQZ.js +0 -20
- package/dist/chunk-5IDJALJH.js +0 -1
- package/dist/chunk-66TMIQMB.js +0 -1
- package/dist/chunk-74NRFUGQ.js +0 -1
- package/dist/chunk-7GUMJ5E4.js +0 -1
- package/dist/chunk-7NFTSBHQ.js +0 -10
- package/dist/chunk-ACZNWIRY.js +0 -1
- package/dist/chunk-AUE7LM32.js +0 -1
- package/dist/chunk-AXL2VIWA.js +0 -16
- package/dist/chunk-B3ZJGYZY.js +0 -3
- package/dist/chunk-BOAGJ6P5.js +0 -1
- package/dist/chunk-BWN2QG6D.js +0 -5
- package/dist/chunk-CCUQM4FX.js +0 -6
- package/dist/chunk-CLUUA3HX.js +0 -3
- package/dist/chunk-CYEEGTVZ.js +0 -11
- package/dist/chunk-DBDTE3EE.js +0 -5
- package/dist/chunk-DLVB3237.js +0 -31
- package/dist/chunk-DN6X7SHW.js +0 -2
- package/dist/chunk-E5COIKGY.js +0 -5
- package/dist/chunk-E6RONHMT.js +0 -1
- package/dist/chunk-EAZIQI2D.js +0 -1
- package/dist/chunk-EEY4FKAW.js +0 -1
- package/dist/chunk-EKFPTBXC.js +0 -1
- package/dist/chunk-F3CK3EJJ.js +0 -1
- package/dist/chunk-FEBOZ2XX.js +0 -31
- package/dist/chunk-FFSDGRAN.js +0 -1
- package/dist/chunk-FZCGRIOM.js +0 -1
- package/dist/chunk-GNCVDN7U.js +0 -1
- package/dist/chunk-GQLNG537.js +0 -836
- package/dist/chunk-GVI3DWSB.js +0 -4
- package/dist/chunk-GW7YIJPJ.js +0 -5
- package/dist/chunk-H6GYBLVQ.js +0 -2
- package/dist/chunk-HB3MJYBK.js +0 -1
- package/dist/chunk-HSKDFEXW.js +0 -1
- package/dist/chunk-HTRJU4R4.js +0 -1
- package/dist/chunk-I7PEEJVH.js +0 -1
- package/dist/chunk-IHMATNOR.js +0 -1
- package/dist/chunk-IJY3RJPJ.js +0 -47
- package/dist/chunk-J3JPJCWP.js +0 -1
- package/dist/chunk-J55GQLP4.js +0 -1
- package/dist/chunk-JLQRDFR5.js +0 -18
- package/dist/chunk-JPWRZ5SL.js +0 -16
- package/dist/chunk-K7ZSPQKL.js +0 -4
- package/dist/chunk-L5TSPCSY.js +0 -26
- package/dist/chunk-LUGMXSRI.js +0 -9
- package/dist/chunk-M2CWCOFU.js +0 -11
- package/dist/chunk-M5VIFG2V.js +0 -1
- package/dist/chunk-MADINS4Z.js +0 -1
- package/dist/chunk-MGHPF7HU.js +0 -6
- package/dist/chunk-MHR5OHT5.js +0 -10
- package/dist/chunk-MXEXP3HT.js +0 -15
- package/dist/chunk-OJULL7HT.js +0 -1
- package/dist/chunk-OMPQ7REW.js +0 -3
- package/dist/chunk-OR4IJ4BQ.js +0 -1
- package/dist/chunk-P2RMFHQP.js +0 -1
- package/dist/chunk-P4VZYOKO.js +0 -15
- package/dist/chunk-PDZBKVWL.js +0 -97
- package/dist/chunk-Q2KWXZQB.js +0 -12
- package/dist/chunk-QFSENE5T.js +0 -3
- package/dist/chunk-QFWWCZOI.js +0 -1
- package/dist/chunk-QFYLJVJW.js +0 -77
- package/dist/chunk-QQJNQNKP.js +0 -6
- package/dist/chunk-R4UVIYZP.js +0 -4
- package/dist/chunk-RLNIOJH3.js +0 -272
- package/dist/chunk-RW6G4ZPU.js +0 -1
- package/dist/chunk-S4LOWCGS.js +0 -1
- package/dist/chunk-SB27UOXX.js +0 -1
- package/dist/chunk-SHD4VV5V.js +0 -3
- package/dist/chunk-SK7EPN6C.js +0 -1
- package/dist/chunk-TAWCKJKP.js +0 -1
- package/dist/chunk-U2T5HPRD.js +0 -319
- package/dist/chunk-U6YOP562.js +0 -1
- package/dist/chunk-UPPO3BMT.js +0 -7
- package/dist/chunk-USXIXANP.js +0 -103
- package/dist/chunk-UV5GAGAD.js +0 -1
- package/dist/chunk-UY6W2EVZ.js +0 -1
- package/dist/chunk-UYELAINQ.js +0 -16
- package/dist/chunk-V75WUEFU.js +0 -1
- package/dist/chunk-VAVXDIUX.js +0 -6
- package/dist/chunk-VGSH52JM.js +0 -1
- package/dist/chunk-VHZ6RL67.js +0 -1
- package/dist/chunk-VQA3X7O3.js +0 -1
- package/dist/chunk-VZCMJRYV.js +0 -1
- package/dist/chunk-W56ZGEQQ.js +0 -2265
- package/dist/chunk-WCC52MR2.js +0 -1
- package/dist/chunk-WSDKCQH6.js +0 -6
- package/dist/chunk-X2PFXSU4.js +0 -1
- package/dist/chunk-X5NIAZA4.js +0 -1
- package/dist/chunk-XBMD3FEZ.js +0 -3
- package/dist/chunk-XDVPIGXE.js +0 -2
- package/dist/chunk-XLIJYJ6Q.js +0 -1
- package/dist/chunk-XUHGWIWW.js +0 -4
- package/dist/chunk-Y5CVX5LJ.js +0 -1
- package/dist/chunk-Y6J46XYF.js +0 -3
- package/dist/chunk-YKMINHYY.js +0 -3
- package/dist/chunk-ZDQO6CNY.js +0 -1
- package/dist/chunk-ZGASBRSQ.js +0 -5
- package/dist/chunk-ZGBTO46A.js +0 -1
- package/dist/chunk-ZJOX5HW4.js +0 -22
- package/dist/chunk-ZOOT3GBY.js +0 -5
- package/dist/command-json-schema-F5XF7XHL.js +0 -1
- package/dist/conf-store-5CBLWTOC.js +0 -1
- package/dist/custom-oclif-loader-UDVUFKMD.js +0 -1
- package/dist/deprecations-EOHPSTCS.js +0 -1
- package/dist/dist-RNV3GFZ7.js +0 -1
- package/dist/dist-ZFKWJVNB.js +0 -1
- package/dist/environment-O7ECODHU.js +0 -1
- package/dist/environments-4FLRZW4P.js +0 -1
- package/dist/error-JY2ADS6S.js +0 -1
- package/dist/error-handler-4GCXKC6I.js +0 -1
- package/dist/fs-XS5YF34R.js +0 -1
- package/dist/http-proxy-node16-D3JUYA5D.js +0 -38
- package/dist/is-global-27MUENOK.js +0 -1
- package/dist/json-error-S5XFS3UX.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-2YJBAKR7.js +0 -1
- package/dist/node-package-manager-B3OW3PFQ.js +0 -1
- package/dist/notifications-system-BWTDYBG2.js +0 -1
- package/dist/os-F6QKJCFW.js +0 -1
- package/dist/output-BRIPK7UC.js +0 -1
- package/dist/system-466QKFDI.js +0 -1
- package/dist/ui-VJTNGCS6.js +0 -1
- package/dist/upgrade-VHVJLXKX.js +0 -1
- package/dist/version-FETZRLZO.js +0 -1
- package/dist/version-T4XXTJMB.js +0 -1
- package/dist/workerd-32DMKLMN.js +0 -18
- /package/dist/{chunk-YLQ3LNNY.js → chunk-HVECVOIO.js} +0 -0
- /package/dist/{chunk-YRHFPXC3.js → chunk-Z2AV4BWZ.js} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{a as V}from"./chunk-OGBMFGYC.js";import{a as K}from"./chunk-R5COVIJM.js";import{a as D}from"./chunk-K4KKSBUW.js";import{P as Y,n as M}from"./chunk-7FBOMPO5.js";import{c as W,h as $}from"./chunk-4KBOLN7Q.js";import{j as m}from"./chunk-4LJERO23.js";import{u as b}from"./chunk-HEB4YYM6.js";import{N as F,O}from"./chunk-UORSJB4A.js";import{a as f}from"./chunk-EE72PCKT.js";import{b as k,c as L}from"./chunk-IKXUYCK7.js";import{x as N}from"./chunk-7A4ZE5IS.js";import{c as g}from"./chunk-RNF6T6IO.js";import{a as _}from"./chunk-LG3KEHGD.js";import{L as w,Lb as R,N as x,ub as T,zb as U}from"./chunk-OIQ5NQ5I.js";import{b as e}from"./chunk-3PYDIBTX.js";import{b as ae}from"./chunk-VBPMVVLV.js";import{f as u,i as P}from"./chunk-IWTNUJGY.js";import{e as se,g as c}from"./chunk-VKWPEFWQ.js";c();c();c();var l=e.record(e.unknown()),S=e.object({id:e.string(),name:e.string(),continueOnError:e.boolean().optional()}),J=e.array(e.object({lifecycle:e.literal("deploy"),steps:e.array(e.discriminatedUnion("type",[S.extend({type:e.literal("include_assets"),config:e.object({generatesAssetsManifest:e.boolean().optional(),inclusions:e.array(e.discriminatedUnion("type",[e.object({type:e.literal("pattern"),baseDir:e.string().optional(),include:e.array(e.string()).optional(),ignore:e.array(e.string()).optional(),destination:e.string().optional()}),e.object({type:e.literal("static"),source:e.string(),destination:e.string().optional()}),e.object({type:e.literal("configKey"),key:e.string(),destination:e.string().optional(),anchor:e.string().optional(),groupBy:e.string().optional(),preserveFilePaths:e.boolean().optional()})]))})}),S.extend({type:e.literal("bundle_ui"),config:e.object({generatesAssetsManifest:e.boolean().optional(),bundleFolder:e.string().optional()}).optional()}),S.extend({type:e.enum(["build_theme","bundle_theme","build_function","create_tax_stub"]),config:e.record(e.never()).optional()})]))})),A=e.object({identifier:e.string(),externalIdentifier:e.string(),externalName:e.string(),group:e.string().optional(),additionalIdentifiers:e.array(e.string()),partnersWebIdentifier:e.string(),surface:e.string(),registrationLimit:e.number(),experience:e.enum(["extension","configuration"]),uidStrategy:e.enum(["single","dynamic","uuid"]),dependency:e.string().optional(),graphQLType:e.string().optional(),clientSteps:J.optional(),loadedRemoteSpecs:e.boolean().optional()}),v=e.object({name:e.string(),type:e.string(),externalType:e.string(),humanName:e.string(),surface:e.string(),features:e.array(e.string()),dependency:e.string().optional(),entrySourceFilePath:e.string(),devUUID:e.string(),localIdentifier:e.string(),idEnvironmentVariableName:e.string(),directory:e.string(),configuration:l,configurationPath:e.string(),outputPath:e.string(),handle:e.string(),specification:A,uid:e.string()}).passthrough(),q=e.object({directory:e.string(),configuration:l.optional()}).passthrough(),Q=e.object({file:e.string(),message:e.string()}).passthrough(),h=e.object({id:e.string(),title:e.string(),apiKey:e.string(),organizationId:e.string(),appType:e.string().optional(),newApp:e.boolean().optional(),grantedScopes:e.array(e.string()),developmentStorePreviewEnabled:e.boolean().optional(),applicationUrl:e.string().optional(),redirectUrlWhitelist:e.array(e.string()).optional(),requestedAccessScopes:e.array(e.string()).optional(),webhookApiVersion:e.string().optional(),embedded:e.boolean().optional(),posEmbedded:e.boolean().optional(),preferencesUrl:e.string().optional(),gdprWebhooks:e.object({customerDeletionUrl:e.string().optional(),customerDataRequestUrl:e.string().optional(),shopDeletionUrl:e.string().optional()}).optional(),appProxy:e.object({subPath:e.string(),subPathPrefix:e.string(),url:e.string()}).optional(),configuration:l.optional(),flags:e.array(e.string())}),B=e.object({path:e.string(),message:e.string()}),I=e.object({path:e.string(),content:l,errors:e.array(B)}),G=e.object({directory:e.string(),appConfigFiles:e.array(I),extensionConfigFiles:e.array(I),webConfigFiles:e.array(I),dotenvFiles:e.array(e.object({path:e.string()})),errors:e.array(B)}),X=e.object({cliVersion:e.string(),nodeVersion:e.string(),platform:e.string(),arch:e.string(),shell:e.string().optional()}),H=e.object({remoteApp:h,account:e.discriminatedUnion("type",[e.object({type:e.literal("UserAccount"),email:e.string()}),e.object({type:e.literal("ServiceAccount"),orgName:e.string()}),e.object({type:e.literal("UnknownAccount")})]),project:G,system:X,devStoreUrl:e.string().optional(),name:e.string(),idEnvironmentVariableName:e.literal("SHOPIFY_API_KEY"),directory:e.string(),configPath:e.string(),configuration:l,webs:e.array(q),dotenv:e.object({path:e.string(),variables:e.record(e.string())}).passthrough().optional(),errors:e.object({errors:e.array(Q)}).passthrough(),specifications:e.array(A),remoteFlags:e.array(e.string()),realExtensions:e.array(v),devApplicationURLs:l.optional(),_hiddenConfig:l,packageManager:e.string(),nodeDependencies:e.record(e.string()),usesWorkspaces:e.boolean(),organization:e.object({id:e.string(),businessName:e.string(),source:e.string()}),allExtensions:e.array(v)}).passthrough(),z=e.object({SHOPIFY_API_KEY:e.string(),SHOPIFY_API_SECRET:e.string().optional(),SCOPES:e.string()}),d=_({name:"AppInfoResult",schema:e.union([z,H]),definitions:{AppInfo:H,AppInfoRemoteApp:h,AppInfoProject:G,AppInfoSystem:X,AppInfoWebEnvironment:z,AppInfoExtension:v,AppInfoSpecification:A,AppInfoClientSteps:J,AppInfoWeb:q,AppInfoConfigurationError:Q}});async function ee(r,t,n,o,i){if(i.webEnv){await M(t,n.source);let a=await W(t);return a||$(),{SHOPIFY_API_KEY:t.apiKey,...a?{SHOPIFY_API_SECRET:a}:{},SCOPES:m(r.configuration)}}let s={...r,packageManager:o.packageManager,nodeDependencies:o.nodeDependencies,usesWorkspaces:o.usesWorkspaces,organization:{id:n.id,businessName:n.businessName,source:n.source},remoteApp:h.parse(t),account:await t.developerPlatformClient.accountInfo(),project:{directory:o.directory,appConfigFiles:o.appConfigFiles.map(E),extensionConfigFiles:o.extensionConfigFiles.map(E),webConfigFiles:o.webConfigFiles.map(E),dotenvFiles:[...o.dotenvFiles.values()].map(({path:a})=>({path:a})),errors:(o.errors??[]).map(({path:a,message:ie})=>({path:a,message:ie}))},system:{cliVersion:f,nodeVersion:process.version,...g(),shell:process.env.SHELL},devStoreUrl:r.configuration.build?.dev_store_url??r.hiddenConfig.dev_store_url,allExtensions:Z(r.allExtensions.filter(a=>a.isReturnedAsInfo())),realExtensions:Z(r.realExtensions),specifications:r.specifications.map(te)},p=JSON.parse(JSON.stringify(Object.fromEntries(Object.entries(s).filter(([a])=>a!=="configSchema"))));return d.validate(p)}function te(r){return{identifier:r.identifier,externalIdentifier:r.externalIdentifier,externalName:r.externalName,group:r.group,additionalIdentifiers:r.additionalIdentifiers,partnersWebIdentifier:r.partnersWebIdentifier,surface:r.surface,registrationLimit:r.registrationLimit,experience:r.experience,uidStrategy:r.uidStrategy,dependency:r.dependency,graphQLType:r.graphQLType,clientSteps:r.clientSteps,..."loadedRemoteSpecs"in r?{loadedRemoteSpecs:r.loadedRemoteSpecs}:{}}}function E({path:r,content:t,errors:n}){return{path:r,content:t,errors:n.map(({path:o,message:i})=>({path:o,message:i}))}}function Z(r){return r.map(t=>({...t,name:t.name,type:t.type,externalType:t.externalType,humanName:t.humanName,surface:t.surface,features:t.features,dependency:t.dependency,specification:te(t.specification)}))}c();async function pe(r){let{app:t,remoteApp:n,organization:o,project:i}=r,s=await n.developerPlatformClient.accountInfo();return new C(t,n,o,i,s).output()}async function oe(r){N({customSections:await pe(r)})}function ce(r,t){if(t==="json")return d.encode(r);if(!("name"in r))return V({variables:Object.entries(r).map(([n,o])=>({name:n,value:o}))});throw new Error("App information text output requires the loaded app context.")}function ne(r,t){U(ce(r,t))}var le="unknown",y={subdued:"Not yet configured"},ue="NOT LOADED",C=class{app;remoteApp;organization;project;account;constructor(t,n,o,i,s){this.app=t,this.remoteApp=n,this.organization=o,this.project=i,this.account=s}async output(){return[...await this.devConfigsSection(),this.projectSettingsSection(),...await this.appComponentsSection(),await this.systemInfoSection()]}async devConfigsSection(){let t=y;this.app.configuration.build?.automatically_update_urls_on_dev!==void 0&&(t=this.app.configuration.build.automatically_update_urls_on_dev?"Yes":"No");let n=["User","unknown"],o=this.account;return O(o)?n=["Service account",o.orgName]:F(o)&&(n[1]=o.email),[this.tableSection("Current app configuration",[["Configuration file",{filePath:P(this.app.configPath)||b.app}],["App name",this.remoteApp.title?{userInput:this.remoteApp.title}:y],["Client ID",this.remoteApp.apiKey||y],["Organization",`${this.organization.businessName} (${this.organization.id})`],["Access scopes",m(this.app.configuration)],["Dev store",this.app.configuration.build?.dev_store_url??this.app.hiddenConfig.dev_store_url??y],["Update URLs",t],n],{isFirstItem:!0}),{body:["\u{1F4A1} To change these, run",{command:T(this.project.packageManager,"shopify app config link")}]}]}projectSettingsSection(){return this.tableSection("Your Project",[["Root location",{filePath:this.app.directory}]])}async appComponentsSection(){let t=this.webComponentsSection();return[{title:`
|
|
2
|
+
Directory components`.toUpperCase(),body:""},...t?[t]:[],...this.extensionsSections()]}webComponentsSection(){let t=[],n=[];if(this.app.webs[0])return this.app.webs.forEach(o=>{if(o.configuration)if(o.configuration.name){let{name:i,roles:s}=o.configuration,p=u(this.app.directory,o.directory);n.push([` \u{1F4C2} ${i}`,{filePath:p||"/"}]),s.length>0&&n.push([" roles",s.join(", ")])}else o.configuration.roles.forEach(i=>{n.push([` \u{1F4C2} ${i}`,{filePath:u(this.app.directory,o.directory)}])});else n.push([{subdued:` \u{1F4C2} ${le}`},{filePath:u(this.app.directory,o.directory)}]);if(!this.app.errors.isEmpty()){let i=this.app.errors.getErrors(`${o.directory}/${b.web}`);t.push(...i.map(s=>s.message))}}),this.subtableSection("web",[["\u{1F4C2} web",""],...n,...t.map(o=>[{error:"error"},{error:this.formattedError(o)}])])}extensionsSections(){let t=this.app.allExtensions.filter(i=>i.isReturnedAsInfo()),o=x(t.map(i=>i.type)).map(i=>{let s=t.filter(p=>p.type===i);if(s[0])return this.subtableSection(s[0].externalType,s.flatMap(p=>this.extensionSubSection(p)))});return w(o)}extensionSubSection(t){let n=t.configuration,o=[[`\u{1F4C2} ${t.handle||ue}`,{filePath:u(this.app.directory,t.directory)}],[" config file",{filePath:u(t.directory,t.configurationPath)}]];n&&"metafields"in n&&Array.isArray(n.metafields)&&n.metafields.length>0&&o.push([" metafields",`${n.metafields.length}`]);let i=this.app.errors.getErrors(t.configurationPath);for(let s of i)o.push([{error:" error"},{error:this.formattedError(s.message)}]);return o}formattedError(t){let n=t.trim();if(R())return n;let[o,...i]=n.split(`
|
|
3
|
+
`);return[`! ${o}`,...i.map(s=>` ${s}`)].join(`
|
|
4
|
+
`)}async systemInfoSection(){let{platform:t,arch:n}=g();return this.tableSection("Tooling and System",[["Shopify CLI",f],["Package manager",this.project.packageManager],["OS",`${t}-${n}`],["Shell",process.env.SHELL??"unknown"],["Node version",process.version]])}tableSection(t,n,{isFirstItem:o=!1}={}){return{title:`${o?"":`
|
|
5
|
+
`}${t.toUpperCase()}
|
|
6
|
+
`,body:{tabularData:n,firstColumnSubdued:!0}}}subtableSection(t,n){return{title:t,body:{tabularData:n,firstColumnSubdued:!0}}}};var re=se(ae(),1);var j=class r extends K{static summary="Print basic information about your app and extensions.";static descriptionWithMarkdown=`The information returned includes the following:
|
|
7
|
+
|
|
8
|
+
- The app and dev store that's used when you run the [dev](https://shopify.dev/docs/api/shopify-cli/app/app-dev) command. You can reset these configurations using [\`dev --reset\`](https://shopify.dev/docs/api/shopify-cli/app/app-dev#flags-propertydetail-reset).
|
|
9
|
+
- The [structure](https://shopify.dev/docs/apps/tools/cli/structure) of your app project.
|
|
10
|
+
- The [access scopes](https://shopify.dev/docs/api/usage) your app has requested.
|
|
11
|
+
- System information, including the package manager and version of Shopify CLI used in the project.`;static jsonOutputSchema=d;static description=this.descriptionForHelp();static flags={...k,...D,...L,"web-env":re.Flags.boolean({hidden:!1,description:"Outputs environment variables necessary for running and deploying web/.",env:"SHOPIFY_FLAG_OUTPUT_WEB_ENV",default:!1})};async run(){let{flags:t}=await this.parse(r),{app:n,project:o,remoteApp:i,organization:s}=await Y({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config,unsafeTolerateErrors:!0});if(t.json||t["web-env"]){let p=await ee(n,i,s,o,{webEnv:t["web-env"]});ne(p,t.json?"json":"text")}else await oe({app:n,remoteApp:i,organization:s,project:o});return n.errors.isEmpty()||process.exit(2),{app:n}}};export{j as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-KN2JIDNO.js";import{b as a}from"./chunk-PSREELSQ.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();var t=class extends a{static description="View the UI kit components that process async tasks";static hidden=!0;async run(){await o()}};export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as k}from"./chunk-43C32FUQ.js";import{$ as c,C as A,J as v,K as D,Q as b,R as C,S as R,b as w,ba as j,ia as l,ja as p}from"./chunk-NAQJMRPT.js";import{b as f}from"./chunk-PSREELSQ.js";import{b as S,c as g}from"./chunk-IKXUYCK7.js";import{x as d,y}from"./chunk-7A4ZE5IS.js";import{a as m}from"./chunk-LG3KEHGD.js";import{zb as h}from"./chunk-OIQ5NQ5I.js";import{b as o}from"./chunk-3PYDIBTX.js";import{b as T}from"./chunk-VBPMVVLV.js";import{e as J,g as i}from"./chunk-VKWPEFWQ.js";i();i();var W={cleanResults:v,cleanAllResults:D};async function n(t,e=W){return{removed:t.all?await e.cleanAllResults(t.appDirectory):await e.cleanResults(t.selection.appDirectory,b(t.selection))}}i();i();var x=o.object({directory:l().describe("The absolute app directory.")}).strict(),a=m({name:"AppSecurityCleanResult",schema:o.object({status:o.literal("success"),changed:o.boolean().describe("Whether any results directory was removed."),app:o.union([p,x]).describe("The selected app. With --all, only its directory."),resultsDirectories:o.array(l()).describe("The absolute paths of the removed results directories, sorted. Empty when there was nothing to remove.")}).strict(),definitions:{AppSecurityApp:p,AppSecurityCleanAllApp:x}});function O(t,e,s){if(s==="json"){h(a.encode(I(t,e)));return}if(t.removed.length===0){let r=e.all?e.appDirectory:e.selection.appDirectory;d({headline:"No app security check results to remove.",body:["Nothing was found in",{filePath:A(r)}]})}else y({headline:"App security check results removed.",body:{list:{items:t.removed.map(r=>({filePath:r}))}}})}function I(t,e){return{status:"success",changed:t.removed.length>0,app:e.all?{directory:c(e.appDirectory)}:j(e.selection),resultsDirectories:t.removed.map(c)}}var P=J(T(),1);var u=class t extends f{static summary="Remove local app security check results.";static descriptionWithMarkdown="Deletes the results directory, `.shopify/app-security/<results key>/`, without asking. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`. Other results directories are left alone. Prints each removed path.\n\nUse `--all` to delete every results directory under `.shopify/app-security/` instead. `--all` takes neither `--config` nor `--client-id`, and with `--without-app-config` it doesn't need `--client-id`.";static jsonOutputSchema=a;static description=this.descriptionForHelp();static flags={...S,...w,...g,all:P.Flags.boolean({description:"Delete every results directory under .shopify/app-security/, not only the selected one.",exclusive:["config","client-id"]})};async run(){let{flags:e}=await this.parse(t),s={path:e.path,config:e.config,clientId:e["client-id"],withoutAppConfig:e["without-app-config"]},r=e.all?{all:!0,appDirectory:await C(s)}:{all:!1,selection:await R({...s,allowPrompts:!1})};r.all||await k(r.selection,e.path);let F=await n(r);O(F,r,e.json?"json":"text")}};export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as M,l as h,r as y}from"./chunk-
|
|
1
|
+
import{k as M,l as h,r as y}from"./chunk-6B5KM3A4.js";import{H as w,x as O}from"./chunk-7A4ZE5IS.js";import{j as d}from"./chunk-FJOVMEPN.js";import{vb as f,zb as S}from"./chunk-OIQ5NQ5I.js";import{g as n}from"./chunk-VKWPEFWQ.js";n();function E(t){return t.map(L).join(" \xB7 ")}function x(t,r){if(r){S(M.encode({operations:t.map(h)}));return}O({headline:"Subscription migration operations.",body:t.map(L)})}function L(t){return`${t.id}: ${t.status} (${t.results.edges.length}/${t.total} settled)`}n();n();var C=1e3,F=new Set(["COMPLETED","FAILED","CANCELED"]);async function T({clientId:t,operationIds:r,getOperation:s=y,pollIntervalMs:p=C,sleep:m=$,onUpdate:c}){let u=new Map,g=new Map,l=!0,a=[...r];for(;a.length>0;){let e=await Promise.all(a.map(async o=>{let i=await s({clientId:t,operationId:o});if(!i)throw new d(`Migration operation not found: ${o}`);return{operationId:o,operation:i}})),A=e.some(({operationId:o,operation:i})=>g.get(o)!==JSON.stringify(i));for(let{operationId:o,operation:i}of e)u.set(o,i),g.set(o,JSON.stringify(i));if(c&&(l||A)){let o=r.map(i=>u.get(i));await c(o)}l=!1,a=e.filter(({operation:o})=>!F.has(o.status)).map(({operationId:o})=>o),a.length>0&&await m(p)}return r.map(e=>u.get(e))}async function $(t){await new Promise(r=>setTimeout(r,t))}async function v({clientId:t,operationIds:r,waitForOperations:s=T}){return w({title:f`Polling subscription migration operations`,task:p=>s({clientId:t,operationIds:r,onUpdate:m=>p(f`${E(m)}`)}),renderOptions:{stdout:process.stderr}})}export{x as a,v as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{$ as B}from"./chunk-UORSJB4A.js";import{t as O}from"./chunk-7A4ZE5IS.js";import{F as w,f as m}from"./chunk-OIQ5NQ5I.js";import{c as g,e as s,g as o}from"./chunk-VKWPEFWQ.js";var f=g((Q,c)=>{o();function j(r,e,t,n){for(var a=-1,i=r==null?0:r.length;++a<i;){var u=r[a];e(n,u,t(u),r)}return n}c.exports=j});var A=g((S,h)=>{o();var l=O();function E(r,e,t,n){return l(r,function(a,i,u){e(n,a,t(a),u)}),n}h.exports=E});var p=g((U,q)=>{o();var G=f(),I=A(),V=w(),C=m();function D(r,e){return function(t,n){var a=C(t)?G:I,i=e?e():{};return a(t,r,V(n,2),i)}}q.exports=D});var x=g((X,v)=>{o();var F=B(),H=p(),J=Object.prototype,K=J.hasOwnProperty,L=H(function(r,e,t){K.call(r,t)?r[t].push(e):F(r,t,[e])});v.exports=L});var y=g((Z,b)=>{o();var M=p(),N=M(function(r,e,t){r[t?0:1].push(e)},function(){return[[],[]]});b.exports=N});o();var P=s(x()),d=s(y());function $(r,e){return(0,P.default)(r,e)}function k(r,e){return(0,d.default)(r,e)}export{$ as a,k as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as S,o as O,r as R}from"./chunk-36S6MFJQ.js";import{a as x}from"./chunk-GQ3LY7BY.js";import{e as J}from"./chunk-7HECBXSP.js";import{p as E,v as j}from"./chunk-VVHJ2AUF.js";import{Ea as h,q as l}from"./chunk-UORSJB4A.js";import{b as g,c as f}from"./chunk-IKXUYCK7.js";import{M as _,y as b,z as I}from"./chunk-7A4ZE5IS.js";import{j as s}from"./chunk-FJOVMEPN.js";import{Ta as y,la as P,zb as w}from"./chunk-OIQ5NQ5I.js";import{b as p}from"./chunk-3PYDIBTX.js";import{b as N}from"./chunk-VBPMVVLV.js";import{e as H,g as n}from"./chunk-VKWPEFWQ.js";n();n();n();async function $({session:r,overridesContent:e,themeId:t}){h("theme-preview:create");let d=`${O(r)}/theme_preview.json?preview_theme_id=${t}`,i=await S(r,{headers:{"Content-Type":"application/json"}}),o=await l(d,{method:"POST",body:e,headers:i});if(!o.ok)throw new s(`Theme preview request failed with status ${o.status}: ${o.statusText}`);let m=await U(o);return h("theme-preview:create"),m}async function A({session:r,overridesContent:e,themeId:t,previewIdentifier:a}){h("theme-preview:update");let i=`${O(r)}/theme_preview.json?preview_theme_id=${t}&preview_identifier=${encodeURIComponent(a)}`,o=await S(r,{headers:{"Content-Type":"application/json"}}),m=await l(i,{method:"POST",body:e,headers:o});if(!m.ok)throw new s(`Theme preview request failed with status ${m.status}: ${m.statusText}`);let v=await U(m);return h("theme-preview:update"),v}async function U(r){let e=await r.json();if(e.error)throw new s(`Theme preview failed: ${e.error}`);if(!e.url||!e.preview_identifier)throw new s("Theme preview returned an unexpected response");return{url:e.url,preview_identifier:e.preview_identifier}}async function L(r){if(!y(r.overrideJson))throw new s(`Override file not found: ${r.overrideJson}`);let e=await P(r.overrideJson),t;try{t=JSON.parse(e)}catch(i){let o=i instanceof Error?i.message:String(i);throw new s(`Failed to parse override file: ${r.overrideJson}`,o)}let a=await R(r.themeId,r.adminSession,r.password),d=JSON.stringify(t);return r.previewIdentifier?A({session:a,overridesContent:d,themeId:r.themeId,previewIdentifier:r.previewIdentifier}):$({session:a,overridesContent:d,themeId:r.themeId})}n();n();var C=p.object({id:p.string().min(1).describe("The opaque Storefront preview identifier, not a theme ID or Shopify GID."),url:p.string().url()}).strict(),u=J({name:"ThemePreviewResult",schema:p.object({status:p.literal("success"),preview:C}).strict(),definitions:{ThemePreview:C},project:r=>{let e=r;return{status:"success",preview:{id:e.preview_identifier,url:e.url}}}});function D(r,e,t){if(e==="json"){w(u.encode(r));return}b({body:[{list:{title:t?"Preview updated":"Preview is ready",items:[{link:{url:r.url}},`Preview ID: ${r.preview_identifier}`]}}]})}function T(r){let e="Failed to open theme preview.",t=r.stack??r.message;I({headline:e,body:t})}var c=H(N(),1);var F=class extends j{static jsonOutputSchema=u;static summary="Applies JSON overrides to a theme and returns a preview URL.";static descriptionWithMarkdown="Applies a JSON overrides file to a theme and creates or updates a preview. This lets you quickly preview changes.\n\n The command returns a preview URL and a preview identifier. You can reuse the preview identifier with `--preview-id` to update an existing preview instead of creating a new one.";static description=this.descriptionForHelp();static flags={...g,...f,...E,theme:c.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID"}),overrides:c.Flags.string({description:"Path to a JSON overrides file.",env:"SHOPIFY_FLAG_OVERRIDES"}),"preview-id":c.Flags.string({description:"An existing preview identifier to update instead of creating a new preview.",env:"SHOPIFY_FLAG_PREVIEW_ID"}),open:c.Flags.boolean({description:"Automatically launch the theme preview in your default web browser.",env:"SHOPIFY_FLAG_OPEN",default:!1}),json:c.Flags.boolean({...f.json,description:"Output the preview URL and identifier as JSON.",env:"SHOPIFY_FLAG_JSON",default:!1})};static multiEnvironmentsFlags=["store","password","theme","overrides"];async command(e,t,a=!1){let d=await x(t,{filter:{theme:e.theme}}),i=await L({adminSession:t,overrideJson:e.overrides,themeId:d.id.toString(),previewIdentifier:e["preview-id"],password:e.password}),o=e.json?"json":"text";return e.open&&await _(i.url).catch(v=>T(v))===!1&&T(new Error(`Could not open the browser. Open this URL manually: ${i.url}`)),(!a||!e.json)&&D(i,o,!!e["preview-id"]),i}renderEnvironmentResults(e){w(u.encode({environments:e}))}validateCommandFlags(e){if(!e.theme||!e.overrides)throw new s("Specify both --theme and --overrides, either as flags or in an environment.")}requiredFlagsForSingleEnvironment(e){return super.requiredFlagsForSingleEnvironment(e).filter(t=>t!=="store")}};export{F as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as I,b as h,d as m}from"./chunk-WB5GRBHW.js";import{m as f,n as L}from"./chunk-CE6XQDAG.js";import{a as v}from"./chunk-EE72PCKT.js";import{Eb as g}from"./chunk-OIQ5NQ5I.js";import{a as b}from"./chunk-O472FAYX.js";import{e as V,g as w}from"./chunk-VKWPEFWQ.js";w();var e=V(b(),1),S=300*1e3,$=3e3,K="@shopify/cli",o=`${new e.SemVer(v).major}.x`,y=new Map;function N(){return m(o)}async function D({includeCurrentMajor:n=!0}={}){try{let s=await I(),t=h(s,o),i=y.get(t);if(i)return i;let c=m(void 0,s),u=m(o,s);if(c&&(!n||u))return{latest:c,currentMajor:u};let l=L(`${t}-lookup-failure`);if(l&&Date.now()-l.timestamp<S)return{};let a=T(s).catch(()=>({})).finally(()=>{y.delete(t)});return y.set(t,a),a}catch{return g("Skipping the CLI version lookup after a registry or cache failure."),{}}}async function T(n){let s=h(n),t=h(n,o),i=`${t}-lookup-failure`;try{let[{fetch:c},{default:u}]=await Promise.all([import("./http-EVDTYINS.js"),import("./registry-auth-token-EDH77OOW.js")]),l=new URL(encodeURIComponent(K).replace(/^%40/,"@"),n),a=u(n,{recursive:!0}),C={accept:"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*"};a&&(C.authorization=`${a.type} ${a.token}`);let k=await c(l.href,{headers:C,redirect:"error"},{useNetworkLevelRetry:!1,useAbortSignal:!0,timeoutMs:$});if(!k.ok)throw new Error("The npm registry request failed.");let p=await k.json(),r=p["dist-tags"].latest;if(!r||!(0,e.valid)(r)||!p.versions[r])throw new Error("The npm registry did not return a stable latest CLI version.");let j=Object.keys(p.versions).filter(R=>!p.versions[R]?.deprecated),M=(0,e.satisfies)(r,o)?`${o} <=${r}`:o,d=(0,e.maxSatisfying)(j,M);if(!d)throw new Error("The npm registry did not return a stable CLI version in the current major.");return f(s,r),f(t,d),{latest:r,currentMajor:d}}catch{return g("Skipping the CLI version lookup after a registry or cache failure."),f(i,""),{}}}export{N as a,D as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as le,h as pe,i as de,j as ce}from"./chunk-
|
|
1
|
+
import{d as le,h as pe,i as de,j as ce}from"./chunk-V3H6SYK3.js";import{a as ie,c as se,d as ae,e as re}from"./chunk-G3DXNSA2.js";import{a as M}from"./chunk-ZNEPRGFY.js";import{b as D}from"./chunk-5TJJVSCI.js";import{a as oe}from"./chunk-R5COVIJM.js";import{a as q}from"./chunk-K4KKSBUW.js";import{P as ne,i as te}from"./chunk-7FBOMPO5.js";import{V as X,Z as ee,g as Z}from"./chunk-4LJERO23.js";import{a as Q}from"./chunk-U5BKU3OL.js";import{b as W,c as J}from"./chunk-IKXUYCK7.js";import{D as Y,G as z,L as K,w as N,x as G,y as T}from"./chunk-7A4ZE5IS.js";import{a as U}from"./chunk-LG3KEHGD.js";import{d as $}from"./chunk-HI5FTI3M.js";import{j as y,m as E}from"./chunk-FJOVMEPN.js";import{Ba as V,Bb as R,Gb as k,L as B,ub as C,va as S,zb as H}from"./chunk-OIQ5NQ5I.js";import{b as d}from"./chunk-3PYDIBTX.js";import{b as Ie}from"./chunk-VBPMVVLV.js";import{c as _,h as j}from"./chunk-IWTNUJGY.js";import{e as Ee,g as m}from"./chunk-VKWPEFWQ.js";m();m();m();async function ue(e){let t,o;e.bundlePath&&(t=await re(e.developerPlatformClient,{id:e.apiKey,apiKey:e.apiKey,organizationId:e.organizationId}),await ae(t,e.bundlePath));let n={appManifest:e.appManifest,appId:e.appId,apiKey:e.apiKey,name:e.name,organizationId:e.organizationId,skipPublish:!e.release,message:e.message,versionTag:e.version,commitReference:e.commitReference};t&&(n.bundleUrl=t),e.appModules.length>0&&(n.appModules=e.appModules);let i=await e.developerPlatformClient.deploy(n);if(!i.appDeploy.appVersion){let a=_e(i.appDeploy.userErrors??[],e.appModuleRegistrationIds,e.appModules,{version:e.version});throw new y({bold:"Version couldn't be created."},null,[],a)}return i.appDeploy.userErrors?.length>0&&(o=i.appDeploy.userErrors.map(a=>a.message).join(", ")||"The app version could not be released."),{validationErrors:i.appDeploy.appVersion.appModuleVersions.filter(a=>a.validationErrors.length>0).map(a=>({uuid:a.registrationUuid,errors:a.validationErrors})),versionGid:i.appDeploy.appVersion.uuid,versionTag:i.appDeploy.appVersion.versionTag,location:i.appDeploy.appVersion.location,message:i.appDeploy.appVersion.message,deployError:o}}var x=`
|
|
2
2
|
Validation errors`,O=`
|
|
3
3
|
`;function _e(e,t,o,n={}){let i=l=>l.details?.some(v=>v.extension_id)??!1,s=(l,v)=>{let w=l.details?.find(F=>typeof F.extension_id<"u")?.extension_id??"";return Object.values(v).includes(w.toString())},a=l=>{let v=l.on?l.on[0]:void 0;return o.some(w=>w.uid===v?.user_identifier)},[c,u]=D(e,l=>a(l)),[h,p]=D(u,l=>i(l)),[g,r]=D(h,l=>s(l,t));return[...Se(p,{version:n.version}),...De(g,t),...Me(r),...Ae(c,o)]}function Se(e,t={}){return e.length>0?e.filter(o=>o.field&&o.field.includes("version_tag")&&o.message==="has already been taken").length>0&&t.version?[{body:["An app version with the name",{userInput:t.version},"already exists. Deploy again with a different version name."]}]:e.length===1?[{body:e[0]?.message??""}]:[{body:{list:{items:e.map(o=>o.message)}}}]:[]}function De(e,t){return e.reduce((o,n)=>{let i=(n.field??["unknown"]).join(".").replace("extension_points","extensions.targeting"),s=i==="base"?n.message:`${i}: ${n.message}`,a=n.details.find(r=>typeof r.extension_title<"u")?.extension_title,c=n.details.find(r=>typeof r.specification_identifier<"u")?.specification_identifier,u=n.details.find(r=>typeof r.extension_id<"u")?.extension_id?.toString(),p=Object.keys(t).find(r=>t[r]===u)??a;c==="webhook_subscription"&&(p="Webhook Subscription");let g=o.find(r=>r.title===p);if(g){let r=g.body,f=n.category==="invalid"?r.find(l=>l.list.title===x):r.find(l=>l.list.title===O);f?f.list.items.includes(s)||f.list.items.push(s):r.push({list:{title:n.category==="invalid"?x:O,items:[s]}})}else o.push({title:p,body:[{list:{title:n.category==="invalid"?x:O,items:[s]}}]});return o.forEach(r=>{r.body.sort((f,l)=>f.list.title===x?1:l.list.title===x?-1:0)}),o},[])}function Ae(e,t){return e.reduce((o,n)=>{let s=(n.on?n.on[0]:void 0)?.user_identifier,a=t.find(r=>r.uid===s),c=s?`Extension with uid: ${s}`:"Unknown Extension",u=a?.handle??c,p=`${(n.field??["unknown"]).join(".")}: ${n.message}`,g=o.find(r=>r.title===u);if(g){let f=g.body.find(l=>l.list.title===x);f&&(f.list.items.includes(p)||f.list.items.push(p))}else o.push({title:u,body:[{list:{title:x,items:[p]}}]});return o},[])}function Me(e){return e.reduce((t,o)=>{let n=o.details.find(s=>typeof s.extension_title<"u")?.extension_title,i=t.find(s=>s.title===n);return i?i.errorCount+=1:t.push({title:n,errorCount:1}),t},[]).map(t=>({title:t.title,body:`
|
|
4
4
|
${t.errorCount} error${t.errorCount>1?"s":""} found in your extensions. Fix these issues and try deploying again.`}))}m();async function me(e){let t=_(e.app.directory,".shopify","deploy-bundle");await V(t,{force:!0}),await S(t),await ie(e.appManifest,t),e.skipBuild||await Z(e.app);let o=e.app.allExtensions.map(i=>({prefix:i.localIdentifier,action:async(s,a,c)=>{await i.buildForBundle({stderr:a,stdout:s,signal:c,app:e.app,environment:"production",skipBuild:e.skipBuild},t)}}));if(await N({processes:o,showTimestamps:!1}),e.app.allExtensions.some(i=>i.hasDeploySteps))return await se(t,e.bundlePath),e.bundlePath}async function Te(e){let{app:t,remoteApp:o,developerPlatformClient:n,noRelease:i,allowUpdates:s,allowDeletes:a,extensions:c}=e,u=[i,s,a].some(Boolean),h=[`App can't be deployed until Partner Dashboard managed extensions are added to your version or removed from your app:
|
|
@@ -15,4 +15,4 @@ ${n.deployError}`],customSections:a}):T({headline:"New version released to users
|
|
|
15
15
|
This command creates an app version, which is a snapshot of your app configuration and all extensions. This version is then released to users.
|
|
16
16
|
|
|
17
17
|
This command doesn't deploy your [web app](https://shopify.dev/docs/apps/tools/cli/structure#web-components). You need to [deploy your web app](https://shopify.dev/docs/apps/deployment/web) to your own hosting solution.
|
|
18
|
-
`;static
|
|
18
|
+
`;static jsonOutputSchema=A;static description=this.descriptionForHelp();static flags={...W,...q,...J,"client-id":b.Flags.string({hidden:!1,description:"The Client ID of your app. Use with --config to deploy that configuration to a different app than the one it is linked to.",env:"SHOPIFY_FLAG_CLIENT_ID"}),"allow-updates":b.Flags.boolean({hidden:!1,description:"Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments. In non-interactive environments, provide this flag, --allow-deletes, or --no-release.",env:"SHOPIFY_FLAG_ALLOW_UPDATES"}),"allow-deletes":b.Flags.boolean({hidden:!1,description:"Allows removing extensions and configuration without requiring user confirmation. For CI/CD environments, the recommended flag is --allow-updates. In non-interactive environments, provide this flag, --allow-updates, or --no-release.",env:"SHOPIFY_FLAG_ALLOW_DELETES"}),"no-release":b.Flags.boolean({hidden:!1,description:"Creates a version but doesn't release it - it's not made available to merchants. With this flag, a user confirmation is not required. In non-interactive environments, provide this flag, --allow-updates, or --allow-deletes.",env:"SHOPIFY_FLAG_NO_RELEASE",default:!1,exclusive:["allow-updates","allow-deletes"]}),"no-build":b.Flags.boolean({description:"Use with caution: Skips building any elements of the app that require building. You should ensure your app has been prepared in advance, such as by running `shopify app build` or by caching build artifacts.",env:"SHOPIFY_FLAG_NO_BUILD",default:!1}),message:b.Flags.string({hidden:!1,description:"Optional message that will be associated with this version. This is for internal use only and won't be available externally.",env:"SHOPIFY_FLAG_MESSAGE"}),version:b.Flags.string({hidden:!1,description:"Optional version tag that will be associated with this app version. If not provided, an auto-generated identifier will be generated for this app version.",env:"SHOPIFY_FLAG_VERSION"}),"source-control-url":b.Flags.string({hidden:!1,description:"URL associated with the new app version.",env:"SHOPIFY_FLAG_SOURCE_CONTROL_URL"})};static nonTTYFlagRequirements(){return[{flags:["allow-updates","allow-deletes","no-release"]}]}async run(){let{flags:t}=await this.parse(e);await Q.addPublicMetadata(()=>({cmd_deploy_flag_message_used:!!t.message,cmd_deploy_flag_version_used:!!t.version,cmd_deploy_flag_source_url_used:!!t["source-control-url"]})),ve(t.version),we(t.message);let o=t["client-id"];await $(()=>({cmd_app_reset_used:t.reset}));let{app:n,project:i,remoteApp:s,developerPlatformClient:a,organization:c}=await ne({directory:t.path,clientId:o,forceRelink:t.reset,userProvidedConfigName:t.config}),u=t["no-release"]||t["allow-updates"],h=t["no-release"]||t["allow-deletes"],p=await fe({app:n,project:i,remoteApp:s,organization:c,developerPlatformClient:a,reset:t.reset,allowUpdates:u,allowDeletes:h,noRelease:t["no-release"],message:t.message,version:t.version,commitReference:t["source-control-url"],skipBuild:t["no-build"]});return await be(p,s,i,t.json?"json":"text"),{app:p.app}}};export{L as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as s}from"./chunk-NMXRDF4T.js";import{e as p}from"./chunk-4KBOLN7Q.js";import{Z as i}from"./chunk-UORSJB4A.js";import{j as a}from"./chunk-FJOVMEPN.js";import{g as n}from"./chunk-VKWPEFWQ.js";n();async function x(t,e){return i(e,t.apiKey,await p(t))}function S(t){let{organization:e,remoteApp:m,storeFqdn:u,version:o}=t,r=[`Organization: ${e.businessName}`,`App: ${m.title}`,`Store: ${u}`];return o&&r.push(`API version: ${o}`),r}function y(t,e){if(s(t)&&e.storeType!=="APP_DEVELOPMENT")throw new a("Mutations can only be executed on dev stores.")}export{x as a,S as b,y as c};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import{a as I,b as M}from"./chunk-ZNEPRGFY.js";import{a as A}from"./chunk-K4KKSBUW.js";import{e as u}from"./chunk-7FBOMPO5.js";import{f as p}from"./chunk-UORSJB4A.js";import{b as O,c as y,f as E}from"./chunk-IKXUYCK7.js";import{a as c}from"./chunk-LG3KEHGD.js";import{b as t}from"./chunk-3PYDIBTX.js";import{b as w}from"./chunk-VBPMVVLV.js";import{e as H,g as n}from"./chunk-VKWPEFWQ.js";n();n();var k=["HONOR_BILLING_PRICE","PLAN_PRICE"],W=["OPT_OUT","WHEN_REQUIRED"],D=["UNSCHEDULED","SCHEDULED","MIGRATED"];var r=H(w(),1);var m={...O,...A,...y},K={watch:r.Flags.boolean({description:"Display the current operation state while polling, then output the final outcome when every operation reaches a terminal status.",env:"SHOPIFY_FLAG_WATCH",default:!1})},B={watch:r.Flags.boolean({description:"Display the current operation state while polling, then output the final state when every operation reaches a terminal status.",env:"SHOPIFY_FLAG_WATCH",default:!1})},et={...m,status:r.Flags.option({description:"Filter subscriptions by migration status.",env:"SHOPIFY_FLAG_STATUS",options:[...D]})()},it={...m,input:r.Flags.string({char:"i",description:"Path to the migration CSV. If omitted, standard input is used.",env:"SHOPIFY_FLAG_INPUT"}),force:E(r.Flags.boolean({char:"f",description:"Skip confirmation.",env:"SHOPIFY_FLAG_FORCE",default:!1})),...K},q={...m,id:r.Flags.string({description:"The app subscription migration operation ID. Can be specified multiple times.",env:"SHOPIFY_FLAG_ID",required:!0,multiple:!0})},nt={...q,...B};n();var l=t.string().regex(/^gid:\/\/shopify\/AppSubscriptionMigrationOperation\/[^/]+$/).describe("The Shopify AppSubscriptionMigrationOperation GID."),F=t.string().regex(/^gid:\/\/shopify\/Shop\/\d+$/).describe("The Shopify Shop GID."),o=t.object({gid:l,status:t.string().min(1).describe("Upstream status: RUNNING, COMPLETED, FAILED, or CANCELED."),total:t.number().int().nonnegative(),results:t.array(t.object({shopGid:F,code:t.string().min(1).describe("The upstream per-shop migration result code.")}).strict())}).strict(),g=t.object({message:t.string(),fieldPath:t.array(t.string()).nullable()}).strict(),C=t.discriminatedUnion("status",[t.object({status:t.literal("success"),operationGid:l,operation:o}).strict(),t.object({status:t.literal("failed"),operationGid:l,operation:o.nullable(),error:t.union([I.extend({details:t.object({userErrors:t.array(g)}).strict()}),M])}).strict()]),pt=c({name:"MigrationCancellationResult",schema:t.object({status:t.enum(["success","partial"]),operations:t.array(C)}).strict(),definitions:{MigrationCancellationOutcome:C,MigrationOperation:o,MigrationUserError:g}}),b=t.string().datetime().regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$/),Y=t.string().date(),N=t.object({amount:t.string().regex(/^-?\d+(?:\.\d+)?$/),currencyCode:t.string().regex(/^[A-Z]{3}$/)}).strict(),R=t.object({kind:t.string().describe("Known values: NONE, OPT_OUT, WHEN_REQUIRED."),optOutDeadline:b.nullable(),sentAt:b.nullable()}).strict(),P=t.object({shopGid:F,status:t.string().describe("Known values: UNSCHEDULED, SCHEDULED, MIGRATED."),manualSubscriptionName:t.string().nullable(),manualSubscriptionPrice:N.nullable(),manualSubscriptionInterval:t.string().describe("Known values: EVERY_30_DAYS, ANNUAL."),targetPlanHandle:t.string().nullable(),notification:R.nullable(),priceBehavior:t.string().nullable().describe("Known values: HONOR_BILLING_PRICE, PLAN_PRICE."),effectiveDate:t.union([Y,b]).nullable().describe("The upstream calendar date or whole-second UTC instant; date-only values retain their format."),lastFailureReason:t.string().nullable().describe("Known values: SUPERSEDED, SCHEDULING_FAILED.")}).strict().describe("All subscription projection fields are present; unavailable values are null."),ut=c({name:"MigrationListResult",schema:t.object({subscriptions:t.array(P).describe("The complete list across every fetched page.")}).strict(),definitions:{MigratableSubscription:P,MigratableSubscriptionPrice:N,MigratableSubscriptionNotification:R}}),T=t.object({batchIndex:t.number().int().nonnegative(),batchPayloadDigest:t.string().min(1),operation:o}).strict(),v=t.discriminatedUnion("type",[t.object({type:t.literal("submission"),batchIndex:t.number().int().nonnegative(),userErrors:t.array(g)}).strict(),t.object({type:t.literal("operations"),operationGids:t.array(l)}).strict()]);function x(){return{clientId:t.string().min(1).describe("The app client ID, not a Shopify GID."),action:t.enum(["schedule","unschedule"]),inputDigest:t.string().min(1),total:t.number().int().nonnegative(),operations:t.array(T)}}var lt=c({name:"MigrationSubmissionResult",schema:t.discriminatedUnion("status",[t.object({status:t.literal("success"),changed:t.boolean(),...x()}).strict(),t.object({status:t.literal("partial"),changed:t.boolean(),...x(),failure:v}).strict(),t.object({status:t.literal("cancelled"),changed:t.literal(!1),action:t.enum(["schedule","unschedule"]),reason:t.string()}).strict()]),definitions:{SubmittedMigrationOperation:T,MigrationOperation:o,MigrationSubmissionFailure:v,MigrationUserError:g}}),gt=c({name:"MigrationStatusResult",schema:t.object({operations:t.array(o)}).strict(),definitions:{MigrationOperation:o}});n();function J(e){return{gid:e.id,status:e.status,total:e.total,results:e.results.edges.map(({node:i})=>({shopGid:i.shopId,code:i.code}))}}function Q(e){return e.map(({message:i,field:a})=>({message:i,fieldPath:a}))}function bt(e){return{shopGid:e.shopId,status:e.status,manualSubscriptionName:e.manualSubscriptionName,manualSubscriptionPrice:e.manualSubscriptionPrice===null?null:{amount:e.manualSubscriptionPrice.amount,currencyCode:e.manualSubscriptionPrice.currencyCode},manualSubscriptionInterval:e.manualSubscriptionInterval,targetPlanHandle:e.targetPlanHandle,notification:e.notification===null?null:{kind:e.notification.kind,optOutDeadline:S(e.notification.optOutDeadline),sentAt:S(e.notification.sentAt)},priceBehavior:e.priceBehavior,effectiveDate:e.effectiveDate===null||/^\d{4}-\d{2}-\d{2}$/.test(e.effectiveDate)?e.effectiveDate:S(e.effectiveDate),lastFailureReason:e.lastFailureReason}}function S(e){return e===null?null:new Date(e).toISOString().replace(/\.\d{3}Z$/,"Z")}function St(e){if(e.status==="cancelled")return e;let i={changed:e.submission.operations.length>0,clientId:e.submission.clientId,action:e.submission.action,inputDigest:e.submission.inputDigest,total:e.submission.total,operations:e.submission.operations.map(({batchIndex:a,batchPayloadDigest:s,operation:f})=>({batchIndex:a,batchPayloadDigest:s,operation:J(f)}))};return e.status==="success"?{status:"success",...i}:{status:"partial",...i,failure:e.failure.type==="submission"?{type:e.failure.type,batchIndex:e.failure.batchIndex,userErrors:Q(e.failure.userErrors)}:{type:e.failure.type,operationGids:e.failure.operationIds}}}n();n();var _=p`
|
|
2
|
+
query MigratableAppSubscriptions(
|
|
3
|
+
$apiKey: String!
|
|
4
|
+
$first: Int!
|
|
5
|
+
$after: String
|
|
6
|
+
$status: AppSubscriptionMigrationStatus
|
|
7
|
+
) {
|
|
8
|
+
migratableAppSubscriptions(apiKey: $apiKey, first: $first, after: $after, status: $status) {
|
|
9
|
+
edges {
|
|
10
|
+
cursor
|
|
11
|
+
node {
|
|
12
|
+
shopId
|
|
13
|
+
status
|
|
14
|
+
manualSubscriptionName
|
|
15
|
+
manualSubscriptionPrice {
|
|
16
|
+
amount
|
|
17
|
+
currencyCode
|
|
18
|
+
}
|
|
19
|
+
manualSubscriptionInterval
|
|
20
|
+
targetPlanHandle
|
|
21
|
+
notification {
|
|
22
|
+
kind
|
|
23
|
+
optOutDeadline
|
|
24
|
+
sentAt
|
|
25
|
+
}
|
|
26
|
+
priceBehavior
|
|
27
|
+
effectiveDate
|
|
28
|
+
lastFailureReason
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
pageInfo {
|
|
32
|
+
hasNextPage
|
|
33
|
+
endCursor
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
`,U=p`
|
|
38
|
+
mutation AppSubscriptionMigrationOperationCreate($input: AppSubscriptionMigrationOperationCreateInput!) {
|
|
39
|
+
appSubscriptionMigrationOperationCreate(input: $input) {
|
|
40
|
+
operation {
|
|
41
|
+
id
|
|
42
|
+
status
|
|
43
|
+
total
|
|
44
|
+
results(first: 250) {
|
|
45
|
+
edges {
|
|
46
|
+
node {
|
|
47
|
+
shopId
|
|
48
|
+
code
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
userErrors {
|
|
54
|
+
message
|
|
55
|
+
field
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`,G=p`
|
|
60
|
+
query AppSubscriptionMigrationOperation($apiKey: String!, $id: ID!) {
|
|
61
|
+
appSubscriptionMigrationOperation(apiKey: $apiKey, id: $id) {
|
|
62
|
+
id
|
|
63
|
+
status
|
|
64
|
+
total
|
|
65
|
+
results(first: 250) {
|
|
66
|
+
edges {
|
|
67
|
+
node {
|
|
68
|
+
shopId
|
|
69
|
+
code
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
`,L=p`
|
|
76
|
+
mutation AppSubscriptionMigrationOperationCancel($input: AppSubscriptionMigrationOperationCancelInput!) {
|
|
77
|
+
appSubscriptionMigrationOperationCancel(input: $input) {
|
|
78
|
+
operation {
|
|
79
|
+
id
|
|
80
|
+
status
|
|
81
|
+
total
|
|
82
|
+
results(first: 250) {
|
|
83
|
+
edges {
|
|
84
|
+
node {
|
|
85
|
+
shopId
|
|
86
|
+
code
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
userErrors {
|
|
92
|
+
message
|
|
93
|
+
field
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
`;function j(e){return e===null?null:{...e,results:{edges:e.results?.edges?.filter(i=>i!==null)??[]}}}function $(e){return{operation:j(e.operation),userErrors:e.userErrors??[]}}async function At({clientId:e,first:i,after:a,status:s}){let d=(await u.getInstance().request(_,{apiKey:e,first:i,after:a,status:s})).migratableAppSubscriptions;return d===null?null:{subscriptions:d.edges?.flatMap(h=>h===null?[]:[h.node])??[],pageInfo:d.pageInfo}}async function Dt({clientId:e,idempotencyKey:i,migrations:a}){let s=await u.getInstance().request(U,{input:{apiKey:e,idempotencyKey:i,migrations:a}});return $(s.appSubscriptionMigrationOperationCreate)}async function Ct({clientId:e,operationId:i}){let a=await u.getInstance().request(G,{apiKey:e,id:i});return j(a.appSubscriptionMigrationOperation)}async function Pt({clientId:e,operationId:i}){let a=await u.getInstance().request(L,{input:{apiKey:e,id:i}});return $(a.appSubscriptionMigrationOperationCancel)}export{k as a,W as b,et as c,it as d,q as e,nt as f,l as g,pt as h,ut as i,lt as j,gt as k,J as l,Q as m,bt as n,St as o,At as p,Dt as q,Ct as r,Pt as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as b}from"./chunk-R5COVIJM.js";import{a as O}from"./chunk-K4KKSBUW.js";import{G as R,H as l,I as x,N as j,O as v,P as F}from"./chunk-7FBOMPO5.js";import{b as A,c as S}from"./chunk-IKXUYCK7.js";import{y as P}from"./chunk-7A4ZE5IS.js";import{a as y}from"./chunk-LG3KEHGD.js";import{j as k}from"./chunk-FJOVMEPN.js";import{zb as w}from"./chunk-OIQ5NQ5I.js";import{e as C,i as p}from"./chunk-IWTNUJGY.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();o();async function m(i){let{directory:t,configName:n,configPath:s,configuration:a,remoteApp:e}=i;if(!a.client_id)throw new k("The selected configuration is not linked to a remote app.","Run `shopify app config link` first to link this configuration to a Shopify app.");let c=e.developerPlatformClient,d=await R({developerPlatformClient:c,app:e}),g=e.flags,N={directory:t,configName:n,developerPlatformClient:c,apiKey:a.client_id},f=await j(N,d,g,e.apiKey),h=p(s),L=await v({remoteApp:e,developerPlatformClient:c,specifications:d,flags:g,configFileName:h,appDirectory:f.appDirectory??t,localAppOptions:f});return x({path:C(f.appDirectory??t,h),appName:L.name,app:e})}o();var r=y({name:"AppConfigPullResult",schema:l.schema,definitions:l.definitions});o();function J(i,t){if(t==="json"){w(r.encode(i));return}P({headline:`Pulled latest configuration for "${i.app.name}"`,body:`Updated ${p(i.path)} with the remote data.`})}var u=class i extends b{static summary="Refresh an already-linked app configuration without prompts.";static descriptionWithMarkdown="Pulls the latest configuration from the already-linked Shopify app and updates the selected configuration file.\n\nThis command reuses the existing linked app and organization and skips all interactive prompts. Use `--config` to target a specific configuration file, or omit it to use the default one.";static jsonOutputSchema=r;static description=this.descriptionForHelp();static flags={...A,...S,...O};async run(){let{flags:t}=await this.parse(i),{app:n,remoteApp:s}=await F({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config}),a=await m({directory:t.path,configName:t.config,configPath:n.configPath,configuration:n.configuration,remoteApp:s});return J(a,t.json?"json":"text"),{app:n}}};export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as e}from"./chunk-PSREELSQ.js";import{Ca as r}from"./chunk-UORSJB4A.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};
|