vercel 28.1.2 → 28.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/index.js +193 -422
- package/package.json +13 -13
package/dist/index.js
CHANGED
@@ -189624,6 +189624,9 @@ function debug(message, ...additional) {
|
|
189624
189624
|
if (get_platform_env_1.getPlatformEnv('BUILDER_DEBUG')) {
|
189625
189625
|
console.log(message, ...additional);
|
189626
189626
|
}
|
189627
|
+
else if (process.env.VERCEL_DEBUG_PREFIX) {
|
189628
|
+
console.log(`${process.env.VERCEL_DEBUG_PREFIX}${message}`, ...additional);
|
189629
|
+
}
|
189627
189630
|
}
|
189628
189631
|
exports.default = debug;
|
189629
189632
|
|
@@ -189751,7 +189754,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
189751
189754
|
/***/ }),
|
189752
189755
|
|
189753
189756
|
/***/ 2397:
|
189754
|
-
/***/ (function(__unused_webpack_module, exports,
|
189757
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_837651__) {
|
189755
189758
|
|
189756
189759
|
"use strict";
|
189757
189760
|
|
@@ -189759,8 +189762,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
189759
189762
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
189760
189763
|
};
|
189761
189764
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
189762
|
-
const assert_1 = __importDefault(
|
189763
|
-
const into_stream_1 = __importDefault(
|
189765
|
+
const assert_1 = __importDefault(__nested_webpack_require_837651__(2357));
|
189766
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_837651__(6130));
|
189764
189767
|
class FileBlob {
|
189765
189768
|
constructor({ mode = 0o100644, contentType, data }) {
|
189766
189769
|
assert_1.default(typeof mode === 'number');
|
@@ -189795,7 +189798,7 @@ exports.default = FileBlob;
|
|
189795
189798
|
/***/ }),
|
189796
189799
|
|
189797
189800
|
/***/ 9331:
|
189798
|
-
/***/ (function(__unused_webpack_module, exports,
|
189801
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_839169__) {
|
189799
189802
|
|
189800
189803
|
"use strict";
|
189801
189804
|
|
@@ -189803,11 +189806,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
189803
189806
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
189804
189807
|
};
|
189805
189808
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
189806
|
-
const assert_1 = __importDefault(
|
189807
|
-
const fs_extra_1 = __importDefault(
|
189808
|
-
const multistream_1 = __importDefault(
|
189809
|
-
const path_1 = __importDefault(
|
189810
|
-
const async_sema_1 = __importDefault(
|
189809
|
+
const assert_1 = __importDefault(__nested_webpack_require_839169__(2357));
|
189810
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_839169__(5392));
|
189811
|
+
const multistream_1 = __importDefault(__nested_webpack_require_839169__(8179));
|
189812
|
+
const path_1 = __importDefault(__nested_webpack_require_839169__(5622));
|
189813
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_839169__(5758));
|
189811
189814
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
189812
189815
|
class FileFsRef {
|
189813
189816
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -189873,7 +189876,7 @@ exports.default = FileFsRef;
|
|
189873
189876
|
/***/ }),
|
189874
189877
|
|
189875
189878
|
/***/ 5187:
|
189876
|
-
/***/ (function(__unused_webpack_module, exports,
|
189879
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_841973__) {
|
189877
189880
|
|
189878
189881
|
"use strict";
|
189879
189882
|
|
@@ -189881,11 +189884,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
189881
189884
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
189882
189885
|
};
|
189883
189886
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
189884
|
-
const assert_1 = __importDefault(
|
189885
|
-
const node_fetch_1 = __importDefault(
|
189886
|
-
const multistream_1 = __importDefault(
|
189887
|
-
const async_retry_1 = __importDefault(
|
189888
|
-
const async_sema_1 = __importDefault(
|
189887
|
+
const assert_1 = __importDefault(__nested_webpack_require_841973__(2357));
|
189888
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_841973__(2197));
|
189889
|
+
const multistream_1 = __importDefault(__nested_webpack_require_841973__(8179));
|
189890
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_841973__(3691));
|
189891
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_841973__(5758));
|
189889
189892
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
189890
189893
|
class BailableError extends Error {
|
189891
189894
|
constructor(...args) {
|
@@ -189966,7 +189969,7 @@ exports.default = FileRef;
|
|
189966
189969
|
/***/ }),
|
189967
189970
|
|
189968
189971
|
/***/ 1611:
|
189969
|
-
/***/ (function(__unused_webpack_module, exports,
|
189972
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_845374__) {
|
189970
189973
|
|
189971
189974
|
"use strict";
|
189972
189975
|
|
@@ -189975,11 +189978,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
189975
189978
|
};
|
189976
189979
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
189977
189980
|
exports.downloadFile = exports.isSymbolicLink = void 0;
|
189978
|
-
const path_1 = __importDefault(
|
189979
|
-
const debug_1 = __importDefault(
|
189980
|
-
const file_fs_ref_1 = __importDefault(
|
189981
|
-
const fs_extra_1 =
|
189982
|
-
const stream_to_buffer_1 = __importDefault(
|
189981
|
+
const path_1 = __importDefault(__nested_webpack_require_845374__(5622));
|
189982
|
+
const debug_1 = __importDefault(__nested_webpack_require_845374__(1868));
|
189983
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_845374__(9331));
|
189984
|
+
const fs_extra_1 = __nested_webpack_require_845374__(5392);
|
189985
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_845374__(2560));
|
189983
189986
|
const S_IFMT = 61440; /* 0170000 type of file */
|
189984
189987
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
189985
189988
|
function isSymbolicLink(mode) {
|
@@ -190070,14 +190073,14 @@ exports.default = download;
|
|
190070
190073
|
/***/ }),
|
190071
190074
|
|
190072
190075
|
/***/ 3838:
|
190073
|
-
/***/ ((__unused_webpack_module, exports,
|
190076
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_849809__) => {
|
190074
190077
|
|
190075
190078
|
"use strict";
|
190076
190079
|
|
190077
190080
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190078
|
-
const path_1 =
|
190079
|
-
const os_1 =
|
190080
|
-
const fs_extra_1 =
|
190081
|
+
const path_1 = __nested_webpack_require_849809__(5622);
|
190082
|
+
const os_1 = __nested_webpack_require_849809__(2087);
|
190083
|
+
const fs_extra_1 = __nested_webpack_require_849809__(5392);
|
190081
190084
|
async function getWritableDirectory() {
|
190082
190085
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
190083
190086
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -190090,7 +190093,7 @@ exports.default = getWritableDirectory;
|
|
190090
190093
|
/***/ }),
|
190091
190094
|
|
190092
190095
|
/***/ 4240:
|
190093
|
-
/***/ (function(__unused_webpack_module, exports,
|
190096
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_850389__) {
|
190094
190097
|
|
190095
190098
|
"use strict";
|
190096
190099
|
|
@@ -190098,13 +190101,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
190098
190101
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
190099
190102
|
};
|
190100
190103
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190101
|
-
const path_1 = __importDefault(
|
190102
|
-
const assert_1 = __importDefault(
|
190103
|
-
const glob_1 = __importDefault(
|
190104
|
-
const util_1 =
|
190105
|
-
const fs_extra_1 =
|
190106
|
-
const normalize_path_1 =
|
190107
|
-
const file_fs_ref_1 = __importDefault(
|
190104
|
+
const path_1 = __importDefault(__nested_webpack_require_850389__(5622));
|
190105
|
+
const assert_1 = __importDefault(__nested_webpack_require_850389__(2357));
|
190106
|
+
const glob_1 = __importDefault(__nested_webpack_require_850389__(1104));
|
190107
|
+
const util_1 = __nested_webpack_require_850389__(1669);
|
190108
|
+
const fs_extra_1 = __nested_webpack_require_850389__(5392);
|
190109
|
+
const normalize_path_1 = __nested_webpack_require_850389__(6261);
|
190110
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_850389__(9331));
|
190108
190111
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
190109
190112
|
async function glob(pattern, opts, mountpoint) {
|
190110
190113
|
let options;
|
@@ -190151,7 +190154,7 @@ exports.default = glob;
|
|
190151
190154
|
/***/ }),
|
190152
190155
|
|
190153
190156
|
/***/ 7903:
|
190154
|
-
/***/ (function(__unused_webpack_module, exports,
|
190157
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_852610__) {
|
190155
190158
|
|
190156
190159
|
"use strict";
|
190157
190160
|
|
@@ -190160,9 +190163,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
190160
190163
|
};
|
190161
190164
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190162
190165
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
190163
|
-
const semver_1 =
|
190164
|
-
const errors_1 =
|
190165
|
-
const debug_1 = __importDefault(
|
190166
|
+
const semver_1 = __nested_webpack_require_852610__(2879);
|
190167
|
+
const errors_1 = __nested_webpack_require_852610__(3983);
|
190168
|
+
const debug_1 = __importDefault(__nested_webpack_require_852610__(1868));
|
190166
190169
|
const allOptions = [
|
190167
190170
|
{ major: 16, range: '16.x', runtime: 'nodejs16.x' },
|
190168
190171
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
@@ -190261,7 +190264,7 @@ exports.normalizePath = normalizePath;
|
|
190261
190264
|
/***/ }),
|
190262
190265
|
|
190263
190266
|
/***/ 7792:
|
190264
|
-
/***/ (function(__unused_webpack_module, exports,
|
190267
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_856464__) {
|
190265
190268
|
|
190266
190269
|
"use strict";
|
190267
190270
|
|
@@ -190270,9 +190273,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
190270
190273
|
};
|
190271
190274
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190272
190275
|
exports.readConfigFile = void 0;
|
190273
|
-
const js_yaml_1 = __importDefault(
|
190274
|
-
const toml_1 = __importDefault(
|
190275
|
-
const fs_extra_1 =
|
190276
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_856464__(6540));
|
190277
|
+
const toml_1 = __importDefault(__nested_webpack_require_856464__(9434));
|
190278
|
+
const fs_extra_1 = __nested_webpack_require_856464__(5392);
|
190276
190279
|
async function readFileOrNull(file) {
|
190277
190280
|
try {
|
190278
190281
|
const data = await fs_extra_1.readFile(file);
|
@@ -190327,7 +190330,7 @@ exports.default = rename;
|
|
190327
190330
|
/***/ }),
|
190328
190331
|
|
190329
190332
|
/***/ 1442:
|
190330
|
-
/***/ (function(__unused_webpack_module, exports,
|
190333
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_858257__) {
|
190331
190334
|
|
190332
190335
|
"use strict";
|
190333
190336
|
|
@@ -190336,17 +190339,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
190336
190339
|
};
|
190337
190340
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190338
190341
|
exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runCustomInstallCommand = exports.getEnvForPackageManager = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
|
190339
|
-
const assert_1 = __importDefault(
|
190340
|
-
const fs_extra_1 = __importDefault(
|
190341
|
-
const path_1 = __importDefault(
|
190342
|
-
const async_sema_1 = __importDefault(
|
190343
|
-
const cross_spawn_1 = __importDefault(
|
190344
|
-
const semver_1 =
|
190345
|
-
const util_1 =
|
190346
|
-
const debug_1 = __importDefault(
|
190347
|
-
const errors_1 =
|
190348
|
-
const node_version_1 =
|
190349
|
-
const read_config_file_1 =
|
190342
|
+
const assert_1 = __importDefault(__nested_webpack_require_858257__(2357));
|
190343
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_858257__(5392));
|
190344
|
+
const path_1 = __importDefault(__nested_webpack_require_858257__(5622));
|
190345
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_858257__(5758));
|
190346
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_858257__(7618));
|
190347
|
+
const semver_1 = __nested_webpack_require_858257__(2879);
|
190348
|
+
const util_1 = __nested_webpack_require_858257__(1669);
|
190349
|
+
const debug_1 = __importDefault(__nested_webpack_require_858257__(1868));
|
190350
|
+
const errors_1 = __nested_webpack_require_858257__(3983);
|
190351
|
+
const node_version_1 = __nested_webpack_require_858257__(7903);
|
190352
|
+
const read_config_file_1 = __nested_webpack_require_858257__(7792);
|
190350
190353
|
// Only allow one `runNpmInstall()` invocation to run concurrently
|
190351
190354
|
const runNpmInstallSema = new async_sema_1.default(1);
|
190352
190355
|
function spawnAsync(command, args, opts = {}) {
|
@@ -190798,7 +190801,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
190798
190801
|
/***/ }),
|
190799
190802
|
|
190800
190803
|
/***/ 2560:
|
190801
|
-
/***/ (function(__unused_webpack_module, exports,
|
190804
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_877364__) {
|
190802
190805
|
|
190803
190806
|
"use strict";
|
190804
190807
|
|
@@ -190806,7 +190809,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
190806
190809
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
190807
190810
|
};
|
190808
190811
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190809
|
-
const end_of_stream_1 = __importDefault(
|
190812
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_877364__(687));
|
190810
190813
|
function streamToBuffer(stream) {
|
190811
190814
|
return new Promise((resolve, reject) => {
|
190812
190815
|
const buffers = [];
|
@@ -190835,7 +190838,7 @@ exports.default = streamToBuffer;
|
|
190835
190838
|
/***/ }),
|
190836
190839
|
|
190837
190840
|
/***/ 1148:
|
190838
|
-
/***/ (function(__unused_webpack_module, exports,
|
190841
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_878432__) {
|
190839
190842
|
|
190840
190843
|
"use strict";
|
190841
190844
|
|
@@ -190843,9 +190846,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
190843
190846
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
190844
190847
|
};
|
190845
190848
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190846
|
-
const path_1 = __importDefault(
|
190847
|
-
const fs_extra_1 = __importDefault(
|
190848
|
-
const ignore_1 = __importDefault(
|
190849
|
+
const path_1 = __importDefault(__nested_webpack_require_878432__(5622));
|
190850
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_878432__(5392));
|
190851
|
+
const ignore_1 = __importDefault(__nested_webpack_require_878432__(3556));
|
190849
190852
|
function isCodedError(error) {
|
190850
190853
|
return (error !== null &&
|
190851
190854
|
error !== undefined &&
|
@@ -190902,13 +190905,13 @@ exports.default = default_1;
|
|
190902
190905
|
/***/ }),
|
190903
190906
|
|
190904
190907
|
/***/ 4678:
|
190905
|
-
/***/ ((__unused_webpack_module, exports,
|
190908
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_880806__) => {
|
190906
190909
|
|
190907
190910
|
"use strict";
|
190908
190911
|
|
190909
190912
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
190910
190913
|
exports.getPlatformEnv = void 0;
|
190911
|
-
const errors_1 =
|
190914
|
+
const errors_1 = __nested_webpack_require_880806__(3983);
|
190912
190915
|
/**
|
190913
190916
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
190914
190917
|
* Throws an error if *both* env vars are defined.
|
@@ -190972,7 +190975,7 @@ exports.getPrefixedEnvVars = getPrefixedEnvVars;
|
|
190972
190975
|
/***/ }),
|
190973
190976
|
|
190974
190977
|
/***/ 2855:
|
190975
|
-
/***/ (function(__unused_webpack_module, exports,
|
190978
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_883065__) {
|
190976
190979
|
|
190977
190980
|
"use strict";
|
190978
190981
|
|
@@ -191003,31 +191006,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191003
191006
|
};
|
191004
191007
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191005
191008
|
exports.normalizePath = exports.readConfigFile = exports.EdgeFunction = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.streamToBuffer = exports.getPrefixedEnvVars = exports.getPlatformEnv = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.getEnvForPackageManager = exports.runCustomInstallCommand = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.downloadFile = exports.download = exports.Prerender = exports.createLambda = exports.NodejsLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
191006
|
-
const file_blob_1 = __importDefault(
|
191009
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_883065__(2397));
|
191007
191010
|
exports.FileBlob = file_blob_1.default;
|
191008
|
-
const file_fs_ref_1 = __importDefault(
|
191011
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_883065__(9331));
|
191009
191012
|
exports.FileFsRef = file_fs_ref_1.default;
|
191010
|
-
const file_ref_1 = __importDefault(
|
191013
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_883065__(5187));
|
191011
191014
|
exports.FileRef = file_ref_1.default;
|
191012
|
-
const lambda_1 =
|
191015
|
+
const lambda_1 = __nested_webpack_require_883065__(6721);
|
191013
191016
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
191014
191017
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
191015
191018
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
191016
|
-
const nodejs_lambda_1 =
|
191019
|
+
const nodejs_lambda_1 = __nested_webpack_require_883065__(7049);
|
191017
191020
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
191018
|
-
const prerender_1 =
|
191021
|
+
const prerender_1 = __nested_webpack_require_883065__(2850);
|
191019
191022
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
191020
|
-
const download_1 = __importStar(
|
191023
|
+
const download_1 = __importStar(__nested_webpack_require_883065__(1611));
|
191021
191024
|
exports.download = download_1.default;
|
191022
191025
|
Object.defineProperty(exports, "downloadFile", ({ enumerable: true, get: function () { return download_1.downloadFile; } }));
|
191023
191026
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
191024
|
-
const get_writable_directory_1 = __importDefault(
|
191027
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_883065__(3838));
|
191025
191028
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
191026
|
-
const glob_1 = __importDefault(
|
191029
|
+
const glob_1 = __importDefault(__nested_webpack_require_883065__(4240));
|
191027
191030
|
exports.glob = glob_1.default;
|
191028
|
-
const rename_1 = __importDefault(
|
191031
|
+
const rename_1 = __importDefault(__nested_webpack_require_883065__(6718));
|
191029
191032
|
exports.rename = rename_1.default;
|
191030
|
-
const run_user_scripts_1 =
|
191033
|
+
const run_user_scripts_1 = __nested_webpack_require_883065__(1442);
|
191031
191034
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
191032
191035
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
191033
191036
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -191046,35 +191049,35 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
191046
191049
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
191047
191050
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
191048
191051
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
191049
|
-
const node_version_1 =
|
191052
|
+
const node_version_1 = __nested_webpack_require_883065__(7903);
|
191050
191053
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
191051
191054
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
191052
|
-
const stream_to_buffer_1 = __importDefault(
|
191055
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_883065__(2560));
|
191053
191056
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
191054
|
-
const debug_1 = __importDefault(
|
191057
|
+
const debug_1 = __importDefault(__nested_webpack_require_883065__(1868));
|
191055
191058
|
exports.debug = debug_1.default;
|
191056
|
-
const get_ignore_filter_1 = __importDefault(
|
191059
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_883065__(1148));
|
191057
191060
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
191058
|
-
const get_platform_env_1 =
|
191061
|
+
const get_platform_env_1 = __nested_webpack_require_883065__(4678);
|
191059
191062
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
191060
|
-
const get_prefixed_env_vars_1 =
|
191063
|
+
const get_prefixed_env_vars_1 = __nested_webpack_require_883065__(6838);
|
191061
191064
|
Object.defineProperty(exports, "getPrefixedEnvVars", ({ enumerable: true, get: function () { return get_prefixed_env_vars_1.getPrefixedEnvVars; } }));
|
191062
|
-
var edge_function_1 =
|
191065
|
+
var edge_function_1 = __nested_webpack_require_883065__(8038);
|
191063
191066
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
191064
|
-
var read_config_file_1 =
|
191067
|
+
var read_config_file_1 = __nested_webpack_require_883065__(7792);
|
191065
191068
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
191066
|
-
var normalize_path_1 =
|
191069
|
+
var normalize_path_1 = __nested_webpack_require_883065__(6261);
|
191067
191070
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
191068
|
-
__exportStar(
|
191069
|
-
__exportStar(
|
191070
|
-
__exportStar(
|
191071
|
-
__exportStar(
|
191071
|
+
__exportStar(__nested_webpack_require_883065__(2564), exports);
|
191072
|
+
__exportStar(__nested_webpack_require_883065__(2416), exports);
|
191073
|
+
__exportStar(__nested_webpack_require_883065__(5748), exports);
|
191074
|
+
__exportStar(__nested_webpack_require_883065__(3983), exports);
|
191072
191075
|
|
191073
191076
|
|
191074
191077
|
/***/ }),
|
191075
191078
|
|
191076
191079
|
/***/ 6721:
|
191077
|
-
/***/ (function(__unused_webpack_module, exports,
|
191080
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_891698__) {
|
191078
191081
|
|
191079
191082
|
"use strict";
|
191080
191083
|
|
@@ -191083,13 +191086,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191083
191086
|
};
|
191084
191087
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191085
191088
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
191086
|
-
const assert_1 = __importDefault(
|
191087
|
-
const async_sema_1 = __importDefault(
|
191088
|
-
const yazl_1 =
|
191089
|
-
const minimatch_1 = __importDefault(
|
191090
|
-
const fs_extra_1 =
|
191091
|
-
const download_1 =
|
191092
|
-
const stream_to_buffer_1 = __importDefault(
|
191089
|
+
const assert_1 = __importDefault(__nested_webpack_require_891698__(2357));
|
191090
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_891698__(5758));
|
191091
|
+
const yazl_1 = __nested_webpack_require_891698__(1223);
|
191092
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_891698__(9566));
|
191093
|
+
const fs_extra_1 = __nested_webpack_require_891698__(5392);
|
191094
|
+
const download_1 = __nested_webpack_require_891698__(1611);
|
191095
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_891698__(2560));
|
191093
191096
|
class Lambda {
|
191094
191097
|
constructor(opts) {
|
191095
191098
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, } = opts;
|
@@ -191215,13 +191218,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
191215
191218
|
/***/ }),
|
191216
191219
|
|
191217
191220
|
/***/ 7049:
|
191218
|
-
/***/ ((__unused_webpack_module, exports,
|
191221
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_897381__) => {
|
191219
191222
|
|
191220
191223
|
"use strict";
|
191221
191224
|
|
191222
191225
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191223
191226
|
exports.NodejsLambda = void 0;
|
191224
|
-
const lambda_1 =
|
191227
|
+
const lambda_1 = __nested_webpack_require_897381__(6721);
|
191225
191228
|
class NodejsLambda extends lambda_1.Lambda {
|
191226
191229
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
191227
191230
|
super(opts);
|
@@ -191358,13 +191361,13 @@ exports.buildsSchema = {
|
|
191358
191361
|
/***/ }),
|
191359
191362
|
|
191360
191363
|
/***/ 2564:
|
191361
|
-
/***/ ((__unused_webpack_module, exports,
|
191364
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_901726__) => {
|
191362
191365
|
|
191363
191366
|
"use strict";
|
191364
191367
|
|
191365
191368
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191366
191369
|
exports.shouldServe = void 0;
|
191367
|
-
const path_1 =
|
191370
|
+
const path_1 = __nested_webpack_require_901726__(5622);
|
191368
191371
|
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
191369
191372
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
191370
191373
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -191609,7 +191612,7 @@ module.exports = __webpack_require__(78761);
|
|
191609
191612
|
/******/ var __webpack_module_cache__ = {};
|
191610
191613
|
/******/
|
191611
191614
|
/******/ // The require function
|
191612
|
-
/******/ function
|
191615
|
+
/******/ function __nested_webpack_require_1279091__(moduleId) {
|
191613
191616
|
/******/ // Check if module is in cache
|
191614
191617
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
191615
191618
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -191624,7 +191627,7 @@ module.exports = __webpack_require__(78761);
|
|
191624
191627
|
/******/ // Execute the module function
|
191625
191628
|
/******/ var threw = true;
|
191626
191629
|
/******/ try {
|
191627
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
191630
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1279091__);
|
191628
191631
|
/******/ threw = false;
|
191629
191632
|
/******/ } finally {
|
191630
191633
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -191637,11 +191640,11 @@ module.exports = __webpack_require__(78761);
|
|
191637
191640
|
/************************************************************************/
|
191638
191641
|
/******/ /* webpack/runtime/compat */
|
191639
191642
|
/******/
|
191640
|
-
/******/
|
191643
|
+
/******/ __nested_webpack_require_1279091__.ab = __dirname + "/";/************************************************************************/
|
191641
191644
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
191642
191645
|
/******/ // startup
|
191643
191646
|
/******/ // Load entry module and return exports
|
191644
|
-
/******/ return
|
191647
|
+
/******/ return __nested_webpack_require_1279091__(2855);
|
191645
191648
|
/******/ })()
|
191646
191649
|
;
|
191647
191650
|
|
@@ -227379,6 +227382,10 @@ async function doBuild(client, project, buildsJson, cwd, outputDir) {
|
|
227379
227382
|
throw pkg;
|
227380
227383
|
if (vercelConfig instanceof errors_ts_1.CantParseJSONFile)
|
227381
227384
|
throw vercelConfig;
|
227385
|
+
const projectSettings = {
|
227386
|
+
...project.settings,
|
227387
|
+
...(0, project_settings_1.pickOverrides)(vercelConfig || {}),
|
227388
|
+
};
|
227382
227389
|
// Get a list of source files
|
227383
227390
|
const files = (await (0, get_files_1.staticFiles)(workPath, client)).map(f => (0, build_utils_1.normalizePath)((0, path_1.relative)(workPath, f)));
|
227384
227391
|
const routesResult = (0, routing_utils_1.getTransformedRoutes)(vercelConfig || {});
|
@@ -227405,7 +227412,7 @@ async function doBuild(client, project, buildsJson, cwd, outputDir) {
|
|
227405
227412
|
// Detect the Vercel Builders that will need to be invoked
|
227406
227413
|
const detectedBuilders = await (0, fs_detectors_1.detectBuilders)(files, pkg, {
|
227407
227414
|
...vercelConfig,
|
227408
|
-
projectSettings
|
227415
|
+
projectSettings,
|
227409
227416
|
ignoreBuildScript: true,
|
227410
227417
|
featHandleMiss: true,
|
227411
227418
|
});
|
@@ -227495,14 +227502,14 @@ async function doBuild(client, project, buildsJson, cwd, outputDir) {
|
|
227495
227502
|
const { builder, pkg: builderPkg } = builderWithPkg;
|
227496
227503
|
const buildConfig = isZeroConfig
|
227497
227504
|
? {
|
227498
|
-
outputDirectory:
|
227505
|
+
outputDirectory: projectSettings.outputDirectory ?? undefined,
|
227499
227506
|
...build.config,
|
227500
|
-
projectSettings
|
227501
|
-
installCommand:
|
227502
|
-
devCommand:
|
227503
|
-
buildCommand:
|
227504
|
-
framework:
|
227505
|
-
nodeVersion:
|
227507
|
+
projectSettings,
|
227508
|
+
installCommand: projectSettings.installCommand ?? undefined,
|
227509
|
+
devCommand: projectSettings.devCommand ?? undefined,
|
227510
|
+
buildCommand: projectSettings.buildCommand ?? undefined,
|
227511
|
+
framework: projectSettings.framework,
|
227512
|
+
nodeVersion: projectSettings.nodeVersion,
|
227506
227513
|
}
|
227507
227514
|
: build.config || {};
|
227508
227515
|
const buildOptions = {
|
@@ -228363,6 +228370,7 @@ const create_git_meta_1 = __webpack_require__(21084);
|
|
228363
228370
|
const validate_archive_format_1 = __webpack_require__(42067);
|
228364
228371
|
const parse_env_1 = __webpack_require__(6111);
|
228365
228372
|
const is_error_1 = __webpack_require__(11026);
|
228373
|
+
const project_settings_1 = __webpack_require__(42697);
|
228366
228374
|
exports.default = async (client) => {
|
228367
228375
|
const { output } = client;
|
228368
228376
|
let argv = null;
|
@@ -228642,14 +228650,7 @@ exports.default = async (client) => {
|
|
228642
228650
|
});
|
228643
228651
|
let deployStamp = (0, stamp_1.default)();
|
228644
228652
|
let deployment = null;
|
228645
|
-
const localConfigurationOverrides =
|
228646
|
-
buildCommand: localConfig?.buildCommand,
|
228647
|
-
devCommand: localConfig?.devCommand,
|
228648
|
-
framework: localConfig?.framework,
|
228649
|
-
commandForIgnoringBuildStep: localConfig?.ignoreCommand,
|
228650
|
-
installCommand: localConfig?.installCommand,
|
228651
|
-
outputDirectory: localConfig?.outputDirectory,
|
228652
|
-
};
|
228653
|
+
const localConfigurationOverrides = (0, project_settings_1.pickOverrides)(localConfig);
|
228653
228654
|
try {
|
228654
228655
|
const createArgs = {
|
228655
228656
|
name: project ? project.name : newProjectName,
|
@@ -228920,7 +228921,6 @@ const fs_extra_1 = __importDefault(__webpack_require__(45392));
|
|
228920
228921
|
const server_1 = __importDefault(__webpack_require__(18433));
|
228921
228922
|
const parse_listen_1 = __importDefault(__webpack_require__(1919));
|
228922
228923
|
const link_1 = __webpack_require__(67630);
|
228923
|
-
const get_frameworks_1 = __webpack_require__(87569);
|
228924
228924
|
const get_decrypted_env_records_1 = __importDefault(__webpack_require__(30861));
|
228925
228925
|
const setup_and_link_1 = __importDefault(__webpack_require__(69532));
|
228926
228926
|
const get_system_env_values_1 = __importDefault(__webpack_require__(60272));
|
@@ -228933,10 +228933,7 @@ async function dev(client, opts, args) {
|
|
228933
228933
|
let cwd = (0, path_1.resolve)(dir);
|
228934
228934
|
const listen = (0, parse_listen_1.default)(opts['--listen'] || '3000');
|
228935
228935
|
// retrieve dev command
|
228936
|
-
let
|
228937
|
-
(0, link_1.getLinkedProject)(client, cwd),
|
228938
|
-
(0, get_frameworks_1.getFrameworks)(client),
|
228939
|
-
]);
|
228936
|
+
let link = await (0, link_1.getLinkedProject)(client, cwd);
|
228940
228937
|
if (link.status === 'not_linked' && !process.env.__VERCEL_SKIP_DEV_CMD) {
|
228941
228938
|
link = await (0, setup_and_link_1.default)(client, cwd, {
|
228942
228939
|
autoConfirm: opts['--yes'],
|
@@ -228954,7 +228951,6 @@ async function dev(client, opts, args) {
|
|
228954
228951
|
}
|
228955
228952
|
return link.exitCode;
|
228956
228953
|
}
|
228957
|
-
let devCommand;
|
228958
228954
|
let projectSettings;
|
228959
228955
|
let projectEnvs = [];
|
228960
228956
|
let systemEnvValues = [];
|
@@ -228962,18 +228958,6 @@ async function dev(client, opts, args) {
|
|
228962
228958
|
const { project, org } = link;
|
228963
228959
|
client.config.currentTeam = org.type === 'team' ? org.id : undefined;
|
228964
228960
|
projectSettings = project;
|
228965
|
-
if (project.devCommand) {
|
228966
|
-
devCommand = project.devCommand;
|
228967
|
-
}
|
228968
|
-
else if (project.framework) {
|
228969
|
-
const framework = frameworks.find(f => f.slug === project.framework);
|
228970
|
-
if (framework) {
|
228971
|
-
const defaults = framework.settings.devCommand.value;
|
228972
|
-
if (defaults) {
|
228973
|
-
devCommand = defaults;
|
228974
|
-
}
|
228975
|
-
}
|
228976
|
-
}
|
228977
228961
|
if (project.rootDirectory) {
|
228978
228962
|
cwd = (0, path_1.join)(cwd, project.rootDirectory);
|
228979
228963
|
}
|
@@ -228984,28 +228968,22 @@ async function dev(client, opts, args) {
|
|
228984
228968
|
: { systemEnvValues: [] },
|
228985
228969
|
]);
|
228986
228970
|
}
|
228987
|
-
|
228988
|
-
|
228989
|
-
|
228990
|
-
|
228991
|
-
|
228971
|
+
const devServer = new server_1.default(cwd, {
|
228972
|
+
output,
|
228973
|
+
projectSettings,
|
228974
|
+
projectEnvs,
|
228975
|
+
systemEnvValues,
|
228976
|
+
});
|
228992
228977
|
// If there is no Development Command, we must delete the
|
228993
228978
|
// v3 Build Output because it will incorrectly be detected by
|
228994
228979
|
// @vercel/static-build in BuildOutputV3.getBuildOutputDirectory()
|
228995
|
-
if (!devCommand) {
|
228980
|
+
if (!devServer.devCommand) {
|
228996
228981
|
const outputDir = (0, path_1.join)(cwd, write_build_result_1.OUTPUT_DIR);
|
228997
228982
|
if (await fs_extra_1.default.pathExists(outputDir)) {
|
228998
228983
|
output.log(`Removing ${write_build_result_1.OUTPUT_DIR}`);
|
228999
228984
|
await fs_extra_1.default.remove(outputDir);
|
229000
228985
|
}
|
229001
228986
|
}
|
229002
|
-
const devServer = new server_1.default(cwd, {
|
229003
|
-
output,
|
229004
|
-
devCommand,
|
229005
|
-
projectSettings,
|
229006
|
-
projectEnvs,
|
229007
|
-
systemEnvValues,
|
229008
|
-
});
|
229009
228987
|
await devServer.start(...listen);
|
229010
228988
|
}
|
229011
228989
|
exports.default = dev;
|
@@ -231455,7 +231433,7 @@ const help = () => {
|
|
231455
231433
|
|
231456
231434
|
-h, --help Output usage information
|
231457
231435
|
-t ${chalk_1.default.bold.underline('TOKEN')}, --token=${chalk_1.default.bold.underline('TOKEN')} Login token
|
231458
|
-
-y, --yes Skip
|
231436
|
+
-y, --yes Skip confirmation when connecting a Git provider
|
231459
231437
|
|
231460
231438
|
${chalk_1.default.dim('Examples:')}
|
231461
231439
|
|
@@ -238352,7 +238330,8 @@ async function executeBuild(vercelConfig, devServer, files, match, requestPath,
|
|
238352
238330
|
const { output } = result;
|
238353
238331
|
const { cleanUrls } = vercelConfig;
|
238354
238332
|
// Mimic fmeta-util and perform file renaming
|
238355
|
-
|
238333
|
+
for (const [originalPath, value] of Object.entries(output)) {
|
238334
|
+
let path = (0, build_utils_1.normalizePath)(originalPath);
|
238356
238335
|
if (cleanUrls && path.endsWith('.html')) {
|
238357
238336
|
path = path.slice(0, -5);
|
238358
238337
|
if (value.type === 'FileBlob' || value.type === 'FileFsRef') {
|
@@ -238364,7 +238343,7 @@ async function executeBuild(vercelConfig, devServer, files, match, requestPath,
|
|
238364
238343
|
path = extensionless;
|
238365
238344
|
}
|
238366
238345
|
output[path] = value;
|
238367
|
-
}
|
238346
|
+
}
|
238368
238347
|
// Convert the JSON-ified output map back into their corresponding `File`
|
238369
238348
|
// subclass type instances.
|
238370
238349
|
for (const name of Object.keys(output)) {
|
@@ -239115,6 +239094,7 @@ const tree_kill_1 = __webpack_require__(21780);
|
|
239115
239094
|
const headers_1 = __webpack_require__(17929);
|
239116
239095
|
const parse_query_string_1 = __webpack_require__(40165);
|
239117
239096
|
const is_error_1 = __webpack_require__(11026);
|
239097
|
+
const project_settings_1 = __webpack_require__(42697);
|
239118
239098
|
const frontendRuntimeSet = new Set(frameworks_1.default.map(f => f.useRuntime?.use || '@vercel/static-build'));
|
239119
239099
|
function sortBuilders(buildA, buildB) {
|
239120
239100
|
if (buildA && buildA.use && (0, fs_detectors_1.isOfficialRuntime)('static-build', buildA.use)) {
|
@@ -239519,7 +239499,9 @@ class DevServer {
|
|
239519
239499
|
devCacheDir,
|
239520
239500
|
env: {
|
239521
239501
|
...envConfigs.runEnv,
|
239522
|
-
|
239502
|
+
VERCEL_DEBUG_PREFIX: this.output.debugEnabled
|
239503
|
+
? '[builder]'
|
239504
|
+
: undefined,
|
239523
239505
|
},
|
239524
239506
|
buildEnv: { ...envConfigs.buildEnv },
|
239525
239507
|
},
|
@@ -239689,7 +239671,7 @@ class DevServer {
|
|
239689
239671
|
this.projectEnvs = options.projectEnvs || [];
|
239690
239672
|
this.files = {};
|
239691
239673
|
this.address = '';
|
239692
|
-
this.
|
239674
|
+
this.originalProjectSettings = options.projectSettings;
|
239693
239675
|
this.projectSettings = options.projectSettings;
|
239694
239676
|
this.caseSensitive = false;
|
239695
239677
|
this.apiDir = null;
|
@@ -239967,6 +239949,22 @@ class DevServer {
|
|
239967
239949
|
this.getVercelConfigPromise.finally(clear);
|
239968
239950
|
return this.getVercelConfigPromise;
|
239969
239951
|
}
|
239952
|
+
get devCommand() {
|
239953
|
+
if (this.projectSettings?.devCommand) {
|
239954
|
+
return this.projectSettings.devCommand;
|
239955
|
+
}
|
239956
|
+
else if (this.projectSettings?.framework) {
|
239957
|
+
const frameworkSlug = this.projectSettings.framework;
|
239958
|
+
const framework = frameworks_1.default.find(f => f.slug === frameworkSlug);
|
239959
|
+
if (framework) {
|
239960
|
+
const defaults = framework.settings.devCommand.value;
|
239961
|
+
if (defaults) {
|
239962
|
+
return defaults;
|
239963
|
+
}
|
239964
|
+
}
|
239965
|
+
}
|
239966
|
+
return undefined;
|
239967
|
+
}
|
239970
239968
|
async _getVercelConfig() {
|
239971
239969
|
const configPath = (0, local_path_1.default)(this.cwd);
|
239972
239970
|
const [pkg = null,
|
@@ -239977,6 +239975,10 @@ class DevServer {
|
|
239977
239975
|
this.readJsonFile(configPath),
|
239978
239976
|
]);
|
239979
239977
|
await this.validateVercelConfig(vercelConfig);
|
239978
|
+
this.projectSettings = {
|
239979
|
+
...this.originalProjectSettings,
|
239980
|
+
...(0, project_settings_1.pickOverrides)(vercelConfig),
|
239981
|
+
};
|
239980
239982
|
const { error: routeError, routes: maybeRoutes } = (0, routing_utils_1.getTransformedRoutes)(vercelConfig);
|
239981
239983
|
if (routeError) {
|
239982
239984
|
this.output.prettyError(routeError);
|
@@ -240074,6 +240076,9 @@ class DevServer {
|
|
240074
240076
|
runEnv['VERCEL_REGION'] = 'dev1';
|
240075
240077
|
}
|
240076
240078
|
this.envConfigs = { buildEnv, runEnv, allEnv };
|
240079
|
+
// If the `devCommand` was modified via project settings
|
240080
|
+
// overrides then the dev process needs to be restarted
|
240081
|
+
await this.runDevCommand();
|
240077
240082
|
return vercelConfig;
|
240078
240083
|
}
|
240079
240084
|
async readJsonFile(filePath) {
|
@@ -240619,9 +240624,17 @@ class DevServer {
|
|
240619
240624
|
}
|
240620
240625
|
async runDevCommand() {
|
240621
240626
|
const { devCommand, cwd } = this;
|
240627
|
+
if (devCommand === this.currentDevCommand) {
|
240628
|
+
// `devCommand` has not changed, so don't restart frontend dev process
|
240629
|
+
return;
|
240630
|
+
}
|
240631
|
+
this.currentDevCommand = devCommand;
|
240622
240632
|
if (!devCommand) {
|
240623
240633
|
return;
|
240624
240634
|
}
|
240635
|
+
if (this.devProcess) {
|
240636
|
+
await (0, tree_kill_1.treeKill)(this.devProcess.pid);
|
240637
|
+
}
|
240625
240638
|
this.output.log(`Running Dev Command ${chalk_1.default.cyan.bold(`“${devCommand}”`)}`);
|
240626
240639
|
const port = await (0, get_port_1.default)();
|
240627
240640
|
const env = {
|
@@ -244349,23 +244362,6 @@ function notNull(value) {
|
|
244349
244362
|
}
|
244350
244363
|
|
244351
244364
|
|
244352
|
-
/***/ }),
|
244353
|
-
|
244354
|
-
/***/ 87569:
|
244355
|
-
/***/ ((__unused_webpack_module, exports) => {
|
244356
|
-
|
244357
|
-
"use strict";
|
244358
|
-
|
244359
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
244360
|
-
exports.getFrameworks = void 0;
|
244361
|
-
async function getFrameworks(client) {
|
244362
|
-
return await client.fetch('/v1/frameworks', {
|
244363
|
-
useCurrentTeam: false,
|
244364
|
-
});
|
244365
|
-
}
|
244366
|
-
exports.getFrameworks = getFrameworks;
|
244367
|
-
|
244368
|
-
|
244369
244365
|
/***/ }),
|
244370
244366
|
|
244371
244367
|
/***/ 89543:
|
@@ -244668,7 +244664,7 @@ async function connectGitProvider(client, org, projectId, type, repo) {
|
|
244668
244664
|
const apiError = (0, errors_ts_1.isAPIError)(err);
|
244669
244665
|
if (apiError &&
|
244670
244666
|
(err.action === 'Install GitHub App' || err.code === 'repo_not_found')) {
|
244671
|
-
client.output.error(`Failed to
|
244667
|
+
client.output.error(`Failed to connect ${chalk_1.default.cyan(repo)} to project. Make sure there aren't any typos and that you have access to the repository if it's private.`);
|
244672
244668
|
}
|
244673
244669
|
else if (apiError && err.action === 'Add a Login Connection') {
|
244674
244670
|
client.output.error(err.message.replace(repo, chalk_1.default.cyan(repo)) +
|
@@ -246460,237 +246456,6 @@ function isValidName(name = '') {
|
|
246460
246456
|
exports.isValidName = isValidName;
|
246461
246457
|
|
246462
246458
|
|
246463
|
-
/***/ }),
|
246464
|
-
|
246465
|
-
/***/ 44866:
|
246466
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
246467
|
-
|
246468
|
-
"use strict";
|
246469
|
-
|
246470
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
246471
|
-
exports.addGitConnection = void 0;
|
246472
|
-
const connect_git_provider_1 = __webpack_require__(18258);
|
246473
|
-
const handle_options_1 = __webpack_require__(30201);
|
246474
|
-
const git_connect_prompts_1 = __webpack_require__(12373);
|
246475
|
-
function getProjectSettings(project) {
|
246476
|
-
return {
|
246477
|
-
createdAt: project.createdAt,
|
246478
|
-
framework: project.framework,
|
246479
|
-
devCommand: project.devCommand,
|
246480
|
-
installCommand: project.installCommand,
|
246481
|
-
buildCommand: project.buildCommand,
|
246482
|
-
outputDirectory: project.outputDirectory,
|
246483
|
-
rootDirectory: project.rootDirectory,
|
246484
|
-
directoryListing: project.directoryListing,
|
246485
|
-
nodeVersion: project.nodeVersion,
|
246486
|
-
skipGitConnectDuringLink: project.skipGitConnectDuringLink,
|
246487
|
-
};
|
246488
|
-
}
|
246489
|
-
async function addGitConnection(client, org, project, remoteUrls, autoConfirm, settings) {
|
246490
|
-
if (!settings) {
|
246491
|
-
settings = getProjectSettings(project);
|
246492
|
-
}
|
246493
|
-
if (Object.keys(remoteUrls).length === 1) {
|
246494
|
-
return addSingleGitRemote(client, org, project, remoteUrls, settings || project, autoConfirm);
|
246495
|
-
}
|
246496
|
-
else if (Object.keys(remoteUrls).length > 1 && !project.link) {
|
246497
|
-
return addMultipleGitRemotes(client, org, project, remoteUrls, settings || project, autoConfirm);
|
246498
|
-
}
|
246499
|
-
}
|
246500
|
-
exports.addGitConnection = addGitConnection;
|
246501
|
-
async function addSingleGitRemote(client, org, project, remoteUrls, settings, autoConfirm) {
|
246502
|
-
const [remoteName, remoteUrl] = Object.entries(remoteUrls)[0];
|
246503
|
-
const repoInfo = (0, connect_git_provider_1.parseRepoUrl)(remoteUrl);
|
246504
|
-
if (!repoInfo) {
|
246505
|
-
client.output.debug(`Could not parse repo url ${repoInfo}.`);
|
246506
|
-
return 1;
|
246507
|
-
}
|
246508
|
-
const { org: parsedOrg, repo, provider } = repoInfo;
|
246509
|
-
const alreadyLinked = project.link &&
|
246510
|
-
project.link.org === parsedOrg &&
|
246511
|
-
project.link.repo === repo &&
|
246512
|
-
project.link.type === provider;
|
246513
|
-
if (alreadyLinked) {
|
246514
|
-
client.output.debug('Project already linked. Skipping...');
|
246515
|
-
return;
|
246516
|
-
}
|
246517
|
-
const replace = project.link &&
|
246518
|
-
(project.link.org !== parsedOrg ||
|
246519
|
-
project.link.repo !== repo ||
|
246520
|
-
project.link.type !== provider);
|
246521
|
-
let shouldConnectOption;
|
246522
|
-
if (autoConfirm) {
|
246523
|
-
shouldConnectOption = 'yes';
|
246524
|
-
}
|
246525
|
-
else {
|
246526
|
-
shouldConnectOption = await (0, git_connect_prompts_1.promptGitConnectSingleUrl)(client, project, remoteName, remoteUrl, replace);
|
246527
|
-
}
|
246528
|
-
return (0, handle_options_1.handleOptions)(shouldConnectOption, client, org, project, settings, repoInfo);
|
246529
|
-
}
|
246530
|
-
async function addMultipleGitRemotes(client, org, project, remoteUrls, settings, autoConfirm) {
|
246531
|
-
let remoteUrl;
|
246532
|
-
if (autoConfirm) {
|
246533
|
-
remoteUrl = remoteUrls['origin'] || Object.values(remoteUrls)[0];
|
246534
|
-
}
|
246535
|
-
else {
|
246536
|
-
client.output.log('Found multiple Git remote URLs in Git config.');
|
246537
|
-
remoteUrl = await (0, git_connect_prompts_1.promptGitConnectMultipleUrls)(client, remoteUrls);
|
246538
|
-
}
|
246539
|
-
return (0, handle_options_1.handleOptions)(remoteUrl, client, org, project, settings);
|
246540
|
-
}
|
246541
|
-
|
246542
|
-
|
246543
|
-
/***/ }),
|
246544
|
-
|
246545
|
-
/***/ 12373:
|
246546
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
246547
|
-
|
246548
|
-
"use strict";
|
246549
|
-
|
246550
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
246551
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
246552
|
-
};
|
246553
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
246554
|
-
exports.promptGitConnectMultipleUrls = exports.promptGitConnectSingleUrl = void 0;
|
246555
|
-
const chalk_1 = __importDefault(__webpack_require__(961));
|
246556
|
-
const connect_git_provider_1 = __webpack_require__(18258);
|
246557
|
-
const list_1 = __importDefault(__webpack_require__(95144));
|
246558
|
-
async function promptGitConnectSingleUrl(client, project, remoteName, remoteUrl, hasDiffConnectedProvider = false) {
|
246559
|
-
const { output } = client;
|
246560
|
-
if (hasDiffConnectedProvider) {
|
246561
|
-
const currentRepoPath = `${project.link.org}/${project.link.repo}`;
|
246562
|
-
const currentProvider = project.link.type;
|
246563
|
-
output.print('\n');
|
246564
|
-
output.log(`Found Git remote URL ${chalk_1.default.cyan(remoteUrl)}, which is different from the connected ${(0, connect_git_provider_1.formatProvider)(currentProvider)} repository ${chalk_1.default.cyan(currentRepoPath)}.`);
|
246565
|
-
}
|
246566
|
-
else {
|
246567
|
-
output.print('\n');
|
246568
|
-
output.log(`Found local Git remote "${remoteName}": ${chalk_1.default.cyan(remoteUrl)}`);
|
246569
|
-
}
|
246570
|
-
return await (0, list_1.default)(client, {
|
246571
|
-
message: hasDiffConnectedProvider
|
246572
|
-
? 'Do you want to replace it?'
|
246573
|
-
: `Do you want to connect "${remoteName}" to your Vercel project?`,
|
246574
|
-
choices: [
|
246575
|
-
{
|
246576
|
-
name: 'Yes',
|
246577
|
-
value: 'yes',
|
246578
|
-
short: 'yes',
|
246579
|
-
},
|
246580
|
-
{
|
246581
|
-
name: 'No',
|
246582
|
-
value: 'no',
|
246583
|
-
short: 'no',
|
246584
|
-
},
|
246585
|
-
{
|
246586
|
-
name: 'Do not ask again for this project',
|
246587
|
-
value: 'opt-out',
|
246588
|
-
short: 'no (opt out)',
|
246589
|
-
},
|
246590
|
-
],
|
246591
|
-
});
|
246592
|
-
}
|
246593
|
-
exports.promptGitConnectSingleUrl = promptGitConnectSingleUrl;
|
246594
|
-
async function promptGitConnectMultipleUrls(client, remoteUrls) {
|
246595
|
-
const staticOptions = [
|
246596
|
-
{
|
246597
|
-
name: 'No',
|
246598
|
-
value: 'no',
|
246599
|
-
short: 'no',
|
246600
|
-
},
|
246601
|
-
{
|
246602
|
-
name: 'Do not ask again for this project',
|
246603
|
-
value: 'opt-out',
|
246604
|
-
short: 'no (opt out)',
|
246605
|
-
},
|
246606
|
-
];
|
246607
|
-
let choices = [];
|
246608
|
-
for (const url of Object.values(remoteUrls)) {
|
246609
|
-
choices.push({
|
246610
|
-
name: url,
|
246611
|
-
value: url,
|
246612
|
-
short: url,
|
246613
|
-
});
|
246614
|
-
}
|
246615
|
-
choices = choices.concat(staticOptions);
|
246616
|
-
return await (0, list_1.default)(client, {
|
246617
|
-
message: 'Do you want to connect a Git repository to your Vercel project?',
|
246618
|
-
choices,
|
246619
|
-
});
|
246620
|
-
}
|
246621
|
-
exports.promptGitConnectMultipleUrls = promptGitConnectMultipleUrls;
|
246622
|
-
|
246623
|
-
|
246624
|
-
/***/ }),
|
246625
|
-
|
246626
|
-
/***/ 30201:
|
246627
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
246628
|
-
|
246629
|
-
"use strict";
|
246630
|
-
|
246631
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
246632
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
246633
|
-
};
|
246634
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
246635
|
-
exports.handleOptions = void 0;
|
246636
|
-
const chalk_1 = __importDefault(__webpack_require__(961));
|
246637
|
-
const connect_git_provider_1 = __webpack_require__(18258);
|
246638
|
-
const pkg_name_1 = __webpack_require__(98106);
|
246639
|
-
const update_project_1 = __importDefault(__webpack_require__(28311));
|
246640
|
-
async function handleOptions(option, client, org, project, settings, repoInfo) {
|
246641
|
-
const { output } = client;
|
246642
|
-
if (option === 'no') {
|
246643
|
-
skip(output);
|
246644
|
-
return;
|
246645
|
-
}
|
246646
|
-
else if (option === 'opt-out') {
|
246647
|
-
optOut(client, project, settings);
|
246648
|
-
return;
|
246649
|
-
}
|
246650
|
-
else if (option !== '') {
|
246651
|
-
// Option is "yes" or a URL
|
246652
|
-
// Ensure parsed url exists
|
246653
|
-
if (!repoInfo) {
|
246654
|
-
const _repoInfo = (0, connect_git_provider_1.parseRepoUrl)(option);
|
246655
|
-
if (!_repoInfo) {
|
246656
|
-
output.debug(`Could not parse repo url ${option}.`);
|
246657
|
-
return 1;
|
246658
|
-
}
|
246659
|
-
repoInfo = _repoInfo;
|
246660
|
-
}
|
246661
|
-
return connect(client, org, project, repoInfo);
|
246662
|
-
}
|
246663
|
-
}
|
246664
|
-
exports.handleOptions = handleOptions;
|
246665
|
-
async function optOut(client, project, settings) {
|
246666
|
-
settings.skipGitConnectDuringLink = true;
|
246667
|
-
await (0, update_project_1.default)(client, project.name, settings);
|
246668
|
-
client.output
|
246669
|
-
.log(`Opted out. You can re-enable this prompt by visiting the Settings > Git page on the
|
246670
|
-
dashboard for this Project.`);
|
246671
|
-
}
|
246672
|
-
function skip(output) {
|
246673
|
-
output.log('Skipping...');
|
246674
|
-
output.log(`You can connect a Git repository in the future by running ${(0, pkg_name_1.getCommandName)('git connect')}.`);
|
246675
|
-
}
|
246676
|
-
async function connect(client, org, project, repoInfo) {
|
246677
|
-
const { output } = client;
|
246678
|
-
const { provider, org: parsedOrg, repo } = repoInfo;
|
246679
|
-
const repoPath = `${parsedOrg}/${repo}`;
|
246680
|
-
output.log('Connecting...');
|
246681
|
-
if (project.link) {
|
246682
|
-
await (0, connect_git_provider_1.disconnectGitProvider)(client, org, project.id);
|
246683
|
-
}
|
246684
|
-
const connect = await (0, connect_git_provider_1.connectGitProvider)(client, org, project.id, provider, repoPath);
|
246685
|
-
if (connect !== 1) {
|
246686
|
-
output.log(`Connected ${(0, connect_git_provider_1.formatProvider)(provider)} repository ${chalk_1.default.cyan(repoPath)}!`);
|
246687
|
-
}
|
246688
|
-
else {
|
246689
|
-
return connect;
|
246690
|
-
}
|
246691
|
-
}
|
246692
|
-
|
246693
|
-
|
246694
246459
|
/***/ }),
|
246695
246460
|
|
246696
246461
|
/***/ 69532:
|
@@ -246721,8 +246486,6 @@ const stamp_1 = __importDefault(__webpack_require__(92205));
|
|
246721
246486
|
const create_deploy_1 = __importDefault(__webpack_require__(80974));
|
246722
246487
|
const index_1 = __importDefault(__webpack_require__(60487));
|
246723
246488
|
const errors_ts_1 = __webpack_require__(60156);
|
246724
|
-
const create_git_meta_1 = __webpack_require__(21084);
|
246725
|
-
const add_git_connection_1 = __webpack_require__(44866);
|
246726
246489
|
async function setupAndLink(client, path, { forceDelete = false, autoConfirm = false, successEmoji, setupMsg, projectName, }) {
|
246727
246490
|
const { localConfig, output, config } = client;
|
246728
246491
|
const debug = output.isDebugEnabled();
|
@@ -246779,13 +246542,6 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
246779
246542
|
}
|
246780
246543
|
else {
|
246781
246544
|
const project = projectOrNewProjectName;
|
246782
|
-
const remoteUrls = await (0, create_git_meta_1.getRemoteUrls)((0, path_1.join)(path, '.git/config'), output);
|
246783
|
-
if (remoteUrls && !project.skipGitConnectDuringLink) {
|
246784
|
-
const connectGit = await (0, add_git_connection_1.addGitConnection)(client, org, project, remoteUrls, autoConfirm);
|
246785
|
-
if (typeof connectGit === 'number') {
|
246786
|
-
return { status: 'error', exitCode: connectGit };
|
246787
|
-
}
|
246788
|
-
}
|
246789
246545
|
await (0, link_1.linkFolderToProject)(output, path, {
|
246790
246546
|
projectId: project.id,
|
246791
246547
|
orgId: org.id,
|
@@ -246858,13 +246614,6 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
246858
246614
|
settings.rootDirectory = rootDirectory;
|
246859
246615
|
}
|
246860
246616
|
const project = await (0, create_project_1.default)(client, newProjectName);
|
246861
|
-
const remoteUrls = await (0, create_git_meta_1.getRemoteUrls)((0, path_1.join)(path, '.git/config'), output);
|
246862
|
-
if (remoteUrls) {
|
246863
|
-
const connectGit = await (0, add_git_connection_1.addGitConnection)(client, org, project, remoteUrls, autoConfirm, settings);
|
246864
|
-
if (typeof connectGit === 'number') {
|
246865
|
-
return { status: 'error', exitCode: connectGit };
|
246866
|
-
}
|
246867
|
-
}
|
246868
246617
|
await (0, update_project_1.default)(client, project.id, settings);
|
246869
246618
|
Object.assign(project, settings);
|
246870
246619
|
await (0, link_1.linkFolderToProject)(output, path, {
|
@@ -248864,7 +248613,7 @@ exports.linkFolderToProject = linkFolderToProject;
|
|
248864
248613
|
"use strict";
|
248865
248614
|
|
248866
248615
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
248867
|
-
exports.readProjectSettings = exports.writeProjectSettings = void 0;
|
248616
|
+
exports.pickOverrides = exports.readProjectSettings = exports.writeProjectSettings = void 0;
|
248868
248617
|
const fs_extra_1 = __webpack_require__(45392);
|
248869
248618
|
const link_1 = __webpack_require__(67630);
|
248870
248619
|
const path_1 = __webpack_require__(85622);
|
@@ -248898,6 +248647,28 @@ async function readProjectSettings(cwd) {
|
|
248898
248647
|
return await (0, link_1.getLinkFromDir)(cwd);
|
248899
248648
|
}
|
248900
248649
|
exports.readProjectSettings = readProjectSettings;
|
248650
|
+
function pickOverrides(vercelConfig) {
|
248651
|
+
const overrides = {};
|
248652
|
+
for (const prop of [
|
248653
|
+
'buildCommand',
|
248654
|
+
'devCommand',
|
248655
|
+
'framework',
|
248656
|
+
'ignoreCommand',
|
248657
|
+
'installCommand',
|
248658
|
+
'outputDirectory',
|
248659
|
+
]) {
|
248660
|
+
if (typeof vercelConfig[prop] !== 'undefined') {
|
248661
|
+
if (prop === 'ignoreCommand') {
|
248662
|
+
overrides.commandForIgnoringBuildStep = vercelConfig[prop];
|
248663
|
+
}
|
248664
|
+
else {
|
248665
|
+
overrides[prop] = vercelConfig[prop];
|
248666
|
+
}
|
248667
|
+
}
|
248668
|
+
}
|
248669
|
+
return overrides;
|
248670
|
+
}
|
248671
|
+
exports.pickOverrides = pickOverrides;
|
248901
248672
|
|
248902
248673
|
|
248903
248674
|
/***/ }),
|
@@ -249878,7 +249649,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
249878
249649
|
/***/ ((module) => {
|
249879
249650
|
|
249880
249651
|
"use strict";
|
249881
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.
|
249652
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.2.0\",\"preferGlobal\":true,\"license\":\"Apache-2.0\",\"description\":\"The command-line interface for Vercel\",\"homepage\":\"https://vercel.com\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/cli\"},\"scripts\":{\"preinstall\":\"node ./scripts/preinstall.js\",\"test\":\"jest --env node --verbose --runInBand --bail --forceExit\",\"test-unit\":\"yarn test test/unit/\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"yarn test test/dev/\",\"coverage\":\"codecov\",\"build\":\"ts-node ./scripts/build.ts\",\"dev\":\"ts-node ./src/index.ts\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 14\"},\"dependencies\":{\"@vercel/build-utils\":\"5.4.0\",\"@vercel/go\":\"2.2.3\",\"@vercel/hydrogen\":\"0.0.16\",\"@vercel/next\":\"3.1.22\",\"@vercel/node\":\"2.5.11\",\"@vercel/python\":\"3.1.12\",\"@vercel/redwood\":\"1.0.20\",\"@vercel/remix\":\"1.0.21\",\"@vercel/ruby\":\"1.3.29\",\"@vercel/static-build\":\"1.0.20\",\"update-notifier\":\"5.1.0\"},\"devDependencies\":{\"@alex_neo/jest-expect-message\":\"1.0.5\",\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@swc/core\":\"1.2.218\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/ini\":\"1.3.31\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.4.1\",\"@types/jest-expect-message\":\"1.0.3\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@types/yauzl-promise\":\"2.1.0\",\"@vercel/client\":\"12.2.2\",\"@vercel/frameworks\":\"1.1.3\",\"@vercel/fs-detectors\":\"2.0.5\",\"@vercel/fun\":\"1.0.4\",\"@vercel/ncc\":\"0.24.0\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"3.0.0\",\"ansi-regex\":\"3.0.0\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"boxen\":\"4.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-prompt\":\"0.3.2\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"git-last-commit\":\"1.0.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"ini\":\"3.0.0\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.1.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"jsonlines\":\"0.1.1\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.7\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.4.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"progress\":\"2.0.3\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"5.2.0\",\"stripe\":\"5.1.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-node\":\"10.9.1\",\"typescript\":\"4.7.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"which\":\"2.0.2\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\",\"yauzl-promise\":\"2.1.3\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"setupFilesAfterEnv\":[\"@alex_neo/jest-expect-message\"],\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]}}");
|
249882
249653
|
|
249883
249654
|
/***/ }),
|
249884
249655
|
|
@@ -249886,7 +249657,7 @@ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.1.2\",\"prefe
|
|
249886
249657
|
/***/ ((module) => {
|
249887
249658
|
|
249888
249659
|
"use strict";
|
249889
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.
|
249660
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.2\",\"main\":\"dist/index.js\",\"typings\":\"dist/index.d.ts\",\"homepage\":\"https://vercel.com\",\"license\":\"MIT\",\"files\":[\"dist\"],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/client\"},\"scripts\":{\"build\":\"tsc\",\"test-integration-once\":\"yarn test tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test\":\"jest --env node --verbose --runInBand --bail\",\"test-unit\":\"yarn test tests/unit.*test.*\"},\"engines\":{\"node\":\">= 14\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.4.1\",\"@types/minimatch\":\"3.0.5\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"12.0.4\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"@types/tar-fs\":\"^2.0.1\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"5.4.0\",\"@vercel/routing-utils\":\"2.0.2\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"minimatch\":\"5.0.1\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.7\",\"querystring\":\"^0.2.0\",\"sleep-promise\":\"8.0.1\"}}");
|
249890
249661
|
|
249891
249662
|
/***/ }),
|
249892
249663
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "28.
|
3
|
+
"version": "28.2.0",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -41,16 +41,16 @@
|
|
41
41
|
"node": ">= 14"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@vercel/build-utils": "5.
|
45
|
-
"@vercel/go": "2.2.
|
46
|
-
"@vercel/hydrogen": "0.0.
|
47
|
-
"@vercel/next": "3.1.
|
48
|
-
"@vercel/node": "2.5.
|
49
|
-
"@vercel/python": "3.1.
|
50
|
-
"@vercel/redwood": "1.0.
|
51
|
-
"@vercel/remix": "1.0.
|
52
|
-
"@vercel/ruby": "1.3.
|
53
|
-
"@vercel/static-build": "1.0.
|
44
|
+
"@vercel/build-utils": "5.4.0",
|
45
|
+
"@vercel/go": "2.2.3",
|
46
|
+
"@vercel/hydrogen": "0.0.16",
|
47
|
+
"@vercel/next": "3.1.22",
|
48
|
+
"@vercel/node": "2.5.11",
|
49
|
+
"@vercel/python": "3.1.12",
|
50
|
+
"@vercel/redwood": "1.0.20",
|
51
|
+
"@vercel/remix": "1.0.21",
|
52
|
+
"@vercel/ruby": "1.3.29",
|
53
|
+
"@vercel/static-build": "1.0.20",
|
54
54
|
"update-notifier": "5.1.0"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
@@ -96,7 +96,7 @@
|
|
96
96
|
"@types/which": "1.3.2",
|
97
97
|
"@types/write-json-file": "2.2.1",
|
98
98
|
"@types/yauzl-promise": "2.1.0",
|
99
|
-
"@vercel/client": "12.2.
|
99
|
+
"@vercel/client": "12.2.2",
|
100
100
|
"@vercel/frameworks": "1.1.3",
|
101
101
|
"@vercel/fs-detectors": "2.0.5",
|
102
102
|
"@vercel/fun": "1.0.4",
|
@@ -195,5 +195,5 @@
|
|
195
195
|
"<rootDir>/test/**/*.test.ts"
|
196
196
|
]
|
197
197
|
},
|
198
|
-
"gitHead": "
|
198
|
+
"gitHead": "e7e0a55b72bc73c26661f7b2a3caa0884a5d1764"
|
199
199
|
}
|