vercel 52.2.0 → 52.2.1
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-TH62Y34V.js → add-6TZOFI3R.js} +4 -4
- package/dist/chunks/{chunk-ODASAX4M.js → chunk-2OWOUKOK.js} +1 -1
- package/dist/chunks/{chunk-OHOYN7R2.js → chunk-3QA5ZIDF.js} +1 -1
- package/dist/chunks/{chunk-QTX36APP.js → chunk-5R6AOACI.js} +2 -2
- package/dist/chunks/{chunk-I5OH27IT.js → chunk-5WC7QCYE.js} +1 -1
- package/dist/chunks/{chunk-WCMV6TSF.js → chunk-64DDAGJR.js} +1 -1
- package/dist/chunks/{chunk-7L7NSLYK.js → chunk-6TMKD3SZ.js} +2 -2
- package/dist/chunks/{chunk-OVFHCZBS.js → chunk-7FQKQPBD.js} +4 -4
- package/dist/chunks/{chunk-BUPMO37Q.js → chunk-DQWTHIXD.js} +2 -2
- package/dist/chunks/{chunk-H2O3DQDC.js → chunk-EKSIQ3UW.js} +2 -2
- package/dist/chunks/{chunk-EVDPX5BO.js → chunk-G5EHVWFI.js} +1 -1
- package/dist/chunks/{chunk-FUUQ2WSC.js → chunk-J7KBPHDC.js} +4 -4
- package/dist/chunks/{chunk-O7R67TAG.js → chunk-KHSD7WPG.js} +3 -1
- package/dist/chunks/{chunk-ZI2C6YH2.js → chunk-NAUUP4G6.js} +2 -2
- package/dist/chunks/{chunk-LSPPTDRH.js → chunk-QWJ7O2C7.js} +1 -1
- package/dist/chunks/{chunk-5EZVRZOJ.js → chunk-RC7YZO6Q.js} +37 -68
- package/dist/chunks/{chunk-NJYOE4D7.js → chunk-RCK5HPNI.js} +1 -1
- package/dist/chunks/{chunk-FUYNVB23.js → chunk-SCAOSA7F.js} +1 -1
- package/dist/chunks/{chunk-ZJKFUXSF.js → chunk-U3F7M3YG.js} +1 -1
- package/dist/chunks/{chunk-FPTKAORS.js → chunk-VROU4JKW.js} +2 -2
- package/dist/chunks/{chunk-ZZDXEXJ5.js → chunk-Z4FJ42GO.js} +5 -5
- package/dist/chunks/{compile-vercel-config-H5YVD5ZD.js → compile-vercel-config-THZQEC4T.js} +1 -1
- package/dist/chunks/{delete-WW5B2IIN.js → delete-S4BNBMHT.js} +2 -2
- package/dist/chunks/{disable-WSV2JYK6.js → disable-UP64WKDO.js} +2 -2
- package/dist/chunks/{discard-BTIMKAXZ.js → discard-6B5FPH6F.js} +2 -2
- package/dist/chunks/{edit-LOQJITTM.js → edit-NAVDTRJX.js} +3 -3
- package/dist/chunks/{enable-XMWWLBL7.js → enable-X5XOP7MC.js} +2 -2
- package/dist/chunks/{export-P2OSIM3L.js → export-EVJLYZFA.js} +2 -2
- package/dist/chunks/{inspect-5NKOJ64V.js → inspect-ZSFXZM57.js} +3 -3
- package/dist/chunks/{list-ZSRD6M3H.js → list-CSE74VTU.js} +2 -2
- package/dist/chunks/{list-OLUANKMJ.js → list-II2MKBZK.js} +3 -3
- package/dist/chunks/{ls-3YMXPZ7A.js → ls-WPJAKB5Y.js} +4 -4
- package/dist/chunks/{publish-T2HPYN5D.js → publish-YMSSQNFI.js} +2 -2
- package/dist/chunks/{query-ZKNQWF5L.js → query-RXC5UHQX.js} +2 -2
- package/dist/chunks/{reorder-WQA5LQ7X.js → reorder-ZKTJ4D6E.js} +2 -2
- package/dist/chunks/{restore-QTREUYWW.js → restore-KM6OQHZY.js} +2 -2
- package/dist/chunks/{rm-4JKXZFP3.js → rm-SJ26XXVR.js} +4 -4
- package/dist/chunks/{rule-inspect-3PUS2RKH.js → rule-inspect-KYT5ICO4.js} +4 -4
- package/dist/chunks/{rules-GBXWDR3P.js → rules-VT5K2MFX.js} +6 -6
- package/dist/chunks/{schema-TXE5TXMY.js → schema-CQHTQCYK.js} +2 -2
- package/dist/chunks/{update-57KTLPIK.js → update-JDLTS73Z.js} +4 -4
- package/dist/commands/build/index.js +9 -9
- package/dist/commands/deploy/index.js +10 -10
- package/dist/commands/dev/index.js +8 -8
- package/dist/commands/env/index.js +5 -5
- package/dist/commands/link/index.js +6 -6
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +71 -46
- package/dist/index.js +32 -13
- package/dist/version.mjs +1 -1
- package/package.json +12 -13
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-G5EHVWFI.js";
|
|
13
|
+
import "./chunk-VROU4JKW.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KHSD7WPG.js";
|
|
16
16
|
import {
|
|
17
17
|
validateJsonOutput
|
|
18
18
|
} from "./chunk-XPKWKPWA.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
24
|
} from "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-NAUUP4G6.js";
|
|
26
26
|
import "./chunk-U3WLEFHU.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -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-EKSIQ3UW.js";
|
|
10
10
|
import {
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
param,
|
|
13
13
|
resolveProjectCwd
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NAUUP4G6.js";
|
|
15
15
|
import {
|
|
16
16
|
buildCommandWithYes,
|
|
17
17
|
outputActionRequired
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-IB5L4LKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_execa
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-64DDAGJR.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-NAUUP4G6.js";
|
|
22
22
|
import {
|
|
23
23
|
CantParseJSONFile,
|
|
24
24
|
cmd,
|
|
@@ -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-QWJ7O2C7.js";
|
|
10
10
|
import {
|
|
11
11
|
login
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RC7YZO6Q.js";
|
|
13
13
|
import {
|
|
14
14
|
apiCommand,
|
|
15
15
|
listSubcommand2 as listSubcommand,
|
|
16
16
|
loginCommand
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DQWTHIXD.js";
|
|
18
18
|
import {
|
|
19
19
|
help
|
|
20
20
|
} from "./chunk-QPPVRYOB.js";
|
|
21
21
|
import {
|
|
22
22
|
global_path_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NAUUP4G6.js";
|
|
24
24
|
import {
|
|
25
25
|
TelemetryClient
|
|
26
26
|
} from "./chunk-U3WLEFHU.js";
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3QA5ZIDF.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NAUUP4G6.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -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-SCAOSA7F.js";
|
|
10
10
|
import {
|
|
11
11
|
table
|
|
12
12
|
} from "./chunk-ABDTA3V2.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
selectAndParseRemoteUrl,
|
|
38
38
|
selectOrg,
|
|
39
39
|
writeServicesConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NAUUP4G6.js";
|
|
41
41
|
import {
|
|
42
42
|
printError
|
|
43
43
|
} from "./chunk-JNOMOD7R.js";
|
|
@@ -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-RCK5HPNI.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5R6AOACI.js";
|
|
13
13
|
import {
|
|
14
14
|
autoInstallVercelPlugin,
|
|
15
15
|
pullCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3QA5ZIDF.js";
|
|
17
17
|
import {
|
|
18
18
|
help
|
|
19
19
|
} from "./chunk-QPPVRYOB.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
envPullCommandLogic,
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NAUUP4G6.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
29
|
} from "./chunk-U3WLEFHU.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getTeamById,
|
|
12
12
|
getUser,
|
|
13
13
|
getVercelDirectory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NAUUP4G6.js";
|
|
15
15
|
import {
|
|
16
16
|
TeamDeleted
|
|
17
17
|
} from "./chunk-XZ7CVBQ4.js";
|
|
@@ -39,6 +39,7 @@ async function getScope(client, opts = {}) {
|
|
|
39
39
|
}
|
|
40
40
|
const explicitScopeProvided = detectExplicitScope(client);
|
|
41
41
|
const globalTeamId = client.config.currentTeam;
|
|
42
|
+
const globalTeam = team;
|
|
42
43
|
const cwd = client.cwd;
|
|
43
44
|
let projectLink = null;
|
|
44
45
|
try {
|
|
@@ -115,6 +116,7 @@ async function getScope(client, opts = {}) {
|
|
|
115
116
|
contextName: resolvedContextName,
|
|
116
117
|
user,
|
|
117
118
|
team: resolvedTeam,
|
|
119
|
+
globalTeam,
|
|
118
120
|
linkedRepo: linkedRepoResult,
|
|
119
121
|
isCrossTeamRepo,
|
|
120
122
|
scopeMismatch,
|
|
@@ -52698,7 +52698,7 @@ async function getUser(client) {
|
|
|
52698
52698
|
if (client.authConfig.userId !== res.user.id) {
|
|
52699
52699
|
client.updateAuthConfig({ userId: res.user.id });
|
|
52700
52700
|
try {
|
|
52701
|
-
client.
|
|
52701
|
+
client.writeToAuthConfigFile();
|
|
52702
52702
|
} catch {
|
|
52703
52703
|
output_manager_default.debug("Failed to persist cached userId to auth config.");
|
|
52704
52704
|
}
|
|
@@ -52710,7 +52710,7 @@ async function getUser(client) {
|
|
|
52710
52710
|
if (client.authConfig.userId) {
|
|
52711
52711
|
client.updateAuthConfig({ userId: void 0 });
|
|
52712
52712
|
try {
|
|
52713
|
-
client.
|
|
52713
|
+
client.writeToAuthConfigFile();
|
|
52714
52714
|
} catch {
|
|
52715
52715
|
output_manager_default.debug("Failed to persist cached userId to auth config.");
|
|
52716
52716
|
}
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-JCLLQ23G.js";
|
|
13
13
|
import {
|
|
14
14
|
getLocalPathConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SCAOSA7F.js";
|
|
16
16
|
import {
|
|
17
17
|
autoInstallVercelPlugin
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3QA5ZIDF.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-NAUUP4G6.js";
|
|
45
45
|
import {
|
|
46
46
|
require_load_json_file,
|
|
47
47
|
require_write_json_file
|
|
@@ -719,41 +719,18 @@ var require_open = __commonJS({
|
|
|
719
719
|
}
|
|
720
720
|
});
|
|
721
721
|
|
|
722
|
-
// src/util/config/get-default.ts
|
|
723
|
-
var defaultGlobalConfig = {
|
|
724
|
-
"// Note": "This is your Vercel config file. For more information see the global configuration documentation.",
|
|
725
|
-
"// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#config.json"
|
|
726
|
-
};
|
|
727
|
-
function getDefaultAuthConfig(tokenStoredInSystemKeychain = false) {
|
|
728
|
-
return {
|
|
729
|
-
"// Note": tokenStoredInSystemKeychain ? "Your auth token is stored in your system keychain." : "This is your Vercel credentials file. DO NOT SHARE!",
|
|
730
|
-
"// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#auth.json"
|
|
731
|
-
};
|
|
732
|
-
}
|
|
733
|
-
var defaultAuthConfig = getDefaultAuthConfig();
|
|
734
|
-
|
|
735
722
|
// src/util/config/files.ts
|
|
736
723
|
var import_load_json_file = __toESM(require_load_json_file(), 1);
|
|
737
724
|
var import_write_json_file = __toESM(require_write_json_file(), 1);
|
|
738
725
|
var import_client = __toESM(require_dist2(), 1);
|
|
739
726
|
import { join, basename, dirname } from "path";
|
|
740
727
|
import { accessSync, constants } from "fs";
|
|
741
|
-
import {
|
|
742
|
-
clearAllCredentialsStrict,
|
|
743
|
-
hasCredentials,
|
|
744
|
-
readCredentials,
|
|
745
|
-
resolveAuthTokenStorage,
|
|
746
|
-
writeCredentials
|
|
747
|
-
} from "@vercel/cli-auth/credentials-store.js";
|
|
748
728
|
var import_error_utils = __toESM(require_dist(), 1);
|
|
749
729
|
var VERCEL_DIR2 = global_path_default();
|
|
750
730
|
var CONFIG_FILE_PATH = join(VERCEL_DIR2, "config.json");
|
|
751
731
|
var AUTH_CONFIG_FILE_PATH = join(VERCEL_DIR2, "auth.json");
|
|
752
732
|
var readConfigFile = () => {
|
|
753
733
|
const config = import_load_json_file.default.sync(CONFIG_FILE_PATH);
|
|
754
|
-
if ("authTokenStorage" in config) {
|
|
755
|
-
config.authTokenStorage = resolveAuthTokenStorage(config.authTokenStorage);
|
|
756
|
-
}
|
|
757
734
|
return config;
|
|
758
735
|
};
|
|
759
736
|
var writeToConfigFile = (stuff) => {
|
|
@@ -780,44 +757,38 @@ var writeToConfigFile = (stuff) => {
|
|
|
780
757
|
throw err;
|
|
781
758
|
}
|
|
782
759
|
};
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
};
|
|
787
|
-
}
|
|
788
|
-
function toPersistedAuthConfig(authConfig) {
|
|
789
|
-
const { skipWrite, tokenSource, ...persistedAuthConfig } = authConfig;
|
|
790
|
-
return persistedAuthConfig;
|
|
791
|
-
}
|
|
792
|
-
var readAuthConfigFile = (config) => {
|
|
793
|
-
return {
|
|
794
|
-
...getDefaultAuthConfig(),
|
|
795
|
-
...readCredentials(VERCEL_DIR2, getAuthStoreConfig(config))
|
|
796
|
-
};
|
|
760
|
+
var readAuthConfigFile = () => {
|
|
761
|
+
const config = import_load_json_file.default.sync(AUTH_CONFIG_FILE_PATH);
|
|
762
|
+
return config;
|
|
797
763
|
};
|
|
798
|
-
var
|
|
764
|
+
var writeToAuthConfigFile = (authConfig) => {
|
|
799
765
|
if (authConfig.skipWrite) {
|
|
800
766
|
return;
|
|
801
767
|
}
|
|
802
|
-
const persistedAuthConfig = toPersistedAuthConfig(authConfig);
|
|
803
768
|
try {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
}
|
|
808
|
-
return writeCredentials(
|
|
809
|
-
VERCEL_DIR2,
|
|
810
|
-
persistedAuthConfig,
|
|
811
|
-
getAuthStoreConfig(config)
|
|
812
|
-
);
|
|
769
|
+
return import_write_json_file.default.sync(AUTH_CONFIG_FILE_PATH, authConfig, {
|
|
770
|
+
indent: 2,
|
|
771
|
+
mode: 384
|
|
772
|
+
});
|
|
813
773
|
} catch (err) {
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
774
|
+
if ((0, import_error_utils.isErrnoException)(err)) {
|
|
775
|
+
if (err.code === "EPERM") {
|
|
776
|
+
output_manager_default.error(
|
|
777
|
+
`Not able to create ${highlight(
|
|
778
|
+
AUTH_CONFIG_FILE_PATH
|
|
779
|
+
)} (operation not permitted).`
|
|
780
|
+
);
|
|
781
|
+
process.exit(1);
|
|
782
|
+
} else if (err.code === "EBADF") {
|
|
783
|
+
output_manager_default.error(
|
|
784
|
+
`Not able to create ${highlight(
|
|
785
|
+
AUTH_CONFIG_FILE_PATH
|
|
786
|
+
)} (bad file descriptor).`
|
|
787
|
+
);
|
|
788
|
+
process.exit(1);
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
throw err;
|
|
821
792
|
}
|
|
822
793
|
};
|
|
823
794
|
function getConfigFilePath() {
|
|
@@ -2276,7 +2247,7 @@ async function login(client, telemetry) {
|
|
|
2276
2247
|
if (isInitialLogin) {
|
|
2277
2248
|
await updateCurrentTeamAfterLogin(client);
|
|
2278
2249
|
}
|
|
2279
|
-
client.
|
|
2250
|
+
client.writeToAuthConfigFile();
|
|
2280
2251
|
client.writeToConfigFile();
|
|
2281
2252
|
output_manager_default.debug(`Saved credentials in "${humanizePath(global_path_default())}"`);
|
|
2282
2253
|
output_manager_default.print(`
|
|
@@ -2333,7 +2304,7 @@ async function reauthenticate(client, error) {
|
|
|
2333
2304
|
expiresAt: Math.floor(Date.now() / 1e3) + tokens.expires_in,
|
|
2334
2305
|
refreshToken: tokens.refresh_token
|
|
2335
2306
|
});
|
|
2336
|
-
client.
|
|
2307
|
+
client.writeToAuthConfigFile();
|
|
2337
2308
|
output_manager_default.success(`Authentication complete for ${(0, import_chalk4.bold)(error.scope)} scope.`);
|
|
2338
2309
|
return { token: tokens.access_token, email: "" };
|
|
2339
2310
|
}
|
|
@@ -2482,7 +2453,7 @@ ${error.stack}`);
|
|
|
2482
2453
|
if (!hasRefreshToken(authConfig)) {
|
|
2483
2454
|
output_manager_default.debug("No refresh token found, emptying auth config.");
|
|
2484
2455
|
this.emptyAuthConfig();
|
|
2485
|
-
this.
|
|
2456
|
+
this.writeToAuthConfigFile();
|
|
2486
2457
|
return;
|
|
2487
2458
|
}
|
|
2488
2459
|
const tokenResponse = await refreshTokenRequest({
|
|
@@ -2492,7 +2463,7 @@ ${error.stack}`);
|
|
|
2492
2463
|
if (tokensError) {
|
|
2493
2464
|
output_manager_default.debug("Error refreshing token, emptying auth config.");
|
|
2494
2465
|
this.emptyAuthConfig();
|
|
2495
|
-
this.
|
|
2466
|
+
this.writeToAuthConfigFile();
|
|
2496
2467
|
return;
|
|
2497
2468
|
}
|
|
2498
2469
|
this.updateAuthConfig({
|
|
@@ -2502,7 +2473,7 @@ ${error.stack}`);
|
|
|
2502
2473
|
if (tokens.refresh_token) {
|
|
2503
2474
|
this.updateAuthConfig({ refreshToken: tokens.refresh_token });
|
|
2504
2475
|
}
|
|
2505
|
-
this.
|
|
2476
|
+
this.writeToAuthConfigFile();
|
|
2506
2477
|
this.writeToConfigFile();
|
|
2507
2478
|
output_manager_default.debug("Tokens refreshed successfully.");
|
|
2508
2479
|
}
|
|
@@ -2518,8 +2489,8 @@ ${error.stack}`);
|
|
|
2518
2489
|
emptyAuthConfig() {
|
|
2519
2490
|
this.authConfig = this.authConfig.skipWrite ? { skipWrite: true } : {};
|
|
2520
2491
|
}
|
|
2521
|
-
|
|
2522
|
-
|
|
2492
|
+
writeToAuthConfigFile() {
|
|
2493
|
+
writeToAuthConfigFile(this.authConfig);
|
|
2523
2494
|
}
|
|
2524
2495
|
/**
|
|
2525
2496
|
* Confirms DELETE operations with the user.
|
|
@@ -2689,12 +2660,10 @@ export {
|
|
|
2689
2660
|
revocationRequest,
|
|
2690
2661
|
processRevocationResponse,
|
|
2691
2662
|
login,
|
|
2692
|
-
defaultGlobalConfig,
|
|
2693
|
-
getDefaultAuthConfig,
|
|
2694
2663
|
readConfigFile,
|
|
2695
2664
|
writeToConfigFile,
|
|
2696
2665
|
readAuthConfigFile,
|
|
2697
|
-
|
|
2666
|
+
writeToAuthConfigFile,
|
|
2698
2667
|
getConfigFilePath,
|
|
2699
2668
|
getAuthConfigFilePath,
|
|
2700
2669
|
readLocalConfig,
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-HTOH3MSD.js";
|
|
10
10
|
import {
|
|
11
11
|
getScope
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KHSD7WPG.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-NAUUP4G6.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RC7YZO6Q.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
|
getScope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KHSD7WPG.js";
|
|
23
23
|
import {
|
|
24
24
|
CommandTimeout
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DQWTHIXD.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-3QA5ZIDF.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-NAUUP4G6.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseSubcommandArgs,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5WC7QCYE.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-NAUUP4G6.js";
|
|
27
27
|
import "./chunk-U3WLEFHU.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-5WC7QCYE.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-NAUUP4G6.js";
|
|
26
26
|
import "./chunk-U3WLEFHU.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-5WC7QCYE.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-NAUUP4G6.js";
|
|
26
26
|
import "./chunk-U3WLEFHU.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-2OWOUKOK.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-5WC7QCYE.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-NAUUP4G6.js";
|
|
40
40
|
import "./chunk-U3WLEFHU.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-5WC7QCYE.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-NAUUP4G6.js";
|
|
26
26
|
import "./chunk-U3WLEFHU.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-5WC7QCYE.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-NAUUP4G6.js";
|
|
18
18
|
import "./chunk-U3WLEFHU.js";
|
|
19
19
|
import {
|
|
20
20
|
outputAgentError
|