vercel 53.1.1 → 53.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{add-UAZIKU22.js → add-C7TQF4LB.js} +4 -4
- package/dist/chunks/{chunk-AES77UB7.js → chunk-2STWVKG7.js} +33 -3
- package/dist/chunks/{chunk-YIK5Y7MI.js → chunk-2TJ5Y674.js} +2 -2
- package/dist/chunks/{chunk-NFAQ5Q3Z.js → chunk-3GBASY24.js} +1 -1
- package/dist/chunks/{chunk-QIHIANBF.js → chunk-3XU5UGVN.js} +1 -0
- package/dist/chunks/{chunk-3P3YBOCQ.js → chunk-4DLW7XLJ.js} +1 -1
- package/dist/chunks/{chunk-KOCX7HWE.js → chunk-4M7OEHTY.js} +5 -5
- package/dist/chunks/{chunk-5GMV7WTU.js → chunk-6N4RFT24.js} +4 -4
- package/dist/chunks/{chunk-WMD7Y6HT.js → chunk-7FQIXP2G.js} +1 -1
- package/dist/chunks/{chunk-SPXTKMOV.js → chunk-AB7YF6KM.js} +3 -15
- package/dist/chunks/{chunk-JDKASMB2.js → chunk-AMXEAJTC.js} +2 -2
- package/dist/chunks/{chunk-T2DVW5BM.js → chunk-FFKXMQXF.js} +2 -2
- package/dist/chunks/{chunk-GDOCMDCB.js → chunk-FK7LDWAI.js} +1 -1
- package/dist/chunks/{chunk-EYQEF55O.js → chunk-FLZW555J.js} +3 -2
- package/dist/chunks/{chunk-5B27ZNJB.js → chunk-HQU26P3O.js} +4 -4
- package/dist/chunks/{chunk-BAAZFRLH.js → chunk-MAPNH6ND.js} +22 -12
- package/dist/chunks/{chunk-LDFOVKJS.js → chunk-MZVW2VM7.js} +1 -1
- package/dist/chunks/{chunk-KFFW6MSL.js → chunk-QT4W4DLL.js} +1 -1
- package/dist/chunks/{chunk-WS4HI35O.js → chunk-RJWHOSUL.js} +1 -1
- package/dist/chunks/{chunk-C7FXVPAA.js → chunk-TPBMA2WF.js} +1 -1
- package/dist/chunks/{chunk-JPVQD2PJ.js → chunk-X6H25N2H.js} +1 -1
- package/dist/chunks/{chunk-VQSAZO3U.js → chunk-YEGTCAP6.js} +3 -3
- package/dist/chunks/{compile-vercel-config-BUURMPDD.js → compile-vercel-config-QKQSM6VM.js} +1 -1
- package/dist/chunks/{delete-GBLJYO3T.js → delete-LUW77HWU.js} +2 -2
- package/dist/chunks/{disable-QFE5TGWG.js → disable-ITW6P3R3.js} +2 -2
- package/dist/chunks/{discard-IPPO7M2N.js → discard-GDFQ4V4V.js} +2 -2
- package/dist/chunks/{edit-KQD3MEZA.js → edit-ZN7PQWZH.js} +3 -3
- package/dist/chunks/{enable-JBL4DMGJ.js → enable-VTJNEZ5Q.js} +2 -2
- package/dist/chunks/{export-KLWZUAYD.js → export-54A2LINR.js} +2 -2
- package/dist/chunks/{inspect-TWW2XBDE.js → inspect-UMXWXZMZ.js} +3 -3
- package/dist/chunks/{list-UM77B7WK.js → list-JZMV62KB.js} +3 -3
- package/dist/chunks/{list-WJGLZ5ES.js → list-OJCLL4JA.js} +2 -2
- package/dist/chunks/{ls-WVHDFPT3.js → ls-B677IDAB.js} +4 -4
- package/dist/chunks/{publish-45SAIZE4.js → publish-SI4H6WPL.js} +2 -2
- package/dist/chunks/{query-VH2TS6IS.js → query-2CL2LAOA.js} +2 -2
- package/dist/chunks/{reorder-NYENR2XY.js → reorder-E6R3ZL6W.js} +2 -2
- package/dist/chunks/{restore-H2VIG7KZ.js → restore-ZVC2USSZ.js} +2 -2
- package/dist/chunks/{rm-RQEP4KMK.js → rm-F3ESGYZE.js} +4 -4
- package/dist/chunks/{rule-inspect-GR3RMO2J.js → rule-inspect-AWORVTNG.js} +4 -4
- package/dist/chunks/{rules-EOBQZE3T.js → rules-KSDPKR6Z.js} +6 -6
- package/dist/chunks/{schema-OOGMY2SS.js → schema-UGF5QQ3K.js} +2 -2
- package/dist/chunks/{update-VLOWX7UQ.js → update-GXZVHW4O.js} +4 -4
- package/dist/commands/build/index.js +9 -9
- package/dist/commands/deploy/index.js +33 -11
- package/dist/commands/dev/index.js +8 -8
- package/dist/commands/env/index.js +5 -5
- package/dist/commands/link/index.js +13 -9
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +51 -36
- package/dist/help.js +1 -1
- package/dist/index.js +10 -10
- package/dist/version.mjs +1 -1
- package/package.json +14 -19
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-TPBMA2WF.js";
|
|
13
|
+
import "./chunk-2TJ5Y674.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
20
|
} from "./chunk-P3H4MP5H.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-FLZW555J.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
24
|
} from "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-AB7YF6KM.js";
|
|
26
26
|
import "./chunk-4Z7KJQGN.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MZVW2VM7.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AB7YF6KM.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -189,6 +189,14 @@ var continueSubcommand = {
|
|
|
189
189
|
argument: "FORMAT",
|
|
190
190
|
deprecated: false,
|
|
191
191
|
description: "Compress the deployment code into an archive before uploading it"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: "error",
|
|
195
|
+
shorthand: null,
|
|
196
|
+
type: String,
|
|
197
|
+
argument: "MESSAGE",
|
|
198
|
+
deprecated: false,
|
|
199
|
+
description: "Mark the deployment as errored with a message"
|
|
192
200
|
}
|
|
193
201
|
],
|
|
194
202
|
examples: [
|
|
@@ -1336,6 +1344,13 @@ var createSubcommand2 = {
|
|
|
1336
1344
|
deprecated: false,
|
|
1337
1345
|
description: "Name of the Connex client"
|
|
1338
1346
|
},
|
|
1347
|
+
{
|
|
1348
|
+
name: "triggers",
|
|
1349
|
+
shorthand: null,
|
|
1350
|
+
type: Boolean,
|
|
1351
|
+
deprecated: false,
|
|
1352
|
+
description: "Enable webhook triggers for this client"
|
|
1353
|
+
},
|
|
1339
1354
|
formatOption
|
|
1340
1355
|
],
|
|
1341
1356
|
examples: [
|
|
@@ -1347,6 +1362,10 @@ var createSubcommand2 = {
|
|
|
1347
1362
|
name: "Create with a custom name",
|
|
1348
1363
|
value: `${packageName} connex create slack --name my-bot`
|
|
1349
1364
|
},
|
|
1365
|
+
{
|
|
1366
|
+
name: "Create with webhook triggers enabled",
|
|
1367
|
+
value: `${packageName} connex create slack --name my-bot --triggers`
|
|
1368
|
+
},
|
|
1350
1369
|
{
|
|
1351
1370
|
name: "Output as JSON",
|
|
1352
1371
|
value: `${packageName} connex create slack --format=json`
|
|
@@ -3142,7 +3161,6 @@ var firewallCommand = {
|
|
|
3142
3161
|
name: "firewall",
|
|
3143
3162
|
aliases: [],
|
|
3144
3163
|
description: "Manage your project's firewall rules, IP blocks, and system bypass configuration",
|
|
3145
|
-
hidden: true,
|
|
3146
3164
|
arguments: [],
|
|
3147
3165
|
subcommands: [
|
|
3148
3166
|
overviewSubcommand,
|
|
@@ -5648,6 +5666,14 @@ var listSubcommand12 = {
|
|
|
5648
5666
|
shorthand: null,
|
|
5649
5667
|
type: Boolean,
|
|
5650
5668
|
deprecated: false
|
|
5669
|
+
},
|
|
5670
|
+
{
|
|
5671
|
+
name: "filter",
|
|
5672
|
+
shorthand: "f",
|
|
5673
|
+
type: String,
|
|
5674
|
+
argument: "NAME",
|
|
5675
|
+
description: "Filter projects by name (substring match)",
|
|
5676
|
+
deprecated: false
|
|
5651
5677
|
}
|
|
5652
5678
|
],
|
|
5653
5679
|
examples: [
|
|
@@ -5658,6 +5684,10 @@ var listSubcommand12 = {
|
|
|
5658
5684
|
{
|
|
5659
5685
|
name: "List projects using a deprecated Node.js version in JSON format",
|
|
5660
5686
|
value: `${packageName} project ls --update-required --format=json`
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
name: "Filter projects by name",
|
|
5690
|
+
value: `${packageName} project ls --filter my-app`
|
|
5661
5691
|
}
|
|
5662
5692
|
]
|
|
5663
5693
|
};
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-HTOH3MSD.js";
|
|
10
10
|
import {
|
|
11
11
|
getScope
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FLZW555J.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON
|
|
15
15
|
} from "./chunk-E3NE4SKN.js";
|
|
16
16
|
import {
|
|
17
17
|
getLinkedProject,
|
|
18
18
|
getProjectByNameOrId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AB7YF6KM.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
@@ -67,6 +67,7 @@ var help = () => `
|
|
|
67
67
|
deploy-hooks [cmd] Manage deploy hooks for Git-triggered builds
|
|
68
68
|
dns [name] Manages your DNS records
|
|
69
69
|
domains [name] Manages your domain names
|
|
70
|
+
firewall [cmd] Manages Vercel Firewall configuration and custom rules
|
|
70
71
|
httpstat path Visualize HTTP timing statistics for deployments
|
|
71
72
|
logs [url] Displays the logs for a deployment
|
|
72
73
|
metrics <metric> Queries observability metrics for your project or team
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YEGTCAP6.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LOS7HHU3.js";
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
} from "./chunk-MSJX3VKI.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2STWVKG7.js";
|
|
23
23
|
import {
|
|
24
24
|
getScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FLZW555J.js";
|
|
26
26
|
import {
|
|
27
27
|
ua_default
|
|
28
28
|
} from "./chunk-JCLLQ23G.js";
|
|
29
29
|
import {
|
|
30
30
|
showPluginTipIfNeeded
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MZVW2VM7.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectByNameOrId,
|
|
34
34
|
param,
|
|
35
35
|
require_dist as require_dist3,
|
|
36
36
|
require_lib3 as require_lib,
|
|
37
37
|
require_pluralize
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AB7YF6KM.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -6,21 +6,21 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3GBASY24.js";
|
|
10
10
|
import {
|
|
11
11
|
login
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YEGTCAP6.js";
|
|
13
13
|
import {
|
|
14
14
|
apiCommand,
|
|
15
15
|
listSubcommand2 as listSubcommand,
|
|
16
16
|
loginCommand
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2STWVKG7.js";
|
|
18
18
|
import {
|
|
19
19
|
help
|
|
20
20
|
} from "./chunk-3LRN4Q7G.js";
|
|
21
21
|
import {
|
|
22
22
|
global_path_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AB7YF6KM.js";
|
|
24
24
|
import {
|
|
25
25
|
TelemetryClient
|
|
26
26
|
} from "./chunk-4Z7KJQGN.js";
|
|
@@ -26194,11 +26194,9 @@ var require_detect_file_system_api = __commonJS({
|
|
|
26194
26194
|
var require_get_project_paths = __commonJS({
|
|
26195
26195
|
"../fs-detectors/dist/get-project-paths.js"(exports, module) {
|
|
26196
26196
|
"use strict";
|
|
26197
|
-
var __create = Object.create;
|
|
26198
26197
|
var __defProp = Object.defineProperty;
|
|
26199
26198
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
26200
26199
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
26201
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
26202
26200
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
26203
26201
|
var __export2 = (target, all) => {
|
|
26204
26202
|
for (var name in all)
|
|
@@ -26212,14 +26210,6 @@ var require_get_project_paths = __commonJS({
|
|
|
26212
26210
|
}
|
|
26213
26211
|
return to;
|
|
26214
26212
|
};
|
|
26215
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
26216
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
26217
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
26218
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26219
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26220
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26221
|
-
mod
|
|
26222
|
-
));
|
|
26223
26213
|
var __toCommonJS2 = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
26224
26214
|
var get_project_paths_exports = {};
|
|
26225
26215
|
__export2(get_project_paths_exports, {
|
|
@@ -26227,7 +26217,7 @@ var require_get_project_paths = __commonJS({
|
|
|
26227
26217
|
});
|
|
26228
26218
|
module.exports = __toCommonJS2(get_project_paths_exports);
|
|
26229
26219
|
var import_detect_framework = require_detect_framework();
|
|
26230
|
-
var import_frameworks2 =
|
|
26220
|
+
var import_frameworks2 = require_frameworks();
|
|
26231
26221
|
var MAX_DEPTH_TRAVERSE = 3;
|
|
26232
26222
|
var getProjectPaths2 = async ({
|
|
26233
26223
|
fs: fs5,
|
|
@@ -26244,7 +26234,7 @@ var require_get_project_paths = __commonJS({
|
|
|
26244
26234
|
}
|
|
26245
26235
|
const framework = await (0, import_detect_framework.detectFramework)({
|
|
26246
26236
|
fs: fs5.chdir(topPath),
|
|
26247
|
-
frameworkList: import_frameworks2.
|
|
26237
|
+
frameworkList: import_frameworks2.frameworkList
|
|
26248
26238
|
});
|
|
26249
26239
|
if (framework !== null)
|
|
26250
26240
|
allPaths.push(topPath);
|
|
@@ -39169,7 +39159,7 @@ var require_package = __commonJS({
|
|
|
39169
39159
|
},
|
|
39170
39160
|
scripts: {
|
|
39171
39161
|
build: "node ../../utils/build.mjs",
|
|
39172
|
-
test: "
|
|
39162
|
+
test: "vitest run --config ../../vitest.config.mts",
|
|
39173
39163
|
"vitest-run": "vitest -c ./vitest.config.mts",
|
|
39174
39164
|
"vitest-unit": "glob --absolute 'tests/unit.*.test.ts'",
|
|
39175
39165
|
"vitest-e2e": "glob --absolute 'tests/integration-*.test.ts'",
|
|
@@ -39181,14 +39171,12 @@ var require_package = __commonJS({
|
|
|
39181
39171
|
devDependencies: {
|
|
39182
39172
|
"@types/async-retry": "1.4.5",
|
|
39183
39173
|
"@types/fs-extra": "7.0.0",
|
|
39184
|
-
"@types/jest": "27.4.1",
|
|
39185
39174
|
"@types/minimatch": "3.0.5",
|
|
39186
39175
|
"@types/ms": "0.7.30",
|
|
39187
39176
|
"@types/node": "20.11.0",
|
|
39188
39177
|
"@types/node-fetch": "2.5.4",
|
|
39189
39178
|
"@types/recursive-readdir": "2.2.0",
|
|
39190
39179
|
"@types/tar-fs": "1.16.1",
|
|
39191
|
-
"jest-junit": "16.0.0",
|
|
39192
39180
|
vitest: "2.0.1"
|
|
39193
39181
|
},
|
|
39194
39182
|
dependencies: {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-IB5L4LKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_execa
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7FQIXP2G.js";
|
|
13
13
|
import {
|
|
14
14
|
VERCEL_DIR,
|
|
15
15
|
readJSONFile,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_lib,
|
|
19
19
|
require_minimatch,
|
|
20
20
|
require_pluralize
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AB7YF6KM.js";
|
|
22
22
|
import {
|
|
23
23
|
CantParseJSONFile,
|
|
24
24
|
cmd,
|
|
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MAPNH6ND.js";
|
|
10
10
|
import {
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
param,
|
|
13
13
|
resolveProjectCwd
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AB7YF6KM.js";
|
|
15
15
|
import {
|
|
16
16
|
buildCommandWithYes,
|
|
17
17
|
outputActionRequired
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getTeamById,
|
|
12
12
|
getUser,
|
|
13
13
|
getVercelDirectory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AB7YF6KM.js";
|
|
15
15
|
import {
|
|
16
16
|
TeamDeleted
|
|
17
17
|
} from "./chunk-XZ7CVBQ4.js";
|
|
@@ -150,5 +150,6 @@ function detectCrossTeamRepo(repoConfig) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
export {
|
|
153
|
-
getScope
|
|
153
|
+
getScope,
|
|
154
|
+
detectExplicitScope
|
|
154
155
|
};
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X6H25N2H.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FFKXMQXF.js";
|
|
13
13
|
import {
|
|
14
14
|
autoInstallVercelPlugin,
|
|
15
15
|
pullCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MZVW2VM7.js";
|
|
17
17
|
import {
|
|
18
18
|
help
|
|
19
19
|
} from "./chunk-3LRN4Q7G.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
envPullCommandLogic,
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AB7YF6KM.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
29
|
} from "./chunk-4Z7KJQGN.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getLocalPathConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QT4W4DLL.js";
|
|
10
10
|
import {
|
|
11
11
|
table
|
|
12
12
|
} from "./chunk-ABDTA3V2.js";
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
getProjectByNameOrId,
|
|
23
23
|
getServicesConfigWriteBlocker,
|
|
24
24
|
getTeams,
|
|
25
|
-
getUser,
|
|
26
25
|
getVercelDirectory,
|
|
27
26
|
humanizePath,
|
|
28
27
|
isDirectory,
|
|
@@ -37,7 +36,7 @@ import {
|
|
|
37
36
|
selectAndParseRemoteUrl,
|
|
38
37
|
selectOrg,
|
|
39
38
|
writeServicesConfig
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AB7YF6KM.js";
|
|
41
40
|
import {
|
|
42
41
|
printError
|
|
43
42
|
} from "./chunk-JNOMOD7R.js";
|
|
@@ -702,15 +701,26 @@ async function promptForInferredServicesSetup({
|
|
|
702
701
|
// src/util/projects/search-project-across-teams.ts
|
|
703
702
|
var import_slugify2 = __toESM(require_slugify(), 1);
|
|
704
703
|
async function searchProjectAcrossTeams(client, projectName) {
|
|
705
|
-
const
|
|
706
|
-
const
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
704
|
+
const teams = await getTeams(client);
|
|
705
|
+
const accessibleTeams = [];
|
|
706
|
+
const skippedSlugs = [];
|
|
707
|
+
for (const t of teams) {
|
|
708
|
+
if (t.limited) {
|
|
709
|
+
skippedSlugs.push(t.slug);
|
|
710
|
+
} else {
|
|
711
|
+
accessibleTeams.push(t);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
if (skippedSlugs.length > 0) {
|
|
715
|
+
output_manager_default.debug(
|
|
716
|
+
`Skipping limited teams during cross-team project search: ${skippedSlugs.join(", ")}`
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
const orgs = accessibleTeams.map((t) => ({
|
|
720
|
+
type: "team",
|
|
721
|
+
id: t.id,
|
|
722
|
+
slug: t.slug
|
|
723
|
+
}));
|
|
714
724
|
const slugifiedName = (0, import_slugify2.default)(projectName);
|
|
715
725
|
const searchNames = [projectName];
|
|
716
726
|
if (slugifiedName !== projectName) {
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-JCLLQ23G.js";
|
|
13
13
|
import {
|
|
14
14
|
getLocalPathConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QT4W4DLL.js";
|
|
16
16
|
import {
|
|
17
17
|
autoInstallVercelPlugin
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MZVW2VM7.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
21
21
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
useKeypress,
|
|
42
42
|
usePrefix,
|
|
43
43
|
useState
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-AB7YF6KM.js";
|
|
45
45
|
import {
|
|
46
46
|
require_load_json_file,
|
|
47
47
|
require_write_json_file
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseSubcommandArgs,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FK7LDWAI.js";
|
|
19
19
|
import {
|
|
20
20
|
deleteSubcommand
|
|
21
21
|
} from "./chunk-HMM7V4AU.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
AGENT_REASON,
|
|
24
24
|
AGENT_STATUS
|
|
25
25
|
} from "./chunk-E3NE4SKN.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-AB7YF6KM.js";
|
|
27
27
|
import "./chunk-4Z7KJQGN.js";
|
|
28
28
|
import {
|
|
29
29
|
outputAgentError
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FK7LDWAI.js";
|
|
21
21
|
import {
|
|
22
22
|
disableSubcommand
|
|
23
23
|
} from "./chunk-HMM7V4AU.js";
|
|
24
24
|
import "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-AB7YF6KM.js";
|
|
26
26
|
import "./chunk-4Z7KJQGN.js";
|
|
27
27
|
import {
|
|
28
28
|
outputAgentError
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
printDiffSummary,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FK7LDWAI.js";
|
|
21
21
|
import {
|
|
22
22
|
discardSubcommand
|
|
23
23
|
} from "./chunk-HMM7V4AU.js";
|
|
24
24
|
import "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-AB7YF6KM.js";
|
|
26
26
|
import "./chunk-4Z7KJQGN.js";
|
|
27
27
|
import {
|
|
28
28
|
outputAgentError
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
printRouteConfig,
|
|
20
20
|
routingRuleToCurrentRoute,
|
|
21
21
|
runInteractiveEditLoop
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RJWHOSUL.js";
|
|
23
23
|
import {
|
|
24
24
|
getRouteVersions
|
|
25
25
|
} from "./chunk-AHU7WNL2.js";
|
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
resolveRoute,
|
|
32
32
|
shellQuoteRouteIdentifierForSuggestion,
|
|
33
33
|
withGlobalFlags
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FK7LDWAI.js";
|
|
35
35
|
import {
|
|
36
36
|
editSubcommand
|
|
37
37
|
} from "./chunk-HMM7V4AU.js";
|
|
38
38
|
import "./chunk-E3NE4SKN.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-AB7YF6KM.js";
|
|
40
40
|
import "./chunk-4Z7KJQGN.js";
|
|
41
41
|
import {
|
|
42
42
|
outputAgentError
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FK7LDWAI.js";
|
|
21
21
|
import {
|
|
22
22
|
enableSubcommand
|
|
23
23
|
} from "./chunk-HMM7V4AU.js";
|
|
24
24
|
import "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-AB7YF6KM.js";
|
|
26
26
|
import "./chunk-4Z7KJQGN.js";
|
|
27
27
|
import {
|
|
28
28
|
outputAgentError
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
getRoutes,
|
|
10
10
|
parseSubcommandArgs,
|
|
11
11
|
withGlobalFlags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FK7LDWAI.js";
|
|
13
13
|
import {
|
|
14
14
|
exportSubcommand
|
|
15
15
|
} from "./chunk-HMM7V4AU.js";
|
|
16
16
|
import "./chunk-E3NE4SKN.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-AB7YF6KM.js";
|
|
18
18
|
import "./chunk-4Z7KJQGN.js";
|
|
19
19
|
import {
|
|
20
20
|
outputAgentError
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
emitAlertsScopeError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2TJ5Y674.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
import "./chunk-P3H4MP5H.js";
|
|
22
22
|
import {
|
|
23
23
|
getScope
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FLZW555J.js";
|
|
25
25
|
import {
|
|
26
26
|
AGENT_REASON
|
|
27
27
|
} from "./chunk-E3NE4SKN.js";
|
|
28
28
|
import {
|
|
29
29
|
getLinkedProject,
|
|
30
30
|
getProjectByNameOrId
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AB7YF6KM.js";
|
|
32
32
|
import "./chunk-4Z7KJQGN.js";
|
|
33
33
|
import {
|
|
34
34
|
buildCommandWithGlobalFlags,
|