vercel 44.2.3 → 44.2.5
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 +19 -25
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -147956,12 +147956,12 @@ async function processDeployment({
|
|
147956
147956
|
);
|
147957
147957
|
}
|
147958
147958
|
if (event.type === "created") {
|
147959
|
-
const
|
147960
|
-
now.url =
|
147959
|
+
const deployment = event.payload;
|
147960
|
+
now.url = deployment.url;
|
147961
147961
|
stopSpinner();
|
147962
|
-
printInspectUrl(
|
147963
|
-
const isProdDeployment =
|
147964
|
-
const previewUrl = `https://${
|
147962
|
+
printInspectUrl(deployment.inspectorUrl, deployStamp);
|
147963
|
+
const isProdDeployment = deployment.target === "production";
|
147964
|
+
const previewUrl = `https://${deployment.url}`;
|
147965
147965
|
output_manager_default.print(
|
147966
147966
|
prependEmoji(
|
147967
147967
|
`${isProdDeployment ? "Production" : "Preview"}: ${import_chalk59.default.bold(
|
@@ -147975,13 +147975,13 @@ async function processDeployment({
|
|
147975
147975
|
process.stdout.write(`https://${event.payload.url}`);
|
147976
147976
|
}
|
147977
147977
|
if (noWait) {
|
147978
|
-
return
|
147978
|
+
return deployment;
|
147979
147979
|
}
|
147980
147980
|
if (withLogs) {
|
147981
147981
|
let promise;
|
147982
147982
|
({ abortController, promise } = displayBuildLogs(
|
147983
147983
|
client2,
|
147984
|
-
|
147984
|
+
deployment,
|
147985
147985
|
true
|
147986
147986
|
));
|
147987
147987
|
promise.catch(
|
@@ -147989,7 +147989,7 @@ async function processDeployment({
|
|
147989
147989
|
);
|
147990
147990
|
}
|
147991
147991
|
output_manager_default.spinner(
|
147992
|
-
|
147992
|
+
deployment.readyState === "QUEUED" ? "Queued" : "Building",
|
147993
147993
|
0
|
147994
147994
|
);
|
147995
147995
|
}
|
@@ -148000,16 +148000,10 @@ async function processDeployment({
|
|
148000
148000
|
stopSpinner();
|
148001
148001
|
return event.payload;
|
148002
148002
|
}
|
148003
|
-
|
148004
|
-
if (
|
148005
|
-
|
148006
|
-
|
148007
|
-
deployment?.projectId || ""
|
148008
|
-
);
|
148009
|
-
if (project instanceof ProjectNotFound) {
|
148010
|
-
throw project;
|
148011
|
-
}
|
148012
|
-
rollingRelease2 = project.rollingRelease;
|
148003
|
+
let project;
|
148004
|
+
if (project === void 0) {
|
148005
|
+
project = await getProjectByNameOrId(client2, projectName);
|
148006
|
+
rollingRelease2 = project?.rollingRelease;
|
148013
148007
|
}
|
148014
148008
|
if (event.type === "ready" && rollingRelease2) {
|
148015
148009
|
output_manager_default.spinner("Releasing", 0);
|
@@ -148082,7 +148076,6 @@ var init_process_deployment = __esm({
|
|
148082
148076
|
init_ua();
|
148083
148077
|
init_output_manager();
|
148084
148078
|
init_get_project_by_id_or_name();
|
148085
|
-
init_errors_ts();
|
148086
148079
|
archiveSuggestionText = "Try using `--archive=tgz` to limit the amount of files you upload.";
|
148087
148080
|
UploadErrorMissingArchive = class extends Error {
|
148088
148081
|
constructor() {
|
@@ -180146,11 +180139,13 @@ async function redeploy(client2) {
|
|
180146
180139
|
deployment.readyState === "QUEUED" ? "Queued" : "Building",
|
180147
180140
|
0
|
180148
180141
|
);
|
180149
|
-
|
180150
|
-
|
180151
|
-
|
180142
|
+
let project;
|
180143
|
+
let rollingRelease2;
|
180144
|
+
if (deployment.projectId && deployment.projectId != "") {
|
180145
|
+
project = await getProjectByNameOrId(client2, deployment.projectId);
|
180146
|
+
rollingRelease2 = project?.rollingRelease;
|
180152
180147
|
}
|
180153
|
-
if (deployment.readyState === "READY" && deployment.aliasAssigned && !
|
180148
|
+
if (deployment.readyState === "READY" && deployment.aliasAssigned && !rollingRelease2) {
|
180154
180149
|
output_manager_default.spinner("Completing", 0);
|
180155
180150
|
} else {
|
180156
180151
|
try {
|
@@ -180170,7 +180165,7 @@ async function redeploy(client2) {
|
|
180170
180165
|
)) {
|
180171
180166
|
if (event.type === "building") {
|
180172
180167
|
output_manager_default.spinner("Building", 0);
|
180173
|
-
} else if (event.type === "ready" &&
|
180168
|
+
} else if (event.type === "ready" && rollingRelease2) {
|
180174
180169
|
output_manager_default.spinner("Releasing", 0);
|
180175
180170
|
output_manager_default.stopSpinner();
|
180176
180171
|
deployment = event.payload;
|
@@ -180240,7 +180235,6 @@ var init_redeploy2 = __esm({
|
|
180240
180235
|
init_redeploy();
|
180241
180236
|
init_get_custom_environments();
|
180242
180237
|
init_get_project_by_id_or_name();
|
180243
|
-
init_errors_ts();
|
180244
180238
|
}
|
180245
180239
|
});
|
180246
180240
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "44.2.
|
3
|
+
"version": "44.2.5",
|
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/
|
163
|
+
"@vercel-internals/constants": "1.0.4",
|
164
164
|
"@vercel-internals/get-package-json": "1.0.0",
|
165
|
-
"@vercel-internals/
|
165
|
+
"@vercel-internals/types": "3.0.6"
|
166
166
|
},
|
167
167
|
"scripts": {
|
168
168
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|