vercel 44.2.3 → 44.2.4
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/index.js +9 -39
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -147908,7 +147908,6 @@ async function processDeployment({
|
|
147908
147908
|
abortController?.abort();
|
147909
147909
|
output_manager_default.stopSpinner();
|
147910
147910
|
}
|
147911
|
-
let rollingRelease2;
|
147912
147911
|
try {
|
147913
147912
|
for await (const event of (0, import_client7.createDeployment)(clientOptions, requestBody)) {
|
147914
147913
|
if (["tip", "notice", "warning"].includes(event.type)) {
|
@@ -147956,12 +147955,12 @@ async function processDeployment({
|
|
147956
147955
|
);
|
147957
147956
|
}
|
147958
147957
|
if (event.type === "created") {
|
147959
|
-
const
|
147960
|
-
now.url =
|
147958
|
+
const deployment = event.payload;
|
147959
|
+
now.url = deployment.url;
|
147961
147960
|
stopSpinner();
|
147962
|
-
printInspectUrl(
|
147963
|
-
const isProdDeployment =
|
147964
|
-
const previewUrl = `https://${
|
147961
|
+
printInspectUrl(deployment.inspectorUrl, deployStamp);
|
147962
|
+
const isProdDeployment = deployment.target === "production";
|
147963
|
+
const previewUrl = `https://${deployment.url}`;
|
147965
147964
|
output_manager_default.print(
|
147966
147965
|
prependEmoji(
|
147967
147966
|
`${isProdDeployment ? "Production" : "Preview"}: ${import_chalk59.default.bold(
|
@@ -147975,13 +147974,13 @@ async function processDeployment({
|
|
147975
147974
|
process.stdout.write(`https://${event.payload.url}`);
|
147976
147975
|
}
|
147977
147976
|
if (noWait) {
|
147978
|
-
return
|
147977
|
+
return deployment;
|
147979
147978
|
}
|
147980
147979
|
if (withLogs) {
|
147981
147980
|
let promise;
|
147982
147981
|
({ abortController, promise } = displayBuildLogs(
|
147983
147982
|
client2,
|
147984
|
-
|
147983
|
+
deployment,
|
147985
147984
|
true
|
147986
147985
|
));
|
147987
147986
|
promise.catch(
|
@@ -147989,7 +147988,7 @@ async function processDeployment({
|
|
147989
147988
|
);
|
147990
147989
|
}
|
147991
147990
|
output_manager_default.spinner(
|
147992
|
-
|
147991
|
+
deployment.readyState === "QUEUED" ? "Queued" : "Building",
|
147993
147992
|
0
|
147994
147993
|
);
|
147995
147994
|
}
|
@@ -148000,22 +147999,6 @@ async function processDeployment({
|
|
148000
147999
|
stopSpinner();
|
148001
148000
|
return event.payload;
|
148002
148001
|
}
|
148003
|
-
const deployment = event.payload;
|
148004
|
-
if (rollingRelease2 === void 0) {
|
148005
|
-
const project = await getProjectByNameOrId(
|
148006
|
-
client2,
|
148007
|
-
deployment?.projectId || ""
|
148008
|
-
);
|
148009
|
-
if (project instanceof ProjectNotFound) {
|
148010
|
-
throw project;
|
148011
|
-
}
|
148012
|
-
rollingRelease2 = project.rollingRelease;
|
148013
|
-
}
|
148014
|
-
if (event.type === "ready" && rollingRelease2) {
|
148015
|
-
output_manager_default.spinner("Releasing", 0);
|
148016
|
-
output_manager_default.stopSpinner();
|
148017
|
-
return event.payload;
|
148018
|
-
}
|
148019
148002
|
if (event.type === "ready" && (event.payload.checksState ? event.payload.checksState === "completed" : true) && !withLogs) {
|
148020
148003
|
output_manager_default.spinner("Completing", 0);
|
148021
148004
|
}
|
@@ -148081,8 +148064,6 @@ var init_process_deployment = __esm({
|
|
148081
148064
|
init_progress();
|
148082
148065
|
init_ua();
|
148083
148066
|
init_output_manager();
|
148084
|
-
init_get_project_by_id_or_name();
|
148085
|
-
init_errors_ts();
|
148086
148067
|
archiveSuggestionText = "Try using `--archive=tgz` to limit the amount of files you upload.";
|
148087
148068
|
UploadErrorMissingArchive = class extends Error {
|
148088
148069
|
constructor() {
|
@@ -180146,11 +180127,7 @@ async function redeploy(client2) {
|
|
180146
180127
|
deployment.readyState === "QUEUED" ? "Queued" : "Building",
|
180147
180128
|
0
|
180148
180129
|
);
|
180149
|
-
|
180150
|
-
if (project instanceof ProjectNotFound) {
|
180151
|
-
throw project;
|
180152
|
-
}
|
180153
|
-
if (deployment.readyState === "READY" && deployment.aliasAssigned && !project.rollingRelease) {
|
180130
|
+
if (deployment.readyState === "READY" && deployment.aliasAssigned) {
|
180154
180131
|
output_manager_default.spinner("Completing", 0);
|
180155
180132
|
} else {
|
180156
180133
|
try {
|
@@ -180170,11 +180147,6 @@ async function redeploy(client2) {
|
|
180170
180147
|
)) {
|
180171
180148
|
if (event.type === "building") {
|
180172
180149
|
output_manager_default.spinner("Building", 0);
|
180173
|
-
} else if (event.type === "ready" && project.rollingRelease) {
|
180174
|
-
output_manager_default.spinner("Releasing", 0);
|
180175
|
-
output_manager_default.stopSpinner();
|
180176
|
-
deployment = event.payload;
|
180177
|
-
break;
|
180178
180150
|
} else if (event.type === "ready" && (event.payload.checksState ? event.payload.checksState === "completed" : true)) {
|
180179
180151
|
output_manager_default.spinner("Completing", 0);
|
180180
180152
|
} else if (event.type === "checks-running") {
|
@@ -180239,8 +180211,6 @@ var init_redeploy2 = __esm({
|
|
180239
180211
|
init_output_manager();
|
180240
180212
|
init_redeploy();
|
180241
180213
|
init_get_custom_environments();
|
180242
|
-
init_get_project_by_id_or_name();
|
180243
|
-
init_errors_ts();
|
180244
180214
|
}
|
180245
180215
|
});
|
180246
180216
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "44.2.
|
3
|
+
"version": "44.2.4",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -160,9 +160,9 @@
|
|
160
160
|
"write-json-file": "2.2.0",
|
161
161
|
"xdg-app-paths": "5.1.0",
|
162
162
|
"yauzl-promise": "2.1.3",
|
163
|
+
"@vercel-internals/constants": "1.0.4",
|
163
164
|
"@vercel-internals/types": "3.0.6",
|
164
|
-
"@vercel-internals/get-package-json": "1.0.0"
|
165
|
-
"@vercel-internals/constants": "1.0.4"
|
165
|
+
"@vercel-internals/get-package-json": "1.0.0"
|
166
166
|
},
|
167
167
|
"scripts": {
|
168
168
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|