vercel 59.3.0 → 59.5.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-4L46WVRT.js → add-MH3WV6PV.js} +12 -8
- package/dist/chunks/{add-BBWVXE2R.js → add-W3FFMTX4.js} +15 -11
- package/dist/chunks/{add-KOD24LEM.js → add-Z5FM6TFI.js} +18 -14
- package/dist/chunks/{build-2SX3XIRI.js → build-VYYFBJL7.js} +13 -10
- package/dist/chunks/{chunk-F7OXZLY2.js → chunk-26XDDLXM.js} +2 -2
- package/dist/chunks/{chunk-RIB4S2IB.js → chunk-3HZLXCVL.js} +1 -1
- package/dist/chunks/{chunk-OISTYQGR.js → chunk-47VQ6H2S.js} +1 -1
- package/dist/chunks/{chunk-WODLA275.js → chunk-4JTF6RD7.js} +7 -7
- package/dist/chunks/{chunk-3KNPVXJ3.js → chunk-4KD5BYHB.js} +1 -1
- package/dist/chunks/{chunk-XLKFJPMT.js → chunk-57RHXXXG.js} +1 -1
- package/dist/chunks/chunk-5GGUB4EO.js +31 -0
- package/dist/chunks/chunk-5LX2JDZP.js +34 -0
- package/dist/chunks/chunk-7Q45OKWR.js +149 -0
- package/dist/chunks/{chunk-7PEQVFHI.js → chunk-7XX4ZEOV.js} +2 -2
- package/dist/chunks/{chunk-JKQWQA2T.js → chunk-AINIBIP4.js} +1 -1
- package/dist/chunks/{chunk-SOFC4MLS.js → chunk-AWCID36T.js} +8 -568
- package/dist/chunks/{chunk-KAYSW4CJ.js → chunk-AWSLWAOC.js} +1 -1
- package/dist/chunks/{chunk-KDYRLN6H.js → chunk-C5HKWXRR.js} +1 -1
- package/dist/chunks/{chunk-2MF3ZAVW.js → chunk-CJV7J7B5.js} +6 -6
- package/dist/chunks/chunk-CQJRLNTX.js +104 -0
- package/dist/chunks/{chunk-QKO2DGWR.js → chunk-CSCSGSQG.js} +4 -4
- package/dist/chunks/{chunk-3L2YLLHC.js → chunk-DWIC7MRV.js} +2 -2
- package/dist/chunks/{chunk-KDL2L4KL.js → chunk-E6LFKMI2.js} +13613 -14235
- package/dist/chunks/{chunk-GFCTRJI5.js → chunk-EZKW5YJ2.js} +1 -1
- package/dist/chunks/{chunk-DAA5RXUK.js → chunk-FA3MO56Q.js} +6 -4
- package/dist/chunks/{chunk-CURHMEJX.js → chunk-GUWPUX2Y.js} +5 -5
- package/dist/chunks/chunk-GY5I4AYD.js +122 -0
- package/dist/chunks/chunk-HGRWPPYB.js +18 -0
- package/dist/chunks/{chunk-D35JUCTC.js → chunk-JJQP3PYM.js} +7 -5
- package/dist/chunks/{chunk-KBUCAAG6.js → chunk-JNU3DTEV.js} +14 -12
- package/dist/chunks/{chunk-J5ZEHLFM.js → chunk-L7CEMAJG.js} +14 -3
- package/dist/chunks/{chunk-ANIKVXGZ.js → chunk-LLM3ZNXJ.js} +2 -2
- package/dist/chunks/{chunk-Z2G6SO5B.js → chunk-M3OSDZPY.js} +6 -4
- package/dist/chunks/{chunk-WNS53IOA.js → chunk-MRMNMFMD.js} +2 -2
- package/dist/chunks/{chunk-EG5BSAXD.js → chunk-MTWHQEXI.js} +1 -1
- package/dist/chunks/{chunk-WC7IINFV.js → chunk-NFU4XJIR.js} +1 -1
- package/dist/chunks/{chunk-6GWLC2IP.js → chunk-NSU2BTRS.js} +3 -3
- package/dist/chunks/chunk-OHER4DGX.js +451 -0
- package/dist/chunks/{chunk-BBSS3XIW.js → chunk-OQ3C5VXZ.js} +1 -1
- package/dist/chunks/{chunk-Q6QCRFTC.js → chunk-PBHBX6UL.js} +2 -2
- package/dist/chunks/{chunk-M22O6CYY.js → chunk-POOO7W47.js} +1 -1
- package/dist/chunks/{chunk-G55RLNFE.js → chunk-PPUWG2UB.js} +12 -8
- package/dist/chunks/chunk-Q2DGFCO7.js +579 -0
- package/dist/chunks/{chunk-7GE2K2WR.js → chunk-QG4PCM45.js} +334 -169
- package/dist/chunks/{chunk-VAFU7DXZ.js → chunk-RKDCNQ4S.js} +1 -91
- package/dist/chunks/{chunk-XI6NJLI4.js → chunk-RZ5NP6HN.js} +2 -2
- package/dist/chunks/{chunk-GMWRTZVZ.js → chunk-SLPSPYVR.js} +1 -1
- package/dist/chunks/{chunk-VTP6WIQA.js → chunk-TAZ5ZAKG.js} +257 -4
- package/dist/chunks/{chunk-ZHRZMQGN.js → chunk-TDXNNIZ6.js} +1 -1
- package/dist/chunks/{chunk-NN2W7WFC.js → chunk-TIWAL2YU.js} +6 -6
- package/dist/chunks/{chunk-P3BFTZXW.js → chunk-UUVMIXT4.js} +5 -5
- package/dist/chunks/{chunk-AAMJ4ZU4.js → chunk-V4YLY44R.js} +3 -17
- package/dist/chunks/{chunk-O5GNPPTU.js → chunk-VP5Y3SZG.js} +1 -1
- package/dist/chunks/{chunk-YPPWGI3F.js → chunk-VWYNSJXI.js} +7 -7
- package/dist/chunks/{chunk-7QVJTI5H.js → chunk-XDGOOW3K.js} +1 -1
- package/dist/chunks/{chunk-UMA66MKW.js → chunk-XM3LOQIX.js} +1 -1
- package/dist/chunks/{chunk-VDJN4WKH.js → chunk-XRWOTCDO.js} +1 -1
- package/dist/chunks/{chunk-MWYQ24FO.js → chunk-YIHOS3ZF.js} +2 -2
- package/dist/chunks/{chunk-STPH4Y62.js → chunk-YJUO3EKH.js} +1 -1
- package/dist/chunks/chunk-ZKUHCL6O.js +249 -0
- package/dist/chunks/{clear-2DMDKLWZ.js → clear-TNGRDA7D.js} +12 -8
- package/dist/chunks/{compile-vercel-config-7HZ4UN6R.js → compile-vercel-config-ERLXKKWW.js} +8 -5
- package/dist/chunks/config-7EDKML5Q.js +122 -0
- package/dist/chunks/{config-CVZ25C54.js → config-H22EE765.js} +15 -11
- package/dist/chunks/{delete-QNAGJM6C.js → delete-LORYIZHY.js} +10 -7
- package/dist/chunks/{delete-4LQKP5DG.js → delete-Q4S5F2AI.js} +12 -8
- package/dist/chunks/{disable-2RBFIZUB.js → disable-HKWCBDJC.js} +10 -7
- package/dist/chunks/{discard-UCOSPSUU.js → discard-UCCRF2JQ.js} +10 -7
- package/dist/chunks/{edit-QSAO74S4.js → edit-6IM6VRBR.js} +12 -8
- package/dist/chunks/{edit-JX73BG3V.js → edit-AWL35PYQ.js} +11 -8
- package/dist/chunks/{enable-NDSB4T26.js → enable-GN3D3L3V.js} +10 -7
- package/dist/chunks/{export-DB6BIYQJ.js → export-HHRVFALV.js} +10 -7
- package/dist/chunks/{image-MKB6II6L.js → image-4DCU4VPP.js} +6 -5
- package/dist/chunks/{import-builders-FIQ7QTVG.js → import-builders-DVG3HOTF.js} +9 -6
- package/dist/chunks/{inspect-REJXLWLL.js → inspect-B3OWUFLH.js} +12 -8
- package/dist/chunks/{inspect-XS2TC7TC.js → inspect-TGOJDKIT.js} +15 -11
- package/dist/chunks/{inspect-QWTWAYLS.js → inspect-TUW67CFZ.js} +15 -11
- package/dist/chunks/{inspect-IYRKEWTM.js → inspect-VLGKNHJW.js} +12 -8
- package/dist/chunks/{inspect-NY6QRX5W.js → inspect-VPME6UC7.js} +15 -11
- package/dist/chunks/{list-PXKVKXHG.js → list-2DPKDHRV.js} +15 -11
- package/dist/chunks/{list-VQHBVY3Q.js → list-K552ITMK.js} +15 -11
- package/dist/chunks/{list-CDCITV4K.js → list-TK2JO7BK.js} +12 -8
- package/dist/chunks/{login-PE4JK7A2.js → login-HRWEKW5P.js} +15 -11
- package/dist/chunks/{ls-DL2POAY2.js → ls-IOXGXEY4.js} +15 -11
- package/dist/chunks/{ls-S67TNMEG.js → ls-JSV2WZVF.js} +15 -10
- package/dist/chunks/{ls-SKOQOPK4.js → ls-M5TYGFP5.js} +15 -10
- package/dist/chunks/{ls-3GRHYFDM.js → ls-O2WYF5UL.js} +18 -13
- package/dist/chunks/ls-TM6NTZEB.js +176 -0
- package/dist/chunks/{ls-YHS5IEBJ.js → ls-YIF3KLF3.js} +15 -10
- package/dist/chunks/{open-DUN3BTDH.js → open-FWAVEWGU.js} +12 -8
- package/dist/chunks/{permissions-VLIZYINB.js → permissions-DPFYL47Z.js} +9 -8
- package/dist/chunks/{publish-36BIJPLN.js → publish-63CGFKQR.js} +10 -7
- package/dist/chunks/{push-5NTQV3EC.js → push-T5ZTBW3P.js} +13 -10
- package/dist/chunks/{query-ONR2W7HS.js → query-B6O3EMEV.js} +14 -10
- package/dist/chunks/{reorder-YKAT4XG3.js → reorder-ANV4NMKH.js} +10 -7
- package/dist/chunks/{reply-DH4ZPEXT.js → reply-C73KGOCG.js} +12 -8
- package/dist/chunks/{resolve-446IVH6V.js → resolve-IHSIVPEE.js} +12 -8
- package/dist/chunks/{restore-HA6TSOOE.js → restore-GSUNXP2O.js} +10 -7
- package/dist/chunks/{rm-BCPJUK2C.js → rm-4O74PS4Q.js} +12 -8
- package/dist/chunks/{rm-IKYJI7MP.js → rm-M7IJC2WZ.js} +12 -8
- package/dist/chunks/{rm-EG35766L.js → rm-PRINF4OU.js} +15 -11
- package/dist/chunks/rm-RV5SQFQA.js +317 -0
- package/dist/chunks/{rm-COV73VE4.js → rm-YDTK5ESZ.js} +13 -9
- package/dist/chunks/{rule-inspect-FQ2635LY.js → rule-inspect-ZZC53FLP.js} +15 -11
- package/dist/chunks/{rules-PBOQISWV.js → rules-SAOSSGFI.js} +10 -9
- package/dist/chunks/{schema-LUVFYPWN.js → schema-23ZFAKDU.js} +7 -5
- package/dist/chunks/{schema-4CDJVH7T.js → schema-2Q3QRMRO.js} +11 -8
- package/dist/chunks/set-L47ZCZBJ.js +243 -0
- package/dist/chunks/{tags-HNOL4JXL.js → tags-2TWLM77N.js} +5 -4
- package/dist/chunks/{types-AJHILHO5.js → types-G3PEUIJH.js} +11 -7
- package/dist/chunks/{update-ZIGVLUYG.js → update-SZH2VBD6.js} +16 -12
- package/dist/commands/build/index.js +30 -22
- package/dist/commands/deploy/index.js +41 -32
- package/dist/commands/dev/index.js +82 -39
- package/dist/commands/env/index.js +185 -253
- package/dist/commands/link/index.js +25 -20
- package/dist/commands/list/index.js +19 -12
- package/dist/commands-bulk.js +3672 -1717
- package/dist/help.js +1 -1
- package/dist/index.js +34 -28
- package/dist/version.mjs +1 -1
- package/package.json +48 -47
|
@@ -13,14 +13,16 @@ import {
|
|
|
13
13
|
getLinkedProject,
|
|
14
14
|
getScope,
|
|
15
15
|
resolveProjectContext
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E6LFKMI2.js";
|
|
17
17
|
import {
|
|
18
18
|
printError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CQJRLNTX.js";
|
|
20
20
|
import {
|
|
21
|
-
getCommandName,
|
|
22
21
|
isAPIError
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AWCID36T.js";
|
|
23
|
+
import {
|
|
24
|
+
getCommandName
|
|
25
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
24
26
|
import {
|
|
25
27
|
output_manager_default
|
|
26
28
|
} from "./chunk-OX7KI3LF.js";
|
|
@@ -7,20 +7,20 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
login,
|
|
9
9
|
require_ci_info
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TIWAL2YU.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AINIBIP4.js";
|
|
14
14
|
import {
|
|
15
15
|
humanizePath,
|
|
16
16
|
param
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E6LFKMI2.js";
|
|
18
18
|
import {
|
|
19
19
|
printError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CQJRLNTX.js";
|
|
21
21
|
import {
|
|
22
22
|
getCommandName
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
24
24
|
import {
|
|
25
25
|
output_manager_default
|
|
26
26
|
} from "./chunk-OX7KI3LF.js";
|
|
@@ -0,0 +1,122 @@
|
|
|
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
|
+
formatOption,
|
|
9
|
+
jsonOption,
|
|
10
|
+
packageName,
|
|
11
|
+
projectOption
|
|
12
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
13
|
+
|
|
14
|
+
// src/commands/traces/config/command.ts
|
|
15
|
+
var RULE_ENVIRONMENTS = ["any", "preview", "production"];
|
|
16
|
+
var lsSubcommand = {
|
|
17
|
+
name: "ls",
|
|
18
|
+
aliases: ["list"],
|
|
19
|
+
description: "List the trace sampling rules for a project",
|
|
20
|
+
arguments: [],
|
|
21
|
+
options: [formatOption, jsonOption, projectOption],
|
|
22
|
+
examples: [
|
|
23
|
+
{
|
|
24
|
+
name: "List the sampling rules for the linked project",
|
|
25
|
+
value: `${packageName} traces config ls`
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "List the sampling rules as JSON",
|
|
29
|
+
value: `${packageName} traces config ls --json`
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
};
|
|
33
|
+
var setSubcommand = {
|
|
34
|
+
name: "set",
|
|
35
|
+
aliases: [],
|
|
36
|
+
description: "Add or replace one trace sampling rule. The rate is a whole percentage from 1 to 100.",
|
|
37
|
+
arguments: [
|
|
38
|
+
{ name: "environment", required: true },
|
|
39
|
+
{ name: "rate", required: true },
|
|
40
|
+
{ name: "requestPath", required: false }
|
|
41
|
+
],
|
|
42
|
+
options: [formatOption, jsonOption, projectOption],
|
|
43
|
+
examples: [
|
|
44
|
+
{
|
|
45
|
+
name: "Trace a quarter of production traffic",
|
|
46
|
+
value: `${packageName} traces config set production 25`
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: "Trace every preview request to one path prefix",
|
|
50
|
+
value: `${packageName} traces config set preview 100 /api`
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "Trace one percent of traffic in every environment",
|
|
54
|
+
value: `${packageName} traces config set any 1`
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
};
|
|
58
|
+
var rmSubcommand = {
|
|
59
|
+
name: "rm",
|
|
60
|
+
aliases: ["remove", "delete"],
|
|
61
|
+
description: "Remove trace sampling rules. Without a path prefix, every rule for the environment is removed.",
|
|
62
|
+
arguments: [
|
|
63
|
+
{ name: "environment", required: true },
|
|
64
|
+
{ name: "requestPath", required: false }
|
|
65
|
+
],
|
|
66
|
+
options: [
|
|
67
|
+
{
|
|
68
|
+
name: "default",
|
|
69
|
+
shorthand: null,
|
|
70
|
+
type: Boolean,
|
|
71
|
+
deprecated: false,
|
|
72
|
+
description: "Remove only the rule that has no path prefix, keeping the per-path rules"
|
|
73
|
+
},
|
|
74
|
+
formatOption,
|
|
75
|
+
jsonOption,
|
|
76
|
+
projectOption
|
|
77
|
+
],
|
|
78
|
+
examples: [
|
|
79
|
+
{
|
|
80
|
+
name: "Remove one rule by environment and path prefix",
|
|
81
|
+
value: `${packageName} traces config rm production /api`
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: "Remove every rule for production",
|
|
85
|
+
value: `${packageName} traces config rm production`
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "Remove only the production rule that covers all paths",
|
|
89
|
+
value: `${packageName} traces config rm production --default`
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
};
|
|
93
|
+
var tracesConfigCommand = {
|
|
94
|
+
name: "config",
|
|
95
|
+
aliases: [],
|
|
96
|
+
description: "Manage trace sampling rules for a Vercel project.",
|
|
97
|
+
arguments: [],
|
|
98
|
+
subcommands: [lsSubcommand, setSubcommand, rmSubcommand],
|
|
99
|
+
options: [],
|
|
100
|
+
examples: [
|
|
101
|
+
{
|
|
102
|
+
name: "List the sampling rules for the linked project",
|
|
103
|
+
value: `${packageName} traces config ls`
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: "Trace a quarter of production traffic",
|
|
107
|
+
value: `${packageName} traces config set production 25`
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "Remove every rule for production",
|
|
111
|
+
value: `${packageName} traces config rm production`
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export {
|
|
117
|
+
RULE_ENVIRONMENTS,
|
|
118
|
+
lsSubcommand,
|
|
119
|
+
setSubcommand,
|
|
120
|
+
rmSubcommand,
|
|
121
|
+
tracesConfigCommand
|
|
122
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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/flags/quote-arg.ts
|
|
9
|
+
function quoteArg(value) {
|
|
10
|
+
if (/^[A-Za-z0-9_./@:-]+$/.test(value)) {
|
|
11
|
+
return value;
|
|
12
|
+
}
|
|
13
|
+
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
quoteArg
|
|
18
|
+
};
|
|
@@ -14,19 +14,21 @@ import {
|
|
|
14
14
|
VERCEL_CONFIG_EXTENSIONS,
|
|
15
15
|
VERCEL_DIR,
|
|
16
16
|
readJSONFile,
|
|
17
|
-
|
|
17
|
+
require_dist2,
|
|
18
18
|
require_lib,
|
|
19
19
|
require_minimatch,
|
|
20
20
|
require_pluralize
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E6LFKMI2.js";
|
|
22
22
|
import {
|
|
23
23
|
isNativeBinaryInstall
|
|
24
24
|
} from "./chunk-CYNB6LL4.js";
|
|
25
25
|
import {
|
|
26
26
|
CantParseJSONFile,
|
|
27
|
-
cmd,
|
|
28
27
|
code
|
|
29
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AWCID36T.js";
|
|
29
|
+
import {
|
|
30
|
+
cmd
|
|
31
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
30
32
|
import {
|
|
31
33
|
pkg_default
|
|
32
34
|
} from "./chunk-P4QNYOFB.js";
|
|
@@ -1129,7 +1131,7 @@ var require_import_builders = __commonJS({
|
|
|
1129
1131
|
installReasons.set(spec, "pin-version-mismatch");
|
|
1130
1132
|
continue;
|
|
1131
1133
|
}
|
|
1132
|
-
if (isBareSpec(parsed) && peerVersion && isRemoteBuilderPin(peerVersion) && pkgPath.startsWith(buildersDir)) {
|
|
1134
|
+
if (isBareSpec(parsed) && peerVersion && isRemoteBuilderPin(peerVersion) && pkgPath.startsWith(buildersDir) && !allowedPinDriftSpecs?.has(spec)) {
|
|
1133
1135
|
let installedSpec;
|
|
1134
1136
|
try {
|
|
1135
1137
|
const buildersPkg = await (0, import_fs_extra.readJSON)((0, import_path.join)(buildersDir, "package.json"));
|
|
@@ -7,36 +7,36 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LLM3ZNXJ.js";
|
|
11
11
|
import {
|
|
12
12
|
progress,
|
|
13
13
|
require_ci_info
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TIWAL2YU.js";
|
|
15
15
|
import {
|
|
16
16
|
writeToConfigFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4JTF6RD7.js";
|
|
18
18
|
import {
|
|
19
19
|
getGlobalPathConfig
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AINIBIP4.js";
|
|
21
21
|
import {
|
|
22
22
|
validateJsonOutput
|
|
23
23
|
} from "./chunk-KXDWXXJH.js";
|
|
24
24
|
import {
|
|
25
25
|
apiCommand,
|
|
26
26
|
listSubcommand4 as listSubcommand
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QG4PCM45.js";
|
|
28
28
|
import {
|
|
29
29
|
require_semver
|
|
30
30
|
} from "./chunk-IB5L4LKZ.js";
|
|
31
31
|
import {
|
|
32
32
|
help
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RZ5NP6HN.js";
|
|
34
34
|
import {
|
|
35
35
|
require_chownr,
|
|
36
36
|
require_mkdirp,
|
|
37
37
|
require_pump,
|
|
38
38
|
require_tar_stream
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-E6LFKMI2.js";
|
|
40
40
|
import {
|
|
41
41
|
TelemetryClient,
|
|
42
42
|
getInstallRoot,
|
|
@@ -46,16 +46,18 @@ import {
|
|
|
46
46
|
require_ms
|
|
47
47
|
} from "./chunk-GGP5R3FU.js";
|
|
48
48
|
import {
|
|
49
|
-
printError
|
|
50
|
-
|
|
51
|
-
} from "./chunk-VAFU7DXZ.js";
|
|
49
|
+
printError
|
|
50
|
+
} from "./chunk-CQJRLNTX.js";
|
|
52
51
|
import {
|
|
53
52
|
parseArguments
|
|
54
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-57RHXXXG.js";
|
|
54
|
+
import {
|
|
55
|
+
require_strip_ansi
|
|
56
|
+
} from "./chunk-RKDCNQ4S.js";
|
|
55
57
|
import {
|
|
56
58
|
getFlagsSpecification,
|
|
57
59
|
packageName
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
59
61
|
import {
|
|
60
62
|
pkg_default
|
|
61
63
|
} from "./chunk-P4QNYOFB.js";
|
|
@@ -7,12 +7,14 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
LinkRequiredError,
|
|
9
9
|
ProjectNotFound,
|
|
10
|
+
isAPIError
|
|
11
|
+
} from "./chunk-AWCID36T.js";
|
|
12
|
+
import {
|
|
10
13
|
getGlobalFlagsFromArgs,
|
|
11
|
-
isAPIError,
|
|
12
14
|
packageName,
|
|
13
15
|
stripSensitiveAuthArgs,
|
|
14
16
|
suggestionFlagTakesSeparateValue
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
16
18
|
import {
|
|
17
19
|
require_dist
|
|
18
20
|
} from "./chunk-OX7KI3LF.js";
|
|
@@ -390,12 +392,18 @@ function buildNextStepsForProjectSubcommands(client, variant) {
|
|
|
390
392
|
} : variant === "web-analytics" ? {
|
|
391
393
|
template: "project web-analytics <name>",
|
|
392
394
|
when: "Enable Web Analytics by project name (replace <name>)"
|
|
395
|
+
} : variant === "observability" ? {
|
|
396
|
+
template: "project observability enable <name>",
|
|
397
|
+
when: "Enable Observability Plus by project name (replace <name>)"
|
|
393
398
|
} : variant === "checks" ? {
|
|
394
399
|
template: "project checks add <name>",
|
|
395
400
|
when: "Create a deployment check by project name (replace <name>)"
|
|
396
401
|
} : variant === "inspect" ? {
|
|
397
402
|
template: "project inspect <name>",
|
|
398
403
|
when: "Inspect a project by name (replace <name>)"
|
|
404
|
+
} : variant === "resume" ? {
|
|
405
|
+
template: "project resume <name>",
|
|
406
|
+
when: "Resume production traffic by project name (replace <name>)"
|
|
399
407
|
} : {
|
|
400
408
|
template: "project members <name>",
|
|
401
409
|
when: "List members by project name (replace <name>)"
|
|
@@ -643,7 +651,10 @@ var AGENT_REASON = {
|
|
|
643
651
|
REDIRECT_NOT_FOUND: "redirect_not_found",
|
|
644
652
|
VERSION_NOT_FOUND: "version_not_found",
|
|
645
653
|
VERSION_ALREADY_LIVE: "version_already_live",
|
|
646
|
-
VERSION_IS_STAGING: "version_is_staging"
|
|
654
|
+
VERSION_IS_STAGING: "version_is_staging",
|
|
655
|
+
PLAN_UPGRADE_REQUIRED: "plan_upgrade_required",
|
|
656
|
+
NOT_TEAM_MEMBER: "not_team_member",
|
|
657
|
+
INVALID_ROLE_COMBINATION: "invalid_role_combination"
|
|
647
658
|
};
|
|
648
659
|
var AGENT_ACTION = {
|
|
649
660
|
MISSING_ARGUMENTS: "missing_arguments",
|
|
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E6LFKMI2.js";
|
|
10
10
|
import {
|
|
11
11
|
isNativeBinaryInstall
|
|
12
12
|
} from "./chunk-CYNB6LL4.js";
|
|
13
13
|
import {
|
|
14
14
|
packageName
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -20,21 +20,23 @@ import {
|
|
|
20
20
|
getLinkedProject,
|
|
21
21
|
getProjectByNameOrId,
|
|
22
22
|
getScope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E6LFKMI2.js";
|
|
24
24
|
import {
|
|
25
25
|
AGENT_REASON,
|
|
26
26
|
buildCommandWithGlobalFlags,
|
|
27
27
|
outputAgentError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-L7CEMAJG.js";
|
|
29
29
|
import {
|
|
30
30
|
require_ms
|
|
31
31
|
} from "./chunk-GGP5R3FU.js";
|
|
32
32
|
import {
|
|
33
33
|
ProjectNotFound,
|
|
34
34
|
isAPIError,
|
|
35
|
-
packageName,
|
|
36
35
|
require_bytes
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-AWCID36T.js";
|
|
37
|
+
import {
|
|
38
|
+
packageName
|
|
39
|
+
} from "./chunk-Q2DGFCO7.js";
|
|
38
40
|
import {
|
|
39
41
|
output_manager_default
|
|
40
42
|
} from "./chunk-OX7KI3LF.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
ellipsis
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C5HKWXRR.js";
|
|
10
10
|
import {
|
|
11
11
|
ALIGNED_LABEL_WIDTH
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-E6LFKMI2.js";
|
|
13
13
|
import {
|
|
14
14
|
require_ms
|
|
15
15
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
getProjectByNameOrId,
|
|
13
13
|
getScope
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E6LFKMI2.js";
|
|
15
15
|
import {
|
|
16
16
|
AGENT_REASON,
|
|
17
17
|
buildCommandWithGlobalFlags,
|
|
18
18
|
outputAgentError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-L7CEMAJG.js";
|
|
20
20
|
import {
|
|
21
21
|
ProjectNotFound,
|
|
22
22
|
isAPIError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AWCID36T.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/alerts/resolve-alerts-scope.ts
|
|
26
26
|
function emitAlertsScopeError(client, jsonOutput, code, message, agent) {
|