vercel 59.13.1 → 59.15.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/chunks/add-7XFD2OHW.js +8 -0
- package/dist/chunks/add-HZC7AUBY.js +8 -0
- package/dist/chunks/add-PYUNJZ6K.js +8 -0
- package/dist/chunks/build-EFKQ6BND.js +7 -0
- package/dist/chunks/chunk-2B2MN3U5.js +8 -0
- package/dist/chunks/chunk-2H77IRPI.js +9 -0
- package/dist/chunks/chunk-2I64AYHG.js +7 -0
- package/dist/chunks/chunk-2PPXY24N.js +20 -0
- package/dist/chunks/chunk-2S6PE6GB.js +7 -0
- package/dist/chunks/{chunk-PIMIVJYK.js → chunk-3FMJYJUR.js} +7 -32
- package/dist/chunks/chunk-3IAQUNQH.js +7 -0
- package/dist/chunks/chunk-3QHJYVCY.js +7 -0
- package/dist/chunks/chunk-3QT7VOE3.js +7 -0
- package/dist/chunks/chunk-3TXEXPUW.js +7 -0
- package/dist/chunks/chunk-4MZK6JT6.js +7 -0
- package/dist/chunks/chunk-4NE5IQ25.js +7 -0
- package/dist/chunks/chunk-4PNSSS3L.js +7 -0
- package/dist/chunks/chunk-4QX77CP7.js +7 -0
- package/dist/chunks/chunk-57GHYR4Y.js +25 -0
- package/dist/chunks/chunk-5QQNYN4N.js +7 -0
- package/dist/chunks/chunk-5XJNPXQK.js +7 -0
- package/dist/chunks/chunk-6L236MNA.js +7 -0
- package/dist/chunks/chunk-6PFC3KWQ.js +7 -0
- package/dist/chunks/chunk-6QKS6QK7.js +7 -0
- package/dist/chunks/chunk-6RIQPTJA.js +8 -0
- package/dist/chunks/chunk-6TAQ6OWD.js +13 -0
- package/dist/chunks/chunk-6YAADRQB.js +9 -0
- package/dist/chunks/chunk-75CPY75D.js +15 -0
- package/dist/chunks/chunk-7HL2RPUO.js +7 -0
- package/dist/chunks/chunk-7PNYOSDU.js +9 -0
- package/dist/chunks/chunk-7R5FEXZ5.js +7 -0
- package/dist/chunks/chunk-7RMCBXBB.js +62 -0
- package/dist/chunks/chunk-7RR7MIMT.js +7 -0
- package/dist/chunks/chunk-7T6TL3GQ.js +7 -0
- package/dist/chunks/chunk-ADUYPK2G.js +13 -0
- package/dist/chunks/chunk-AFPOIDM5.js +7 -0
- package/dist/chunks/chunk-AM46JVVN.js +7 -0
- package/dist/chunks/chunk-AVSPFBLM.js +7 -0
- package/dist/chunks/chunk-B4ATVYZW.js +7 -0
- package/dist/chunks/chunk-BATE73HA.js +9 -0
- package/dist/chunks/{chunk-A3NYPUKZ.js → chunk-BRK4OB4B.js} +1 -11
- package/dist/chunks/chunk-BVH2AEFE.js +7 -0
- package/dist/chunks/chunk-CN2QZO4U.js +7 -0
- package/dist/chunks/chunk-COQGD2EI.js +8 -0
- package/dist/chunks/chunk-CUAIEGNE.js +7 -0
- package/dist/chunks/chunk-CVKB54WW.js +7 -0
- package/dist/chunks/{chunk-O26N2UPI.js → chunk-CZSOZKHX.js} +1 -9
- package/dist/chunks/chunk-D4MW3RDW.js +7 -0
- package/dist/chunks/chunk-DFVNL5ML.js +7 -0
- package/dist/chunks/chunk-EE3FVJLV.js +16 -0
- package/dist/chunks/chunk-EGMJRU5P.js +28 -0
- package/dist/chunks/chunk-ENBTTYJR.js +7 -0
- package/dist/chunks/chunk-ENS6KX2F.js +7 -0
- package/dist/chunks/chunk-EOBD4ZEG.js +8 -0
- package/dist/chunks/chunk-EOCTK4EA.js +7 -0
- package/dist/chunks/chunk-EQ52F4LH.js +7 -0
- package/dist/chunks/chunk-ETV3C2CV.js +7 -0
- package/dist/chunks/chunk-EVZRQGNK.js +7 -0
- package/dist/chunks/chunk-F2ZWW2IO.js +8 -0
- package/dist/chunks/chunk-FAW6NBLQ.js +7 -0
- package/dist/chunks/chunk-FI772UVH.js +7 -0
- package/dist/chunks/chunk-FKCOBJFH.js +7 -0
- package/dist/chunks/chunk-FVGESGJI.js +45 -0
- package/dist/chunks/chunk-G5FC5ZCO.js +9 -0
- package/dist/chunks/chunk-G6CTAHKY.js +39 -0
- package/dist/chunks/chunk-G7Y77DFH.js +7 -0
- package/dist/chunks/chunk-GHAY4PSD.js +7 -0
- package/dist/chunks/chunk-GHM7V3GG.js +7 -0
- package/dist/chunks/chunk-GRNTLNC7.js +7 -0
- package/dist/chunks/chunk-GTRGQIY2.js +10 -0
- package/dist/chunks/chunk-GU6VIFR5.js +7 -0
- package/dist/chunks/{constants-WEQVJSYS.js → chunk-GZNDA6SV.js} +2 -9
- package/dist/chunks/chunk-HBFPLBTX.js +10 -0
- package/dist/chunks/chunk-HEGJZJO7.js +7 -0
- package/dist/chunks/chunk-HSJ6AHWG.js +12 -0
- package/dist/chunks/chunk-HTC6KO2B.js +7 -0
- package/dist/chunks/chunk-HVUHCRZB.js +18 -0
- package/dist/chunks/chunk-HZZ5L472.js +7 -0
- package/dist/chunks/chunk-IVSSTHB6.js +7 -0
- package/dist/chunks/chunk-IVWPQYIH.js +7 -0
- package/dist/chunks/chunk-J3U3L45Y.js +7 -0
- package/dist/chunks/chunk-JAJW3P42.js +7 -0
- package/dist/chunks/chunk-JEIMW3CO.js +7 -0
- package/dist/chunks/chunk-JIYY3B4C.js +7 -0
- package/dist/chunks/chunk-JKTQV2QJ.js +7 -0
- package/dist/chunks/chunk-JTVVBRW7.js +7 -0
- package/dist/chunks/chunk-JYAUUIR4.js +7 -0
- package/dist/chunks/chunk-JZRMH5UA.js +7 -0
- package/dist/chunks/chunk-K2RAW5DI.js +10 -0
- package/dist/chunks/chunk-K3KJZLBD.js +7 -0
- package/dist/chunks/chunk-KK4AJES5.js +36 -0
- package/dist/chunks/chunk-KKS7XWEX.js +7 -0
- package/dist/chunks/chunk-KNEWCUWF.js +14 -0
- package/dist/chunks/chunk-KO733OJG.js +9 -0
- package/dist/chunks/chunk-L243RUIR.js +19 -0
- package/dist/chunks/chunk-L3JDEHCQ.js +7 -0
- package/dist/chunks/chunk-LDM3SQAU.js +13 -0
- package/dist/chunks/chunk-LNPMDXBJ.js +7 -0
- package/dist/chunks/chunk-M2W3HKV3.js +23 -0
- package/dist/chunks/chunk-M2XARQBF.js +9 -0
- package/dist/chunks/chunk-M5AV545M.js +7 -0
- package/dist/chunks/chunk-MAVRGZQP.js +7 -0
- package/dist/chunks/chunk-MBL6TXEJ.js +7 -0
- package/dist/chunks/chunk-MEAY2K5Z.js +11 -0
- package/dist/chunks/chunk-MY4MONOH.js +7 -0
- package/dist/chunks/chunk-N3N5UHIL.js +7 -0
- package/dist/chunks/chunk-N3ZZ7FHQ.js +7 -0
- package/dist/chunks/chunk-N6CNMMSZ.js +7 -0
- package/dist/chunks/chunk-NBVY237X.js +7 -0
- package/dist/chunks/chunk-NGNOUPWS.js +25 -0
- package/dist/chunks/chunk-NHTF332K.js +7 -0
- package/dist/chunks/chunk-NNP5NITU.js +15 -0
- package/dist/chunks/chunk-NS4FH2TY.js +11 -0
- package/dist/chunks/chunk-NUGLE4QY.js +11 -0
- package/dist/chunks/chunk-NWFHHUKZ.js +7 -0
- package/dist/chunks/chunk-O7G3CZ42.js +7 -0
- package/dist/chunks/chunk-OD6RZ3XZ.js +8 -0
- package/dist/chunks/chunk-OHDEHZLX.js +7 -0
- package/dist/chunks/chunk-OK3S6KFX.js +16 -0
- package/dist/chunks/chunk-OKZDOANA.js +23 -0
- package/dist/chunks/chunk-OSCCYU74.js +7 -0
- package/dist/chunks/chunk-OUHPDA7Q.js +7 -0
- package/dist/chunks/chunk-P2O5DOYE.js +7 -0
- package/dist/chunks/chunk-PHW54NU5.js +13 -0
- package/dist/chunks/chunk-PPCFQQSU.js +7 -0
- package/dist/chunks/chunk-QGIGNMII.js +8 -0
- package/dist/chunks/chunk-QGIQK47P.js +7 -0
- package/dist/chunks/chunk-QHJLRTVY.js +7 -0
- package/dist/chunks/chunk-QR7QPUFN.js +7 -0
- package/dist/chunks/chunk-QTKJC2O5.js +7 -0
- package/dist/chunks/chunk-R2TGGVCT.js +19 -0
- package/dist/chunks/chunk-RAIBQIKB.js +7 -0
- package/dist/chunks/chunk-RCTYVKM5.js +16 -0
- package/dist/chunks/chunk-RKAUVPOQ.js +86 -0
- package/dist/chunks/chunk-S5CEIACD.js +7 -0
- package/dist/chunks/chunk-SGWVKRSR.js +8 -0
- package/dist/chunks/chunk-SOJCELXH.js +7 -0
- package/dist/chunks/chunk-SXUEGVWB.js +7 -0
- package/dist/chunks/{pkg-56KRLZ5K.js → chunk-T3GQAMBJ.js} +1 -7
- package/dist/chunks/chunk-T52FMXWC.js +7 -0
- package/dist/chunks/{chunk-2473DUBR.js → chunk-TG2RCYTH.js} +1 -9
- package/dist/chunks/chunk-TJCIHDPZ.js +9 -0
- package/dist/chunks/chunk-TKBXN4H3.js +9 -0
- package/dist/chunks/chunk-TRTEXGVN.js +7 -0
- package/dist/chunks/chunk-TXELFFNK.js +15 -0
- package/dist/chunks/chunk-U56NHYAH.js +7 -0
- package/dist/chunks/chunk-U7KCDTCH.js +12 -0
- package/dist/chunks/chunk-UETTIYUQ.js +8 -0
- package/dist/chunks/chunk-UGMZQZJE.js +24 -0
- package/dist/chunks/chunk-ULLWCOYC.js +7 -0
- package/dist/chunks/chunk-UXTHEQVJ.js +21 -0
- package/dist/chunks/chunk-VLZ47RWM.js +44 -0
- package/dist/chunks/chunk-WKZ6JSGZ.js +7 -0
- package/dist/chunks/chunk-WPS6JZF6.js +7 -0
- package/dist/chunks/chunk-WRILLB46.js +7 -0
- package/dist/chunks/chunk-WUZD4KBL.js +7 -0
- package/dist/chunks/chunk-XCJDGQO7.js +7 -0
- package/dist/chunks/{update-route-version-E3V47KNI.js → chunk-XD2LZRBS.js} +1 -7
- package/dist/chunks/{chunk-64IF634X.js → chunk-XFVGX5HG.js} +1 -12
- package/dist/chunks/chunk-XHOGOH6N.js +7 -0
- package/dist/chunks/chunk-XPXOV5UO.js +7 -0
- package/dist/chunks/chunk-XQ73QIQ3.js +7 -0
- package/dist/chunks/chunk-XSVBYDYI.js +8 -0
- package/dist/chunks/chunk-YKZLKOOD.js +12 -0
- package/dist/chunks/chunk-YMVDWVMO.js +7 -0
- package/dist/chunks/chunk-YPTLSODC.js +7 -0
- package/dist/chunks/chunk-YV6CTDHR.js +7 -0
- package/dist/chunks/chunk-Z6Y55QJW.js +23 -0
- package/dist/chunks/chunk-ZDX75YNZ.js +7 -0
- package/dist/chunks/chunk-ZIPVX7LD.js +7 -0
- package/dist/chunks/chunk-ZKYS7EAB.js +7 -0
- package/dist/chunks/chunk-ZT6KDLLY.js +20 -0
- package/dist/chunks/chunk-ZXE4XYIV.js +7 -0
- package/dist/chunks/chunk-ZZQRMRWD.js +20 -0
- package/dist/chunks/cjs-GOQHXIHX.js +54 -0
- package/dist/chunks/clear-5NQAVWIF.js +8 -0
- package/dist/chunks/compile-vercel-config-6J2XUFRK.js +7 -0
- package/dist/chunks/config-CKYRXZXL.js +7 -0
- package/dist/chunks/config-VNUY4RJ4.js +8 -0
- package/dist/chunks/connect-git-provider-GIU5WZ52.js +7 -0
- package/dist/chunks/constants-G4UYVLOF.js +7 -0
- package/dist/chunks/create-project-SRQGD4JY.js +7 -0
- package/dist/chunks/delete-GTXXCSKQ.js +10 -0
- package/dist/chunks/delete-HRJEO4MI.js +9 -0
- package/dist/chunks/detect-projects-2GNCZ4CS.js +7 -0
- package/dist/chunks/detect-services-GHILEGNU.js +7 -0
- package/dist/chunks/disable-RWCRVG5O.js +7 -0
- package/dist/chunks/discard-SHFIYCJU.js +14 -0
- package/dist/chunks/edit-DMO3NSO2.js +9 -0
- package/dist/chunks/edit-EVQI2RSS.js +8 -0
- package/dist/chunks/enable-AWDU6STD.js +7 -0
- package/dist/chunks/esm-7HVUFWMN.js +7 -0
- package/dist/chunks/esm-BZBEM7YA.js +7 -0
- package/dist/chunks/esm-CXICLFA3.js +9 -0
- package/dist/chunks/esm-HDEHVK7I.js +9 -0
- package/dist/chunks/esm-NQRLKALI.js +20 -0
- package/dist/chunks/esm-SZZI53W7.js +7 -0
- package/dist/chunks/esm-WGJFGCLK.js +7 -0
- package/dist/chunks/exec-4AISDHUV.js +16372 -0
- package/dist/chunks/export-IQKTA4RS.js +19 -0
- package/dist/chunks/fetch-proxy-AEAWC6MD.js +7 -0
- package/dist/chunks/future-E2FHKPJN.js +7 -0
- package/dist/chunks/generate-cert-for-deploy-VKOWC4PZ.js +7 -0
- package/dist/chunks/image-LDFYNOCA.js +7 -0
- package/dist/chunks/import-builders-P7CXSX2D.js +7 -0
- package/dist/chunks/inspect-3N47ODIH.js +15 -0
- package/dist/chunks/inspect-53SGDDAH.js +20 -0
- package/dist/chunks/inspect-5INZDUQS.js +19 -0
- package/dist/chunks/inspect-WMT2M335.js +9 -0
- package/dist/chunks/inspect-Y6BUCOUV.js +13 -0
- package/dist/chunks/list-BIAPHKFM.js +11 -0
- package/dist/chunks/list-DMOCRRSE.js +16 -0
- package/dist/chunks/list-K5J7OULR.js +10 -0
- package/dist/chunks/login-DEAEVUHM.js +7 -0
- package/dist/chunks/login-SRVNHI4Y.js +9 -0
- package/dist/chunks/logs-GK7CJBYY.js +7 -0
- package/dist/chunks/ls-7ZX6DCJW.js +12 -0
- package/dist/chunks/ls-AJWN5ZR4.js +12 -0
- package/dist/chunks/ls-BFJWCRLZ.js +12 -0
- package/dist/chunks/ls-KGIE6HCO.js +12 -0
- package/dist/chunks/ls-UVKTHBTE.js +8 -0
- package/dist/chunks/ls-WEG45IOC.js +8 -0
- package/dist/chunks/native-self-update-KOJVRMHR.js +7 -0
- package/dist/chunks/open-OEWPI5G6.js +7 -0
- package/dist/chunks/openapi-MO5HYMHR.js +7 -0
- package/dist/chunks/permissions-EPQBQFE3.js +7 -0
- package/dist/chunks/pkg-YFU67U7I.js +7 -0
- package/dist/chunks/prompt-missing-credentials-IUHLYSQU.js +7 -0
- package/dist/chunks/publish-JG7MEPWT.js +15 -0
- package/dist/chunks/pull-MRKXG6TO.js +7 -0
- package/dist/chunks/purchase-domain-if-available-O5ARXEZ5.js +7 -0
- package/dist/chunks/push-XOXJDFYO.js +7 -0
- package/dist/chunks/query-AL7C6WV2.js +12 -0
- package/dist/chunks/reauthenticate-SH4XR7NH.js +7 -0
- package/dist/chunks/reorder-5DMRFDBY.js +10 -0
- package/dist/chunks/reply-WSRNZWFD.js +9 -0
- package/dist/chunks/repo-info-to-url-SK3VX6UL.js +7 -0
- package/dist/chunks/resolve-YJUXQVOZ.js +12 -0
- package/dist/chunks/resolve-deployment-framework-preset-XF3NJIDS.js +7 -0
- package/dist/chunks/restore-QT3DBGKU.js +16 -0
- package/dist/chunks/rm-MHPIUEZ5.js +8 -0
- package/dist/chunks/rm-MVZFU6RG.js +8 -0
- package/dist/chunks/rm-PXR4J2US.js +8 -0
- package/dist/chunks/rm-WB2AIP3N.js +8 -0
- package/dist/chunks/rm-XRP6MRUT.js +8 -0
- package/dist/chunks/routes-5DERZV5M.js +7 -0
- package/dist/chunks/rule-inspect-TT3DRGCS.js +8 -0
- package/dist/chunks/rules-B5GW4KJH.js +7 -0
- package/dist/chunks/schema-JY5QTZOG.js +14 -0
- package/dist/chunks/schema-KCNKVFT3.js +44 -0
- package/dist/chunks/select-org-KSCYSESV.js +7 -0
- package/dist/chunks/set-7BANEWEL.js +7 -0
- package/dist/chunks/setup-and-link-ZAV3EFGC.js +7 -0
- package/dist/chunks/slugify-O5DBATYT.js +7 -0
- package/dist/chunks/stamp-OX4YO3KY.js +7 -0
- package/dist/chunks/tags-VZR66NUC.js +7 -0
- package/dist/chunks/types-LRXQEDYI.js +14 -0
- package/dist/chunks/update-RBFNNSWE.js +8 -0
- package/dist/chunks/update-route-version-XZAFPQJC.js +7 -0
- package/dist/chunks/utils-B5ZTMQKY.js +58 -0
- package/dist/chunks/vlt-builder-importer-YVCYYRVV.js +11 -0
- package/dist/commands/build/index.js +24 -4918
- package/dist/commands/deploy/index.js +43 -2875
- package/dist/commands/dev/index.js +56 -23857
- package/dist/commands/env/index.js +26 -3411
- package/dist/commands/link/index.js +4 -284
- package/dist/commands/list/index.js +6 -566
- package/dist/commands-bulk.js +1204 -86657
- package/dist/help.js +1 -8
- package/dist/index.js +19 -2591
- package/dist/version.mjs +1 -1
- package/package.json +48 -49
- package/dist/chunks/add-7OX6PBFD.js +0 -145
- package/dist/chunks/add-7RYUFBZ3.js +0 -221
- package/dist/chunks/add-FX5WWUXU.js +0 -196
- package/dist/chunks/build-Q3TR46K4.js +0 -251
- package/dist/chunks/chunk-26CU4Q3C.js +0 -598
- package/dist/chunks/chunk-2GXA4NGG.js +0 -163
- package/dist/chunks/chunk-2HSQ7YUK.js +0 -93
- package/dist/chunks/chunk-2JIX6UMI.js +0 -4626
- package/dist/chunks/chunk-2QFYCMKN.js +0 -3495
- package/dist/chunks/chunk-332LMJLZ.js +0 -16014
- package/dist/chunks/chunk-3FIEWWMM.js +0 -59
- package/dist/chunks/chunk-3HZLXCVL.js +0 -137
- package/dist/chunks/chunk-3VM7HWF6.js +0 -104
- package/dist/chunks/chunk-3ZE5CFVM.js +0 -346
- package/dist/chunks/chunk-4IALDGB7.js +0 -22
- package/dist/chunks/chunk-4KD5BYHB.js +0 -127
- package/dist/chunks/chunk-4TUMNBEE.js +0 -231
- package/dist/chunks/chunk-57RHXXXG.js +0 -150
- package/dist/chunks/chunk-5AJPMLDV.js +0 -28
- package/dist/chunks/chunk-5JDX6XOS.js +0 -1536
- package/dist/chunks/chunk-5NF5HOBJ.js +0 -1854
- package/dist/chunks/chunk-5ORMFNXL.js +0 -13413
- package/dist/chunks/chunk-66LPM47Z.js +0 -137
- package/dist/chunks/chunk-6E6KPBXY.js +0 -43
- package/dist/chunks/chunk-76CB3CF2.js +0 -522
- package/dist/chunks/chunk-7F5RNOTP.js +0 -14059
- package/dist/chunks/chunk-7MRDIPJY.js +0 -107
- package/dist/chunks/chunk-7NRNFV77.js +0 -875
- package/dist/chunks/chunk-7Q45OKWR.js +0 -149
- package/dist/chunks/chunk-AHU7WNL2.js +0 -24
- package/dist/chunks/chunk-AINIBIP4.js +0 -39
- package/dist/chunks/chunk-AKLTIZCU.js +0 -46
- package/dist/chunks/chunk-B5XLQKHI.js +0 -849
- package/dist/chunks/chunk-BEQV3X2L.js +0 -86
- package/dist/chunks/chunk-CJV7J7B5.js +0 -314
- package/dist/chunks/chunk-CV5YC2EN.js +0 -867
- package/dist/chunks/chunk-DQ23J2KG.js +0 -305
- package/dist/chunks/chunk-E336ZXPP.js +0 -43
- package/dist/chunks/chunk-EDMW7SBH.js +0 -246
- package/dist/chunks/chunk-EEV2LKFC.js +0 -58
- package/dist/chunks/chunk-EFYMIIER.js +0 -40
- package/dist/chunks/chunk-EIBH6FCR.js +0 -253
- package/dist/chunks/chunk-EKPSCRJZ.js +0 -26
- package/dist/chunks/chunk-EOZFDJSY.js +0 -18
- package/dist/chunks/chunk-EZKW5YJ2.js +0 -177
- package/dist/chunks/chunk-F4S6Q4OY.js +0 -79
- package/dist/chunks/chunk-FGDKMNEN.js +0 -21
- package/dist/chunks/chunk-FRVG4OW3.js +0 -7438
- package/dist/chunks/chunk-G5FBSUL4.js +0 -822
- package/dist/chunks/chunk-GDOUDU6O.js +0 -74
- package/dist/chunks/chunk-GGP5R3FU.js +0 -129
- package/dist/chunks/chunk-GQRG7VFK.js +0 -257
- package/dist/chunks/chunk-GVNCVKCI.js +0 -68
- package/dist/chunks/chunk-GY5I4AYD.js +0 -122
- package/dist/chunks/chunk-GZLPFESR.js +0 -48
- package/dist/chunks/chunk-HB4UKFDO.js +0 -1295
- package/dist/chunks/chunk-HD4DR3DA.js +0 -818
- package/dist/chunks/chunk-HKHXKSXQ.js +0 -152
- package/dist/chunks/chunk-HM24ZWQL.js +0 -174
- package/dist/chunks/chunk-HRXRELD3.js +0 -338
- package/dist/chunks/chunk-IB5L4LKZ.js +0 -1082
- package/dist/chunks/chunk-IIMSID24.js +0 -104
- package/dist/chunks/chunk-IK6PC2JA.js +0 -1288
- package/dist/chunks/chunk-IUC3TR3S.js +0 -92
- package/dist/chunks/chunk-JIK2FUMT.js +0 -1892
- package/dist/chunks/chunk-JSD4EZL3.js +0 -34
- package/dist/chunks/chunk-K3RED3VO.js +0 -566
- package/dist/chunks/chunk-KFWQ3EFH.js +0 -151
- package/dist/chunks/chunk-KU2WCB6G.js +0 -1708
- package/dist/chunks/chunk-KW7BS25T.js +0 -466
- package/dist/chunks/chunk-KXDWXXJH.js +0 -70
- package/dist/chunks/chunk-KXTXGYG7.js +0 -577
- package/dist/chunks/chunk-L4H3DP65.js +0 -417
- package/dist/chunks/chunk-LE5V7G2U.js +0 -559
- package/dist/chunks/chunk-LVCCV2YJ.js +0 -324
- package/dist/chunks/chunk-MUGF3SGQ.js +0 -49
- package/dist/chunks/chunk-N6HP5BLI.js +0 -18190
- package/dist/chunks/chunk-ND5CF2H3.js +0 -53
- package/dist/chunks/chunk-NFU4XJIR.js +0 -120
- package/dist/chunks/chunk-NSGRICJ2.js +0 -506
- package/dist/chunks/chunk-NW34PW6V.js +0 -1772
- package/dist/chunks/chunk-OAMU5QO6.js +0 -18
- package/dist/chunks/chunk-P3SKP5WM.js +0 -27
- package/dist/chunks/chunk-P4QNYOFB.js +0 -96
- package/dist/chunks/chunk-P7VSBDR4.js +0 -827
- package/dist/chunks/chunk-PEC3CQSK.js +0 -90
- package/dist/chunks/chunk-PMSMUMUO.js +0 -30
- package/dist/chunks/chunk-PNGVSHR3.js +0 -40
- package/dist/chunks/chunk-POOO7W47.js +0 -916
- package/dist/chunks/chunk-PRWJUY5U.js +0 -848
- package/dist/chunks/chunk-Q2DGFCO7.js +0 -579
- package/dist/chunks/chunk-QRFRS2JH.js +0 -242
- package/dist/chunks/chunk-QSJ6Q5QP.js +0 -255
- package/dist/chunks/chunk-RBIFXFZX.js +0 -52
- package/dist/chunks/chunk-RN6V5ODW.js +0 -114
- package/dist/chunks/chunk-RVBZ64EQ.js +0 -52
- package/dist/chunks/chunk-S3HYE6ZE.js +0 -61
- package/dist/chunks/chunk-S7KYDPEM.js +0 -1564
- package/dist/chunks/chunk-SLPSPYVR.js +0 -334
- package/dist/chunks/chunk-SPRQ4IBQ.js +0 -11441
- package/dist/chunks/chunk-T3NB7VQG.js +0 -2399
- package/dist/chunks/chunk-TLPHZ7M4.js +0 -81
- package/dist/chunks/chunk-TO7QZGYK.js +0 -105
- package/dist/chunks/chunk-TOXZAP5I.js +0 -90
- package/dist/chunks/chunk-TZ2YI2VH.js +0 -87
- package/dist/chunks/chunk-U4ZLWJQD.js +0 -2914
- package/dist/chunks/chunk-UG2WOB5L.js +0 -150
- package/dist/chunks/chunk-UXKNSAP2.js +0 -233
- package/dist/chunks/chunk-V4RMJKQP.js +0 -36
- package/dist/chunks/chunk-VGIMO3ZK.js +0 -17
- package/dist/chunks/chunk-VP5Y3SZG.js +0 -106
- package/dist/chunks/chunk-VUS2JQB2.js +0 -121
- package/dist/chunks/chunk-VXYGCOKL.js +0 -28
- package/dist/chunks/chunk-WGGABYO5.js +0 -31
- package/dist/chunks/chunk-XDGOOW3K.js +0 -60
- package/dist/chunks/chunk-XEVKGAVI.js +0 -2099
- package/dist/chunks/chunk-XFF5TGRA.js +0 -303
- package/dist/chunks/chunk-XNIZGCN5.js +0 -58
- package/dist/chunks/chunk-XPJLPUKO.js +0 -117
- package/dist/chunks/chunk-XUAWTW4W.js +0 -467
- package/dist/chunks/chunk-YPQSDAEW.js +0 -29
- package/dist/chunks/chunk-YS76T533.js +0 -270
- package/dist/chunks/chunk-Z6YZMXVN.js +0 -233
- package/dist/chunks/chunk-ZDU2NODC.js +0 -104
- package/dist/chunks/chunk-ZW6HETRE.js +0 -97
- package/dist/chunks/cjs-DV4RM7XU.js +0 -20743
- package/dist/chunks/clear-GIAFWC5X.js +0 -141
- package/dist/chunks/compile-vercel-config-QJGEQKK4.js +0 -33
- package/dist/chunks/config-AOA2HS4R.js +0 -168
- package/dist/chunks/config-HYBSW733.js +0 -127
- package/dist/chunks/delete-BBFI75A2.js +0 -226
- package/dist/chunks/delete-DJ7RI2NX.js +0 -159
- package/dist/chunks/detect-projects-ODNU4PK2.js +0 -18
- package/dist/chunks/detect-services-Q2DVXVMH.js +0 -40
- package/dist/chunks/disable-P7X2V5LS.js +0 -198
- package/dist/chunks/discard-JNQBH4XU.js +0 -145
- package/dist/chunks/edit-AXQEMBQC.js +0 -162
- package/dist/chunks/edit-BO3GXEKA.js +0 -647
- package/dist/chunks/enable-NC4BN7EQ.js +0 -204
- package/dist/chunks/exec-4IPHZ55G.js +0 -1291
- package/dist/chunks/export-HQ42UNYD.js +0 -177
- package/dist/chunks/fetch-proxy-R3JZNXBZ.js +0 -99
- package/dist/chunks/image-UM4FQYOA.js +0 -75
- package/dist/chunks/import-builders-F6SWNCHK.js +0 -39
- package/dist/chunks/inspect-EXEA57MP.js +0 -145
- package/dist/chunks/inspect-H3M3XJNB.js +0 -596
- package/dist/chunks/inspect-MTNQOLNM.js +0 -175
- package/dist/chunks/inspect-PYFF2K4X.js +0 -171
- package/dist/chunks/inspect-XF324IQ2.js +0 -216
- package/dist/chunks/list-4JHZJUBS.js +0 -426
- package/dist/chunks/list-YEN54SGY.js +0 -387
- package/dist/chunks/list-ZKD2O4D2.js +0 -404
- package/dist/chunks/login-56KGZQI2.js +0 -233
- package/dist/chunks/ls-ELYVF6EU.js +0 -223
- package/dist/chunks/ls-HZEMZY2R.js +0 -188
- package/dist/chunks/ls-IJW74NG3.js +0 -175
- package/dist/chunks/ls-OAGYLILX.js +0 -210
- package/dist/chunks/ls-QNTHMTIH.js +0 -183
- package/dist/chunks/ls-WW5UFH5B.js +0 -204
- package/dist/chunks/open-D2E5TEKN.js +0 -116
- package/dist/chunks/permissions-CFUXWXSK.js +0 -99
- package/dist/chunks/publish-BP4IUYNM.js +0 -155
- package/dist/chunks/pull-DL72B6RW.js +0 -45
- package/dist/chunks/push-6YCS4YQW.js +0 -191
- package/dist/chunks/query-7N3YB4LE.js +0 -725
- package/dist/chunks/reorder-YJN36TPT.js +0 -412
- package/dist/chunks/reply-3U3O7LNG.js +0 -176
- package/dist/chunks/resolve-TT75WCWT.js +0 -237
- package/dist/chunks/resolve-deployment-framework-preset-NPE6RLV3.js +0 -36
- package/dist/chunks/restore-6UF6W23A.js +0 -252
- package/dist/chunks/rm-3QIDFPVA.js +0 -162
- package/dist/chunks/rm-6MJ7ZPXQ.js +0 -148
- package/dist/chunks/rm-JZRS2NBH.js +0 -147
- package/dist/chunks/rm-KI4W2HYP.js +0 -322
- package/dist/chunks/rm-QCQXVB54.js +0 -195
- package/dist/chunks/routes-QVMBXOSX.js +0 -24
- package/dist/chunks/rule-inspect-PX73J52Q.js +0 -123
- package/dist/chunks/rules-Q334NBUC.js +0 -89
- package/dist/chunks/schema-GRTOHAZO.js +0 -381
- package/dist/chunks/schema-YV3XYL3A.js +0 -237
- package/dist/chunks/set-J3AQKL6V.js +0 -250
- package/dist/chunks/setup-and-link-R5N7WJ46.js +0 -65
- package/dist/chunks/stamp-AA7R3MZS.js +0 -16
- package/dist/chunks/tags-2VLJ4VIH.js +0 -69
- package/dist/chunks/types-4GAJ7XQQ.js +0 -116
- package/dist/chunks/update-VMS45VF2.js +0 -224
- package/dist/chunks/vlt-builder-importer-USCFHWPL.js +0 -322
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
getEnvTargetPlaceholder
|
|
9
|
-
} from "./chunk-XUAWTW4W.js";
|
|
10
|
-
import {
|
|
11
|
-
packageName,
|
|
12
|
-
projectOption,
|
|
13
|
-
yesOption
|
|
14
|
-
} from "./chunk-Q2DGFCO7.js";
|
|
15
|
-
|
|
16
|
-
// src/commands/build/command.ts
|
|
17
|
-
var buildCommand = {
|
|
18
|
-
name: "build",
|
|
19
|
-
aliases: [],
|
|
20
|
-
description: "Build the project.",
|
|
21
|
-
arguments: [],
|
|
22
|
-
options: [
|
|
23
|
-
{
|
|
24
|
-
name: "prod",
|
|
25
|
-
description: "Build a production deployment",
|
|
26
|
-
shorthand: null,
|
|
27
|
-
type: Boolean,
|
|
28
|
-
deprecated: false
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: "target",
|
|
32
|
-
shorthand: null,
|
|
33
|
-
type: String,
|
|
34
|
-
argument: "TARGET",
|
|
35
|
-
deprecated: false,
|
|
36
|
-
description: "Specify the target environment"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
name: "output",
|
|
40
|
-
description: "Directory where built assets will be written to",
|
|
41
|
-
shorthand: null,
|
|
42
|
-
argument: "DIR",
|
|
43
|
-
type: String,
|
|
44
|
-
deprecated: false
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
...yesOption,
|
|
48
|
-
description: "Skip the confirmation prompt about pulling environment variables and project settings when not found locally"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "standalone",
|
|
52
|
-
description: "Create a standalone build with all dependencies inlined into function output folders",
|
|
53
|
-
shorthand: null,
|
|
54
|
-
type: Boolean,
|
|
55
|
-
deprecated: false
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: "id",
|
|
59
|
-
description: "Deployment ID to pull environment variables from (e.g. dpl_xxx)",
|
|
60
|
-
shorthand: null,
|
|
61
|
-
type: String,
|
|
62
|
-
argument: "ID",
|
|
63
|
-
deprecated: false
|
|
64
|
-
},
|
|
65
|
-
projectOption
|
|
66
|
-
],
|
|
67
|
-
examples: [
|
|
68
|
-
{
|
|
69
|
-
name: "Build the project",
|
|
70
|
-
value: `${packageName} build`
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
name: "Build the project in a specific directory",
|
|
74
|
-
value: `${packageName} build --cwd ./path-to-project`
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
name: "Build with deployment-scoped environment variables",
|
|
78
|
-
value: `${packageName} build --id dpl_xxx`
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
// src/commands/pull/command.ts
|
|
84
|
-
var pullCommand = {
|
|
85
|
-
name: "pull",
|
|
86
|
-
aliases: [],
|
|
87
|
-
description: "Pull latest environment variables and project settings from Vercel. ",
|
|
88
|
-
arguments: [
|
|
89
|
-
{
|
|
90
|
-
name: "project-path",
|
|
91
|
-
required: false
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
options: [
|
|
95
|
-
{
|
|
96
|
-
name: "environment",
|
|
97
|
-
description: "Deployment environment [development]",
|
|
98
|
-
argument: "TARGET",
|
|
99
|
-
shorthand: null,
|
|
100
|
-
type: String,
|
|
101
|
-
deprecated: false
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: "git-branch",
|
|
105
|
-
description: "Specify the Git branch to pull specific Environment Variables for",
|
|
106
|
-
argument: "NAME",
|
|
107
|
-
shorthand: null,
|
|
108
|
-
type: String,
|
|
109
|
-
deprecated: false
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
name: "prod",
|
|
113
|
-
shorthand: null,
|
|
114
|
-
type: Boolean,
|
|
115
|
-
deprecated: false
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
...yesOption,
|
|
119
|
-
description: "Skip questions when setting up new project using default scope and settings"
|
|
120
|
-
},
|
|
121
|
-
projectOption
|
|
122
|
-
],
|
|
123
|
-
examples: [
|
|
124
|
-
{
|
|
125
|
-
name: "Pull the latest Environment Variables and Project Settings from the cloud",
|
|
126
|
-
value: `${packageName} pull`
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
name: "Pull the latest Environment Variables and Project Settings from the cloud targeting a directory",
|
|
130
|
-
value: `${packageName} pull ./path-to-project`
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
name: "Pull for a specific environment",
|
|
134
|
-
value: `${packageName} pull --environment=${getEnvTargetPlaceholder()}`
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
name: "Pull for a preview feature branch",
|
|
138
|
-
value: `${packageName} pull --environment=preview --git-branch=feature-branch`
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
name: "If you want to download environment variables to a specific file, use `vercel env pull` instead",
|
|
142
|
-
value: `${packageName} env pull`
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
export {
|
|
148
|
-
buildCommand,
|
|
149
|
-
pullCommand
|
|
150
|
-
};
|
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
isNativeBinaryInstall
|
|
9
|
-
} from "./chunk-4IALDGB7.js";
|
|
10
|
-
import {
|
|
11
|
-
require_lib
|
|
12
|
-
} from "./chunk-7F5RNOTP.js";
|
|
13
|
-
import {
|
|
14
|
-
packageName
|
|
15
|
-
} from "./chunk-Q2DGFCO7.js";
|
|
16
|
-
import {
|
|
17
|
-
__toESM
|
|
18
|
-
} from "./chunk-TZ2YI2VH.js";
|
|
19
|
-
|
|
20
|
-
// src/util/get-update-command.ts
|
|
21
|
-
var import_fs_extra = __toESM(require_lib(), 1);
|
|
22
|
-
import { sep, dirname, join, resolve } from "path";
|
|
23
|
-
import { execFile } from "child_process";
|
|
24
|
-
import { promisify } from "util";
|
|
25
|
-
import { scanParentDirs } from "@vercel/build-utils";
|
|
26
|
-
var nativePackageName = "@vercel/vc-native";
|
|
27
|
-
var execFileAsync = promisify(execFile);
|
|
28
|
-
var globalRootQueries = {
|
|
29
|
-
npm: { args: ["root", "-g"], packageDir: (root, pkg) => join(root, pkg) },
|
|
30
|
-
pnpm: { args: ["root", "-g"], packageDir: (root, pkg) => join(root, pkg) },
|
|
31
|
-
yarn: {
|
|
32
|
-
args: ["global", "dir"],
|
|
33
|
-
packageDir: (root, pkg) => join(root, "node_modules", pkg)
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
async function getPackageManagerGlobalRoot(cliType) {
|
|
37
|
-
try {
|
|
38
|
-
const { stdout } = await execFileAsync(
|
|
39
|
-
cliType,
|
|
40
|
-
globalRootQueries[cliType].args,
|
|
41
|
-
{
|
|
42
|
-
encoding: "utf8",
|
|
43
|
-
windowsHide: true
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
const root = stdout.trim();
|
|
47
|
-
return root || null;
|
|
48
|
-
} catch (_) {
|
|
49
|
-
return null;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
async function detectGlobalCliType(installPath, pkg) {
|
|
53
|
-
for (const cliType of Object.keys(globalRootQueries)) {
|
|
54
|
-
const root = await getPackageManagerGlobalRoot(cliType);
|
|
55
|
-
if (!root) {
|
|
56
|
-
continue;
|
|
57
|
-
}
|
|
58
|
-
let resolvedPackageDir;
|
|
59
|
-
try {
|
|
60
|
-
resolvedPackageDir = await (0, import_fs_extra.realpath)(
|
|
61
|
-
globalRootQueries[cliType].packageDir(root, pkg)
|
|
62
|
-
);
|
|
63
|
-
} catch (_) {
|
|
64
|
-
continue;
|
|
65
|
-
}
|
|
66
|
-
if (installPath === resolvedPackageDir || installPath.startsWith(resolvedPackageDir + sep)) {
|
|
67
|
-
return cliType;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
async function getConfigPrefix() {
|
|
73
|
-
const paths = [
|
|
74
|
-
process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG,
|
|
75
|
-
join(process.env.HOME || "/", ".npmrc"),
|
|
76
|
-
process.env.npm_config_globalconfig || process.env.NPM_CONFIG_GLOBALCONFIG
|
|
77
|
-
].filter(Boolean);
|
|
78
|
-
for (const configPath of paths) {
|
|
79
|
-
if (!configPath) {
|
|
80
|
-
continue;
|
|
81
|
-
}
|
|
82
|
-
const content = await (0, import_fs_extra.readFile)(configPath).then((buffer) => buffer.toString()).catch(() => null);
|
|
83
|
-
if (content) {
|
|
84
|
-
const [prefix] = content.split("\n").map((line) => line && line.trim()).filter((line) => line && line.startsWith("prefix")).map((line) => line.slice(line.indexOf("=") + 1).trim());
|
|
85
|
-
if (prefix) {
|
|
86
|
-
return prefix;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
return null;
|
|
91
|
-
}
|
|
92
|
-
async function isPnpmHomeInstall(installPath) {
|
|
93
|
-
const pnpmHome = process.env.PNPM_HOME;
|
|
94
|
-
if (!pnpmHome) {
|
|
95
|
-
return false;
|
|
96
|
-
}
|
|
97
|
-
const candidates = [pnpmHome];
|
|
98
|
-
try {
|
|
99
|
-
candidates.push(await (0, import_fs_extra.realpath)(pnpmHome));
|
|
100
|
-
} catch (_) {
|
|
101
|
-
}
|
|
102
|
-
const entrypoint = process.argv[1];
|
|
103
|
-
for (const home of candidates) {
|
|
104
|
-
const prefix = home.endsWith(sep) ? home : home + sep;
|
|
105
|
-
if (entrypoint?.startsWith(prefix) || installPath.startsWith(prefix)) {
|
|
106
|
-
return true;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
return false;
|
|
110
|
-
}
|
|
111
|
-
function isGlobalByPath(installPath) {
|
|
112
|
-
if (dirname(process.argv[0]) === dirname(process.argv[1])) {
|
|
113
|
-
return true;
|
|
114
|
-
}
|
|
115
|
-
if (installPath.includes(["", "yarn", "global", "node_modules", ""].join(sep))) {
|
|
116
|
-
return true;
|
|
117
|
-
}
|
|
118
|
-
if (installPath.includes(["", "pnpm", "global", ""].join(sep))) {
|
|
119
|
-
return true;
|
|
120
|
-
}
|
|
121
|
-
if (installPath.includes(["", "pnpm", "store", ""].join(sep)) && installPath.includes(sep + "links" + sep)) {
|
|
122
|
-
return true;
|
|
123
|
-
}
|
|
124
|
-
if (installPath.includes(["", "fnm", "node-versions", ""].join(sep))) {
|
|
125
|
-
return true;
|
|
126
|
-
}
|
|
127
|
-
return false;
|
|
128
|
-
}
|
|
129
|
-
async function isGlobalByPrefix(installPath) {
|
|
130
|
-
const isWindows = process.platform === "win32";
|
|
131
|
-
const defaultPath = isWindows ? process.env.APPDATA : "/usr/local/lib";
|
|
132
|
-
const prefixPath = process.env.PREFIX || process.env.npm_config_prefix || process.env.NPM_CONFIG_PREFIX || await getConfigPrefix() || defaultPath;
|
|
133
|
-
if (!prefixPath) {
|
|
134
|
-
return true;
|
|
135
|
-
}
|
|
136
|
-
try {
|
|
137
|
-
return installPath.startsWith(await (0, import_fs_extra.realpath)(prefixPath));
|
|
138
|
-
} catch (_) {
|
|
139
|
-
return true;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
function asPackageManager(cliType) {
|
|
143
|
-
if (cliType === "npm" || cliType === "pnpm" || cliType === "yarn" || cliType === "bun" || cliType === "vlt") {
|
|
144
|
-
return cliType;
|
|
145
|
-
}
|
|
146
|
-
return "npm";
|
|
147
|
-
}
|
|
148
|
-
async function resolveInstall() {
|
|
149
|
-
const pkg = isNativeBinaryInstall() ? nativePackageName : packageName;
|
|
150
|
-
const installPath = await (0, import_fs_extra.realpath)(resolve(__dirname));
|
|
151
|
-
if (await isPnpmHomeInstall(installPath)) {
|
|
152
|
-
return { packageManager: "pnpm", global: true, assumed: false };
|
|
153
|
-
}
|
|
154
|
-
const globalCliType = await detectGlobalCliType(installPath, pkg);
|
|
155
|
-
if (globalCliType) {
|
|
156
|
-
return { packageManager: globalCliType, global: true, assumed: false };
|
|
157
|
-
}
|
|
158
|
-
let lockfileCliType;
|
|
159
|
-
try {
|
|
160
|
-
const entrypoint = await (0, import_fs_extra.realpath)(process.argv[1]);
|
|
161
|
-
const { cliType, lockfilePath } = await scanParentDirs(
|
|
162
|
-
dirname(dirname(entrypoint))
|
|
163
|
-
);
|
|
164
|
-
if (lockfilePath) {
|
|
165
|
-
lockfileCliType = cliType;
|
|
166
|
-
}
|
|
167
|
-
} catch (_) {
|
|
168
|
-
}
|
|
169
|
-
if (!lockfileCliType) {
|
|
170
|
-
return { packageManager: "npm", global: true, assumed: true };
|
|
171
|
-
}
|
|
172
|
-
const packageManager = asPackageManager(lockfileCliType);
|
|
173
|
-
return {
|
|
174
|
-
packageManager,
|
|
175
|
-
global: isGlobalByPath(installPath) || await isGlobalByPrefix(installPath),
|
|
176
|
-
assumed: packageManager !== lockfileCliType
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
async function isGlobal() {
|
|
180
|
-
try {
|
|
181
|
-
return (await resolveInstall()).global;
|
|
182
|
-
} catch (_) {
|
|
183
|
-
return true;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
async function getUpdateCommandInfo() {
|
|
187
|
-
const nativeInstall = isNativeBinaryInstall();
|
|
188
|
-
const pkgAndVersion = `${nativeInstall ? nativePackageName : packageName}@latest`;
|
|
189
|
-
if (nativeInstall) {
|
|
190
|
-
const segments = process.execPath.split(sep);
|
|
191
|
-
let packageManager2 = "npm";
|
|
192
|
-
if (segments.includes("pnpm") || segments.includes(".pnpm")) {
|
|
193
|
-
packageManager2 = "pnpm";
|
|
194
|
-
} else if (segments.includes("yarn") || segments.includes(".yarn")) {
|
|
195
|
-
packageManager2 = "yarn";
|
|
196
|
-
}
|
|
197
|
-
const install2 = packageManager2 === "yarn" ? "global add" : "i -g";
|
|
198
|
-
const force = packageManager2 === "npm" ? " --force" : "";
|
|
199
|
-
const allowBuild2 = pnpmAllowBuildFlag(packageManager2, nativePackageName);
|
|
200
|
-
return {
|
|
201
|
-
command: `${packageManager2} ${install2} ${pkgAndVersion}${force}${allowBuild2}`,
|
|
202
|
-
global: true,
|
|
203
|
-
packageManager: packageManager2,
|
|
204
|
-
// Native path detection only positively identifies pnpm/yarn.
|
|
205
|
-
assumed: packageManager2 === "npm"
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
const { packageManager, global, assumed } = await resolveInstall();
|
|
209
|
-
const yarn = packageManager === "yarn";
|
|
210
|
-
let install = yarn ? "add" : "i";
|
|
211
|
-
if (global) {
|
|
212
|
-
install = yarn ? "global add" : "i -g";
|
|
213
|
-
}
|
|
214
|
-
const allowBuild = global ? pnpmAllowBuildFlag(packageManager, "esbuild") : "";
|
|
215
|
-
return {
|
|
216
|
-
command: `${packageManager} ${install} ${pkgAndVersion}${allowBuild}`,
|
|
217
|
-
global,
|
|
218
|
-
packageManager,
|
|
219
|
-
assumed
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
function pnpmAllowBuildFlag(cliType, pkg) {
|
|
223
|
-
return cliType === "pnpm" ? ` --allow-build=${pkg}` : "";
|
|
224
|
-
}
|
|
225
|
-
async function getUpdateCommand() {
|
|
226
|
-
return (await getUpdateCommandInfo()).command;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export {
|
|
230
|
-
isGlobal,
|
|
231
|
-
getUpdateCommandInfo,
|
|
232
|
-
getUpdateCommand
|
|
233
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
|
|
8
|
-
// src/util/input/prompt-cancellation.ts
|
|
9
|
-
var PromptCanceledError = class extends Error {
|
|
10
|
-
constructor() {
|
|
11
|
-
super("Prompt canceled");
|
|
12
|
-
this.name = "PromptCanceledError";
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
var PromptBackError = class extends Error {
|
|
16
|
-
constructor() {
|
|
17
|
-
super("Prompt back");
|
|
18
|
-
this.name = "PromptBackError";
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
function isPromptBackError(error) {
|
|
22
|
-
return error instanceof PromptBackError;
|
|
23
|
-
}
|
|
24
|
-
function isPromptCanceledError(error) {
|
|
25
|
-
if (error instanceof PromptCanceledError) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
return error instanceof Error && error.message.includes("User force closed the prompt");
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
PromptCanceledError,
|
|
33
|
-
PromptBackError,
|
|
34
|
-
isPromptBackError,
|
|
35
|
-
isPromptCanceledError
|
|
36
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
|
|
8
|
-
// src/util/get-invalid-subcommand.ts
|
|
9
|
-
function getInvalidSubcommand(config) {
|
|
10
|
-
return `Please specify a valid subcommand: ${Object.keys(config).join(
|
|
11
|
-
" | "
|
|
12
|
-
)}`;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
getInvalidSubcommand
|
|
17
|
-
};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
allOption,
|
|
9
|
-
confirmOption,
|
|
10
|
-
formatOption,
|
|
11
|
-
jsonOption,
|
|
12
|
-
limitOption,
|
|
13
|
-
nextOption,
|
|
14
|
-
packageName,
|
|
15
|
-
yesOption
|
|
16
|
-
} from "./chunk-Q2DGFCO7.js";
|
|
17
|
-
|
|
18
|
-
// src/commands/list/command.ts
|
|
19
|
-
var listCommand = {
|
|
20
|
-
name: "list",
|
|
21
|
-
aliases: ["ls"],
|
|
22
|
-
description: "List deployments.",
|
|
23
|
-
arguments: [
|
|
24
|
-
{
|
|
25
|
-
name: "app",
|
|
26
|
-
required: false
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
options: [
|
|
30
|
-
allOption,
|
|
31
|
-
{
|
|
32
|
-
name: "meta",
|
|
33
|
-
description: "Filter deployments by metadata (e.g.: `-m KEY=value`). Can appear many times.",
|
|
34
|
-
argument: "KEY=VALUE",
|
|
35
|
-
shorthand: "m",
|
|
36
|
-
type: [String],
|
|
37
|
-
deprecated: false
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
name: "policy",
|
|
41
|
-
description: "See deployments with provided Deployment Retention policies (e.g.: `-p KEY=value`). Can appear many times.",
|
|
42
|
-
argument: "KEY=VALUE",
|
|
43
|
-
shorthand: "p",
|
|
44
|
-
type: [String],
|
|
45
|
-
deprecated: false
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: "environment",
|
|
49
|
-
description: "",
|
|
50
|
-
argument: "TARGET",
|
|
51
|
-
shorthand: null,
|
|
52
|
-
type: String,
|
|
53
|
-
deprecated: false
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
name: "status",
|
|
57
|
-
description: "Filter deployments by their status. Can be comma-separated for multiple statuses (e.g.: `--status BUILDING,READY`)",
|
|
58
|
-
argument: "STATUS",
|
|
59
|
-
shorthand: "s",
|
|
60
|
-
type: String,
|
|
61
|
-
deprecated: false
|
|
62
|
-
},
|
|
63
|
-
nextOption,
|
|
64
|
-
limitOption,
|
|
65
|
-
// this can be deprecated someday
|
|
66
|
-
{ name: "prod", shorthand: null, type: Boolean, deprecated: false },
|
|
67
|
-
yesOption,
|
|
68
|
-
confirmOption,
|
|
69
|
-
formatOption,
|
|
70
|
-
jsonOption
|
|
71
|
-
],
|
|
72
|
-
examples: [
|
|
73
|
-
{
|
|
74
|
-
name: "List all deployments for the currently linked project",
|
|
75
|
-
value: `${packageName} list`
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: "List all deployments across all projects",
|
|
79
|
-
value: `${packageName} list --all`
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: "List all deployments for the project `my-app`",
|
|
83
|
-
value: `${packageName} list my-app`
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
name: "Filter deployments by metadata",
|
|
87
|
-
value: `${packageName} list -m key1=value1 -m key2=value2`
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: "Paginate deployments for a project, where `1584722256178` is the time in milliseconds since the UNIX epoch",
|
|
91
|
-
value: `${packageName} list my-app --next 1584722256178`
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: "Filter deployments by status",
|
|
95
|
-
value: `${packageName} list --status READY`
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
name: "Filter deployments by multiple statuses",
|
|
99
|
-
value: `${packageName} list --status BUILDING,ERROR`
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
export {
|
|
105
|
-
listCommand
|
|
106
|
-
};
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
|
|
8
|
-
// src/util/agent-output-constants.ts
|
|
9
|
-
var AGENT_STATUS = {
|
|
10
|
-
ERROR: "error",
|
|
11
|
-
ACTION_REQUIRED: "action_required",
|
|
12
|
-
OK: "ok"
|
|
13
|
-
};
|
|
14
|
-
var AGENT_REASON = {
|
|
15
|
-
// Common (use across dns, flags, routes, env, domains, link)
|
|
16
|
-
MISSING_ARGUMENTS: "missing_arguments",
|
|
17
|
-
INVALID_ARGUMENTS: "invalid_arguments",
|
|
18
|
-
CONFIRMATION_REQUIRED: "confirmation_required",
|
|
19
|
-
INTERACTIVE_CONFIRMATION_REQUIRED: "interactive_confirmation_required",
|
|
20
|
-
LOGIN_REQUIRED: "login_required",
|
|
21
|
-
PROJECT_SETTINGS_REQUIRED: "project_settings_required",
|
|
22
|
-
NOT_LINKED: "not_linked",
|
|
23
|
-
NOT_FOUND: "not_found",
|
|
24
|
-
PROJECT_NOT_FOUND: "project_not_found",
|
|
25
|
-
MISSING_SCOPE: "missing_scope",
|
|
26
|
-
SCOPE_NOT_ACCESSIBLE: "scope_not_accessible",
|
|
27
|
-
API_ERROR: "api_error",
|
|
28
|
-
// Flags
|
|
29
|
-
SEGMENT_IN_USE: "segment_in_use",
|
|
30
|
-
// Env
|
|
31
|
-
MISSING_REQUIREMENTS: "missing_requirements",
|
|
32
|
-
MISSING_NAME: "missing_name",
|
|
33
|
-
MISSING_VALUE: "missing_value",
|
|
34
|
-
MISSING_ENVIRONMENT: "missing_environment",
|
|
35
|
-
ENV_NOT_FOUND: "env_not_found",
|
|
36
|
-
MULTIPLE_ENVS: "multiple_envs",
|
|
37
|
-
ENV_FILE_EXISTS: "env_file_exists",
|
|
38
|
-
GIT_BRANCH_REQUIRED: "git_branch_required",
|
|
39
|
-
ENV_KEY_SENSITIVE: "env_key_sensitive",
|
|
40
|
-
// Routes
|
|
41
|
-
AMBIGUOUS_ROUTE: "ambiguous_route",
|
|
42
|
-
ROUTE_CREATE_FAILED: "route_create_failed",
|
|
43
|
-
ROUTE_GENERATION_FAILED: "route_generation_failed",
|
|
44
|
-
// DNS
|
|
45
|
-
DOMAIN_NOT_FOUND: "domain_not_found",
|
|
46
|
-
DNS_RECORD_NOT_FOUND: "dns_record_not_found",
|
|
47
|
-
INCOMPLETE_RECORD: "incomplete_record",
|
|
48
|
-
PERMISSION_DENIED: "permission_denied",
|
|
49
|
-
INVALID_PORT: "invalid_port",
|
|
50
|
-
INVALID_DNS_TYPE: "invalid_dns_type",
|
|
51
|
-
DNS_ADD_FAILED: "dns_add_failed",
|
|
52
|
-
INVALID_DOMAIN: "invalid_domain",
|
|
53
|
-
CONFIGURED_CORRECTLY: "configured_correctly",
|
|
54
|
-
VERIFICATION_NEEDED: "verification_needed",
|
|
55
|
-
INVALID_CONFIGURATION: "invalid_configuration",
|
|
56
|
-
DNS_CHANGE_REQUIRED: "dns_change_required",
|
|
57
|
-
DNS_CHANGE_RECOMMENDED: "dns_change_recommended",
|
|
58
|
-
DNSSEC_NEEDS_TO_BE_DISABLED: "dnssec_needs_to_be_disabled",
|
|
59
|
-
PROJECT_ATTACHMENT_RECOMMENDED: "project_attachment_recommended",
|
|
60
|
-
PROJECT_DOMAIN_MISSING: "project_domain_missing",
|
|
61
|
-
/** User must accept marketplace integration terms in the browser before install can continue. */
|
|
62
|
-
INTEGRATION_TERMS_ACCEPTANCE_REQUIRED: "integration_terms_acceptance_required",
|
|
63
|
-
/** Integration uninstall blocked because team-scoped resources still exist. */
|
|
64
|
-
HAS_RESOURCES: "has_resources",
|
|
65
|
-
/** User must claim a sandbox marketplace resource (e.g. Stripe, Shopify) in the browser. */
|
|
66
|
-
INTEGRATION_SANDBOX_CLAIM_REQUIRED: "integration_sandbox_claim_required",
|
|
67
|
-
// Tokens
|
|
68
|
-
CLASSIC_TOKEN_REQUIRED: "classic_token_required",
|
|
69
|
-
/** Classic token lacks full user/account scope (e.g. team- or product-scoped token). */
|
|
70
|
-
TOKEN_USER_SCOPE_REQUIRED: "token_user_scope_required",
|
|
71
|
-
// Webhooks
|
|
72
|
-
MISSING_URL: "missing_url",
|
|
73
|
-
MISSING_EVENTS: "missing_events",
|
|
74
|
-
INVALID_URL: "invalid_url",
|
|
75
|
-
INVALID_EVENT: "invalid_event",
|
|
76
|
-
// AI Gateway
|
|
77
|
-
INVALID_BUDGET: "invalid_budget",
|
|
78
|
-
INVALID_REFRESH_PERIOD: "invalid_refresh_period",
|
|
79
|
-
INVALID_EXPIRATION: "invalid_expiration",
|
|
80
|
-
INVALID_ALERT_THRESHOLDS: "invalid_alert_thresholds",
|
|
81
|
-
/**
|
|
82
|
-
* Every selected agent needs explicit `--agent`/`--all` consent (see the
|
|
83
|
-
* payload's skipped[]). `--yes` does not grant it, so this is deliberately
|
|
84
|
-
* not `confirmation_required` — re-running with --yes would loop forever.
|
|
85
|
-
*/
|
|
86
|
-
REQUIRES_CONSENT: "requires_consent",
|
|
87
|
-
// KMS
|
|
88
|
-
MISSING_ISSUER_ID: "missing_issuer_id",
|
|
89
|
-
MISSING_KEY: "missing_key",
|
|
90
|
-
MISSING_KEY_ID: "missing_key_id",
|
|
91
|
-
MISSING_PROJECT: "missing_project",
|
|
92
|
-
ISSUER_NOT_FOUND: "issuer_not_found",
|
|
93
|
-
/** The issuer is provisioned by another Vercel service and is read-only here. */
|
|
94
|
-
ISSUER_MANAGED: "issuer_managed",
|
|
95
|
-
/** Keys for an imported issuer must be imported too, so `add-key` cannot serve it. */
|
|
96
|
-
ISSUER_REQUIRES_IMPORTED_KEY: "issuer_requires_imported_key",
|
|
97
|
-
/** Vercel generates the keys for this issuer, so `import-key` cannot serve it. */
|
|
98
|
-
ISSUER_REQUIRES_GENERATED_KEY: "issuer_requires_generated_key",
|
|
99
|
-
/** Immediate revocation only applies to a key already scheduled for revocation. */
|
|
100
|
-
KEY_NOT_REVOKING: "key_not_revoking",
|
|
101
|
-
NO_CHANGES_REQUESTED: "no_changes_requested",
|
|
102
|
-
// Redirects
|
|
103
|
-
REDIRECT_NOT_FOUND: "redirect_not_found",
|
|
104
|
-
VERSION_NOT_FOUND: "version_not_found",
|
|
105
|
-
VERSION_ALREADY_LIVE: "version_already_live",
|
|
106
|
-
VERSION_IS_STAGING: "version_is_staging",
|
|
107
|
-
PLAN_UPGRADE_REQUIRED: "plan_upgrade_required",
|
|
108
|
-
NOT_TEAM_MEMBER: "not_team_member",
|
|
109
|
-
INVALID_ROLE_COMBINATION: "invalid_role_combination"
|
|
110
|
-
};
|
|
111
|
-
var AGENT_ACTION = {
|
|
112
|
-
MISSING_ARGUMENTS: "missing_arguments",
|
|
113
|
-
CONFIRMATION_REQUIRED: "confirmation_required",
|
|
114
|
-
LOGIN_REQUIRED: "login_required"
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
export {
|
|
118
|
-
AGENT_STATUS,
|
|
119
|
-
AGENT_REASON,
|
|
120
|
-
AGENT_ACTION
|
|
121
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
require_ms
|
|
9
|
-
} from "./chunk-GGP5R3FU.js";
|
|
10
|
-
import {
|
|
11
|
-
require_source
|
|
12
|
-
} from "./chunk-S7KYDPEM.js";
|
|
13
|
-
import {
|
|
14
|
-
__toESM
|
|
15
|
-
} from "./chunk-TZ2YI2VH.js";
|
|
16
|
-
|
|
17
|
-
// src/util/output/elapsed.ts
|
|
18
|
-
var import_ms = __toESM(require_ms(), 1);
|
|
19
|
-
var import_chalk = __toESM(require_source(), 1);
|
|
20
|
-
function elapsed(time, ago = false) {
|
|
21
|
-
return import_chalk.default.gray(
|
|
22
|
-
`[${time < 1e3 ? `${time}ms` : (0, import_ms.default)(time)}${ago ? " ago" : ""}]`
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export {
|
|
27
|
-
elapsed
|
|
28
|
-
};
|