vercel 23.1.3-canary.29 → 23.1.3-canary.32
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 +187 -144
- package/package.json +5 -5
package/dist/index.js
CHANGED
@@ -216895,7 +216895,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
216895
216895
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
216896
216896
|
};
|
216897
216897
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
216898
|
-
exports.convertRuntimeToPlugin = void 0;
|
216898
|
+
exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = void 0;
|
216899
216899
|
const fs_extra_1 = __importDefault(__nested_webpack_require_905327__(5392));
|
216900
216900
|
const path_1 = __nested_webpack_require_905327__(5622);
|
216901
216901
|
const glob_1 = __importDefault(__nested_webpack_require_905327__(4240));
|
@@ -216913,8 +216913,8 @@ function convertRuntimeToPlugin(buildRuntime, ext) {
|
|
216913
216913
|
const files = await glob_1.default('**', opts);
|
216914
216914
|
delete files['vercel.json']; // Builders/Runtimes didn't have vercel.json
|
216915
216915
|
const entrypoints = await glob_1.default(`api/**/*${ext}`, opts);
|
216916
|
-
const
|
216917
|
-
const functions = await
|
216916
|
+
const pages = {};
|
216917
|
+
const { functions = {} } = await readVercelConfig(workPath);
|
216918
216918
|
const traceDir = path_1.join(workPath, '.output', 'runtime-traced-files');
|
216919
216919
|
await fs_extra_1.default.ensureDir(traceDir);
|
216920
216920
|
for (const entrypoint of Object.keys(entrypoints)) {
|
@@ -216930,11 +216930,11 @@ function convertRuntimeToPlugin(buildRuntime, ext) {
|
|
216930
216930
|
excludeFiles: config.excludeFiles,
|
216931
216931
|
},
|
216932
216932
|
});
|
216933
|
-
|
216933
|
+
pages[entrypoint] = {
|
216934
216934
|
handler: output.handler,
|
216935
216935
|
runtime: output.runtime,
|
216936
|
-
memory:
|
216937
|
-
maxDuration:
|
216936
|
+
memory: output.memory,
|
216937
|
+
maxDuration: output.maxDuration,
|
216938
216938
|
environment: output.environment,
|
216939
216939
|
allowQuery: output.allowQuery,
|
216940
216940
|
regions: output.regions,
|
@@ -216970,7 +216970,7 @@ function convertRuntimeToPlugin(buildRuntime, ext) {
|
|
216970
216970
|
await fs_extra_1.default.ensureDir(path_1.dirname(nft));
|
216971
216971
|
await fs_extra_1.default.writeFile(nft, json);
|
216972
216972
|
}
|
216973
|
-
await
|
216973
|
+
await updateFunctionsManifest({ workPath, pages });
|
216974
216974
|
};
|
216975
216975
|
}
|
216976
216976
|
exports.convertRuntimeToPlugin = convertRuntimeToPlugin;
|
@@ -216984,12 +216984,10 @@ async function linkOrCopy(existingPath, newPath) {
|
|
216984
216984
|
}
|
216985
216985
|
}
|
216986
216986
|
}
|
216987
|
-
async function
|
216988
|
-
const vercelJsonPath = path_1.join(workPath, 'vercel.json');
|
216987
|
+
async function readJson(filePath) {
|
216989
216988
|
try {
|
216990
|
-
const str = await fs_extra_1.default.readFile(
|
216991
|
-
|
216992
|
-
return obj.functions || {};
|
216989
|
+
const str = await fs_extra_1.default.readFile(filePath, 'utf8');
|
216990
|
+
return JSON.parse(str);
|
216993
216991
|
}
|
216994
216992
|
catch (err) {
|
216995
216993
|
if (err.code === 'ENOENT') {
|
@@ -216998,17 +216996,49 @@ async function readVercelConfigFunctions(workPath) {
|
|
216998
216996
|
throw err;
|
216999
216997
|
}
|
217000
216998
|
}
|
216999
|
+
async function readVercelConfig(workPath) {
|
217000
|
+
const vercelJsonPath = path_1.join(workPath, 'vercel.json');
|
217001
|
+
return readJson(vercelJsonPath);
|
217002
|
+
}
|
217003
|
+
/**
|
217004
|
+
* If `.output/functions-manifest.json` exists, append to the pages
|
217005
|
+
* property. Otherwise write a new file. This will also read `vercel.json`
|
217006
|
+
* and apply relevant `functions` property config.
|
217007
|
+
*/
|
217008
|
+
async function updateFunctionsManifest({ workPath, pages, }) {
|
217009
|
+
const functionsManifestPath = path_1.join(workPath, '.output', 'functions-manifest.json');
|
217010
|
+
const vercelConfig = await readVercelConfig(workPath);
|
217011
|
+
const functionsManifest = await readJson(functionsManifestPath);
|
217012
|
+
if (!functionsManifest.version)
|
217013
|
+
functionsManifest.version = 1;
|
217014
|
+
if (!functionsManifest.pages)
|
217015
|
+
functionsManifest.pages = {};
|
217016
|
+
for (const [pageKey, pageConfig] of Object.entries(pages)) {
|
217017
|
+
const fnConfig = await lambda_1.getLambdaOptionsFromFunction({
|
217018
|
+
sourceFile: pageKey,
|
217019
|
+
config: vercelConfig,
|
217020
|
+
});
|
217021
|
+
functionsManifest.pages[pageKey] = {
|
217022
|
+
...pageConfig,
|
217023
|
+
memory: fnConfig.memory || pageConfig.memory,
|
217024
|
+
maxDuration: fnConfig.maxDuration || pageConfig.maxDuration,
|
217025
|
+
regions: vercelConfig.regions || pageConfig.regions,
|
217026
|
+
};
|
217027
|
+
}
|
217028
|
+
await fs_extra_1.default.writeFile(functionsManifestPath, JSON.stringify(functionsManifest));
|
217029
|
+
}
|
217030
|
+
exports.updateFunctionsManifest = updateFunctionsManifest;
|
217001
217031
|
|
217002
217032
|
|
217003
217033
|
/***/ }),
|
217004
217034
|
|
217005
217035
|
/***/ 1868:
|
217006
|
-
/***/ ((__unused_webpack_module, exports,
|
217036
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_911451__) => {
|
217007
217037
|
|
217008
217038
|
"use strict";
|
217009
217039
|
|
217010
217040
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217011
|
-
const _1 =
|
217041
|
+
const _1 = __nested_webpack_require_911451__(2855);
|
217012
217042
|
function debug(message, ...additional) {
|
217013
217043
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
217014
217044
|
console.log(message, ...additional);
|
@@ -217020,7 +217050,7 @@ exports.default = debug;
|
|
217020
217050
|
/***/ }),
|
217021
217051
|
|
217022
217052
|
/***/ 4246:
|
217023
|
-
/***/ (function(__unused_webpack_module, exports,
|
217053
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_911836__) {
|
217024
217054
|
|
217025
217055
|
"use strict";
|
217026
217056
|
|
@@ -217029,11 +217059,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217029
217059
|
};
|
217030
217060
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217031
217061
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
217032
|
-
const minimatch_1 = __importDefault(
|
217033
|
-
const semver_1 =
|
217034
|
-
const path_1 =
|
217035
|
-
const frameworks_1 = __importDefault(
|
217036
|
-
const _1 =
|
217062
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_911836__(9566));
|
217063
|
+
const semver_1 = __nested_webpack_require_911836__(2879);
|
217064
|
+
const path_1 = __nested_webpack_require_911836__(5622);
|
217065
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_911836__(8438));
|
217066
|
+
const _1 = __nested_webpack_require_911836__(2855);
|
217037
217067
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
217038
217068
|
// We need to sort the file paths by alphabet to make
|
217039
217069
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -218039,7 +218069,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
218039
218069
|
/***/ }),
|
218040
218070
|
|
218041
218071
|
/***/ 2397:
|
218042
|
-
/***/ (function(__unused_webpack_module, exports,
|
218072
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_948678__) {
|
218043
218073
|
|
218044
218074
|
"use strict";
|
218045
218075
|
|
@@ -218047,8 +218077,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218047
218077
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218048
218078
|
};
|
218049
218079
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218050
|
-
const assert_1 = __importDefault(
|
218051
|
-
const into_stream_1 = __importDefault(
|
218080
|
+
const assert_1 = __importDefault(__nested_webpack_require_948678__(2357));
|
218081
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_948678__(6130));
|
218052
218082
|
class FileBlob {
|
218053
218083
|
constructor({ mode = 0o100644, contentType, data }) {
|
218054
218084
|
assert_1.default(typeof mode === 'number');
|
@@ -218080,7 +218110,7 @@ exports.default = FileBlob;
|
|
218080
218110
|
/***/ }),
|
218081
218111
|
|
218082
218112
|
/***/ 9331:
|
218083
|
-
/***/ (function(__unused_webpack_module, exports,
|
218113
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_950130__) {
|
218084
218114
|
|
218085
218115
|
"use strict";
|
218086
218116
|
|
@@ -218088,11 +218118,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218088
218118
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218089
218119
|
};
|
218090
218120
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218091
|
-
const assert_1 = __importDefault(
|
218092
|
-
const fs_extra_1 = __importDefault(
|
218093
|
-
const multistream_1 = __importDefault(
|
218094
|
-
const path_1 = __importDefault(
|
218095
|
-
const async_sema_1 = __importDefault(
|
218121
|
+
const assert_1 = __importDefault(__nested_webpack_require_950130__(2357));
|
218122
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_950130__(5392));
|
218123
|
+
const multistream_1 = __importDefault(__nested_webpack_require_950130__(8179));
|
218124
|
+
const path_1 = __importDefault(__nested_webpack_require_950130__(5622));
|
218125
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_950130__(5758));
|
218096
218126
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
218097
218127
|
class FileFsRef {
|
218098
218128
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -218158,7 +218188,7 @@ exports.default = FileFsRef;
|
|
218158
218188
|
/***/ }),
|
218159
218189
|
|
218160
218190
|
/***/ 5187:
|
218161
|
-
/***/ (function(__unused_webpack_module, exports,
|
218191
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_952934__) {
|
218162
218192
|
|
218163
218193
|
"use strict";
|
218164
218194
|
|
@@ -218166,11 +218196,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218166
218196
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218167
218197
|
};
|
218168
218198
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218169
|
-
const assert_1 = __importDefault(
|
218170
|
-
const node_fetch_1 = __importDefault(
|
218171
|
-
const multistream_1 = __importDefault(
|
218172
|
-
const async_retry_1 = __importDefault(
|
218173
|
-
const async_sema_1 = __importDefault(
|
218199
|
+
const assert_1 = __importDefault(__nested_webpack_require_952934__(2357));
|
218200
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_952934__(2197));
|
218201
|
+
const multistream_1 = __importDefault(__nested_webpack_require_952934__(8179));
|
218202
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_952934__(3691));
|
218203
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_952934__(5758));
|
218174
218204
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
218175
218205
|
class BailableError extends Error {
|
218176
218206
|
constructor(...args) {
|
@@ -218251,7 +218281,7 @@ exports.default = FileRef;
|
|
218251
218281
|
/***/ }),
|
218252
218282
|
|
218253
218283
|
/***/ 1611:
|
218254
|
-
/***/ (function(__unused_webpack_module, exports,
|
218284
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_956335__) {
|
218255
218285
|
|
218256
218286
|
"use strict";
|
218257
218287
|
|
@@ -218260,10 +218290,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218260
218290
|
};
|
218261
218291
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218262
218292
|
exports.isSymbolicLink = void 0;
|
218263
|
-
const path_1 = __importDefault(
|
218264
|
-
const debug_1 = __importDefault(
|
218265
|
-
const file_fs_ref_1 = __importDefault(
|
218266
|
-
const fs_extra_1 =
|
218293
|
+
const path_1 = __importDefault(__nested_webpack_require_956335__(5622));
|
218294
|
+
const debug_1 = __importDefault(__nested_webpack_require_956335__(1868));
|
218295
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_956335__(9331));
|
218296
|
+
const fs_extra_1 = __nested_webpack_require_956335__(5392);
|
218267
218297
|
const S_IFMT = 61440; /* 0170000 type of file */
|
218268
218298
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
218269
218299
|
function isSymbolicLink(mode) {
|
@@ -218325,14 +218355,14 @@ exports.default = download;
|
|
218325
218355
|
/***/ }),
|
218326
218356
|
|
218327
218357
|
/***/ 3838:
|
218328
|
-
/***/ ((__unused_webpack_module, exports,
|
218358
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_959160__) => {
|
218329
218359
|
|
218330
218360
|
"use strict";
|
218331
218361
|
|
218332
218362
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218333
|
-
const path_1 =
|
218334
|
-
const os_1 =
|
218335
|
-
const fs_extra_1 =
|
218363
|
+
const path_1 = __nested_webpack_require_959160__(5622);
|
218364
|
+
const os_1 = __nested_webpack_require_959160__(2087);
|
218365
|
+
const fs_extra_1 = __nested_webpack_require_959160__(5392);
|
218336
218366
|
async function getWritableDirectory() {
|
218337
218367
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
218338
218368
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -218345,7 +218375,7 @@ exports.default = getWritableDirectory;
|
|
218345
218375
|
/***/ }),
|
218346
218376
|
|
218347
218377
|
/***/ 4240:
|
218348
|
-
/***/ (function(__unused_webpack_module, exports,
|
218378
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_959740__) {
|
218349
218379
|
|
218350
218380
|
"use strict";
|
218351
218381
|
|
@@ -218353,13 +218383,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218353
218383
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218354
218384
|
};
|
218355
218385
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218356
|
-
const path_1 = __importDefault(
|
218357
|
-
const assert_1 = __importDefault(
|
218358
|
-
const glob_1 = __importDefault(
|
218359
|
-
const util_1 =
|
218360
|
-
const fs_extra_1 =
|
218361
|
-
const normalize_path_1 =
|
218362
|
-
const file_fs_ref_1 = __importDefault(
|
218386
|
+
const path_1 = __importDefault(__nested_webpack_require_959740__(5622));
|
218387
|
+
const assert_1 = __importDefault(__nested_webpack_require_959740__(2357));
|
218388
|
+
const glob_1 = __importDefault(__nested_webpack_require_959740__(1104));
|
218389
|
+
const util_1 = __nested_webpack_require_959740__(1669);
|
218390
|
+
const fs_extra_1 = __nested_webpack_require_959740__(5392);
|
218391
|
+
const normalize_path_1 = __nested_webpack_require_959740__(6261);
|
218392
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_959740__(9331));
|
218363
218393
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
218364
218394
|
async function glob(pattern, opts, mountpoint) {
|
218365
218395
|
let options;
|
@@ -218405,7 +218435,7 @@ exports.default = glob;
|
|
218405
218435
|
/***/ }),
|
218406
218436
|
|
218407
218437
|
/***/ 7903:
|
218408
|
-
/***/ (function(__unused_webpack_module, exports,
|
218438
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_961936__) {
|
218409
218439
|
|
218410
218440
|
"use strict";
|
218411
218441
|
|
@@ -218414,9 +218444,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218414
218444
|
};
|
218415
218445
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218416
218446
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
218417
|
-
const semver_1 =
|
218418
|
-
const errors_1 =
|
218419
|
-
const debug_1 = __importDefault(
|
218447
|
+
const semver_1 = __nested_webpack_require_961936__(2879);
|
218448
|
+
const errors_1 = __nested_webpack_require_961936__(3983);
|
218449
|
+
const debug_1 = __importDefault(__nested_webpack_require_961936__(1868));
|
218420
218450
|
const allOptions = [
|
218421
218451
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
218422
218452
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -218510,7 +218540,7 @@ exports.normalizePath = normalizePath;
|
|
218510
218540
|
/***/ }),
|
218511
218541
|
|
218512
218542
|
/***/ 7792:
|
218513
|
-
/***/ (function(__unused_webpack_module, exports,
|
218543
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_965804__) {
|
218514
218544
|
|
218515
218545
|
"use strict";
|
218516
218546
|
|
@@ -218519,9 +218549,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218519
218549
|
};
|
218520
218550
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218521
218551
|
exports.readConfigFile = void 0;
|
218522
|
-
const js_yaml_1 = __importDefault(
|
218523
|
-
const toml_1 = __importDefault(
|
218524
|
-
const fs_extra_1 =
|
218552
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_965804__(6540));
|
218553
|
+
const toml_1 = __importDefault(__nested_webpack_require_965804__(9434));
|
218554
|
+
const fs_extra_1 = __nested_webpack_require_965804__(5392);
|
218525
218555
|
async function readFileOrNull(file) {
|
218526
218556
|
try {
|
218527
218557
|
const data = await fs_extra_1.readFile(file);
|
@@ -218576,7 +218606,7 @@ exports.default = rename;
|
|
218576
218606
|
/***/ }),
|
218577
218607
|
|
218578
218608
|
/***/ 1442:
|
218579
|
-
/***/ (function(__unused_webpack_module, exports,
|
218609
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_967597__) {
|
218580
218610
|
|
218581
218611
|
"use strict";
|
218582
218612
|
|
@@ -218585,14 +218615,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218585
218615
|
};
|
218586
218616
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218587
218617
|
exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
|
218588
|
-
const assert_1 = __importDefault(
|
218589
|
-
const fs_extra_1 = __importDefault(
|
218590
|
-
const path_1 = __importDefault(
|
218591
|
-
const debug_1 = __importDefault(
|
218592
|
-
const cross_spawn_1 = __importDefault(
|
218593
|
-
const util_1 =
|
218594
|
-
const errors_1 =
|
218595
|
-
const node_version_1 =
|
218618
|
+
const assert_1 = __importDefault(__nested_webpack_require_967597__(2357));
|
218619
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_967597__(5392));
|
218620
|
+
const path_1 = __importDefault(__nested_webpack_require_967597__(5622));
|
218621
|
+
const debug_1 = __importDefault(__nested_webpack_require_967597__(1868));
|
218622
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_967597__(7618));
|
218623
|
+
const util_1 = __nested_webpack_require_967597__(1669);
|
218624
|
+
const errors_1 = __nested_webpack_require_967597__(3983);
|
218625
|
+
const node_version_1 = __nested_webpack_require_967597__(7903);
|
218596
218626
|
function spawnAsync(command, args, opts = {}) {
|
218597
218627
|
return new Promise((resolve, reject) => {
|
218598
218628
|
const stderrLogs = [];
|
@@ -218903,7 +218933,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
218903
218933
|
/***/ }),
|
218904
218934
|
|
218905
218935
|
/***/ 2560:
|
218906
|
-
/***/ (function(__unused_webpack_module, exports,
|
218936
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_981587__) {
|
218907
218937
|
|
218908
218938
|
"use strict";
|
218909
218939
|
|
@@ -218911,7 +218941,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218911
218941
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218912
218942
|
};
|
218913
218943
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218914
|
-
const end_of_stream_1 = __importDefault(
|
218944
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_981587__(687));
|
218915
218945
|
function streamToBuffer(stream) {
|
218916
218946
|
return new Promise((resolve, reject) => {
|
218917
218947
|
const buffers = [];
|
@@ -218940,7 +218970,7 @@ exports.default = streamToBuffer;
|
|
218940
218970
|
/***/ }),
|
218941
218971
|
|
218942
218972
|
/***/ 2855:
|
218943
|
-
/***/ (function(__unused_webpack_module, exports,
|
218973
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_982655__) {
|
218944
218974
|
|
218945
218975
|
"use strict";
|
218946
218976
|
|
@@ -218970,29 +219000,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218970
219000
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218971
219001
|
};
|
218972
219002
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218973
|
-
exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = 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.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
218974
|
-
const file_blob_1 = __importDefault(
|
219003
|
+
exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = 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.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
219004
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_982655__(2397));
|
218975
219005
|
exports.FileBlob = file_blob_1.default;
|
218976
|
-
const file_fs_ref_1 = __importDefault(
|
219006
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_982655__(9331));
|
218977
219007
|
exports.FileFsRef = file_fs_ref_1.default;
|
218978
|
-
const file_ref_1 = __importDefault(
|
219008
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_982655__(5187));
|
218979
219009
|
exports.FileRef = file_ref_1.default;
|
218980
|
-
const lambda_1 =
|
219010
|
+
const lambda_1 = __nested_webpack_require_982655__(6721);
|
218981
219011
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
218982
219012
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
218983
219013
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
218984
|
-
const prerender_1 =
|
219014
|
+
const prerender_1 = __nested_webpack_require_982655__(2850);
|
218985
219015
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
218986
|
-
const download_1 = __importStar(
|
219016
|
+
const download_1 = __importStar(__nested_webpack_require_982655__(1611));
|
218987
219017
|
exports.download = download_1.default;
|
218988
219018
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
218989
|
-
const get_writable_directory_1 = __importDefault(
|
219019
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_982655__(3838));
|
218990
219020
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
218991
|
-
const glob_1 = __importDefault(
|
219021
|
+
const glob_1 = __importDefault(__nested_webpack_require_982655__(4240));
|
218992
219022
|
exports.glob = glob_1.default;
|
218993
|
-
const rename_1 = __importDefault(
|
219023
|
+
const rename_1 = __importDefault(__nested_webpack_require_982655__(6718));
|
218994
219024
|
exports.rename = rename_1.default;
|
218995
|
-
const run_user_scripts_1 =
|
219025
|
+
const run_user_scripts_1 = __nested_webpack_require_982655__(1442);
|
218996
219026
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
218997
219027
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
218998
219028
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -219009,34 +219039,35 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
219009
219039
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
219010
219040
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
219011
219041
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
219012
|
-
const node_version_1 =
|
219042
|
+
const node_version_1 = __nested_webpack_require_982655__(7903);
|
219013
219043
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
219014
219044
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
219015
|
-
const errors_1 =
|
219016
|
-
const stream_to_buffer_1 = __importDefault(
|
219045
|
+
const errors_1 = __nested_webpack_require_982655__(3983);
|
219046
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_982655__(2560));
|
219017
219047
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
219018
|
-
const should_serve_1 = __importDefault(
|
219048
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_982655__(2564));
|
219019
219049
|
exports.shouldServe = should_serve_1.default;
|
219020
|
-
const debug_1 = __importDefault(
|
219050
|
+
const debug_1 = __importDefault(__nested_webpack_require_982655__(1868));
|
219021
219051
|
exports.debug = debug_1.default;
|
219022
|
-
var detect_builders_1 =
|
219052
|
+
var detect_builders_1 = __nested_webpack_require_982655__(4246);
|
219023
219053
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
219024
219054
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
219025
219055
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
219026
219056
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
219027
|
-
var detect_framework_1 =
|
219057
|
+
var detect_framework_1 = __nested_webpack_require_982655__(5224);
|
219028
219058
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
219029
|
-
var filesystem_1 =
|
219059
|
+
var filesystem_1 = __nested_webpack_require_982655__(461);
|
219030
219060
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
219031
|
-
var read_config_file_1 =
|
219061
|
+
var read_config_file_1 = __nested_webpack_require_982655__(7792);
|
219032
219062
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
219033
|
-
var normalize_path_1 =
|
219063
|
+
var normalize_path_1 = __nested_webpack_require_982655__(6261);
|
219034
219064
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
219035
|
-
var convert_runtime_to_plugin_1 =
|
219065
|
+
var convert_runtime_to_plugin_1 = __nested_webpack_require_982655__(7276);
|
219036
219066
|
Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
|
219037
|
-
|
219038
|
-
__exportStar(
|
219039
|
-
__exportStar(
|
219067
|
+
Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
|
219068
|
+
__exportStar(__nested_webpack_require_982655__(2416), exports);
|
219069
|
+
__exportStar(__nested_webpack_require_982655__(5748), exports);
|
219070
|
+
__exportStar(__nested_webpack_require_982655__(3983), exports);
|
219040
219071
|
/**
|
219041
219072
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
219042
219073
|
*/
|
@@ -219081,7 +219112,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
219081
219112
|
/***/ }),
|
219082
219113
|
|
219083
219114
|
/***/ 6721:
|
219084
|
-
/***/ (function(__unused_webpack_module, exports,
|
219115
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_992929__) {
|
219085
219116
|
|
219086
219117
|
"use strict";
|
219087
219118
|
|
@@ -219090,13 +219121,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219090
219121
|
};
|
219091
219122
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219092
219123
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
219093
|
-
const assert_1 = __importDefault(
|
219094
|
-
const async_sema_1 = __importDefault(
|
219095
|
-
const yazl_1 =
|
219096
|
-
const minimatch_1 = __importDefault(
|
219097
|
-
const fs_extra_1 =
|
219098
|
-
const download_1 =
|
219099
|
-
const stream_to_buffer_1 = __importDefault(
|
219124
|
+
const assert_1 = __importDefault(__nested_webpack_require_992929__(2357));
|
219125
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_992929__(5758));
|
219126
|
+
const yazl_1 = __nested_webpack_require_992929__(1223);
|
219127
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_992929__(9566));
|
219128
|
+
const fs_extra_1 = __nested_webpack_require_992929__(5392);
|
219129
|
+
const download_1 = __nested_webpack_require_992929__(1611);
|
219130
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_992929__(2560));
|
219100
219131
|
exports.FILES_SYMBOL = Symbol('files');
|
219101
219132
|
class Lambda {
|
219102
219133
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
@@ -219325,12 +219356,12 @@ exports.buildsSchema = {
|
|
219325
219356
|
/***/ }),
|
219326
219357
|
|
219327
219358
|
/***/ 2564:
|
219328
|
-
/***/ ((__unused_webpack_module, exports,
|
219359
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1001439__) => {
|
219329
219360
|
|
219330
219361
|
"use strict";
|
219331
219362
|
|
219332
219363
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219333
|
-
const path_1 =
|
219364
|
+
const path_1 = __nested_webpack_require_1001439__(5622);
|
219334
219365
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
219335
219366
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
219336
219367
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -219559,7 +219590,7 @@ module.exports = __webpack_require__(78761);
|
|
219559
219590
|
/******/ var __webpack_module_cache__ = {};
|
219560
219591
|
/******/
|
219561
219592
|
/******/ // The require function
|
219562
|
-
/******/ function
|
219593
|
+
/******/ function __nested_webpack_require_1101078__(moduleId) {
|
219563
219594
|
/******/ // Check if module is in cache
|
219564
219595
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
219565
219596
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -219574,7 +219605,7 @@ module.exports = __webpack_require__(78761);
|
|
219574
219605
|
/******/ // Execute the module function
|
219575
219606
|
/******/ var threw = true;
|
219576
219607
|
/******/ try {
|
219577
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
219608
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1101078__);
|
219578
219609
|
/******/ threw = false;
|
219579
219610
|
/******/ } finally {
|
219580
219611
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -219587,11 +219618,11 @@ module.exports = __webpack_require__(78761);
|
|
219587
219618
|
/************************************************************************/
|
219588
219619
|
/******/ /* webpack/runtime/compat */
|
219589
219620
|
/******/
|
219590
|
-
/******/
|
219621
|
+
/******/ __nested_webpack_require_1101078__.ab = __dirname + "/";/************************************************************************/
|
219591
219622
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
219592
219623
|
/******/ // startup
|
219593
219624
|
/******/ // Load entry module and return exports
|
219594
|
-
/******/ return
|
219625
|
+
/******/ return __nested_webpack_require_1101078__(2855);
|
219595
219626
|
/******/ })()
|
219596
219627
|
;
|
219597
219628
|
|
@@ -249586,6 +249617,14 @@ const fields = [
|
|
249586
249617
|
];
|
249587
249618
|
async function main(client) {
|
249588
249619
|
var _a, _b, _c;
|
249620
|
+
if (process.env.__VERCEL_BUILD_RUNNING) {
|
249621
|
+
client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} build`)} must not recursively invoke itself. Check the Build Command in the Project Settings or the ${cmd_1.default('build')} script in ${cmd_1.default('package.json')}`);
|
249622
|
+
client.output.error(`Learn More: https://vercel.link/recursive-invocation-of-commands`);
|
249623
|
+
return 1;
|
249624
|
+
}
|
249625
|
+
else {
|
249626
|
+
process.env.__VERCEL_BUILD_RUNNING = '1';
|
249627
|
+
}
|
249589
249628
|
let argv;
|
249590
249629
|
const buildStamp = stamp_1.default();
|
249591
249630
|
try {
|
@@ -251487,6 +251526,14 @@ const help = () => {
|
|
251487
251526
|
`);
|
251488
251527
|
};
|
251489
251528
|
async function main(client) {
|
251529
|
+
if (process.env.__VERCEL_DEV_RUNNING) {
|
251530
|
+
client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} dev`)} must not recursively invoke itself. Check the Development Command in the Project Settings or the ${cmd_1.default('dev')} script in ${cmd_1.default('package.json')}`);
|
251531
|
+
client.output.error(`Learn More: https://vercel.link/recursive-invocation-of-commands`);
|
251532
|
+
return 1;
|
251533
|
+
}
|
251534
|
+
else {
|
251535
|
+
process.env.__VERCEL_DEV_RUNNING = '1';
|
251536
|
+
}
|
251490
251537
|
let argv;
|
251491
251538
|
let args;
|
251492
251539
|
const { output } = client;
|
@@ -251521,14 +251568,11 @@ async function main(client) {
|
|
251521
251568
|
const pkg = await read_package_1.default(path_1.default.join(dir, 'package.json'));
|
251522
251569
|
if (pkg) {
|
251523
251570
|
const { scripts } = pkg;
|
251524
|
-
if (scripts &&
|
251525
|
-
|
251526
|
-
|
251527
|
-
|
251528
|
-
|
251529
|
-
if (scripts && scripts.dev && /\bvercel\b\W+\bdev\b/.test(scripts.dev)) {
|
251530
|
-
output.error(`The ${cmd_1.default('dev')} script in ${cmd_1.default('package.json')} must not contain ${cmd_1.default('vercel dev')}`);
|
251531
|
-
output.error(`Learn More: http://err.sh/vercel/now-dev-as-dev-script`);
|
251571
|
+
if (scripts &&
|
251572
|
+
scripts.dev &&
|
251573
|
+
/\b(now|vercel)\b\W+\bdev\b/.test(scripts.dev)) {
|
251574
|
+
client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} dev`)} must not recursively invoke itself. Check the Development Command in the Project Settings or the ${cmd_1.default('dev')} script in ${cmd_1.default('package.json')}`);
|
251575
|
+
client.output.error(`Learn More: https://vercel.link/recursive-invocation-of-commands`);
|
251532
251576
|
return 1;
|
251533
251577
|
}
|
251534
251578
|
}
|
@@ -258167,13 +258211,8 @@ exports.isDirectory = isDirectory;
|
|
258167
258211
|
// Returns in which directory the config should be present
|
258168
258212
|
const getGlobalPathConfig = () => {
|
258169
258213
|
let customPath;
|
258170
|
-
|
258171
|
-
|
258172
|
-
customPath = argv['--global-config'];
|
258173
|
-
}
|
258174
|
-
catch (_error) {
|
258175
|
-
// args are optional so consume error
|
258176
|
-
}
|
258214
|
+
const argv = get_args_1.default(process.argv.slice(2), {}, { permissive: true });
|
258215
|
+
customPath = argv['--global-config'];
|
258177
258216
|
const vercelDirectories = xdg_app_paths_1.default('com.vercel.cli').dataDirs();
|
258178
258217
|
const possibleConfigPaths = [
|
258179
258218
|
...vercelDirectories,
|
@@ -258209,13 +258248,8 @@ const errors_ts_1 = __webpack_require__(60156);
|
|
258209
258248
|
const get_args_1 = __importDefault(__webpack_require__(87612));
|
258210
258249
|
function getLocalPathConfig(prefix) {
|
258211
258250
|
let customPath;
|
258212
|
-
|
258213
|
-
|
258214
|
-
customPath = argv['--local-config'];
|
258215
|
-
}
|
258216
|
-
catch (_error) {
|
258217
|
-
// args are optional so consume error
|
258218
|
-
}
|
258251
|
+
const argv = get_args_1.default(process.argv.slice(2), {}, { permissive: true });
|
258252
|
+
customPath = argv['--local-config'];
|
258219
258253
|
// If `--local-config` flag was specified, then that takes priority
|
258220
258254
|
if (customPath) {
|
258221
258255
|
if (typeof customPath !== 'string') {
|
@@ -261444,7 +261478,10 @@ class DevServer {
|
|
261444
261478
|
p.stdout.on('data', (data) => {
|
261445
261479
|
process.stdout.write(data.replace(proxyPort, devPort));
|
261446
261480
|
});
|
261447
|
-
p.on('exit', () => {
|
261481
|
+
p.on('exit', (code) => {
|
261482
|
+
if (code > 0) {
|
261483
|
+
process.exit(code);
|
261484
|
+
}
|
261448
261485
|
this.devProcessPort = undefined;
|
261449
261486
|
});
|
261450
261487
|
await checkForPort(port, 1000 * 60 * 5);
|
@@ -269124,6 +269161,7 @@ async function getLinkedProject(client, path) {
|
|
269124
269161
|
}
|
269125
269162
|
exports.getLinkedProject = getLinkedProject;
|
269126
269163
|
async function linkFolderToProject(output, path, projectLink, projectName, orgSlug, successEmoji = 'link') {
|
269164
|
+
var _a;
|
269127
269165
|
const VERCEL_ORG_ID = build_utils_1.getPlatformEnv('ORG_ID');
|
269128
269166
|
const VERCEL_PROJECT_ID = build_utils_1.getPlatformEnv('PROJECT_ID');
|
269129
269167
|
// if defined, skip linking
|
@@ -269154,14 +269192,19 @@ async function linkFolderToProject(output, path, projectLink, projectName, orgSl
|
|
269154
269192
|
let isGitIgnoreUpdated = false;
|
269155
269193
|
try {
|
269156
269194
|
const gitIgnorePath = path_1.join(path, '.gitignore');
|
269157
|
-
|
269158
|
-
const EOL = gitIgnore
|
269159
|
-
|
269160
|
-
|
269161
|
-
|
269162
|
-
|
269163
|
-
|
269164
|
-
|
269195
|
+
let gitIgnore = (_a = (await readFile(gitIgnorePath, 'utf8').catch(() => null))) !== null && _a !== void 0 ? _a : '';
|
269196
|
+
const EOL = gitIgnore.includes('\r\n') ? '\r\n' : os_1.default.EOL;
|
269197
|
+
let contentModified = false;
|
269198
|
+
if (!gitIgnore.split(EOL).includes(exports.VERCEL_DIR)) {
|
269199
|
+
gitIgnore += `${gitIgnore.endsWith(EOL) || gitIgnore.length === 0 ? '' : EOL}${exports.VERCEL_DIR}${EOL}`;
|
269200
|
+
contentModified = true;
|
269201
|
+
}
|
269202
|
+
if (!gitIgnore.split(EOL).includes(exports.VERCEL_OUTPUT_DIR)) {
|
269203
|
+
gitIgnore += `${gitIgnore.endsWith(EOL) || gitIgnore.length === 0 ? '' : EOL}${exports.VERCEL_OUTPUT_DIR}${EOL}`;
|
269204
|
+
contentModified = true;
|
269205
|
+
}
|
269206
|
+
if (contentModified) {
|
269207
|
+
await writeFile(gitIgnorePath, gitIgnore);
|
269165
269208
|
isGitIgnoreUpdated = true;
|
269166
269209
|
}
|
269167
269210
|
}
|
@@ -270231,7 +270274,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
270231
270274
|
/***/ ((module) => {
|
270232
270275
|
|
270233
270276
|
"use strict";
|
270234
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.
|
270277
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.32\",\"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\",\"test-unit\":\"jest --coverage --verbose\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"ava test/dev/integration.js --serial --fail-fast --verbose\",\"prepublishOnly\":\"yarn build\",\"coverage\":\"codecov\",\"build\":\"node -r ts-eager/register ./scripts/build.ts\",\"build-dev\":\"node -r ts-eager/register ./scripts/build.ts --dev\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"compileEnhancements\":false,\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 12\"},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.18\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.6\",\"@vercel/python\":\"2.0.6-canary.5\",\"@vercel/ruby\":\"1.2.8-canary.4\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.7\",\"vercel-plugin-node\":\"1.12.2-canary.9\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@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/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@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\",\"@vercel/frameworks\":\"0.5.1-canary.11\",\"@vercel/ncc\":\"0.24.0\",\"@vercel/nft\":\"0.17.0\",\"@zeit/fun\":\"0.11.2\",\"@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\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"clipboardy\":\"2.1.0\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"credit-card\":\"3.0.1\",\"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\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.0.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.1\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.2.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-eager\":\"2.0.2\",\"ts-node\":\"8.3.0\",\"typescript\":\"4.3.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\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"7f55de71bb22bac6ad1a90c8d1356074ecb9731d\"}");
|
270235
270278
|
|
270236
270279
|
/***/ }),
|
270237
270280
|
|
@@ -270247,7 +270290,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
270247
270290
|
/***/ ((module) => {
|
270248
270291
|
|
270249
270292
|
"use strict";
|
270250
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.
|
270293
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.19\",\"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\":\"jest --verbose --runInBand --bail tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test-unit\":\"jest --verbose --runInBand --bail tests/unit.*test.*\"},\"engines\":{\"node\":\">= 12\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.0.1\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"12.0.4\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.18\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"querystring\":\"^0.2.0\",\"recursive-readdir\":\"2.2.2\",\"sleep-promise\":\"8.0.1\"}}");
|
270251
270294
|
|
270252
270295
|
/***/ }),
|
270253
270296
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "23.1.3-canary.
|
3
|
+
"version": "23.1.3-canary.32",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -43,14 +43,14 @@
|
|
43
43
|
"node": ">= 12"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@vercel/build-utils": "2.12.3-canary.
|
47
|
-
"@vercel/go": "1.2.4-canary.
|
46
|
+
"@vercel/build-utils": "2.12.3-canary.18",
|
47
|
+
"@vercel/go": "1.2.4-canary.4",
|
48
48
|
"@vercel/node": "1.12.2-canary.6",
|
49
49
|
"@vercel/python": "2.0.6-canary.5",
|
50
50
|
"@vercel/ruby": "1.2.8-canary.4",
|
51
51
|
"update-notifier": "4.1.0",
|
52
52
|
"vercel-plugin-middleware": "0.0.0-canary.7",
|
53
|
-
"vercel-plugin-node": "1.12.2-canary.
|
53
|
+
"vercel-plugin-node": "1.12.2-canary.9"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"@next/env": "11.1.2",
|
@@ -184,5 +184,5 @@
|
|
184
184
|
"<rootDir>/test/**/*.test.ts"
|
185
185
|
]
|
186
186
|
},
|
187
|
-
"gitHead": "
|
187
|
+
"gitHead": "7f55de71bb22bac6ad1a90c8d1356074ecb9731d"
|
188
188
|
}
|