@depup/vercel 60.1.3-depup.0 → 62.2.0-depup.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/README.md +25 -6
- package/changes.json +85 -9
- package/dist/chunks/{add-IEQXYKXU.js → add-7HJR3HK7.js} +1 -1
- package/dist/chunks/add-Q5OZFIRM.js +8 -0
- package/dist/chunks/add-VLVURKGS.js +8 -0
- package/dist/chunks/{build-Z7KM3GMP.js → build-MR7MUWBQ.js} +1 -1
- package/dist/chunks/chunk-23NBYS6R.js +36 -0
- package/dist/chunks/{chunk-YMVDWVMO.js → chunk-2RQFMCPJ.js} +1 -1
- package/dist/chunks/{chunk-IVWPQYIH.js → chunk-3R66O72V.js} +1 -1
- package/dist/chunks/{chunk-7CTHRXTG.js → chunk-4HXRTNAK.js} +2 -2
- package/dist/chunks/{chunk-KCARCOP5.js → chunk-5VWK73R6.js} +2 -2
- package/dist/chunks/{chunk-H4FTGLWV.js → chunk-6JU3QZ3O.js} +1 -1
- package/dist/chunks/{chunk-JM3BFUXX.js → chunk-743NGLUN.js} +1 -1
- package/dist/chunks/{chunk-UO2ECTIU.js → chunk-7ANQHBBE.js} +1 -1
- package/dist/chunks/chunk-7I23VXBQ.js +7 -0
- package/dist/chunks/{chunk-TTKDYUJD.js → chunk-7IRKF3ZG.js} +5 -5
- package/dist/chunks/{chunk-5ENY7DSN.js → chunk-7JFK53D4.js} +1 -1
- package/dist/chunks/{chunk-R7ZRVA7E.js → chunk-7POWBJDF.js} +7 -5
- package/dist/chunks/chunk-7T4CJ6MJ.js +9 -0
- package/dist/chunks/{chunk-7QVVD3WT.js → chunk-A752WDCH.js} +1 -1
- package/dist/chunks/{chunk-2R6NQXTQ.js → chunk-ACCZWEKL.js} +1 -1
- package/dist/chunks/chunk-ADDXKC3J.js +9 -0
- package/dist/chunks/{chunk-U6AYMUHX.js → chunk-AKPQWZIP.js} +4 -4
- package/dist/chunks/chunk-ALXWJ7XN.js +7 -0
- package/dist/chunks/chunk-B5PFD6Q3.js +7 -0
- package/dist/chunks/{chunk-WSZHNPA6.js → chunk-C3XFIO5L.js} +1 -1
- package/dist/chunks/{chunk-B6PMTBCU.js → chunk-C6ITILVT.js} +2 -2
- package/dist/chunks/{chunk-JSKGZLE4.js → chunk-CQ3RAERR.js} +1 -1
- package/dist/chunks/chunk-CVX5X5RI.js +7 -0
- package/dist/chunks/chunk-D5VTBRWF.js +7 -0
- package/dist/chunks/{chunk-MDZ2JJP3.js → chunk-DECIQZZQ.js} +3 -3
- package/dist/chunks/{chunk-HJ3E752K.js → chunk-E4RLHRDF.js} +2 -2
- package/dist/chunks/chunk-EQHNA4BW.js +7 -0
- package/dist/chunks/{chunk-3HLNS2I4.js → chunk-GASSNHZG.js} +4 -4
- package/dist/chunks/{chunk-YXTE2H6I.js → chunk-HLVUEYOZ.js} +1 -1
- package/dist/chunks/chunk-HVROAV4B.js +9 -0
- package/dist/chunks/{chunk-TAG2AZXS.js → chunk-HYW4A5B3.js} +1 -1
- package/dist/chunks/{chunk-ZXE4XYIV.js → chunk-ILFUNCJZ.js} +1 -1
- package/dist/chunks/{chunk-QLS2XUFL.js → chunk-ILXXXXVQ.js} +1 -1
- package/dist/chunks/chunk-J6OPPI3A.js +63 -0
- package/dist/chunks/{chunk-BHVHQKUZ.js → chunk-JO3XBFR3.js} +1 -1
- package/dist/chunks/{chunk-MEAY2K5Z.js → chunk-JRU6AGXG.js} +1 -1
- package/dist/chunks/{chunk-E3EJLJFQ.js → chunk-JSKSNCK2.js} +1 -1
- package/dist/chunks/{chunk-IS43O66T.js → chunk-K5WTLFS6.js} +1 -1
- package/dist/chunks/{chunk-D2ZPYXZ6.js → chunk-KG5BMLOI.js} +1 -1
- package/dist/chunks/{chunk-QFPCR4NL.js → chunk-KOSM3DYE.js} +1 -1
- package/dist/chunks/{chunk-WH6M54KF.js → chunk-KREBNPHL.js} +3 -3
- package/dist/chunks/{chunk-DV4Z4WSD.js → chunk-L46BHPRD.js} +1 -1
- package/dist/chunks/{chunk-WWB66KP5.js → chunk-LCWCTL6L.js} +1 -1
- package/dist/chunks/{chunk-BEGUGOL7.js → chunk-LCY4SULE.js} +1 -1
- package/dist/chunks/chunk-LHQUNL52.js +7 -0
- package/dist/chunks/{chunk-YXBDDHPL.js → chunk-M7ZGWERO.js} +1 -1
- package/dist/chunks/{chunk-A5VLP25I.js → chunk-MCCL762Q.js} +1 -1
- package/dist/chunks/chunk-MK3CTSDV.js +24 -0
- package/dist/chunks/{chunk-OCWSKPV4.js → chunk-N4PVXHAJ.js} +3 -2
- package/dist/chunks/{chunk-M5Y335WI.js → chunk-N5MNZPPJ.js} +1 -1
- package/dist/chunks/{chunk-3B4P7YHO.js → chunk-N7XPPYQQ.js} +1 -1
- package/dist/chunks/{chunk-N3N5UHIL.js → chunk-NESZV33T.js} +1 -1
- package/dist/chunks/{chunk-JZUVWAOK.js → chunk-NRN65VUM.js} +2 -2
- package/dist/chunks/{chunk-O7G3CZ42.js → chunk-NT67T6DL.js} +1 -1
- package/dist/chunks/chunk-NXTK7VKL.js +7 -0
- package/dist/chunks/{chunk-CN4SCEIP.js → chunk-PADCVJ7G.js} +1 -1
- package/dist/chunks/{chunk-QVAZWF3J.js → chunk-PAI3WRPA.js} +1 -1
- package/dist/chunks/{chunk-RMYQX7NP.js → chunk-PTFKU33G.js} +1 -1
- package/dist/chunks/{chunk-JAJW3P42.js → chunk-PV5YI2ZZ.js} +1 -1
- package/dist/chunks/{chunk-WUZD4KBL.js → chunk-RFWCEREA.js} +1 -1
- package/dist/chunks/{chunk-UTVDFSQS.js → chunk-RVKOPGOI.js} +1 -1
- package/dist/chunks/{chunk-ZKYS7EAB.js → chunk-S2LBGLRE.js} +1 -1
- package/dist/chunks/{chunk-6OI6SRHZ.js → chunk-SDGWKUST.js} +1 -1
- package/dist/chunks/{chunk-WKZ6JSGZ.js → chunk-TKBORMUF.js} +1 -1
- package/dist/chunks/chunk-UOHVKN6N.js +8 -0
- package/dist/chunks/{chunk-3MVT26LH.js → chunk-UWO3M2L2.js} +1 -1
- package/dist/chunks/{chunk-AP36GAOG.js → chunk-VDOJERIW.js} +1 -1
- package/dist/chunks/chunk-VGXFOQ4P.js +8 -0
- package/dist/chunks/{chunk-TTMLSKF7.js → chunk-VTMLKJVQ.js} +1 -1
- package/dist/chunks/{chunk-UFZ4W2PA.js → chunk-VZDY57PJ.js} +1 -1
- package/dist/chunks/{chunk-EQ52F4LH.js → chunk-W7PVS44H.js} +1 -1
- package/dist/chunks/{chunk-Y7PHTVZ6.js → chunk-WN6OXK2F.js} +1 -1
- package/dist/chunks/{chunk-25LSRUTF.js → chunk-WOKSTB3F.js} +1 -1
- package/dist/chunks/{chunk-NR367IWV.js → chunk-WW3VUXRV.js} +1 -1
- package/dist/chunks/{chunk-3RV2B7D3.js → chunk-X47XV2WG.js} +1 -1
- package/dist/chunks/chunk-ZQIUMXCI.js +7 -0
- package/dist/chunks/{chunk-YJZFFNUB.js → chunk-ZUYWATU5.js} +1 -1
- package/dist/chunks/{clear-AZWSIGIF.js → clear-PPE55RPM.js} +1 -1
- package/dist/chunks/{compile-vercel-config-56X2X4Z3.js → compile-vercel-config-2IC23CNT.js} +1 -1
- package/dist/chunks/{config-NGVEJABO.js → config-G2A6KPPM.js} +1 -1
- package/dist/chunks/config-T3WHONFJ.js +7 -0
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{constants-G4UYVLOF.js → constants-NCE2LWSS.js} +1 -1
- package/dist/chunks/{delete-LX44AJYC.js → delete-75SYJKNE.js} +1 -1
- package/dist/chunks/{delete-TA6UVDSJ.js → delete-MHXN5KTO.js} +1 -1
- package/dist/chunks/{detect-projects-LEVGWMQE.js → detect-projects-GJF4VXQI.js} +1 -1
- package/dist/chunks/detect-services-K3363KB7.js +7 -0
- package/dist/chunks/{disable-E7TU3QIX.js → disable-OUYOHEWN.js} +1 -1
- package/dist/chunks/{discard-SVF5HBYG.js → discard-RXSHOY3J.js} +1 -1
- package/dist/chunks/{edit-VCOF42GW.js → edit-Y7OL72ZK.js} +1 -1
- package/dist/chunks/{edit-2RLFRAOJ.js → edit-Z5RCWPOX.js} +1 -1
- package/dist/chunks/{enable-H6RL2XIW.js → enable-HI2UH2NM.js} +1 -1
- package/dist/chunks/{export-JW3FFP7N.js → export-CMP3APAJ.js} +1 -1
- package/dist/chunks/{future-IGDV62BF.js → future-GS7ZLJ3N.js} +1 -1
- package/dist/chunks/{generate-cert-for-deploy-25UQ2477.js → generate-cert-for-deploy-2HHUYGHU.js} +1 -1
- package/dist/chunks/{image-MHAVMOJB.js → image-SQIUEBFK.js} +1 -1
- package/dist/chunks/{import-builders-5UODCCVF.js → import-builders-EUOOFPHW.js} +1 -1
- package/dist/chunks/{inspect-LIGFVYDM.js → inspect-2SXPXNYH.js} +1 -1
- package/dist/chunks/{inspect-43UJHR4K.js → inspect-DYNTJMTQ.js} +1 -1
- package/dist/chunks/{inspect-VETXDYUD.js → inspect-J3F3U3YF.js} +1 -1
- package/dist/chunks/{inspect-HJF2XFBX.js → inspect-KYFVYFWX.js} +1 -1
- package/dist/chunks/{inspect-KBJ7F64J.js → inspect-V7HA2GZ5.js} +1 -1
- package/dist/chunks/{list-EGYYRTG5.js → list-TSDBEAVF.js} +1 -1
- package/dist/chunks/{list-NAABRL7N.js → list-X4MKKDJX.js} +1 -1
- package/dist/chunks/{list-KAGIR3PD.js → list-ZQSOWXRI.js} +1 -1
- package/dist/chunks/{login-X3KPMMEP.js → login-5FMKHZVG.js} +1 -1
- package/dist/chunks/{login-MZ67I5ZB.js → login-YEDMPXUF.js} +1 -1
- package/dist/chunks/{logs-GHHH2DZA.js → logs-X2OIQXGW.js} +1 -1
- package/dist/chunks/{ls-JHJPWFMF.js → ls-4W4KTJ6T.js} +1 -1
- package/dist/chunks/{ls-QXEB3MBD.js → ls-6EDJUUDW.js} +1 -1
- package/dist/chunks/{ls-YA4OQL3F.js → ls-BMAVUMXU.js} +1 -1
- package/dist/chunks/{ls-7JFKEA5P.js → ls-HK45UWBD.js} +1 -1
- package/dist/chunks/{ls-MMA5XS6S.js → ls-LAYBQVU2.js} +1 -1
- package/dist/chunks/{ls-GOLB26ER.js → ls-SQ42O6O5.js} +1 -1
- package/dist/chunks/{ls-UAQ2QDGG.js → ls-XIJ4CY2N.js} +1 -1
- package/dist/chunks/{mutate-AJYMI5UB.js → mutate-6FCOCHSA.js} +1 -1
- package/dist/chunks/{notifications-DKZMDRHS.js → notifications-JTK7ZOLC.js} +1 -1
- package/dist/chunks/{open-L5DJKOV4.js → open-3G4R3VIN.js} +1 -1
- package/dist/chunks/{openapi-7JUPKBWV.js → openapi-W365UPH2.js} +1 -1
- package/dist/chunks/{permissions-BRSVLT6O.js → permissions-IWUBXZBZ.js} +1 -1
- package/dist/chunks/{prompt-missing-credentials-PPUSNDNC.js → prompt-missing-credentials-VDR5HVA2.js} +1 -1
- package/dist/chunks/{publish-PXKC5GXE.js → publish-5QKVU6YV.js} +1 -1
- package/dist/chunks/pull-K4JQEP7N.js +7 -0
- package/dist/chunks/{purchase-domain-if-available-BI7AHJMX.js → purchase-domain-if-available-Q7H2TGKR.js} +1 -1
- package/dist/chunks/{push-G4JYPC5S.js → push-COILRLCW.js} +1 -1
- package/dist/chunks/{query-JGUDFRPJ.js → query-ABPO2REN.js} +2 -2
- package/dist/chunks/{reauthenticate-DIFJZWC5.js → reauthenticate-3H5Q2ZWD.js} +1 -1
- package/dist/chunks/{reorder-VTFBS2DW.js → reorder-FBUQ5ET7.js} +1 -1
- package/dist/chunks/{reply-HXGAMNR6.js → reply-FR5VO7DA.js} +1 -1
- package/dist/chunks/{resolve-IGQSKGRI.js → resolve-JI2ENFS6.js} +1 -1
- package/dist/chunks/{resolve-deployment-framework-preset-XF3NJIDS.js → resolve-deployment-framework-preset-QEPJNWVF.js} +1 -1
- package/dist/chunks/{restore-XKLJMOKB.js → restore-LYY4BSYJ.js} +1 -1
- package/dist/chunks/{rm-3REOGKTJ.js → rm-C2RWWMO3.js} +1 -1
- package/dist/chunks/{rm-SQM4TQOV.js → rm-CYYVIF2U.js} +1 -1
- package/dist/chunks/rm-ETLZ75RJ.js +8 -0
- package/dist/chunks/{rm-C2OYOAJY.js → rm-GHSQEFRG.js} +1 -1
- package/dist/chunks/{rm-DTF2JN5L.js → rm-KHO6RV55.js} +1 -1
- package/dist/chunks/{routes-IPGKJ2E4.js → routes-FOCZWOGO.js} +1 -1
- package/dist/chunks/{rule-inspect-PQUJOWHR.js → rule-inspect-MISYALLU.js} +1 -1
- package/dist/chunks/{rules-IX7WN6XW.js → rules-KAGL6MH3.js} +1 -1
- package/dist/chunks/schema-EKWTCBNR.js +14 -0
- package/dist/chunks/{schema-WFKR7ULE.js → schema-FZVKQRNB.js} +2 -2
- package/dist/chunks/{select-org-6AA7XX6E.js → select-org-37C26F7T.js} +1 -1
- package/dist/chunks/set-5D7C6HMZ.js +7 -0
- package/dist/chunks/setup-and-link-H4P3FZB3.js +7 -0
- package/dist/chunks/{tags-FE4GVQQO.js → tags-DVGQQZNC.js} +1 -1
- package/dist/chunks/{types-UYIFBCCL.js → types-UN5J66MI.js} +1 -1
- package/dist/chunks/{update-27EMACWZ.js → update-QY3ZME4T.js} +1 -1
- package/dist/chunks/{vlt-builder-importer-QEWS6M2P.js → vlt-builder-importer-W63QEXYX.js} +2 -2
- package/dist/commands/build/index.js +1 -1
- package/dist/commands/deploy/index.js +9 -9
- package/dist/commands/dev/index.js +7 -7
- package/dist/commands/env/index.js +1 -1
- package/dist/commands/link/index.js +1 -1
- package/dist/commands/list/index.js +1 -1
- package/dist/commands-bulk.js +753 -700
- package/dist/help.js +1 -1
- package/dist/index.js +4 -3
- package/dist/internal-build-worker.js +2 -2
- package/dist/root-help-commands.mjs +1 -0
- package/dist/vc.js +66 -9
- package/dist/version.mjs +1 -1
- package/package.json +147 -70
- package/dist/chunks/add-5INBQVKB.js +0 -8
- package/dist/chunks/add-QJSYPE26.js +0 -8
- package/dist/chunks/chunk-5U25FWD5.js +0 -8
- package/dist/chunks/chunk-5UOVEMYX.js +0 -7
- package/dist/chunks/chunk-65JYSI26.js +0 -7
- package/dist/chunks/chunk-CVKB54WW.js +0 -7
- package/dist/chunks/chunk-DKV4IVH5.js +0 -7
- package/dist/chunks/chunk-FZKWLGRG.js +0 -7
- package/dist/chunks/chunk-GL7HB5ZK.js +0 -7
- package/dist/chunks/chunk-KK4AJES5.js +0 -36
- package/dist/chunks/chunk-KOOED3TJ.js +0 -9
- package/dist/chunks/chunk-LAYFSD5A.js +0 -7
- package/dist/chunks/chunk-LFQTA3CF.js +0 -7
- package/dist/chunks/chunk-N5AIKGEO.js +0 -9
- package/dist/chunks/chunk-RYZ5FAUA.js +0 -131
- package/dist/chunks/chunk-SW7MNF4H.js +0 -7
- package/dist/chunks/chunk-V54UKUGF.js +0 -7
- package/dist/chunks/chunk-VCB6KNW3.js +0 -24
- package/dist/chunks/config-A53AXEGB.js +0 -7
- package/dist/chunks/detect-services-KO3GQ2ZK.js +0 -7
- package/dist/chunks/pull-ZBELCNJJ.js +0 -7
- package/dist/chunks/rm-DL7NRDLF.js +0 -8
- package/dist/chunks/schema-R2J4TS6Q.js +0 -14
- package/dist/chunks/set-763MJP2G.js +0 -7
- package/dist/chunks/setup-and-link-57NI3GOM.js +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/vercel",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "62.2.0-depup.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,67 +21,67 @@
|
|
|
21
21
|
"README.md"
|
|
22
22
|
],
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">= 20"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@vercel/blob": "2.8.0",
|
|
28
|
-
"@vercel/fun": "
|
|
29
|
-
"@vercel/prepare-flags-definitions": "^0.
|
|
28
|
+
"@vercel/fun": "1.3.6",
|
|
29
|
+
"@vercel/prepare-flags-definitions": "^0.5.0",
|
|
30
30
|
"chokidar": "^5.0.0",
|
|
31
31
|
"esbuild": "^0.28.2",
|
|
32
32
|
"jose": "^6.2.12",
|
|
33
33
|
"jsonc-parser": "3.3.1",
|
|
34
34
|
"luxon": "^3.7.2",
|
|
35
|
-
"sandbox": "^4.
|
|
35
|
+
"sandbox": "^4.6.0",
|
|
36
36
|
"smol-toml": "^1.9.0",
|
|
37
37
|
"undici": "^8.11.2",
|
|
38
38
|
"uuid": "^14.0.2",
|
|
39
39
|
"zod": "^4.6.5",
|
|
40
|
-
"@vercel/build-utils": "14.
|
|
41
|
-
"@vercel/
|
|
42
|
-
"@vercel/
|
|
43
|
-
"@vercel/
|
|
44
|
-
"@vercel/
|
|
40
|
+
"@vercel/build-utils": "^14.17.0",
|
|
41
|
+
"@vercel/cli-auth": "0.3.10",
|
|
42
|
+
"@vercel/backends": "^15.0.0",
|
|
43
|
+
"@vercel/cli-config": "0.3.1",
|
|
44
|
+
"@vercel/elysia": "^15.0.0",
|
|
45
|
+
"@vercel/container": "^15.0.0",
|
|
45
46
|
"@vercel/detect-agent": "1.2.5",
|
|
46
|
-
"@vercel/
|
|
47
|
-
"@vercel/express": "
|
|
48
|
-
"@vercel/
|
|
49
|
-
"@vercel/h3": "
|
|
50
|
-
"@vercel/hono": "
|
|
51
|
-
"@vercel/hydrogen": "
|
|
52
|
-
"@vercel/
|
|
53
|
-
"@vercel/
|
|
54
|
-
"@vercel/
|
|
55
|
-
"@vercel/
|
|
56
|
-
"@vercel/node": "
|
|
57
|
-
"@vercel/python": "17.0.1",
|
|
47
|
+
"@vercel/fastify": "^15.0.0",
|
|
48
|
+
"@vercel/express": "^15.0.0",
|
|
49
|
+
"@vercel/go": "^18.0.0",
|
|
50
|
+
"@vercel/h3": "^15.0.0",
|
|
51
|
+
"@vercel/hono": "^15.0.0",
|
|
52
|
+
"@vercel/hydrogen": "^16.0.0",
|
|
53
|
+
"@vercel/koa": "^15.0.0",
|
|
54
|
+
"@vercel/nestjs": "^15.0.0",
|
|
55
|
+
"@vercel/next": "^19.0.0",
|
|
56
|
+
"@vercel/python": "^21.0.0",
|
|
57
|
+
"@vercel/node": "^20.0.0",
|
|
58
58
|
"@vercel/python-analysis": "0.14.0",
|
|
59
|
-
"@vercel/redwood": "
|
|
60
|
-
"@vercel/remix-builder": "
|
|
61
|
-
"@vercel/ruby": "
|
|
62
|
-
"@vercel/
|
|
63
|
-
"@vercel/
|
|
59
|
+
"@vercel/redwood": "^17.0.0",
|
|
60
|
+
"@vercel/remix-builder": "^20.0.0",
|
|
61
|
+
"@vercel/ruby": "^17.0.0",
|
|
62
|
+
"@vercel/rust": "^16.0.0",
|
|
63
|
+
"@vercel/static-build": "^17.0.0"
|
|
64
64
|
},
|
|
65
65
|
"builders": {
|
|
66
|
-
"@vercel/backends": "
|
|
67
|
-
"@vercel/container": "
|
|
68
|
-
"@vercel/elysia": "
|
|
69
|
-
"@vercel/express": "
|
|
70
|
-
"@vercel/fastify": "
|
|
71
|
-
"@vercel/go": "
|
|
72
|
-
"@vercel/h3": "
|
|
73
|
-
"@vercel/hono": "
|
|
74
|
-
"@vercel/hydrogen": "
|
|
75
|
-
"@vercel/koa": "
|
|
76
|
-
"@vercel/nestjs": "
|
|
77
|
-
"@vercel/next": "
|
|
78
|
-
"@vercel/node": "
|
|
79
|
-
"@vercel/python": "
|
|
80
|
-
"@vercel/redwood": "
|
|
81
|
-
"@vercel/remix-builder": "
|
|
82
|
-
"@vercel/ruby": "
|
|
83
|
-
"@vercel/rust": "
|
|
84
|
-
"@vercel/static-build": "
|
|
66
|
+
"@vercel/backends": "13.0.0",
|
|
67
|
+
"@vercel/container": "13.0.0",
|
|
68
|
+
"@vercel/elysia": "13.0.0",
|
|
69
|
+
"@vercel/express": "13.0.0",
|
|
70
|
+
"@vercel/fastify": "13.0.0",
|
|
71
|
+
"@vercel/go": "16.0.0",
|
|
72
|
+
"@vercel/h3": "13.0.0",
|
|
73
|
+
"@vercel/hono": "13.0.0",
|
|
74
|
+
"@vercel/hydrogen": "14.0.0",
|
|
75
|
+
"@vercel/koa": "13.0.0",
|
|
76
|
+
"@vercel/nestjs": "13.0.0",
|
|
77
|
+
"@vercel/next": "17.0.0",
|
|
78
|
+
"@vercel/node": "18.0.0",
|
|
79
|
+
"@vercel/python": "19.0.0",
|
|
80
|
+
"@vercel/redwood": "15.0.0",
|
|
81
|
+
"@vercel/remix-builder": "18.0.0",
|
|
82
|
+
"@vercel/ruby": "15.0.0",
|
|
83
|
+
"@vercel/rust": "14.0.0",
|
|
84
|
+
"@vercel/static-build": "15.0.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@edge-runtime/node-utils": "2.3.0",
|
|
@@ -208,26 +208,27 @@
|
|
|
208
208
|
"write-json-file": "2.2.0",
|
|
209
209
|
"xdg-app-paths": "5.1.0",
|
|
210
210
|
"yauzl-promise": "2.1.3",
|
|
211
|
-
"@vercel-internals/
|
|
212
|
-
"@vercel-internals/builder-orchestration": "1.0.8",
|
|
211
|
+
"@vercel-internals/builder-orchestration": "1.0.12",
|
|
213
212
|
"@vercel-internals/constants": "1.0.4",
|
|
214
213
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
215
|
-
"@vercel-internals/
|
|
216
|
-
"@vercel-internals/
|
|
217
|
-
"@vercel-internals/
|
|
218
|
-
"@vercel/
|
|
214
|
+
"@vercel-internals/cli-builder-integration": "1.0.14",
|
|
215
|
+
"@vercel-internals/local-schedules": "0.0.4",
|
|
216
|
+
"@vercel-internals/runtimes": "1.1.8",
|
|
217
|
+
"@vercel-internals/service-topology": "1.0.11",
|
|
218
|
+
"@vercel/client": "18.6.0",
|
|
219
|
+
"@vercel-internals/types": "3.0.16",
|
|
219
220
|
"@vercel/error-utils": "2.2.1",
|
|
220
|
-
"@vercel/
|
|
221
|
-
"@vercel/
|
|
221
|
+
"@vercel/fs-detectors": "7.9.0",
|
|
222
|
+
"@vercel/frameworks": "3.35.0",
|
|
222
223
|
"@vercel/routing-utils": "6.6.0"
|
|
223
224
|
},
|
|
224
225
|
"optionalDependencies": {
|
|
225
|
-
"@vercel/vc-native-darwin-arm64": "
|
|
226
|
-
"@vercel/vc-native-darwin-x64": "
|
|
227
|
-
"@vercel/vc-native-linux-arm64": "
|
|
228
|
-
"@vercel/vc-native-linux-x64": "
|
|
229
|
-
"@vercel/vc-native-win32-arm64": "
|
|
230
|
-
"@vercel/vc-native-win32-x64": "
|
|
226
|
+
"@vercel/vc-native-darwin-arm64": "62.2.0",
|
|
227
|
+
"@vercel/vc-native-darwin-x64": "62.2.0",
|
|
228
|
+
"@vercel/vc-native-linux-arm64": "62.2.0",
|
|
229
|
+
"@vercel/vc-native-linux-x64": "62.2.0",
|
|
230
|
+
"@vercel/vc-native-win32-arm64": "62.2.0",
|
|
231
|
+
"@vercel/vc-native-win32-x64": "62.2.0"
|
|
231
232
|
},
|
|
232
233
|
"scripts": {
|
|
233
234
|
"test": "node scripts/test.mjs --run",
|
|
@@ -260,13 +261,9 @@
|
|
|
260
261
|
],
|
|
261
262
|
"depup": {
|
|
262
263
|
"changes": {
|
|
263
|
-
"@vercel/fun": {
|
|
264
|
-
"from": "1.3.0",
|
|
265
|
-
"to": "^1.3.1"
|
|
266
|
-
},
|
|
267
264
|
"@vercel/prepare-flags-definitions": {
|
|
268
265
|
"from": "0.3.0",
|
|
269
|
-
"to": "^0.
|
|
266
|
+
"to": "^0.5.0"
|
|
270
267
|
},
|
|
271
268
|
"chokidar": {
|
|
272
269
|
"from": "4.0.0",
|
|
@@ -285,8 +282,8 @@
|
|
|
285
282
|
"to": "^3.7.2"
|
|
286
283
|
},
|
|
287
284
|
"sandbox": {
|
|
288
|
-
"from": "4.
|
|
289
|
-
"to": "^4.
|
|
285
|
+
"from": "4.4.0",
|
|
286
|
+
"to": "^4.6.0"
|
|
290
287
|
},
|
|
291
288
|
"smol-toml": {
|
|
292
289
|
"from": "1.5.2",
|
|
@@ -303,12 +300,92 @@
|
|
|
303
300
|
"zod": {
|
|
304
301
|
"from": "4.1.11",
|
|
305
302
|
"to": "^4.6.5"
|
|
303
|
+
},
|
|
304
|
+
"@vercel/build-utils": {
|
|
305
|
+
"from": "14.15.0",
|
|
306
|
+
"to": "^14.17.0"
|
|
307
|
+
},
|
|
308
|
+
"@vercel/backends": {
|
|
309
|
+
"from": "13.0.0",
|
|
310
|
+
"to": "^15.0.0"
|
|
311
|
+
},
|
|
312
|
+
"@vercel/elysia": {
|
|
313
|
+
"from": "13.0.0",
|
|
314
|
+
"to": "^15.0.0"
|
|
315
|
+
},
|
|
316
|
+
"@vercel/container": {
|
|
317
|
+
"from": "13.0.0",
|
|
318
|
+
"to": "^15.0.0"
|
|
319
|
+
},
|
|
320
|
+
"@vercel/fastify": {
|
|
321
|
+
"from": "13.0.0",
|
|
322
|
+
"to": "^15.0.0"
|
|
323
|
+
},
|
|
324
|
+
"@vercel/express": {
|
|
325
|
+
"from": "13.0.0",
|
|
326
|
+
"to": "^15.0.0"
|
|
327
|
+
},
|
|
328
|
+
"@vercel/go": {
|
|
329
|
+
"from": "16.0.0",
|
|
330
|
+
"to": "^18.0.0"
|
|
331
|
+
},
|
|
332
|
+
"@vercel/h3": {
|
|
333
|
+
"from": "13.0.0",
|
|
334
|
+
"to": "^15.0.0"
|
|
335
|
+
},
|
|
336
|
+
"@vercel/hono": {
|
|
337
|
+
"from": "13.0.0",
|
|
338
|
+
"to": "^15.0.0"
|
|
339
|
+
},
|
|
340
|
+
"@vercel/hydrogen": {
|
|
341
|
+
"from": "14.0.0",
|
|
342
|
+
"to": "^16.0.0"
|
|
343
|
+
},
|
|
344
|
+
"@vercel/koa": {
|
|
345
|
+
"from": "13.0.0",
|
|
346
|
+
"to": "^15.0.0"
|
|
347
|
+
},
|
|
348
|
+
"@vercel/nestjs": {
|
|
349
|
+
"from": "13.0.0",
|
|
350
|
+
"to": "^15.0.0"
|
|
351
|
+
},
|
|
352
|
+
"@vercel/next": {
|
|
353
|
+
"from": "17.0.0",
|
|
354
|
+
"to": "^19.0.0"
|
|
355
|
+
},
|
|
356
|
+
"@vercel/python": {
|
|
357
|
+
"from": "19.0.0",
|
|
358
|
+
"to": "^21.0.0"
|
|
359
|
+
},
|
|
360
|
+
"@vercel/node": {
|
|
361
|
+
"from": "18.0.0",
|
|
362
|
+
"to": "^20.0.0"
|
|
363
|
+
},
|
|
364
|
+
"@vercel/redwood": {
|
|
365
|
+
"from": "15.0.0",
|
|
366
|
+
"to": "^17.0.0"
|
|
367
|
+
},
|
|
368
|
+
"@vercel/remix-builder": {
|
|
369
|
+
"from": "18.0.0",
|
|
370
|
+
"to": "^20.0.0"
|
|
371
|
+
},
|
|
372
|
+
"@vercel/ruby": {
|
|
373
|
+
"from": "15.0.0",
|
|
374
|
+
"to": "^17.0.0"
|
|
375
|
+
},
|
|
376
|
+
"@vercel/rust": {
|
|
377
|
+
"from": "14.0.0",
|
|
378
|
+
"to": "^16.0.0"
|
|
379
|
+
},
|
|
380
|
+
"@vercel/static-build": {
|
|
381
|
+
"from": "15.0.0",
|
|
382
|
+
"to": "^17.0.0"
|
|
306
383
|
}
|
|
307
384
|
},
|
|
308
|
-
"depsUpdated":
|
|
385
|
+
"depsUpdated": 30,
|
|
309
386
|
"originalPackage": "vercel",
|
|
310
|
-
"originalVersion": "
|
|
311
|
-
"processedAt": "2026-
|
|
387
|
+
"originalVersion": "62.2.0",
|
|
388
|
+
"processedAt": "2026-10-04T01:32:54.001Z",
|
|
312
389
|
"smokeTest": "failed"
|
|
313
390
|
}
|
|
314
391
|
}
|
|
@@ -1,8 +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{printRuleMutationReceipt}from"./chunk-7QVVD3WT.js";import"./chunk-7PNYOSDU.js";import{emitRulesArgParseError,getBodyType,handleRulesApiError,outputRulesError,readRuleBody,resolveRulesProject,resolveRulesTeam,rulesCollectionPath}from"./chunk-QVAZWF3J.js";import"./chunk-UFZ4W2PA.js";import"./chunk-W26LLGQV.js";import"./chunk-GZNDA6SV.js";import"./chunk-WRILLB46.js";import"./chunk-FA6O7FPC.js";import"./chunk-GHAY4PSD.js";import"./chunk-MDZ2JJP3.js";import"./chunk-TRTEXGVN.js";import"./chunk-T3GQAMBJ.js";import"./chunk-MBL6TXEJ.js";import"./chunk-QTKJC2O5.js";import{validateJsonOutput}from"./chunk-D4MW3RDW.js";import"./chunk-P2O5DOYE.js";import"./chunk-FZKWLGRG.js";import{rulesAddSubcommand}from"./chunk-SW7MNF4H.js";import"./chunk-6TAQ6OWD.js";import"./chunk-WPS6JZF6.js";import"./chunk-LFQTA3CF.js";import"./chunk-JSKGZLE4.js";import"./chunk-RCTYVKM5.js";import"./chunk-GHM7V3GG.js";import"./chunk-5XJNPXQK.js";import{printError}from"./chunk-N5AIKGEO.js";import{parseArguments}from"./chunk-WWB66KP5.js";import"./chunk-MY4MONOH.js";import"./chunk-TTKDYUJD.js";import"./chunk-F2ZWW2IO.js";import"./chunk-B4ATVYZW.js";import"./chunk-PPCFQQSU.js";import"./chunk-BRK4OB4B.js";import"./chunk-OSCCYU74.js";import"./chunk-KCARCOP5.js";import"./chunk-BKV35LVB.js";import{getFlagsSpecification}from"./chunk-JAJW3P42.js";import"./chunk-YMM3VY3J.js";import"./chunk-SM5JI6QM.js";import"./chunk-VOZEB6PD.js";import{isAPIError}from"./chunk-RINZXCDJ.js";import"./chunk-FI772UVH.js";import{output_manager_default}from"./chunk-EWWFNMPZ.js";import"./chunk-QGIQK47P.js";import"./chunk-AVSPFBLM.js";import"./chunk-XCJDGQO7.js";import"./chunk-YPTLSODC.js";import"./chunk-7HL2RPUO.js";import"./chunk-U7KCDTCH.js";import"./chunk-N3ZZ7FHQ.js";import"./chunk-GU6VIFR5.js";import"./chunk-6L236MNA.js";function applyScopeFlag(client,body,type,scope,flags,jsonOutput){if(Object.hasOwn(body,"ruleScope"))return flags["--project"]||flags["--all"]?outputRulesError(client,jsonOutput,"SCOPE_CONFLICT","Specify rule scope either in the body or with --project/--all, not both."):void 0;if(flags["--project"]){body.ruleScope=type==="custom"?{type:"project",projectId:scope.projectId}:{type:"include",projectIds:[scope.projectId]};return}if(flags["--all"]){if(type==="custom")return outputRulesError(client,jsonOutput,"INVALID_SCOPE","Custom alert rules must target one project. Use --project <name-or-id>.");body.ruleScope={type:"all"};return}return outputRulesError(client,jsonOutput,"MISSING_SCOPE","Missing rule scope. Add ruleScope to the body, or pass --project or --all.")}async function resolveCreateScope(client,flags,jsonOutput){return flags["--project"]&&flags["--all"]?outputRulesError(client,jsonOutput,"MUTUAL_EXCLUSIVITY","Cannot specify both --all and --project. Use one or the other."):flags["--project"]?resolveRulesProject(client,flags["--project"],jsonOutput,"alerts rules add"):resolveRulesTeam(client,jsonOutput)}async function add(client,argv){let parsedArgs;try{parsedArgs=parseArguments(argv,getFlagsSpecification(rulesAddSubcommand.options))}catch(error){return emitRulesArgParseError(client,error,"alerts rules add --project <name-or-id> --body <path>"),printError(error),1}let flags=parsedArgs.flags,format=validateJsonOutput(flags);if(!format.valid)return outputRulesError(client,!1,"INVALID_ARGUMENTS",format.error);if(!flags["--body"])return outputRulesError(client,format.jsonOutput,"MISSING_ARGUMENTS","Missing required flag: --body <PATH>.");let body=readRuleBody(client,flags["--body"],format.jsonOutput);if(typeof body=="number")return body;let type=getBodyType(body);if(!type)return outputRulesError(client,format.jsonOutput,"INVALID_RULE_TYPE","Create body must set a supported rule type.");if(Object.hasOwn(body,"ruleScope")&&(flags["--project"]||flags["--all"]))return outputRulesError(client,format.jsonOutput,"SCOPE_CONFLICT","Specify rule scope either in the body or with --project/--all, not both.");if(type==="custom"&&flags["--all"])return outputRulesError(client,format.jsonOutput,"INVALID_SCOPE","Custom alert rules must target one project. Use --project <name-or-id>.");let scope=await resolveCreateScope(client,flags,format.jsonOutput);if(typeof scope=="number")return scope;let scopeError=applyScopeFlag(client,body,type,scope,flags,format.jsonOutput);if(scopeError!==void 0)return scopeError;output_manager_default.spinner("Creating alert rule\u2026");try{let response=await client.fetch(rulesCollectionPath(scope.teamId),{method:"POST",body});return format.jsonOutput?client.stdout.write(`${JSON.stringify(response,null,2)}
|
|
8
|
-
`):printRuleMutationReceipt("Created",response.rule,client.argv),0}catch(error){if(isAPIError(error))return handleRulesApiError(client,error,format.jsonOutput);throw error}finally{output_manager_default.stopSpinner()}}export{add as default};
|
|
@@ -1,8 +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{emitVcrArgParseError,handleVcrApiError,resolveVcrScope,validateVcrJsonOutput}from"./chunk-RMYQX7NP.js";import{outputError}from"./chunk-FA6O7FPC.js";import"./chunk-HWWHR7H3.js";import"./chunk-2I64AYHG.js";import"./chunk-QTKJC2O5.js";import"./chunk-D4MW3RDW.js";import{AGENT_REASON}from"./chunk-FZKWLGRG.js";import{addSubcommand}from"./chunk-65JYSI26.js";import"./chunk-YMVDWVMO.js";import"./chunk-O7G3CZ42.js";import"./chunk-N3N5UHIL.js";import"./chunk-SOJCELXH.js";import"./chunk-LFQTA3CF.js";import"./chunk-JSKGZLE4.js";import"./chunk-RCTYVKM5.js";import"./chunk-GHM7V3GG.js";import"./chunk-5XJNPXQK.js";import{printError}from"./chunk-N5AIKGEO.js";import{parseArguments}from"./chunk-WWB66KP5.js";import"./chunk-MY4MONOH.js";import"./chunk-TTKDYUJD.js";import"./chunk-F2ZWW2IO.js";import"./chunk-B4ATVYZW.js";import"./chunk-PPCFQQSU.js";import"./chunk-BRK4OB4B.js";import{buildCommandWithGlobalFlags,outputAgentError}from"./chunk-KCARCOP5.js";import"./chunk-BKV35LVB.js";import{getFlagsSpecification}from"./chunk-JAJW3P42.js";import"./chunk-YMM3VY3J.js";import"./chunk-SM5JI6QM.js";import"./chunk-VOZEB6PD.js";import{isAPIError}from"./chunk-RINZXCDJ.js";import{packageName}from"./chunk-FI772UVH.js";import{output_manager_default}from"./chunk-EWWFNMPZ.js";import"./chunk-QGIQK47P.js";import"./chunk-AVSPFBLM.js";import"./chunk-XCJDGQO7.js";import"./chunk-YPTLSODC.js";import"./chunk-7HL2RPUO.js";import"./chunk-U7KCDTCH.js";import"./chunk-N3ZZ7FHQ.js";import"./chunk-GU6VIFR5.js";import"./chunk-6L236MNA.js";async function add(client,argv,telemetry){let parsedArgs;try{parsedArgs=parseArguments(argv,getFlagsSpecification(addSubcommand.options))}catch(err){return emitVcrArgParseError(client,err,"vcr add <name> --project <name-or-id>"),printError(err),1}let fr=validateVcrJsonOutput(client,parsedArgs.flags);if(typeof fr=="number")return fr;let name=parsedArgs.args[0],project=parsedArgs.flags["--project"];if(telemetry.trackCliOptionProject(project),telemetry.trackCliOptionFormat(parsedArgs.flags["--format"]),!name)return outputAgentError(client,{status:"error",reason:AGENT_REASON.MISSING_ARGUMENTS,message:`Missing repository name. Example: ${packageName} vcr add <name>`,next:[{command:buildCommandWithGlobalFlags(client.argv,"vcr add <name>"),when:"Replace <name> with the repository name to create"}]},1),outputError(client,fr.jsonOutput,"MISSING_ARGUMENTS","Usage: `vercel vcr add <name>`");let scope=await resolveVcrScope(client,{project,jsonOutput:fr.jsonOutput});if(typeof scope=="number")return scope;let path=`/v1/vcr/repository?teamId=${encodeURIComponent(scope.teamId)}`;output_manager_default.spinner("Creating repository...");try{let created=await client.fetch(path,{method:"POST",body:{projectId:scope.projectId,name}});return fr.jsonOutput?client.stdout.write(`${JSON.stringify(created,null,2)}
|
|
8
|
-
`):output_manager_default.success(`Created repository ${created.repository?.name??name}`),0}catch(err){if(isAPIError(err))return handleVcrApiError(client,err,fr.jsonOutput,{retry:{command:buildCommandWithGlobalFlags(client.argv,"vcr ls"),when:"List existing repositories (a name conflict means it already exists)"}});throw err}finally{output_manager_default.stopSpinner()}}export{add as default};
|
|
@@ -1,8 +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{noBorderChars,require_cli_table3}from"./chunk-6TAQ6OWD.js";import{require_dist}from"./chunk-A5VLP25I.js";import{globalCommandOptions}from"./chunk-JAJW3P42.js";import{require_source}from"./chunk-U7KCDTCH.js";import{__toESM}from"./chunk-6L236MNA.js";var import_chalk=__toESM(require_source(),1),import_constants=__toESM(require_dist(),1),import_cli_table3=__toESM(require_cli_table3(),1);var INDENT=" ".repeat(2),NEWLINE=`
|
|
8
|
-
`,tableOptions={chars:noBorderChars,style:{"padding-left":0,"padding-right":0}};function wordWrap(text,maxWidth){let _tableOptions=Object.assign({},tableOptions,{colWidths:[maxWidth],style:{"padding-left":INDENT.length}}),table=new import_cli_table3.default(_tableOptions);return table.push([{content:text,wordWrap:!0}]),table.toString()}function lineToString(line){let string="";for(let i=0;i<line.length;i++)if(i===line.length-1)string+=line[i];else{let curr=line[i],next=line[i+1];string+=curr,curr.trim()!==""&&next.trim()!==""&&(string+=" ")}return string}function outputArrayToString(outputArray){return outputArray.filter(line=>line!==null).join(NEWLINE)}function buildCommandSynopsisLine(command,parent){let line=[INDENT,import_constants.LOGO,import_chalk.default.bold(import_constants.NAME)];parent&&line.push(import_chalk.default.bold(parent.name)),line.push(import_chalk.default.bold(command.name));let args=command.arguments.slice(0);if(args.length===0&&command.subcommands&&command.subcommands.length>0&&args.push({name:"command",required:!command.subcommands.some(subcommand=>subcommand.default)}),args.length>0)for(let argument of args){let{name}=argument;argument.multiple&&(name+=" ..."),line.push(argument.required?name:`[${name}]`)}return command.options.length>0&&line.push("[options]"),line.push(NEWLINE),lineToString(line)}function buildCommandOptionLines(commandOptions,options,sectionTitle){let filteredCommandOptions=commandOptions.filter(option=>!option.deprecated&&option.description!==void 0);if(filteredCommandOptions.length===0)return null;filteredCommandOptions.sort((a,b)=>a.name<b.name?-1:a.name>b.name?1:0);let maxWidthOfUnwrappedColumns=0,rows=[];for(let option of filteredCommandOptions){let shorthandCell=option.shorthand?`${INDENT}-${option.shorthand},`:"",longhandCell=`${INDENT}--${option.name}`;option.argument&&(longhandCell+=` <${option.argument}>`),longhandCell+=INDENT;let widthOfUnwrappedColumns=shorthandCell.length+longhandCell.length;maxWidthOfUnwrappedColumns=Math.max(widthOfUnwrappedColumns,maxWidthOfUnwrappedColumns),rows.push([shorthandCell,longhandCell,{content:option.description,wordWrap:!0}])}let finalColumnWidth=options.columns-maxWidthOfUnwrappedColumns,table=new import_cli_table3.default(Object.assign({},tableOptions,{colWidths:[null,null,finalColumnWidth]}));return table.push(...rows),[`${INDENT}${import_chalk.default.dim(sectionTitle)}:`,NEWLINE,NEWLINE,table.toString(),NEWLINE,NEWLINE].join("")}function buildSubcommandLines(subcommands,options){if(!subcommands)return null;let maxWidthOfUnwrappedColumns=0,rows=[];for(let command of subcommands){if(command.hidden)continue;let nameCell=`${INDENT}${command.name}`,argsCell=INDENT;argsCell+=command.arguments.map(arg=>arg.required?arg.name:`[${arg.name}]`).join(" "),argsCell+=INDENT;let widthOfUnwrappedColumns=nameCell.length+argsCell.length;maxWidthOfUnwrappedColumns=Math.max(widthOfUnwrappedColumns,maxWidthOfUnwrappedColumns),rows.push([nameCell,argsCell,{content:command.default?`${command.description} ${import_chalk.default.bold("(default)")}`:command.description,wordWrap:!0}])}let rightMargin=INDENT.repeat(4).length,finalColumnWidth=options.columns-maxWidthOfUnwrappedColumns-rightMargin,table=new import_cli_table3.default(Object.assign({},tableOptions,{colWidths:[null,null,finalColumnWidth]}));return rows.length===0?null:(table.push(...rows),[`${INDENT}${import_chalk.default.dim("Commands")}:`,NEWLINE,NEWLINE,table.toString(),NEWLINE,NEWLINE].join(""))}function buildCommandExampleLines(command){if(!command.examples?.length)return null;let outputArray=[`${INDENT}${import_chalk.default.dim("Examples:")}`,""];for(let example of command.examples){let nameLine=[INDENT];nameLine.push(import_chalk.default.gray("-")),nameLine.push(example.name),outputArray.push(lineToString(nameLine)),outputArray.push("");let buildValueLine=value=>lineToString([INDENT,INDENT,import_chalk.default.cyan(`$ ${value}`)]);if(Array.isArray(example.value))for(let line of example.value)outputArray.push(buildValueLine(line));else outputArray.push(buildValueLine(example.value));outputArray.push("")}return outputArrayToString(outputArray)}function buildCommandDocumentationLines(command,options){if(options.omitDocumentation)return null;let documentation=command.documentation??options.parent?.documentation;return documentation?outputArrayToString([`${INDENT}${import_chalk.default.dim(`${documentation.label}:`)}`,"",lineToString([INDENT,INDENT,import_chalk.default.cyan(documentation.url)]),""]):null}function buildDescriptionLine(command,options){return`${wordWrap(command.description,options.columns)}${NEWLINE}`}function buildHelpOutput(command,options){let filteredGlobalOptions=command.disabledGlobalOptions?globalCommandOptions.filter(opt=>!command.disabledGlobalOptions?.includes(opt.name)):globalCommandOptions,outputArray=["",buildCommandSynopsisLine(command,options.parent),buildDescriptionLine(command,options),buildSubcommandLines(command.subcommands,options),buildCommandOptionLines(command.options,options,"Options"),buildCommandOptionLines(filteredGlobalOptions,options,"Global Options"),buildCommandExampleLines(command),...(command.helpSections??[]).map(section=>outputArrayToString([`${INDENT}${import_chalk.default.dim(`${section.title}:`)}`,"",...section.body.map(line=>line===""?"":wordWrap(line,options.columns)),""])),buildCommandDocumentationLines(command,options),""];return outputArrayToString(outputArray)}function help(command,options){return buildHelpOutput(command,{...options,columns:options.columns??80})}export{buildCommandDocumentationLines,help};
|
|
@@ -1,7 +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{require_dist}from"./chunk-A5VLP25I.js";import{forceOption,formatOption,jsonOption,projectOption,yesOption}from"./chunk-JAJW3P42.js";import{packageName,require_lib}from"./chunk-FI772UVH.js";import{__toESM}from"./chunk-6L236MNA.js";var import_constants=__toESM(require_dist(),1),import_title=__toESM(require_lib(),1),envTargetChoices=import_constants.PROJECT_ENV_TARGET.map(t=>({name:(0,import_title.default)(t),value:t}));function isValidEnvTarget(target){return typeof target>"u"||envTargetChoices.map(c=>c.value).includes(target)}function getEnvTargetPlaceholder(){return`<${envTargetChoices.map(c=>c.value).join(" | ")}>`}function parseEnvTargetArg(arg){return Array.from(new Set(arg.split(",").map(t=>t.trim()).filter(Boolean)))}var targetPlaceholder=getEnvTargetPlaceholder(),listSubcommand={name:"list",aliases:["ls"],description:"List all Environment Variables for a Project",arguments:[{name:"environment",required:!1},{name:"git-branch",required:!1}],options:[{...formatOption,description:"Specify the output format (json, including readable Environment Variable values)"},{...jsonOption,description:"Output as JSON, including readable Environment Variable values"},projectOption,{name:"guidance",description:"Receive command suggestions once command is complete",shorthand:null,type:Boolean,deprecated:!1}],examples:[]},addSubcommand={name:"add",aliases:[],description:"Add an Environment Variable",arguments:[{name:"name",required:!0},{name:"environment",required:!1}],options:[projectOption,{name:"git-branch",description:"Set the Git branch for a Preview Environment Variable",shorthand:null,type:String,argument:"NAME",deprecated:!1},{name:"sensitive",description:"Store the value as a Secret",shorthand:null,type:Boolean,deprecated:!1},{name:"no-sensitive",description:"Store the value as Config",shorthand:null,type:Boolean,deprecated:!1},{name:"type",description:"Set the Environment Variable type (`config` or `secret`)",shorthand:null,type:String,argument:"TYPE",deprecated:!1},{name:"visibility",description:"Deprecated alias for `--type`",shorthand:null,type:String,argument:"VISIBILITY",deprecated:!0},{...forceOption,description:"Overwrite an existing variable for the same target",shorthand:null},{...yesOption,description:"Accept default choices when adding an Environment Variable"},{name:"guidance",description:"Show command suggestions after completion",shorthand:null,type:Boolean,deprecated:!1},{name:"value",description:"Set the variable value for non-interactive use; otherwise use stdin or the prompt",shorthand:null,type:String,argument:"VALUE",deprecated:!1}],examples:[{name:"Add a new variable (prompts for value and Environments)",value:[`${packageName} env add <name>`,`${packageName} env add API_TOKEN`]},{name:"Add a new Environment Variable to a specific Environment",value:[`${packageName} env add <name> ${targetPlaceholder}`,`${packageName} env add DB_PASS production`]},{name:"Add one variable to multiple Environments (comma-separated)",value:[`${packageName} env add <name> <environment>[,<environment>]`,`${packageName} env add API_URL production,preview,development`]},{name:"Override an existing Environment Variable of same target (production, preview, deployment)",value:`${packageName} env add API_TOKEN --force`},{name:"Add a Config Environment Variable that remains readable later",value:`${packageName} env add API_TOKEN --no-sensitive`},{name:"Add a new Environment Variable for a specific Environment and Git Branch",value:[`${packageName} env add <name> ${targetPlaceholder} --git-branch <name>`,`${packageName} env add DB_PASS preview --git-branch feat1`]},{name:"Add a new Environment Variable from stdin",value:[`cat <file> | ${packageName} env add <name> ${targetPlaceholder}`,`cat ~/.npmrc | ${packageName} env add NPM_RC preview`,`${packageName} env add API_URL production < url.txt`]},{name:"Add with --value for non-interactive use",value:`${packageName} env add API_TOKEN production --value "<value>" --yes`}]},removeSubcommand={name:"remove",aliases:["rm"],description:"Remove an Environment Variable (see examples below)",arguments:[{name:"name",required:!0},{name:"environment",required:!1}],options:[projectOption,{...yesOption,description:"Skip the confirmation prompt when removing an Environment Variable"}],examples:[{name:"Remove a variable from multiple Environments",value:[`${packageName} env rm <name>`,`${packageName} env rm API_TOKEN`]},{name:"Remove a variable from a specific Environment",value:[`${packageName} env rm <name> ${targetPlaceholder}`,`${packageName} env rm NPM_RC preview`]},{name:"Remove a variable from a specific Environment and Git Branch",value:[`${packageName} env rm <name> ${targetPlaceholder} <gitbranch>`,`${packageName} env rm NPM_RC preview feat1`]}]},pullSubcommand={name:"pull",aliases:[],description:"Pull Environment Variables into a local file (default: .env.local)",arguments:[{name:"filename",required:!1}],options:[projectOption,{name:"environment",description:"Select the environment to pull (default: development)",shorthand:null,type:String,argument:"TARGET",deprecated:!1},{name:"git-branch",description:"Specify the Git branch to pull specific Environment Variables for",shorthand:null,type:String,argument:"NAME",deprecated:!1},{name:"id",description:"Pull Environment Variables for a specific deployment (e.g. dpl_xxx)",shorthand:null,type:String,argument:"ID",deprecated:!1},{...yesOption,description:"Skip the confirmation prompt when overwriting an existing file"}],examples:[{name:"Pull Development Environment Variables into a custom file (check .gitignore)",value:[`${packageName} env pull <file>`,`${packageName} env pull .env.development.local`]},{name:"Pull Environment Variables for a specific deployment",value:`${packageName} env pull --id dpl_xxx`}]},runSubcommand={name:"run",aliases:[],description:"Run a command with environment variables from the linked Vercel project",arguments:[{name:"command",required:!0,multiple:!0}],options:[projectOption,{name:"environment",description:"Specify the environment to pull variables from (default: development)",shorthand:"e",type:String,argument:"TARGET",deprecated:!1},{name:"git-branch",description:"Specify the Git branch to pull specific Environment Variables for",shorthand:null,type:String,argument:"NAME",deprecated:!1}],examples:[{name:"Run Next.js dev server with development environment variables",value:`${packageName} env run -- next dev`},{name:"Run tests with preview environment variables for a specific branch",value:`${packageName} env run -e preview --git-branch feature-x -- npm test`}]},updateSubcommand={name:"update",aliases:[],description:"Update the value of an existing Environment Variable (see examples below)",arguments:[{name:"name",required:!0},{name:"environment",required:!1}],options:[projectOption,{name:"sensitive",description:"Store the updated value as a Secret",shorthand:null,type:Boolean,deprecated:!1},{name:"type",description:"Set the Environment Variable type (`config` or `secret`)",shorthand:null,type:String,argument:"TYPE",deprecated:!1},{name:"visibility",description:"Deprecated alias for `--type`",shorthand:null,type:String,argument:"VISIBILITY",deprecated:!0},{...yesOption,description:"Skip the confirmation prompt when updating an Environment Variable"},{name:"value",description:"New value for the variable (non-interactive). Otherwise use stdin or you will be prompted.",shorthand:null,type:String,argument:"VALUE",deprecated:!1}],examples:[{name:"Update a variable in all Environments",value:[`${packageName} env update <name>`,`${packageName} env update API_TOKEN`]},{name:"Update a variable in a specific Environment",value:[`${packageName} env update <name> ${targetPlaceholder}`,`${packageName} env update DB_PASS production`]},{name:"Update a variable for a specific Environment and Git Branch",value:[`${packageName} env update <name> ${targetPlaceholder} <gitbranch>`,`${packageName} env update NPM_RC preview feat1`]},{name:"Update a variable from stdin",value:[`cat <file> | ${packageName} env update <name> ${targetPlaceholder}`,`cat ~/.npmrc | ${packageName} env update NPM_RC preview`,`${packageName} env update API_URL production < url.txt`]}]},envCommand={name:"env",aliases:[],description:"Interact with Environment Variables for a Project",arguments:[],subcommands:[addSubcommand,listSubcommand,pullSubcommand,removeSubcommand,runSubcommand,updateSubcommand],options:[],examples:[{name:"Run a command with Environment Variables from the linked Project",value:`${packageName} env run -- <command>`},{name:"Add one variable to multiple Environments",value:`${packageName} env add API_URL production,preview,development`}]};export{envTargetChoices,isValidEnvTarget,getEnvTargetPlaceholder,parseEnvTargetArg,listSubcommand,addSubcommand,removeSubcommand,pullSubcommand,runSubcommand,updateSubcommand,envCommand};
|
|
@@ -1,7 +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{permissionsAggregateCommand}from"./chunk-YMVDWVMO.js";import{tagsAggregateCommand}from"./chunk-O7G3CZ42.js";import{imageAggregateCommand}from"./chunk-N3N5UHIL.js";import{formatOption,jsonOption,limitOption,projectOption,yesOption}from"./chunk-JAJW3P42.js";import{packageName}from"./chunk-FI772UVH.js";var projectScopeOption={...projectOption,shorthand:"p",description:"Project name or ID (defaults to the linked project)."},nextOption={name:"next",shorthand:null,type:String,deprecated:!1,description:"Continue from a previous response",argument:"CURSOR"},cursorOption={name:"cursor",shorthand:"c",type:String,deprecated:!0,description:"Cursor from a previous page to continue listing from",argument:"STRING"},platformOption={name:"platform",shorthand:null,type:String,deprecated:!1,description:"Target platform for the build (defaults to linux/amd64).",argument:"PLATFORM"},pushOption={name:"push",shorthand:null,type:Boolean,deprecated:!1,description:"Push the image after building. With Docker this builds and pushes in one step (Buildx enables zstd compression); Podman and Buildah build, then push with zstd compression."},publicOption={name:"public",shorthand:null,type:String,deprecated:!1,description:"Set the repository visibility: `true` for public, `false` for private.",argument:"BOOLEAN",choices:["true","false"]},listSubcommand={name:"ls",aliases:["list"],description:"List container registry repositories for a project",arguments:[],options:[projectScopeOption,limitOption,nextOption,cursorOption,formatOption,jsonOption],examples:[{name:"List repositories in the linked project",value:`${packageName} vcr ls`},{name:"List repositories for a specific project as JSON",value:`${packageName} vcr ls --project my-app --json`}]},inspectSubcommand={name:"inspect",aliases:["get"],description:"Show details for a single repository",arguments:[{name:"repository",required:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Inspect a repository by name",value:`${packageName} vcr inspect my-repository`}]},addSubcommand={name:"add",aliases:["create"],description:"Create a container registry repository",arguments:[{name:"name",required:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Create a repository",value:`${packageName} vcr add my-repository`}]},configSubcommand={name:"config",aliases:[],description:"Configure a container registry repository, such as the repository's visibility",arguments:[{name:"repository",required:!0}],options:[publicOption,projectScopeOption,formatOption,jsonOption],examples:[{name:"Make a repository public",value:`${packageName} vcr config my-repository --public true`},{name:"Make a repository private",value:`${packageName} vcr config my-repository --public false`}]},removeSubcommand={name:"rm",aliases:["remove","delete"],description:"Delete a container registry repository",arguments:[{name:"repository",required:!0}],options:[projectScopeOption,yesOption,formatOption,jsonOption],examples:[{name:"Delete a repository",value:`${packageName} vcr rm my-repository`},{name:"Delete a repository without the confirmation prompt",value:`${packageName} vcr rm my-repository --yes`}]},loginSubcommand={name:"login",aliases:[],description:"Authenticate a container tool (docker, podman, or buildah) with the Vercel Container Registry",arguments:[{name:"engine",required:!0}],options:[projectScopeOption,formatOption,jsonOption],examples:[{name:"Log in with Docker",value:`${packageName} vcr login docker`},{name:"Log in with Podman",value:`${packageName} vcr login podman`},{name:"Log in with Buildah",value:`${packageName} vcr login buildah`},{name:"Log in for a specific project",value:`${packageName} vcr login docker --project my-app`}]},buildSubcommand={name:"build",aliases:[],description:"Build a container image tagged for the Vercel Container Registry by shelling out to your container tool (docker, podman, or buildah)",arguments:[{name:"engine",required:!0},{name:"path",required:!1},{name:"name",required:!1}],options:[projectScopeOption,platformOption,pushOption],examples:[{name:"Build the current directory into the linked project (repository defaults to the project name, tag to latest)",value:`${packageName} vcr build docker`},{name:"Build and push in one step (Docker Buildx enables zstd compression)",value:`${packageName} vcr build docker --push`},{name:"Build a specific context path with a repository and tag",value:`${packageName} vcr build docker ./app my-api:1.2.3`},{name:"Pass extra flags through to the container tool",value:`${packageName} vcr build docker . -- --no-cache --build-arg KEY=value`}]},pushSubcommand={name:"push",aliases:[],description:"Push a container image to the Vercel Container Registry by shelling out to your container tool (docker, podman, or buildah)",arguments:[{name:"engine",required:!0},{name:"name",required:!1}],options:[projectScopeOption],examples:[{name:"Push the linked project image (repository defaults to the project name, tag to latest)",value:`${packageName} vcr push docker`},{name:"Push a specific repository and tag",value:`${packageName} vcr push docker my-api:1.2.3`}]},vcrCommand={name:"vcr",aliases:[],description:"Manage Vercel Container Registry repositories and images (see `vcr image`).",arguments:[],subcommands:[listSubcommand,inspectSubcommand,addSubcommand,configSubcommand,removeSubcommand,loginSubcommand,buildSubcommand,pushSubcommand,tagsAggregateCommand,imageAggregateCommand,permissionsAggregateCommand],options:[],examples:[{name:"List repositories in the linked project",value:`${packageName} vcr ls`},{name:"Create a repository",value:`${packageName} vcr add my-app`},{name:"List images in a repository",value:`${packageName} vcr image ls my-app`}]};export{listSubcommand,inspectSubcommand,addSubcommand,configSubcommand,removeSubcommand,loginSubcommand,buildSubcommand,pushSubcommand,vcrCommand};
|
|
@@ -1,7 +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{formatOption,jsonOption}from"./chunk-JAJW3P42.js";import{packageName}from"./chunk-FI772UVH.js";var specUrlOption={name:"spec-url",shorthand:null,type:String,argument:"URL",deprecated:!1,description:"Fetch endpoints from a custom OpenAPI spec URL instead of the public Vercel spec"},listSubcommand={name:"list",aliases:["ls"],description:"List all available API endpoints",arguments:[],options:[formatOption,jsonOption,specUrlOption,{name:"refresh",shorthand:null,type:Boolean,deprecated:!1,description:"Force refresh the cached OpenAPI spec"}],examples:[{name:"List all endpoints in table format",value:`${packageName} api ls`},{name:"List all endpoints as JSON",value:`${packageName} api ls --json`},{name:"List endpoints from a custom OpenAPI spec",value:`${packageName} api ls --spec-url https://openapi-internal.vercel.sh --refresh`}]},apiCommand={name:"api",aliases:[],description:"Make authenticated HTTP requests to the Vercel API",arguments:[{name:"endpoint",required:!1}],subcommands:[listSubcommand],options:[{name:"method",shorthand:"X",type:String,argument:"METHOD",deprecated:!1,description:"HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET, or POST if body is provided"},{name:"field",shorthand:"F",type:[String],argument:"KEY=VALUE",deprecated:!1,description:"Add a typed parameter (numbers, booleans parsed). Use @file for file contents"},{name:"raw-field",shorthand:"f",type:[String],argument:"KEY=VALUE",deprecated:!1,description:"Add a string option (no type parsing)"},{name:"header",shorthand:"H",type:[String],argument:"KEY:VALUE",deprecated:!1,description:"Add a custom HTTP header"},{name:"input",shorthand:null,type:String,argument:"FILE",deprecated:!1,description:"Read request body from file (use - for stdin)"},{name:"paginate",shorthand:null,type:Boolean,deprecated:!1,description:"Fetch all pages of results"},{name:"include",shorthand:"i",type:Boolean,deprecated:!1,description:"Include response headers in output"},{name:"silent",shorthand:null,type:Boolean,deprecated:!1,description:"Suppress response output"},{name:"verbose",shorthand:null,type:Boolean,deprecated:!1,description:"Show debug information including full request/response"},{name:"raw",shorthand:null,type:Boolean,deprecated:!1,description:"Output raw JSON without pretty-printing"},{name:"refresh",shorthand:null,type:Boolean,deprecated:!1,description:"Force refresh the cached OpenAPI spec"},specUrlOption,{name:"generate",shorthand:null,type:String,argument:"FORMAT",deprecated:!1,description:"Generate output instead of executing (e.g., --generate=curl)"},{name:"dangerously-skip-permissions",shorthand:null,type:Boolean,deprecated:!1,description:"Skip confirmation prompts for DELETE operations (use with caution)"}],examples:[{name:"Get current user information",value:`${packageName} api /v2/user`},{name:"List projects with team scope",value:`${packageName} api /v9/projects --scope my-team`},{name:"Create a new project",value:`${packageName} api /v10/projects -X POST -F name=my-project`},{name:"Delete a deployment",value:`${packageName} api /v13/deployments/dpl_abc123 -X DELETE`},{name:"Paginate through all deployments",value:`${packageName} api /v6/deployments --paginate`},{name:"Post JSON from file",value:`${packageName} api /v10/projects -X POST --input config.json`},{name:"Add custom header",value:`${packageName} api /v2/user -H "X-Custom-Header: value"`},{name:"Interactive mode (select endpoint)",value:`${packageName} api`},{name:"Interactive mode with a custom OpenAPI spec",value:`${packageName} api --spec-url https://openapi-internal.vercel.sh --refresh`}]};export{listSubcommand,apiCommand};
|
|
@@ -1,7 +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{tracesConfigCommand}from"./chunk-IVWPQYIH.js";import{deploymentOption,projectOption,protectionBypassOption,yesOption}from"./chunk-JAJW3P42.js";import{packageName}from"./chunk-FI772UVH.js";var spanQueryOptions=[{...projectOption,shorthand:"p"},{name:"environment",shorthand:null,type:String,deprecated:!1,description:"Environment: production or preview (case-insensitive)"},{name:"service",shorthand:null,type:String,deprecated:!1,description:"Filter by service name"},{name:"name",shorthand:null,type:String,deprecated:!1,description:"Filter by span name"},{name:"kind",shorthand:null,type:String,deprecated:!1,description:"Filter by span kind: unspecified (0), internal (1), server (2), client (3), producer (4), consumer (5)"},{name:"status",shorthand:null,type:String,deprecated:!1,description:"Status: error, ok, or unset (case-insensitive)"},{name:"deployment-id",shorthand:null,type:String,deprecated:!1,description:"Filter by deployment ID"},{name:"request-id",shorthand:null,type:String,deprecated:!1,description:"Filter by request ID. Some IDs return 404 in traces get. Reuse --scope and --project. See traces get --help."},{name:"trace-id",shorthand:null,type:String,deprecated:!1,description:"Filter by trace ID"},{name:"span-id",shorthand:null,type:String,deprecated:!1,description:"Filter by span ID"},{name:"root",shorthand:null,type:Boolean,deprecated:!1,description:"Show root spans only"},{name:"since",shorthand:null,type:String,deprecated:!1,description:"Start time: 30m, ISO timestamp, or YYYY-MM-DD UTC (default: 1h)"},{name:"until",shorthand:null,type:String,deprecated:!1,description:"End time: same formats as --since (default: now)"}];var requestIdLookupHelp={title:"Request-ID lookup",body:["A request ID in search results does not guarantee traces get can retrieve the trace. Lookup requires a matching root span in the same project within 30 minutes after the request-ID timestamp.","","If no matching root is found, lookup returns 404. Use the same --scope and --project for search and get."]},getSubcommand={name:"get",aliases:[],default:!0,description:"Fetch a captured trace by request id.",helpSections:[requestIdLookupHelp],arguments:[{name:"requestId",required:!1}],options:[{name:"json",shorthand:null,type:Boolean,deprecated:!1,description:"Print the raw trace JSON to stdout instead of the markdown summary."},{name:"project",shorthand:null,type:String,argument:"NAME|ID",deprecated:!1,description:"Project name or id to fetch the trace from (overrides the linked project)."},{name:"open",shorthand:null,type:Boolean,deprecated:!1,description:"Open the trace in the Vercel Dashboard instead of printing it."},{name:"view",shorthand:null,type:String,argument:"timeline|tree|waterfall",deprecated:!1,description:"Dashboard view to open. Only valid with --open. Defaults to timeline."}],examples:[{name:"Fetch a trace by request id",value:`${packageName} traces get req_1234567890`},{name:"Print the raw trace JSON",value:`${packageName} traces get req_1234567890 --json`},{name:"`get` is the default \u2014 this is equivalent to the above",value:`${packageName} traces req_1234567890`},{name:"Fetch a trace from a specific team and project",value:`${packageName} traces get req_1234567890 --scope my-team --project my-app`},{name:"Open the trace in the Vercel Dashboard",value:`${packageName} traces get req_1234567890 --open`},{name:"Open the trace in the Vercel Dashboard with the waterfall view",value:`${packageName} traces get req_1234567890 --open --view waterfall`}]},createSubcommand={name:"create",aliases:[],description:"Capture a session trace for a request (alias for `vercel curl --trace`).",arguments:[{name:"path",required:!0}],options:[deploymentOption,protectionBypassOption,{name:"json",shorthand:null,type:Boolean,deprecated:!1,description:"Emit { response, requestId } as JSON on stdout"},{...yesOption,description:"Skip the production confirmation prompt (e.g. in non-interactive mode)"}],examples:[{name:"Capture a session trace for a request",value:`${packageName} traces create /api/hello`},{name:"Target a specific deployment",value:`${packageName} traces create /api/status --deployment https://your-project-abc123.vercel.app`},{name:"Pass curl flags after the separator",value:`${packageName} traces create /api/test -- --request POST --data '{"name": "John"}'`}]},searchSubcommand={name:"search",aliases:[],description:"Search project spans. Results are newest first. Duration filters do not sort results.",helpSections:[{title:"Table columns",body:["Available: span.startTime, span.duration, span.name, span.status.code, service.name, environment, request.id, trace.id, span.id, parent.id, span.kind","Default: all except environment, request.id, and span.kind."]},{title:"KQL filters",body:["Fields: project.id, environment, service.name, deployment.id, request.id, user.id, session.id","Span fields: span.name, span.kind, span.id, parent.id, span.isRoot, span.status.code, span.duration","Trace fields: trace.id, trace.state","","Other fields search span attributes first, then resource attributes.","","span.duration uses milliseconds.","span.kind uses the numeric values shown under --kind.","span.status.code uses Error, Ok, or Unset.","Use field:value filters. Plain text search is not supported.","Use NOT to exclude values. End a value with * to match a prefix.","Wrap values with spaces in double quotes. Keep the full query in single quotes."]}],arguments:[],options:[...spanQueryOptions,{name:"limit",shorthand:"n",type:Number,deprecated:!1,description:"Maximum number of spans (default: 100)"},{name:"query",shorthand:"q",type:String,deprecated:!1,description:"Filter spans using KQL"},{name:"columns",shorthand:null,argument:"LIST",type:String,deprecated:!1,description:"Columns to show, in order. Separate names with commas. Cannot be used with --json or --non-interactive."},{name:"json",shorthand:"j",type:Boolean,deprecated:!1,description:"Output one JSON object per line"}],examples:[{name:"Find production errors for one service",value:`${packageName} traces search --environment production --service checkout-api --status error --since 1h`},{name:"Use KQL and output JSON Lines",value:`${packageName} traces search --query 'http.route:"/api/checkout"' --kind server --json`},{name:"Exclude span names starting with app/lib/fetch-api",value:`${packageName} traces search --query 'NOT span.name:app/lib/fetch-api*'`},{name:"Exclude exact span names",value:`${packageName} traces search --query 'NOT span.name:("GET /screenshot/v2" OR "middleware GET")'`},{name:"Find spans longer than 2 seconds",value:`${packageName} traces search --query 'span.duration > 2000' --columns span.startTime,span.duration,span.name,span.kind,span.status.code`}]},tracesCommand={name:"traces",aliases:[],description:"Fetch and search traces captured for a Vercel project.",arguments:[{name:"requestId",required:!1}],subcommands:[getSubcommand,searchSubcommand,createSubcommand,tracesConfigCommand],options:[],examples:[{name:"Fetch a trace by request id",value:`${packageName} traces get req_1234567890`},{name:"Print the raw trace JSON",value:`${packageName} traces get req_1234567890 --json`},{name:"Capture a session trace for a request",value:`${packageName} traces create /api/hello`},{name:"Search recent spans",value:`${packageName} traces search --status error`},{name:"List the trace sampling rules for a project",value:`${packageName} traces config ls`}]};export{getSubcommand,createSubcommand,searchSubcommand,tracesCommand};
|
|
@@ -1,7 +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
|
-
var AGENT_STATUS={ERROR:"error",ACTION_REQUIRED:"action_required",OK:"ok"},AGENT_REASON={MISSING_ARGUMENTS:"missing_arguments",INVALID_ARGUMENTS:"invalid_arguments",CONFIRMATION_REQUIRED:"confirmation_required",INTERACTIVE_CONFIRMATION_REQUIRED:"interactive_confirmation_required",LOGIN_REQUIRED:"login_required",PROJECT_SETTINGS_REQUIRED:"project_settings_required",NOT_LINKED:"not_linked",NOT_FOUND:"not_found",PROJECT_NOT_FOUND:"project_not_found",MISSING_SCOPE:"missing_scope",SCOPE_NOT_ACCESSIBLE:"scope_not_accessible",API_ERROR:"api_error",RATE_LIMITED:"rate_limited",SEGMENT_IN_USE:"segment_in_use",ENTITY_IN_USE:"entity_in_use",MISSING_REQUIREMENTS:"missing_requirements",MISSING_NAME:"missing_name",MISSING_VALUE:"missing_value",MISSING_ENVIRONMENT:"missing_environment",ENV_NOT_FOUND:"env_not_found",MULTIPLE_ENVS:"multiple_envs",ENV_FILE_EXISTS:"env_file_exists",GIT_BRANCH_REQUIRED:"git_branch_required",ENV_KEY_SENSITIVE:"env_key_sensitive",AMBIGUOUS_ROUTE:"ambiguous_route",ROUTE_CREATE_FAILED:"route_create_failed",ROUTE_GENERATION_FAILED:"route_generation_failed",DOMAIN_NOT_FOUND:"domain_not_found",DNS_RECORD_NOT_FOUND:"dns_record_not_found",INCOMPLETE_RECORD:"incomplete_record",PERMISSION_DENIED:"permission_denied",INVALID_PORT:"invalid_port",INVALID_DNS_TYPE:"invalid_dns_type",DNS_ADD_FAILED:"dns_add_failed",INVALID_DOMAIN:"invalid_domain",CONFIGURED_CORRECTLY:"configured_correctly",VERIFICATION_NEEDED:"verification_needed",INVALID_CONFIGURATION:"invalid_configuration",DNS_CHANGE_REQUIRED:"dns_change_required",DNS_CHANGE_RECOMMENDED:"dns_change_recommended",DNSSEC_NEEDS_TO_BE_DISABLED:"dnssec_needs_to_be_disabled",PROJECT_ATTACHMENT_RECOMMENDED:"project_attachment_recommended",PROJECT_DOMAIN_MISSING:"project_domain_missing",INTEGRATION_TERMS_ACCEPTANCE_REQUIRED:"integration_terms_acceptance_required",HAS_RESOURCES:"has_resources",INTEGRATION_SANDBOX_CLAIM_REQUIRED:"integration_sandbox_claim_required",CLASSIC_TOKEN_REQUIRED:"classic_token_required",TOKEN_USER_SCOPE_REQUIRED:"token_user_scope_required",MISSING_URL:"missing_url",MISSING_EVENTS:"missing_events",INVALID_URL:"invalid_url",INVALID_EVENT:"invalid_event",INVALID_BUDGET:"invalid_budget",INVALID_REFRESH_PERIOD:"invalid_refresh_period",INVALID_EXPIRATION:"invalid_expiration",INVALID_ALERT_THRESHOLDS:"invalid_alert_thresholds",REQUIRES_CONSENT:"requires_consent",MISSING_ISSUER_ID:"missing_issuer_id",MISSING_KEY:"missing_key",MISSING_KEY_ID:"missing_key_id",MISSING_PROJECT:"missing_project",ISSUER_NOT_FOUND:"issuer_not_found",ISSUER_MANAGED:"issuer_managed",ISSUER_REQUIRES_IMPORTED_KEY:"issuer_requires_imported_key",ISSUER_REQUIRES_GENERATED_KEY:"issuer_requires_generated_key",KEY_NOT_REVOKING:"key_not_revoking",NO_CHANGES_REQUESTED:"no_changes_requested",SCHEDULES_NOT_ENABLED:"schedules_not_enabled",SCHEDULE_ALREADY_EXISTS:"schedule_already_exists",SCHEDULE_COMPLETED:"schedule_completed",STATIC_SCHEDULE:"static_schedule",INVALID_CRON_EXPRESSION:"invalid_cron_expression",INVALID_JITTER:"invalid_jitter",JITTER_EXCEEDS_CADENCE:"jitter_exceeds_cadence",SINGLE_AT_TOO_SOON:"single_at_too_soon",SCHEDULE_PAYLOAD_TOO_LARGE:"payload_too_large",SCHEDULE_PAYLOAD_STORE_FAILED:"payload_store_failed",SCHEDULE_SERVICE_UNAVAILABLE:"service_unavailable",SCHEDULE_SERVICE_ERROR:"service_error",REDIRECT_NOT_FOUND:"redirect_not_found",VERSION_NOT_FOUND:"version_not_found",VERSION_ALREADY_LIVE:"version_already_live",VERSION_IS_STAGING:"version_is_staging",PLAN_UPGRADE_REQUIRED:"plan_upgrade_required",NOT_TEAM_MEMBER:"not_team_member",INVALID_ROLE_COMBINATION:"invalid_role_combination"},AGENT_ACTION={MISSING_ARGUMENTS:"missing_arguments",CONFIRMATION_REQUIRED:"confirmation_required",LOGIN_REQUIRED:"login_required"};export{AGENT_STATUS,AGENT_REASON,AGENT_ACTION};
|
|
@@ -1,7 +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{printProjectNotFoundError}from"./chunk-BEGUGOL7.js";import{detectExplicitScope}from"./chunk-LFQTA3CF.js";import{getLinkedProject}from"./chunk-TTKDYUJD.js";import{omitGlobalFlagsFromArgs}from"./chunk-KCARCOP5.js";function getInvokingCommandFromArgv(argv){let args=omitGlobalFlagsFromArgs(argv.slice(2)),positionals=[];for(let arg of args){if(arg.startsWith("-"))break;positionals.push(arg)}return positionals.join(" ")}async function resolveProjectContext({client,cwd=client.cwd,projectNameOrId,commandName="",projectNotFoundHandling="report"}){let context=await getLinkedProject(client,{cwd,projectName:projectNameOrId,projectNameIsExplicit:!!projectNameOrId,scopeIsExplicit:detectExplicitScope(client)});return context.status==="not_linked"&&projectNameOrId&&projectNotFoundHandling==="report"?(await printProjectNotFoundError(client,projectNameOrId,commandName||getInvokingCommandFromArgv(client.argv),context.orgId),{status:"error",exitCode:1,orgId:context.orgId}):context}export{resolveProjectContext};
|