vercel 24.2.0 → 24.2.1-canary.2
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 +505 -259
- package/package.json +9 -10
package/dist/index.js
CHANGED
@@ -189336,8 +189336,7 @@ exports.frameworks = [
|
|
189336
189336
|
detectors: {
|
189337
189337
|
every: [
|
189338
189338
|
{
|
189339
|
-
path: '
|
189340
|
-
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"remix":\\s*".+?"[^}]*}',
|
189339
|
+
path: 'remix.config.js',
|
189341
189340
|
},
|
189342
189341
|
],
|
189343
189342
|
},
|
@@ -191162,7 +191161,7 @@ exports.default = def;
|
|
191162
191161
|
/***/ }),
|
191163
191162
|
|
191164
191163
|
/***/ 3734:
|
191165
|
-
/***/ (function(__unused_webpack_module, exports,
|
191164
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_815249__) {
|
191166
191165
|
|
191167
191166
|
"use strict";
|
191168
191167
|
|
@@ -191171,9 +191170,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191171
191170
|
};
|
191172
191171
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191173
191172
|
exports.readConfigFile = void 0;
|
191174
|
-
const js_yaml_1 = __importDefault(
|
191175
|
-
const toml_1 = __importDefault(
|
191176
|
-
const fs_1 =
|
191173
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_815249__(641));
|
191174
|
+
const toml_1 = __importDefault(__nested_webpack_require_815249__(9434));
|
191175
|
+
const fs_1 = __nested_webpack_require_815249__(5747);
|
191177
191176
|
const { readFile } = fs_1.promises;
|
191178
191177
|
async function readFileOrNull(file) {
|
191179
191178
|
try {
|
@@ -191222,13 +191221,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
191222
191221
|
/***/ }),
|
191223
191222
|
|
191224
191223
|
/***/ 641:
|
191225
|
-
/***/ ((module, __unused_webpack_exports,
|
191224
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_816855__) => {
|
191226
191225
|
|
191227
191226
|
"use strict";
|
191228
191227
|
|
191229
191228
|
|
191230
191229
|
|
191231
|
-
var yaml =
|
191230
|
+
var yaml = __nested_webpack_require_816855__(9633);
|
191232
191231
|
|
191233
191232
|
|
191234
191233
|
module.exports = yaml;
|
@@ -191237,14 +191236,14 @@ module.exports = yaml;
|
|
191237
191236
|
/***/ }),
|
191238
191237
|
|
191239
191238
|
/***/ 9633:
|
191240
|
-
/***/ ((module, __unused_webpack_exports,
|
191239
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_817029__) => {
|
191241
191240
|
|
191242
191241
|
"use strict";
|
191243
191242
|
|
191244
191243
|
|
191245
191244
|
|
191246
|
-
var loader =
|
191247
|
-
var dumper =
|
191245
|
+
var loader = __nested_webpack_require_817029__(4349);
|
191246
|
+
var dumper = __nested_webpack_require_817029__(8047);
|
191248
191247
|
|
191249
191248
|
|
191250
191249
|
function deprecated(name) {
|
@@ -191254,25 +191253,25 @@ function deprecated(name) {
|
|
191254
191253
|
}
|
191255
191254
|
|
191256
191255
|
|
191257
|
-
module.exports.Type =
|
191258
|
-
module.exports.Schema =
|
191259
|
-
module.exports.FAILSAFE_SCHEMA =
|
191260
|
-
module.exports.JSON_SCHEMA =
|
191261
|
-
module.exports.CORE_SCHEMA =
|
191262
|
-
module.exports.DEFAULT_SAFE_SCHEMA =
|
191263
|
-
module.exports.DEFAULT_FULL_SCHEMA =
|
191256
|
+
module.exports.Type = __nested_webpack_require_817029__(6876);
|
191257
|
+
module.exports.Schema = __nested_webpack_require_817029__(6105);
|
191258
|
+
module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_817029__(8441);
|
191259
|
+
module.exports.JSON_SCHEMA = __nested_webpack_require_817029__(1486);
|
191260
|
+
module.exports.CORE_SCHEMA = __nested_webpack_require_817029__(1112);
|
191261
|
+
module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_817029__(596);
|
191262
|
+
module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_817029__(9647);
|
191264
191263
|
module.exports.load = loader.load;
|
191265
191264
|
module.exports.loadAll = loader.loadAll;
|
191266
191265
|
module.exports.safeLoad = loader.safeLoad;
|
191267
191266
|
module.exports.safeLoadAll = loader.safeLoadAll;
|
191268
191267
|
module.exports.dump = dumper.dump;
|
191269
191268
|
module.exports.safeDump = dumper.safeDump;
|
191270
|
-
module.exports.YAMLException =
|
191269
|
+
module.exports.YAMLException = __nested_webpack_require_817029__(3237);
|
191271
191270
|
|
191272
191271
|
// Deprecated schema names from JS-YAML 2.0.x
|
191273
|
-
module.exports.MINIMAL_SCHEMA =
|
191274
|
-
module.exports.SAFE_SCHEMA =
|
191275
|
-
module.exports.DEFAULT_SCHEMA =
|
191272
|
+
module.exports.MINIMAL_SCHEMA = __nested_webpack_require_817029__(8441);
|
191273
|
+
module.exports.SAFE_SCHEMA = __nested_webpack_require_817029__(596);
|
191274
|
+
module.exports.DEFAULT_SCHEMA = __nested_webpack_require_817029__(9647);
|
191276
191275
|
|
191277
191276
|
// Deprecated functions from JS-YAML 1.x.x
|
191278
191277
|
module.exports.scan = deprecated('scan');
|
@@ -191351,17 +191350,17 @@ module.exports.extend = extend;
|
|
191351
191350
|
/***/ }),
|
191352
191351
|
|
191353
191352
|
/***/ 8047:
|
191354
|
-
/***/ ((module, __unused_webpack_exports,
|
191353
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_819847__) => {
|
191355
191354
|
|
191356
191355
|
"use strict";
|
191357
191356
|
|
191358
191357
|
|
191359
191358
|
/*eslint-disable no-use-before-define*/
|
191360
191359
|
|
191361
|
-
var common =
|
191362
|
-
var YAMLException =
|
191363
|
-
var DEFAULT_FULL_SCHEMA =
|
191364
|
-
var DEFAULT_SAFE_SCHEMA =
|
191360
|
+
var common = __nested_webpack_require_819847__(903);
|
191361
|
+
var YAMLException = __nested_webpack_require_819847__(3237);
|
191362
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_819847__(9647);
|
191363
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_819847__(596);
|
191365
191364
|
|
191366
191365
|
var _toString = Object.prototype.toString;
|
191367
191366
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -192237,18 +192236,18 @@ module.exports = YAMLException;
|
|
192237
192236
|
/***/ }),
|
192238
192237
|
|
192239
192238
|
/***/ 4349:
|
192240
|
-
/***/ ((module, __unused_webpack_exports,
|
192239
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_847551__) => {
|
192241
192240
|
|
192242
192241
|
"use strict";
|
192243
192242
|
|
192244
192243
|
|
192245
192244
|
/*eslint-disable max-len,no-use-before-define*/
|
192246
192245
|
|
192247
|
-
var common =
|
192248
|
-
var YAMLException =
|
192249
|
-
var Mark =
|
192250
|
-
var DEFAULT_SAFE_SCHEMA =
|
192251
|
-
var DEFAULT_FULL_SCHEMA =
|
192246
|
+
var common = __nested_webpack_require_847551__(903);
|
192247
|
+
var YAMLException = __nested_webpack_require_847551__(3237);
|
192248
|
+
var Mark = __nested_webpack_require_847551__(4926);
|
192249
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_847551__(596);
|
192250
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_847551__(9647);
|
192252
192251
|
|
192253
192252
|
|
192254
192253
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -193870,13 +193869,13 @@ module.exports.safeLoad = safeLoad;
|
|
193870
193869
|
/***/ }),
|
193871
193870
|
|
193872
193871
|
/***/ 4926:
|
193873
|
-
/***/ ((module, __unused_webpack_exports,
|
193872
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_891418__) => {
|
193874
193873
|
|
193875
193874
|
"use strict";
|
193876
193875
|
|
193877
193876
|
|
193878
193877
|
|
193879
|
-
var common =
|
193878
|
+
var common = __nested_webpack_require_891418__(903);
|
193880
193879
|
|
193881
193880
|
|
193882
193881
|
function Mark(name, buffer, position, line, column) {
|
@@ -193954,16 +193953,16 @@ module.exports = Mark;
|
|
193954
193953
|
/***/ }),
|
193955
193954
|
|
193956
193955
|
/***/ 6105:
|
193957
|
-
/***/ ((module, __unused_webpack_exports,
|
193956
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_893080__) => {
|
193958
193957
|
|
193959
193958
|
"use strict";
|
193960
193959
|
|
193961
193960
|
|
193962
193961
|
/*eslint-disable max-len*/
|
193963
193962
|
|
193964
|
-
var common =
|
193965
|
-
var YAMLException =
|
193966
|
-
var Type =
|
193963
|
+
var common = __nested_webpack_require_893080__(903);
|
193964
|
+
var YAMLException = __nested_webpack_require_893080__(3237);
|
193965
|
+
var Type = __nested_webpack_require_893080__(6876);
|
193967
193966
|
|
193968
193967
|
|
193969
193968
|
function compileList(schema, name, result) {
|
@@ -194070,7 +194069,7 @@ module.exports = Schema;
|
|
194070
194069
|
/***/ }),
|
194071
194070
|
|
194072
194071
|
/***/ 1112:
|
194073
|
-
/***/ ((module, __unused_webpack_exports,
|
194072
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_895944__) => {
|
194074
194073
|
|
194075
194074
|
"use strict";
|
194076
194075
|
// Standard YAML's Core schema.
|
@@ -194083,12 +194082,12 @@ module.exports = Schema;
|
|
194083
194082
|
|
194084
194083
|
|
194085
194084
|
|
194086
|
-
var Schema =
|
194085
|
+
var Schema = __nested_webpack_require_895944__(6105);
|
194087
194086
|
|
194088
194087
|
|
194089
194088
|
module.exports = new Schema({
|
194090
194089
|
include: [
|
194091
|
-
|
194090
|
+
__nested_webpack_require_895944__(1486)
|
194092
194091
|
]
|
194093
194092
|
});
|
194094
194093
|
|
@@ -194096,7 +194095,7 @@ module.exports = new Schema({
|
|
194096
194095
|
/***/ }),
|
194097
194096
|
|
194098
194097
|
/***/ 9647:
|
194099
|
-
/***/ ((module, __unused_webpack_exports,
|
194098
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_896414__) => {
|
194100
194099
|
|
194101
194100
|
"use strict";
|
194102
194101
|
// JS-YAML's default schema for `load` function.
|
@@ -194111,17 +194110,17 @@ module.exports = new Schema({
|
|
194111
194110
|
|
194112
194111
|
|
194113
194112
|
|
194114
|
-
var Schema =
|
194113
|
+
var Schema = __nested_webpack_require_896414__(6105);
|
194115
194114
|
|
194116
194115
|
|
194117
194116
|
module.exports = Schema.DEFAULT = new Schema({
|
194118
194117
|
include: [
|
194119
|
-
|
194118
|
+
__nested_webpack_require_896414__(596)
|
194120
194119
|
],
|
194121
194120
|
explicit: [
|
194122
|
-
|
194123
|
-
|
194124
|
-
|
194121
|
+
__nested_webpack_require_896414__(5836),
|
194122
|
+
__nested_webpack_require_896414__(6841),
|
194123
|
+
__nested_webpack_require_896414__(8750)
|
194125
194124
|
]
|
194126
194125
|
});
|
194127
194126
|
|
@@ -194129,7 +194128,7 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
194129
194128
|
/***/ }),
|
194130
194129
|
|
194131
194130
|
/***/ 596:
|
194132
|
-
/***/ ((module, __unused_webpack_exports,
|
194131
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_897108__) => {
|
194133
194132
|
|
194134
194133
|
"use strict";
|
194135
194134
|
// JS-YAML's default schema for `safeLoad` function.
|
@@ -194142,22 +194141,22 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
194142
194141
|
|
194143
194142
|
|
194144
194143
|
|
194145
|
-
var Schema =
|
194144
|
+
var Schema = __nested_webpack_require_897108__(6105);
|
194146
194145
|
|
194147
194146
|
|
194148
194147
|
module.exports = new Schema({
|
194149
194148
|
include: [
|
194150
|
-
|
194149
|
+
__nested_webpack_require_897108__(1112)
|
194151
194150
|
],
|
194152
194151
|
implicit: [
|
194153
|
-
|
194154
|
-
|
194152
|
+
__nested_webpack_require_897108__(7028),
|
194153
|
+
__nested_webpack_require_897108__(7841)
|
194155
194154
|
],
|
194156
194155
|
explicit: [
|
194157
|
-
|
194158
|
-
|
194159
|
-
|
194160
|
-
|
194156
|
+
__nested_webpack_require_897108__(8675),
|
194157
|
+
__nested_webpack_require_897108__(3498),
|
194158
|
+
__nested_webpack_require_897108__(679),
|
194159
|
+
__nested_webpack_require_897108__(7205)
|
194161
194160
|
]
|
194162
194161
|
});
|
194163
194162
|
|
@@ -194165,7 +194164,7 @@ module.exports = new Schema({
|
|
194165
194164
|
/***/ }),
|
194166
194165
|
|
194167
194166
|
/***/ 8441:
|
194168
|
-
/***/ ((module, __unused_webpack_exports,
|
194167
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_897820__) => {
|
194169
194168
|
|
194170
194169
|
"use strict";
|
194171
194170
|
// Standard YAML's Failsafe schema.
|
@@ -194175,14 +194174,14 @@ module.exports = new Schema({
|
|
194175
194174
|
|
194176
194175
|
|
194177
194176
|
|
194178
|
-
var Schema =
|
194177
|
+
var Schema = __nested_webpack_require_897820__(6105);
|
194179
194178
|
|
194180
194179
|
|
194181
194180
|
module.exports = new Schema({
|
194182
194181
|
explicit: [
|
194183
|
-
|
194184
|
-
|
194185
|
-
|
194182
|
+
__nested_webpack_require_897820__(5348),
|
194183
|
+
__nested_webpack_require_897820__(7330),
|
194184
|
+
__nested_webpack_require_897820__(293)
|
194186
194185
|
]
|
194187
194186
|
});
|
194188
194187
|
|
@@ -194190,7 +194189,7 @@ module.exports = new Schema({
|
|
194190
194189
|
/***/ }),
|
194191
194190
|
|
194192
194191
|
/***/ 1486:
|
194193
|
-
/***/ ((module, __unused_webpack_exports,
|
194192
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898206__) => {
|
194194
194193
|
|
194195
194194
|
"use strict";
|
194196
194195
|
// Standard YAML's JSON schema.
|
@@ -194204,18 +194203,18 @@ module.exports = new Schema({
|
|
194204
194203
|
|
194205
194204
|
|
194206
194205
|
|
194207
|
-
var Schema =
|
194206
|
+
var Schema = __nested_webpack_require_898206__(6105);
|
194208
194207
|
|
194209
194208
|
|
194210
194209
|
module.exports = new Schema({
|
194211
194210
|
include: [
|
194212
|
-
|
194211
|
+
__nested_webpack_require_898206__(8441)
|
194213
194212
|
],
|
194214
194213
|
implicit: [
|
194215
|
-
|
194216
|
-
|
194217
|
-
|
194218
|
-
|
194214
|
+
__nested_webpack_require_898206__(9074),
|
194215
|
+
__nested_webpack_require_898206__(4308),
|
194216
|
+
__nested_webpack_require_898206__(1167),
|
194217
|
+
__nested_webpack_require_898206__(7862)
|
194219
194218
|
]
|
194220
194219
|
});
|
194221
194220
|
|
@@ -194223,12 +194222,12 @@ module.exports = new Schema({
|
|
194223
194222
|
/***/ }),
|
194224
194223
|
|
194225
194224
|
/***/ 6876:
|
194226
|
-
/***/ ((module, __unused_webpack_exports,
|
194225
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898904__) => {
|
194227
194226
|
|
194228
194227
|
"use strict";
|
194229
194228
|
|
194230
194229
|
|
194231
|
-
var YAMLException =
|
194230
|
+
var YAMLException = __nested_webpack_require_898904__(3237);
|
194232
194231
|
|
194233
194232
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
194234
194233
|
'kind',
|
@@ -194292,7 +194291,7 @@ module.exports = Type;
|
|
194292
194291
|
/***/ }),
|
194293
194292
|
|
194294
194293
|
/***/ 8675:
|
194295
|
-
/***/ ((module, __unused_webpack_exports,
|
194294
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_900588__) => {
|
194296
194295
|
|
194297
194296
|
"use strict";
|
194298
194297
|
|
@@ -194307,7 +194306,7 @@ try {
|
|
194307
194306
|
NodeBuffer = _require('buffer').Buffer;
|
194308
194307
|
} catch (__) {}
|
194309
194308
|
|
194310
|
-
var Type =
|
194309
|
+
var Type = __nested_webpack_require_900588__(6876);
|
194311
194310
|
|
194312
194311
|
|
194313
194312
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
@@ -194438,12 +194437,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
194438
194437
|
/***/ }),
|
194439
194438
|
|
194440
194439
|
/***/ 4308:
|
194441
|
-
/***/ ((module, __unused_webpack_exports,
|
194440
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_903980__) => {
|
194442
194441
|
|
194443
194442
|
"use strict";
|
194444
194443
|
|
194445
194444
|
|
194446
|
-
var Type =
|
194445
|
+
var Type = __nested_webpack_require_903980__(6876);
|
194447
194446
|
|
194448
194447
|
function resolveYamlBoolean(data) {
|
194449
194448
|
if (data === null) return false;
|
@@ -194481,13 +194480,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
194481
194480
|
/***/ }),
|
194482
194481
|
|
194483
194482
|
/***/ 7862:
|
194484
|
-
/***/ ((module, __unused_webpack_exports,
|
194483
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_905053__) => {
|
194485
194484
|
|
194486
194485
|
"use strict";
|
194487
194486
|
|
194488
194487
|
|
194489
|
-
var common =
|
194490
|
-
var Type =
|
194488
|
+
var common = __nested_webpack_require_905053__(903);
|
194489
|
+
var Type = __nested_webpack_require_905053__(6876);
|
194491
194490
|
|
194492
194491
|
var YAML_FLOAT_PATTERN = new RegExp(
|
194493
194492
|
// 2.5e4, 2.5 and integers
|
@@ -194605,13 +194604,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
194605
194604
|
/***/ }),
|
194606
194605
|
|
194607
194606
|
/***/ 1167:
|
194608
|
-
/***/ ((module, __unused_webpack_exports,
|
194607
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_907999__) => {
|
194609
194608
|
|
194610
194609
|
"use strict";
|
194611
194610
|
|
194612
194611
|
|
194613
|
-
var common =
|
194614
|
-
var Type =
|
194612
|
+
var common = __nested_webpack_require_907999__(903);
|
194613
|
+
var Type = __nested_webpack_require_907999__(6876);
|
194615
194614
|
|
194616
194615
|
function isHexCode(c) {
|
194617
194616
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
@@ -194786,7 +194785,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
194786
194785
|
/***/ }),
|
194787
194786
|
|
194788
194787
|
/***/ 8750:
|
194789
|
-
/***/ ((module, __unused_webpack_exports,
|
194788
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_912171__) => {
|
194790
194789
|
|
194791
194790
|
"use strict";
|
194792
194791
|
|
@@ -194809,7 +194808,7 @@ try {
|
|
194809
194808
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
194810
194809
|
}
|
194811
194810
|
|
194812
|
-
var Type =
|
194811
|
+
var Type = __nested_webpack_require_912171__(6876);
|
194813
194812
|
|
194814
194813
|
function resolveJavascriptFunction(data) {
|
194815
194814
|
if (data === null) return false;
|
@@ -194886,12 +194885,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
194886
194885
|
/***/ }),
|
194887
194886
|
|
194888
194887
|
/***/ 6841:
|
194889
|
-
/***/ ((module, __unused_webpack_exports,
|
194888
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_915068__) => {
|
194890
194889
|
|
194891
194890
|
"use strict";
|
194892
194891
|
|
194893
194892
|
|
194894
|
-
var Type =
|
194893
|
+
var Type = __nested_webpack_require_915068__(6876);
|
194895
194894
|
|
194896
194895
|
function resolveJavascriptRegExp(data) {
|
194897
194896
|
if (data === null) return false;
|
@@ -194954,12 +194953,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
194954
194953
|
/***/ }),
|
194955
194954
|
|
194956
194955
|
/***/ 5836:
|
194957
|
-
/***/ ((module, __unused_webpack_exports,
|
194956
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_916739__) => {
|
194958
194957
|
|
194959
194958
|
"use strict";
|
194960
194959
|
|
194961
194960
|
|
194962
|
-
var Type =
|
194961
|
+
var Type = __nested_webpack_require_916739__(6876);
|
194963
194962
|
|
194964
194963
|
function resolveJavascriptUndefined() {
|
194965
194964
|
return true;
|
@@ -194990,12 +194989,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
194990
194989
|
/***/ }),
|
194991
194990
|
|
194992
194991
|
/***/ 293:
|
194993
|
-
/***/ ((module, __unused_webpack_exports,
|
194992
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_917410__) => {
|
194994
194993
|
|
194995
194994
|
"use strict";
|
194996
194995
|
|
194997
194996
|
|
194998
|
-
var Type =
|
194997
|
+
var Type = __nested_webpack_require_917410__(6876);
|
194999
194998
|
|
195000
194999
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
195001
195000
|
kind: 'mapping',
|
@@ -195006,12 +195005,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
|
|
195006
195005
|
/***/ }),
|
195007
195006
|
|
195008
195007
|
/***/ 7841:
|
195009
|
-
/***/ ((module, __unused_webpack_exports,
|
195008
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_917702__) => {
|
195010
195009
|
|
195011
195010
|
"use strict";
|
195012
195011
|
|
195013
195012
|
|
195014
|
-
var Type =
|
195013
|
+
var Type = __nested_webpack_require_917702__(6876);
|
195015
195014
|
|
195016
195015
|
function resolveYamlMerge(data) {
|
195017
195016
|
return data === '<<' || data === null;
|
@@ -195026,12 +195025,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
195026
195025
|
/***/ }),
|
195027
195026
|
|
195028
195027
|
/***/ 9074:
|
195029
|
-
/***/ ((module, __unused_webpack_exports,
|
195028
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_918034__) => {
|
195030
195029
|
|
195031
195030
|
"use strict";
|
195032
195031
|
|
195033
195032
|
|
195034
|
-
var Type =
|
195033
|
+
var Type = __nested_webpack_require_918034__(6876);
|
195035
195034
|
|
195036
195035
|
function resolveYamlNull(data) {
|
195037
195036
|
if (data === null) return true;
|
@@ -195068,12 +195067,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
195068
195067
|
/***/ }),
|
195069
195068
|
|
195070
195069
|
/***/ 3498:
|
195071
|
-
/***/ ((module, __unused_webpack_exports,
|
195070
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_918897__) => {
|
195072
195071
|
|
195073
195072
|
"use strict";
|
195074
195073
|
|
195075
195074
|
|
195076
|
-
var Type =
|
195075
|
+
var Type = __nested_webpack_require_918897__(6876);
|
195077
195076
|
|
195078
195077
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
195079
195078
|
var _toString = Object.prototype.toString;
|
@@ -195120,12 +195119,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
195120
195119
|
/***/ }),
|
195121
195120
|
|
195122
195121
|
/***/ 679:
|
195123
|
-
/***/ ((module, __unused_webpack_exports,
|
195122
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_920021__) => {
|
195124
195123
|
|
195125
195124
|
"use strict";
|
195126
195125
|
|
195127
195126
|
|
195128
|
-
var Type =
|
195127
|
+
var Type = __nested_webpack_require_920021__(6876);
|
195129
195128
|
|
195130
195129
|
var _toString = Object.prototype.toString;
|
195131
195130
|
|
@@ -195181,12 +195180,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
195181
195180
|
/***/ }),
|
195182
195181
|
|
195183
195182
|
/***/ 7330:
|
195184
|
-
/***/ ((module, __unused_webpack_exports,
|
195183
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_921207__) => {
|
195185
195184
|
|
195186
195185
|
"use strict";
|
195187
195186
|
|
195188
195187
|
|
195189
|
-
var Type =
|
195188
|
+
var Type = __nested_webpack_require_921207__(6876);
|
195190
195189
|
|
195191
195190
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
195192
195191
|
kind: 'sequence',
|
@@ -195197,12 +195196,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
195197
195196
|
/***/ }),
|
195198
195197
|
|
195199
195198
|
/***/ 7205:
|
195200
|
-
/***/ ((module, __unused_webpack_exports,
|
195199
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_921500__) => {
|
195201
195200
|
|
195202
195201
|
"use strict";
|
195203
195202
|
|
195204
195203
|
|
195205
|
-
var Type =
|
195204
|
+
var Type = __nested_webpack_require_921500__(6876);
|
195206
195205
|
|
195207
195206
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
195208
195207
|
|
@@ -195234,12 +195233,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
|
|
195234
195233
|
/***/ }),
|
195235
195234
|
|
195236
195235
|
/***/ 5348:
|
195237
|
-
/***/ ((module, __unused_webpack_exports,
|
195236
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_922149__) => {
|
195238
195237
|
|
195239
195238
|
"use strict";
|
195240
195239
|
|
195241
195240
|
|
195242
|
-
var Type =
|
195241
|
+
var Type = __nested_webpack_require_922149__(6876);
|
195243
195242
|
|
195244
195243
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
195245
195244
|
kind: 'scalar',
|
@@ -195250,12 +195249,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
|
|
195250
195249
|
/***/ }),
|
195251
195250
|
|
195252
195251
|
/***/ 7028:
|
195253
|
-
/***/ ((module, __unused_webpack_exports,
|
195252
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_922440__) => {
|
195254
195253
|
|
195255
195254
|
"use strict";
|
195256
195255
|
|
195257
195256
|
|
195258
|
-
var Type =
|
195257
|
+
var Type = __nested_webpack_require_922440__(6876);
|
195259
195258
|
|
195260
195259
|
var YAML_DATE_REGEXP = new RegExp(
|
195261
195260
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
@@ -195346,12 +195345,12 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
195346
195345
|
/***/ }),
|
195347
195346
|
|
195348
195347
|
/***/ 1868:
|
195349
|
-
/***/ ((__unused_webpack_module, exports,
|
195348
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_925113__) => {
|
195350
195349
|
|
195351
195350
|
"use strict";
|
195352
195351
|
|
195353
195352
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
195354
|
-
const get_platform_env_1 =
|
195353
|
+
const get_platform_env_1 = __nested_webpack_require_925113__(4678);
|
195355
195354
|
function debug(message, ...additional) {
|
195356
195355
|
if (get_platform_env_1.getPlatformEnv('BUILDER_DEBUG')) {
|
195357
195356
|
console.log(message, ...additional);
|
@@ -195363,7 +195362,7 @@ exports.default = debug;
|
|
195363
195362
|
/***/ }),
|
195364
195363
|
|
195365
195364
|
/***/ 4246:
|
195366
|
-
/***/ (function(__unused_webpack_module, exports,
|
195365
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_925530__) {
|
195367
195366
|
|
195368
195367
|
"use strict";
|
195369
195368
|
|
@@ -195372,11 +195371,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
195372
195371
|
};
|
195373
195372
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
195374
195373
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
195375
|
-
const minimatch_1 = __importDefault(
|
195376
|
-
const semver_1 =
|
195377
|
-
const path_1 =
|
195378
|
-
const frameworks_1 = __importDefault(
|
195379
|
-
const _1 =
|
195374
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_925530__(9566));
|
195375
|
+
const semver_1 = __nested_webpack_require_925530__(2879);
|
195376
|
+
const path_1 = __nested_webpack_require_925530__(5622);
|
195377
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_925530__(8438));
|
195378
|
+
const _1 = __nested_webpack_require_925530__(2855);
|
195380
195379
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
195381
195380
|
// We need to sort the file paths by alphabet to make
|
195382
195381
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -196205,7 +196204,7 @@ function sortFilesBySegmentCount(fileA, fileB) {
|
|
196205
196204
|
/***/ }),
|
196206
196205
|
|
196207
196206
|
/***/ 1182:
|
196208
|
-
/***/ (function(__unused_webpack_module, exports,
|
196207
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_957495__) {
|
196209
196208
|
|
196210
196209
|
"use strict";
|
196211
196210
|
|
@@ -196214,8 +196213,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196214
196213
|
};
|
196215
196214
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196216
196215
|
exports.detectFileSystemAPI = void 0;
|
196217
|
-
const semver_1 = __importDefault(
|
196218
|
-
const _1 =
|
196216
|
+
const semver_1 = __importDefault(__nested_webpack_require_957495__(2879));
|
196217
|
+
const _1 = __nested_webpack_require_957495__(2855);
|
196219
196218
|
const enableFileSystemApiFrameworks = new Set(['solidstart']);
|
196220
196219
|
/**
|
196221
196220
|
* If the Deployment can be built with the new File System API,
|
@@ -196641,7 +196640,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
196641
196640
|
/***/ }),
|
196642
196641
|
|
196643
196642
|
/***/ 2397:
|
196644
|
-
/***/ (function(__unused_webpack_module, exports,
|
196643
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_973156__) {
|
196645
196644
|
|
196646
196645
|
"use strict";
|
196647
196646
|
|
@@ -196649,8 +196648,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196649
196648
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196650
196649
|
};
|
196651
196650
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196652
|
-
const assert_1 = __importDefault(
|
196653
|
-
const into_stream_1 = __importDefault(
|
196651
|
+
const assert_1 = __importDefault(__nested_webpack_require_973156__(2357));
|
196652
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_973156__(6130));
|
196654
196653
|
class FileBlob {
|
196655
196654
|
constructor({ mode = 0o100644, contentType, data }) {
|
196656
196655
|
assert_1.default(typeof mode === 'number');
|
@@ -196685,7 +196684,7 @@ exports.default = FileBlob;
|
|
196685
196684
|
/***/ }),
|
196686
196685
|
|
196687
196686
|
/***/ 9331:
|
196688
|
-
/***/ (function(__unused_webpack_module, exports,
|
196687
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_974674__) {
|
196689
196688
|
|
196690
196689
|
"use strict";
|
196691
196690
|
|
@@ -196693,11 +196692,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196693
196692
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196694
196693
|
};
|
196695
196694
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196696
|
-
const assert_1 = __importDefault(
|
196697
|
-
const fs_extra_1 = __importDefault(
|
196698
|
-
const multistream_1 = __importDefault(
|
196699
|
-
const path_1 = __importDefault(
|
196700
|
-
const async_sema_1 = __importDefault(
|
196695
|
+
const assert_1 = __importDefault(__nested_webpack_require_974674__(2357));
|
196696
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_974674__(5392));
|
196697
|
+
const multistream_1 = __importDefault(__nested_webpack_require_974674__(8179));
|
196698
|
+
const path_1 = __importDefault(__nested_webpack_require_974674__(5622));
|
196699
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_974674__(5758));
|
196701
196700
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
196702
196701
|
class FileFsRef {
|
196703
196702
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -196763,7 +196762,7 @@ exports.default = FileFsRef;
|
|
196763
196762
|
/***/ }),
|
196764
196763
|
|
196765
196764
|
/***/ 5187:
|
196766
|
-
/***/ (function(__unused_webpack_module, exports,
|
196765
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977478__) {
|
196767
196766
|
|
196768
196767
|
"use strict";
|
196769
196768
|
|
@@ -196771,11 +196770,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196771
196770
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196772
196771
|
};
|
196773
196772
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196774
|
-
const assert_1 = __importDefault(
|
196775
|
-
const node_fetch_1 = __importDefault(
|
196776
|
-
const multistream_1 = __importDefault(
|
196777
|
-
const async_retry_1 = __importDefault(
|
196778
|
-
const async_sema_1 = __importDefault(
|
196773
|
+
const assert_1 = __importDefault(__nested_webpack_require_977478__(2357));
|
196774
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_977478__(2197));
|
196775
|
+
const multistream_1 = __importDefault(__nested_webpack_require_977478__(8179));
|
196776
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_977478__(3691));
|
196777
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_977478__(5758));
|
196779
196778
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
196780
196779
|
class BailableError extends Error {
|
196781
196780
|
constructor(...args) {
|
@@ -196856,7 +196855,7 @@ exports.default = FileRef;
|
|
196856
196855
|
/***/ }),
|
196857
196856
|
|
196858
196857
|
/***/ 1611:
|
196859
|
-
/***/ (function(__unused_webpack_module, exports,
|
196858
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980879__) {
|
196860
196859
|
|
196861
196860
|
"use strict";
|
196862
196861
|
|
@@ -196865,11 +196864,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196865
196864
|
};
|
196866
196865
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196867
196866
|
exports.isSymbolicLink = void 0;
|
196868
|
-
const path_1 = __importDefault(
|
196869
|
-
const debug_1 = __importDefault(
|
196870
|
-
const file_fs_ref_1 = __importDefault(
|
196871
|
-
const fs_extra_1 =
|
196872
|
-
const stream_to_buffer_1 = __importDefault(
|
196867
|
+
const path_1 = __importDefault(__nested_webpack_require_980879__(5622));
|
196868
|
+
const debug_1 = __importDefault(__nested_webpack_require_980879__(1868));
|
196869
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_980879__(9331));
|
196870
|
+
const fs_extra_1 = __nested_webpack_require_980879__(5392);
|
196871
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_980879__(2560));
|
196873
196872
|
const S_IFMT = 61440; /* 0170000 type of file */
|
196874
196873
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
196875
196874
|
function isSymbolicLink(mode) {
|
@@ -196942,14 +196941,14 @@ exports.default = download;
|
|
196942
196941
|
/***/ }),
|
196943
196942
|
|
196944
196943
|
/***/ 3838:
|
196945
|
-
/***/ ((__unused_webpack_module, exports,
|
196944
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_984328__) => {
|
196946
196945
|
|
196947
196946
|
"use strict";
|
196948
196947
|
|
196949
196948
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196950
|
-
const path_1 =
|
196951
|
-
const os_1 =
|
196952
|
-
const fs_extra_1 =
|
196949
|
+
const path_1 = __nested_webpack_require_984328__(5622);
|
196950
|
+
const os_1 = __nested_webpack_require_984328__(2087);
|
196951
|
+
const fs_extra_1 = __nested_webpack_require_984328__(5392);
|
196953
196952
|
async function getWritableDirectory() {
|
196954
196953
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
196955
196954
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -196962,7 +196961,7 @@ exports.default = getWritableDirectory;
|
|
196962
196961
|
/***/ }),
|
196963
196962
|
|
196964
196963
|
/***/ 4240:
|
196965
|
-
/***/ (function(__unused_webpack_module, exports,
|
196964
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_984908__) {
|
196966
196965
|
|
196967
196966
|
"use strict";
|
196968
196967
|
|
@@ -196970,13 +196969,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196970
196969
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196971
196970
|
};
|
196972
196971
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196973
|
-
const path_1 = __importDefault(
|
196974
|
-
const assert_1 = __importDefault(
|
196975
|
-
const glob_1 = __importDefault(
|
196976
|
-
const util_1 =
|
196977
|
-
const fs_extra_1 =
|
196978
|
-
const normalize_path_1 =
|
196979
|
-
const file_fs_ref_1 = __importDefault(
|
196972
|
+
const path_1 = __importDefault(__nested_webpack_require_984908__(5622));
|
196973
|
+
const assert_1 = __importDefault(__nested_webpack_require_984908__(2357));
|
196974
|
+
const glob_1 = __importDefault(__nested_webpack_require_984908__(1104));
|
196975
|
+
const util_1 = __nested_webpack_require_984908__(1669);
|
196976
|
+
const fs_extra_1 = __nested_webpack_require_984908__(5392);
|
196977
|
+
const normalize_path_1 = __nested_webpack_require_984908__(6261);
|
196978
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_984908__(9331));
|
196980
196979
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
196981
196980
|
async function glob(pattern, opts, mountpoint) {
|
196982
196981
|
let options;
|
@@ -197022,7 +197021,7 @@ exports.default = glob;
|
|
197022
197021
|
/***/ }),
|
197023
197022
|
|
197024
197023
|
/***/ 7903:
|
197025
|
-
/***/ (function(__unused_webpack_module, exports,
|
197024
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_987104__) {
|
197026
197025
|
|
197027
197026
|
"use strict";
|
197028
197027
|
|
@@ -197031,9 +197030,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197031
197030
|
};
|
197032
197031
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197033
197032
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
197034
|
-
const semver_1 =
|
197035
|
-
const errors_1 =
|
197036
|
-
const debug_1 = __importDefault(
|
197033
|
+
const semver_1 = __nested_webpack_require_987104__(2879);
|
197034
|
+
const errors_1 = __nested_webpack_require_987104__(3983);
|
197035
|
+
const debug_1 = __importDefault(__nested_webpack_require_987104__(1868));
|
197037
197036
|
const allOptions = [
|
197038
197037
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
197039
197038
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -197127,7 +197126,7 @@ exports.normalizePath = normalizePath;
|
|
197127
197126
|
/***/ }),
|
197128
197127
|
|
197129
197128
|
/***/ 7792:
|
197130
|
-
/***/ (function(__unused_webpack_module, exports,
|
197129
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_990972__) {
|
197131
197130
|
|
197132
197131
|
"use strict";
|
197133
197132
|
|
@@ -197136,9 +197135,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197136
197135
|
};
|
197137
197136
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197138
197137
|
exports.readConfigFile = void 0;
|
197139
|
-
const js_yaml_1 = __importDefault(
|
197140
|
-
const toml_1 = __importDefault(
|
197141
|
-
const fs_extra_1 =
|
197138
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_990972__(6540));
|
197139
|
+
const toml_1 = __importDefault(__nested_webpack_require_990972__(9434));
|
197140
|
+
const fs_extra_1 = __nested_webpack_require_990972__(5392);
|
197142
197141
|
async function readFileOrNull(file) {
|
197143
197142
|
try {
|
197144
197143
|
const data = await fs_extra_1.readFile(file);
|
@@ -197193,7 +197192,7 @@ exports.default = rename;
|
|
197193
197192
|
/***/ }),
|
197194
197193
|
|
197195
197194
|
/***/ 1442:
|
197196
|
-
/***/ (function(__unused_webpack_module, exports,
|
197195
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_992765__) {
|
197197
197196
|
|
197198
197197
|
"use strict";
|
197199
197198
|
|
@@ -197202,16 +197201,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197202
197201
|
};
|
197203
197202
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197204
197203
|
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;
|
197205
|
-
const assert_1 = __importDefault(
|
197206
|
-
const fs_extra_1 = __importDefault(
|
197207
|
-
const path_1 = __importDefault(
|
197208
|
-
const async_sema_1 = __importDefault(
|
197209
|
-
const cross_spawn_1 = __importDefault(
|
197210
|
-
const util_1 =
|
197211
|
-
const debug_1 = __importDefault(
|
197212
|
-
const errors_1 =
|
197213
|
-
const node_version_1 =
|
197214
|
-
const read_config_file_1 =
|
197204
|
+
const assert_1 = __importDefault(__nested_webpack_require_992765__(2357));
|
197205
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_992765__(5392));
|
197206
|
+
const path_1 = __importDefault(__nested_webpack_require_992765__(5622));
|
197207
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_992765__(5758));
|
197208
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_992765__(7618));
|
197209
|
+
const util_1 = __nested_webpack_require_992765__(1669);
|
197210
|
+
const debug_1 = __importDefault(__nested_webpack_require_992765__(1868));
|
197211
|
+
const errors_1 = __nested_webpack_require_992765__(3983);
|
197212
|
+
const node_version_1 = __nested_webpack_require_992765__(7903);
|
197213
|
+
const read_config_file_1 = __nested_webpack_require_992765__(7792);
|
197215
197214
|
// Only allow one `runNpmInstall()` invocation to run concurrently
|
197216
197215
|
const runNpmInstallSema = new async_sema_1.default(1);
|
197217
197216
|
function spawnAsync(command, args, opts = {}) {
|
@@ -197384,15 +197383,20 @@ async function scanParentDirs(destPath, readPackageJson = false) {
|
|
197384
197383
|
fs_extra_1.default.pathExists(path_1.default.join(currentDestPath, 'yarn.lock')),
|
197385
197384
|
read_config_file_1.readConfigFile(path_1.default.join(currentDestPath, 'pnpm-lock.yaml')),
|
197386
197385
|
]);
|
197387
|
-
|
197388
|
-
|
197389
|
-
|
197386
|
+
// Priority order is Yarn > pnpm > npm
|
197387
|
+
// - find highest priority lock file and use that
|
197388
|
+
if (hasYarnLock) {
|
197389
|
+
cliType = 'yarn';
|
197390
197390
|
}
|
197391
|
-
if (
|
197391
|
+
else if (pnpmLockYaml) {
|
197392
197392
|
cliType = 'pnpm';
|
197393
197393
|
// just ensure that it is read as a number and not a string
|
197394
197394
|
lockfileVersion = Number(pnpmLockYaml.lockfileVersion);
|
197395
197395
|
}
|
197396
|
+
else if (packageLockJson) {
|
197397
|
+
cliType = 'npm';
|
197398
|
+
lockfileVersion = packageLockJson.lockfileVersion;
|
197399
|
+
}
|
197396
197400
|
// Only stop iterating if a lockfile was found, because it's possible
|
197397
197401
|
// that the lockfile is in a higher path than where the `package.json`
|
197398
197402
|
// file was found.
|
@@ -197505,6 +197509,15 @@ function getEnvForPackageManager({ cliType, lockfileVersion, nodeVersion, env, }
|
|
197505
197509
|
console.log('Detected `package-lock.json` generated by npm 7...');
|
197506
197510
|
}
|
197507
197511
|
}
|
197512
|
+
else if (cliType === 'pnpm') {
|
197513
|
+
if (typeof lockfileVersion === 'number' &&
|
197514
|
+
lockfileVersion === 5.4 &&
|
197515
|
+
((nodeVersion === null || nodeVersion === void 0 ? void 0 : nodeVersion.major) || 0) > 12) {
|
197516
|
+
// Ensure that pnpm 7 is at the beginning of the `$PATH`
|
197517
|
+
newEnv.PATH = `/pnpm7/pnpm:${env.PATH}`;
|
197518
|
+
console.log('Detected `pnpm-lock.yaml` generated by pnpm 7...');
|
197519
|
+
}
|
197520
|
+
}
|
197508
197521
|
else {
|
197509
197522
|
// Yarn v2 PnP mode may be activated, so force "node-modules" linker style
|
197510
197523
|
if (!env.YARN_NODE_LINKER) {
|
@@ -197608,7 +197621,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
197608
197621
|
/***/ }),
|
197609
197622
|
|
197610
197623
|
/***/ 2560:
|
197611
|
-
/***/ (function(__unused_webpack_module, exports,
|
197624
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1010815__) {
|
197612
197625
|
|
197613
197626
|
"use strict";
|
197614
197627
|
|
@@ -197616,7 +197629,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197616
197629
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197617
197630
|
};
|
197618
197631
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197619
|
-
const end_of_stream_1 = __importDefault(
|
197632
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_1010815__(687));
|
197620
197633
|
function streamToBuffer(stream) {
|
197621
197634
|
return new Promise((resolve, reject) => {
|
197622
197635
|
const buffers = [];
|
@@ -197645,7 +197658,7 @@ exports.default = streamToBuffer;
|
|
197645
197658
|
/***/ }),
|
197646
197659
|
|
197647
197660
|
/***/ 1148:
|
197648
|
-
/***/ (function(__unused_webpack_module, exports,
|
197661
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1011883__) {
|
197649
197662
|
|
197650
197663
|
"use strict";
|
197651
197664
|
|
@@ -197653,9 +197666,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197653
197666
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197654
197667
|
};
|
197655
197668
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197656
|
-
const path_1 = __importDefault(
|
197657
|
-
const fs_extra_1 = __importDefault(
|
197658
|
-
const ignore_1 = __importDefault(
|
197669
|
+
const path_1 = __importDefault(__nested_webpack_require_1011883__(5622));
|
197670
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_1011883__(5392));
|
197671
|
+
const ignore_1 = __importDefault(__nested_webpack_require_1011883__(3556));
|
197659
197672
|
function isCodedError(error) {
|
197660
197673
|
return (error !== null &&
|
197661
197674
|
error !== undefined &&
|
@@ -197712,13 +197725,13 @@ exports.default = default_1;
|
|
197712
197725
|
/***/ }),
|
197713
197726
|
|
197714
197727
|
/***/ 4678:
|
197715
|
-
/***/ ((__unused_webpack_module, exports,
|
197728
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1014257__) => {
|
197716
197729
|
|
197717
197730
|
"use strict";
|
197718
197731
|
|
197719
197732
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197720
197733
|
exports.getPlatformEnv = void 0;
|
197721
|
-
const errors_1 =
|
197734
|
+
const errors_1 = __nested_webpack_require_1014257__(3983);
|
197722
197735
|
/**
|
197723
197736
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
197724
197737
|
* Throws an error if *both* env vars are defined.
|
@@ -197746,7 +197759,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
197746
197759
|
/***/ }),
|
197747
197760
|
|
197748
197761
|
/***/ 2855:
|
197749
|
-
/***/ (function(__unused_webpack_module, exports,
|
197762
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1015294__) {
|
197750
197763
|
|
197751
197764
|
"use strict";
|
197752
197765
|
|
@@ -197776,31 +197789,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197776
197789
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197777
197790
|
};
|
197778
197791
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197779
|
-
exports.isStaticRuntime = exports.isOfficialRuntime = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.EdgeFunction = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.
|
197780
|
-
const file_blob_1 = __importDefault(
|
197792
|
+
exports.workspaceManagers = exports.isStaticRuntime = exports.isOfficialRuntime = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.EdgeFunction = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.streamToBuffer = 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.download = exports.Prerender = exports.createLambda = exports.NodejsLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
197793
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_1015294__(2397));
|
197781
197794
|
exports.FileBlob = file_blob_1.default;
|
197782
|
-
const file_fs_ref_1 = __importDefault(
|
197795
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_1015294__(9331));
|
197783
197796
|
exports.FileFsRef = file_fs_ref_1.default;
|
197784
|
-
const file_ref_1 = __importDefault(
|
197797
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_1015294__(5187));
|
197785
197798
|
exports.FileRef = file_ref_1.default;
|
197786
|
-
const lambda_1 =
|
197799
|
+
const lambda_1 = __nested_webpack_require_1015294__(6721);
|
197787
197800
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
197788
197801
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
197789
197802
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
197790
|
-
const nodejs_lambda_1 =
|
197803
|
+
const nodejs_lambda_1 = __nested_webpack_require_1015294__(7049);
|
197791
197804
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
197792
|
-
const prerender_1 =
|
197805
|
+
const prerender_1 = __nested_webpack_require_1015294__(2850);
|
197793
197806
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
197794
|
-
const download_1 = __importStar(
|
197807
|
+
const download_1 = __importStar(__nested_webpack_require_1015294__(1611));
|
197795
197808
|
exports.download = download_1.default;
|
197796
197809
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
197797
|
-
const get_writable_directory_1 = __importDefault(
|
197810
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_1015294__(3838));
|
197798
197811
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
197799
|
-
const glob_1 = __importDefault(
|
197812
|
+
const glob_1 = __importDefault(__nested_webpack_require_1015294__(4240));
|
197800
197813
|
exports.glob = glob_1.default;
|
197801
|
-
const rename_1 = __importDefault(
|
197814
|
+
const rename_1 = __importDefault(__nested_webpack_require_1015294__(6718));
|
197802
197815
|
exports.rename = rename_1.default;
|
197803
|
-
const run_user_scripts_1 =
|
197816
|
+
const run_user_scripts_1 = __nested_webpack_require_1015294__(1442);
|
197804
197817
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
197805
197818
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
197806
197819
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -197819,39 +197832,38 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
197819
197832
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
197820
197833
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
197821
197834
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
197822
|
-
const node_version_1 =
|
197835
|
+
const node_version_1 = __nested_webpack_require_1015294__(7903);
|
197823
197836
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
197824
197837
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
197825
|
-
const stream_to_buffer_1 = __importDefault(
|
197838
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1015294__(2560));
|
197826
197839
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
197827
|
-
const
|
197828
|
-
exports.shouldServe = should_serve_1.default;
|
197829
|
-
const debug_1 = __importDefault(__nested_webpack_require_1014809__(1868));
|
197840
|
+
const debug_1 = __importDefault(__nested_webpack_require_1015294__(1868));
|
197830
197841
|
exports.debug = debug_1.default;
|
197831
|
-
const get_ignore_filter_1 = __importDefault(
|
197842
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1015294__(1148));
|
197832
197843
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
197833
|
-
const get_platform_env_1 =
|
197844
|
+
const get_platform_env_1 = __nested_webpack_require_1015294__(4678);
|
197834
197845
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
197835
|
-
var edge_function_1 =
|
197846
|
+
var edge_function_1 = __nested_webpack_require_1015294__(8038);
|
197836
197847
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
197837
|
-
var detect_builders_1 =
|
197848
|
+
var detect_builders_1 = __nested_webpack_require_1015294__(4246);
|
197838
197849
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
197839
197850
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
197840
197851
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
197841
197852
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
197842
|
-
var detect_file_system_api_1 =
|
197853
|
+
var detect_file_system_api_1 = __nested_webpack_require_1015294__(1182);
|
197843
197854
|
Object.defineProperty(exports, "detectFileSystemAPI", ({ enumerable: true, get: function () { return detect_file_system_api_1.detectFileSystemAPI; } }));
|
197844
|
-
var detect_framework_1 =
|
197855
|
+
var detect_framework_1 = __nested_webpack_require_1015294__(5224);
|
197845
197856
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
197846
|
-
var filesystem_1 =
|
197857
|
+
var filesystem_1 = __nested_webpack_require_1015294__(461);
|
197847
197858
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
197848
|
-
var read_config_file_1 =
|
197859
|
+
var read_config_file_1 = __nested_webpack_require_1015294__(7792);
|
197849
197860
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
197850
|
-
var normalize_path_1 =
|
197861
|
+
var normalize_path_1 = __nested_webpack_require_1015294__(6261);
|
197851
197862
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
197852
|
-
__exportStar(
|
197853
|
-
__exportStar(
|
197854
|
-
__exportStar(
|
197863
|
+
__exportStar(__nested_webpack_require_1015294__(2564), exports);
|
197864
|
+
__exportStar(__nested_webpack_require_1015294__(2416), exports);
|
197865
|
+
__exportStar(__nested_webpack_require_1015294__(5748), exports);
|
197866
|
+
__exportStar(__nested_webpack_require_1015294__(3983), exports);
|
197855
197867
|
/**
|
197856
197868
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
197857
197869
|
*/
|
@@ -197869,12 +197881,14 @@ const isStaticRuntime = (name) => {
|
|
197869
197881
|
return exports.isOfficialRuntime('static', name);
|
197870
197882
|
};
|
197871
197883
|
exports.isStaticRuntime = isStaticRuntime;
|
197884
|
+
var workspace_managers_1 = __nested_webpack_require_1015294__(4896);
|
197885
|
+
Object.defineProperty(exports, "workspaceManagers", ({ enumerable: true, get: function () { return workspace_managers_1.workspaceManagers; } }));
|
197872
197886
|
|
197873
197887
|
|
197874
197888
|
/***/ }),
|
197875
197889
|
|
197876
197890
|
/***/ 6721:
|
197877
|
-
/***/ (function(__unused_webpack_module, exports,
|
197891
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1025808__) {
|
197878
197892
|
|
197879
197893
|
"use strict";
|
197880
197894
|
|
@@ -197883,13 +197897,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197883
197897
|
};
|
197884
197898
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197885
197899
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
197886
|
-
const assert_1 = __importDefault(
|
197887
|
-
const async_sema_1 = __importDefault(
|
197888
|
-
const yazl_1 =
|
197889
|
-
const minimatch_1 = __importDefault(
|
197890
|
-
const fs_extra_1 =
|
197891
|
-
const download_1 =
|
197892
|
-
const stream_to_buffer_1 = __importDefault(
|
197900
|
+
const assert_1 = __importDefault(__nested_webpack_require_1025808__(2357));
|
197901
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_1025808__(5758));
|
197902
|
+
const yazl_1 = __nested_webpack_require_1025808__(1223);
|
197903
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_1025808__(9566));
|
197904
|
+
const fs_extra_1 = __nested_webpack_require_1025808__(5392);
|
197905
|
+
const download_1 = __nested_webpack_require_1025808__(1611);
|
197906
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1025808__(2560));
|
197893
197907
|
class Lambda {
|
197894
197908
|
constructor(opts) {
|
197895
197909
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, } = opts;
|
@@ -198011,13 +198025,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
198011
198025
|
/***/ }),
|
198012
198026
|
|
198013
198027
|
/***/ 7049:
|
198014
|
-
/***/ ((__unused_webpack_module, exports,
|
198028
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1031312__) => {
|
198015
198029
|
|
198016
198030
|
"use strict";
|
198017
198031
|
|
198018
198032
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198019
198033
|
exports.NodejsLambda = void 0;
|
198020
|
-
const lambda_1 =
|
198034
|
+
const lambda_1 = __nested_webpack_require_1031312__(6721);
|
198021
198035
|
class NodejsLambda extends lambda_1.Lambda {
|
198022
198036
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
198023
198037
|
super(opts);
|
@@ -198154,13 +198168,14 @@ exports.buildsSchema = {
|
|
198154
198168
|
/***/ }),
|
198155
198169
|
|
198156
198170
|
/***/ 2564:
|
198157
|
-
/***/ ((__unused_webpack_module, exports,
|
198171
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1035657__) => {
|
198158
198172
|
|
198159
198173
|
"use strict";
|
198160
198174
|
|
198161
198175
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198162
|
-
|
198163
|
-
|
198176
|
+
exports.shouldServe = void 0;
|
198177
|
+
const path_1 = __nested_webpack_require_1035657__(5622);
|
198178
|
+
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
198164
198179
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
198165
198180
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
198166
198181
|
if (entrypoint === requestPath && hasProp(files, entrypoint)) {
|
@@ -198171,8 +198186,8 @@ function shouldServe({ entrypoint, files, requestPath, }) {
|
|
198171
198186
|
return true;
|
198172
198187
|
}
|
198173
198188
|
return false;
|
198174
|
-
}
|
198175
|
-
exports.
|
198189
|
+
};
|
198190
|
+
exports.shouldServe = shouldServe;
|
198176
198191
|
function hasProp(obj, key) {
|
198177
198192
|
return Object.hasOwnProperty.call(obj, key);
|
198178
198193
|
}
|
@@ -198188,6 +198203,141 @@ function hasProp(obj, key) {
|
|
198188
198203
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198189
198204
|
|
198190
198205
|
|
198206
|
+
/***/ }),
|
198207
|
+
|
198208
|
+
/***/ 4896:
|
198209
|
+
/***/ ((__unused_webpack_module, exports) => {
|
198210
|
+
|
198211
|
+
"use strict";
|
198212
|
+
|
198213
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198214
|
+
exports.workspaceManagers = void 0;
|
198215
|
+
/**
|
198216
|
+
* The supported list of workspace managers.
|
198217
|
+
*
|
198218
|
+
* This list is designed to work with the @see {@link detectFramework} function.
|
198219
|
+
*
|
198220
|
+
* @example
|
198221
|
+
* import { workspaceManagers as frameworkList } from '@vercel/build-utils/workspaces'
|
198222
|
+
* import { detectFramework } from '@vercel/build-utils'
|
198223
|
+
*
|
198224
|
+
* const fs = new GitDetectorFilesystem(...)
|
198225
|
+
* detectFramwork({ fs, frameworkList }) // returns the 'slug' field if detected, otherwise null
|
198226
|
+
*
|
198227
|
+
* @todo Will be used by the detect-eligible-projects API endpoint for a given git url.
|
198228
|
+
*/
|
198229
|
+
exports.workspaceManagers = [
|
198230
|
+
{
|
198231
|
+
name: 'Yarn',
|
198232
|
+
slug: 'yarn',
|
198233
|
+
detectors: {
|
198234
|
+
every: [
|
198235
|
+
{
|
198236
|
+
path: 'package.json',
|
198237
|
+
matchContent: '"workspaces":\\s*(?:\\[[^\\]]*]|{[^}]*"packages":[^}]*})',
|
198238
|
+
},
|
198239
|
+
{
|
198240
|
+
path: 'yarn.lock',
|
198241
|
+
},
|
198242
|
+
],
|
198243
|
+
},
|
198244
|
+
// unused props - needed for typescript
|
198245
|
+
description: '',
|
198246
|
+
logo: '',
|
198247
|
+
settings: {
|
198248
|
+
buildCommand: {
|
198249
|
+
value: '',
|
198250
|
+
placeholder: '',
|
198251
|
+
},
|
198252
|
+
devCommand: {
|
198253
|
+
value: '',
|
198254
|
+
placeholder: '',
|
198255
|
+
},
|
198256
|
+
installCommand: {
|
198257
|
+
value: '',
|
198258
|
+
placeholder: '',
|
198259
|
+
},
|
198260
|
+
outputDirectory: {
|
198261
|
+
value: '',
|
198262
|
+
placeholder: '',
|
198263
|
+
},
|
198264
|
+
},
|
198265
|
+
getOutputDirName: () => Promise.resolve(''),
|
198266
|
+
},
|
198267
|
+
{
|
198268
|
+
name: 'pnpm',
|
198269
|
+
slug: 'pnpm',
|
198270
|
+
detectors: {
|
198271
|
+
every: [
|
198272
|
+
{
|
198273
|
+
path: 'pnpm-workspace.yaml',
|
198274
|
+
},
|
198275
|
+
],
|
198276
|
+
},
|
198277
|
+
// unused props - needed for typescript
|
198278
|
+
description: '',
|
198279
|
+
logo: '',
|
198280
|
+
settings: {
|
198281
|
+
buildCommand: {
|
198282
|
+
value: '',
|
198283
|
+
placeholder: '',
|
198284
|
+
},
|
198285
|
+
devCommand: {
|
198286
|
+
value: '',
|
198287
|
+
placeholder: '',
|
198288
|
+
},
|
198289
|
+
installCommand: {
|
198290
|
+
value: '',
|
198291
|
+
placeholder: '',
|
198292
|
+
},
|
198293
|
+
outputDirectory: {
|
198294
|
+
value: '',
|
198295
|
+
placeholder: '',
|
198296
|
+
},
|
198297
|
+
},
|
198298
|
+
getOutputDirName: () => Promise.resolve(''),
|
198299
|
+
},
|
198300
|
+
{
|
198301
|
+
name: 'npm',
|
198302
|
+
slug: 'npm',
|
198303
|
+
detectors: {
|
198304
|
+
every: [
|
198305
|
+
{
|
198306
|
+
path: 'package.json',
|
198307
|
+
matchContent: '"workspaces":\\s*(?:\\[[^\\]]*]|{[^}]*"packages":[^}]*})',
|
198308
|
+
},
|
198309
|
+
{
|
198310
|
+
path: 'package-lock.json',
|
198311
|
+
},
|
198312
|
+
],
|
198313
|
+
},
|
198314
|
+
// unused props - needed for typescript
|
198315
|
+
description: '',
|
198316
|
+
logo: '',
|
198317
|
+
settings: {
|
198318
|
+
buildCommand: {
|
198319
|
+
value: '',
|
198320
|
+
placeholder: '',
|
198321
|
+
},
|
198322
|
+
devCommand: {
|
198323
|
+
value: '',
|
198324
|
+
placeholder: '',
|
198325
|
+
},
|
198326
|
+
installCommand: {
|
198327
|
+
value: '',
|
198328
|
+
placeholder: '',
|
198329
|
+
},
|
198330
|
+
outputDirectory: {
|
198331
|
+
value: '',
|
198332
|
+
placeholder: '',
|
198333
|
+
},
|
198334
|
+
},
|
198335
|
+
getOutputDirName: () => Promise.resolve(''),
|
198336
|
+
},
|
198337
|
+
];
|
198338
|
+
exports.default = exports.workspaceManagers;
|
198339
|
+
|
198340
|
+
|
198191
198341
|
/***/ }),
|
198192
198342
|
|
198193
198343
|
/***/ 5685:
|
@@ -198388,7 +198538,7 @@ module.exports = __webpack_require__(78761);
|
|
198388
198538
|
/******/ var __webpack_module_cache__ = {};
|
198389
198539
|
/******/
|
198390
198540
|
/******/ // The require function
|
198391
|
-
/******/ function
|
198541
|
+
/******/ function __nested_webpack_require_1138876__(moduleId) {
|
198392
198542
|
/******/ // Check if module is in cache
|
198393
198543
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
198394
198544
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -198403,7 +198553,7 @@ module.exports = __webpack_require__(78761);
|
|
198403
198553
|
/******/ // Execute the module function
|
198404
198554
|
/******/ var threw = true;
|
198405
198555
|
/******/ try {
|
198406
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
198556
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1138876__);
|
198407
198557
|
/******/ threw = false;
|
198408
198558
|
/******/ } finally {
|
198409
198559
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -198416,11 +198566,11 @@ module.exports = __webpack_require__(78761);
|
|
198416
198566
|
/************************************************************************/
|
198417
198567
|
/******/ /* webpack/runtime/compat */
|
198418
198568
|
/******/
|
198419
|
-
/******/
|
198569
|
+
/******/ __nested_webpack_require_1138876__.ab = __dirname + "/";/************************************************************************/
|
198420
198570
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
198421
198571
|
/******/ // startup
|
198422
198572
|
/******/ // Load entry module and return exports
|
198423
|
-
/******/ return
|
198573
|
+
/******/ return __nested_webpack_require_1138876__(2855);
|
198424
198574
|
/******/ })()
|
198425
198575
|
;
|
198426
198576
|
|
@@ -217097,8 +217247,7 @@ exports.frameworks = [
|
|
217097
217247
|
detectors: {
|
217098
217248
|
every: [
|
217099
217249
|
{
|
217100
|
-
path: '
|
217101
|
-
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"remix":\\s*".+?"[^}]*}',
|
217250
|
+
path: 'remix.config.js',
|
217102
217251
|
},
|
217103
217252
|
],
|
217104
217253
|
},
|
@@ -225766,6 +225915,8 @@ const pkg_name_1 = __webpack_require__(98106);
|
|
225766
225915
|
const get_preferred_preview_url_1 = __webpack_require__(62387);
|
225767
225916
|
const args_1 = __webpack_require__(56870);
|
225768
225917
|
const get_deployment_checks_1 = __webpack_require__(58293);
|
225918
|
+
const parse_target_1 = __importDefault(__webpack_require__(77601));
|
225919
|
+
const get_prebuilt_json_1 = __importDefault(__webpack_require__(91307));
|
225769
225920
|
exports.default = async (client) => {
|
225770
225921
|
const { output } = client;
|
225771
225922
|
let argv = null;
|
@@ -225845,7 +225996,7 @@ exports.default = async (client) => {
|
|
225845
225996
|
}
|
225846
225997
|
}
|
225847
225998
|
}
|
225848
|
-
const { log, debug, error,
|
225999
|
+
const { log, debug, error, prettyError, isTTY } = output;
|
225849
226000
|
const quiet = !isTTY;
|
225850
226001
|
// check paths
|
225851
226002
|
const pathValidation = await validate_paths_1.default(output, paths);
|
@@ -225858,6 +226009,11 @@ exports.default = async (client) => {
|
|
225858
226009
|
if (argv['--name']) {
|
225859
226010
|
output.print(`${emoji_1.prependEmoji(`The ${param_1.default('--name')} option is deprecated (https://vercel.link/name-flag)`, emoji_1.emoji('warning'))}\n`);
|
225860
226011
|
}
|
226012
|
+
// build `target`
|
226013
|
+
const target = parse_target_1.default(output, argv['--target'], argv['--prod']);
|
226014
|
+
if (typeof target === 'number') {
|
226015
|
+
return target;
|
226016
|
+
}
|
225861
226017
|
// build `--prebuilt`
|
225862
226018
|
if (argv['--prebuilt']) {
|
225863
226019
|
const prebuiltExists = await fs_extra_1.default.pathExists(path_1.join(path, '.vercel/output'));
|
@@ -225865,6 +226021,19 @@ exports.default = async (client) => {
|
|
225865
226021
|
error(`The ${param_1.default('--prebuilt')} option was used, but no prebuilt output found in ".vercel/output". Run ${pkg_name_1.getCommandName('build')} to generate a local build.`);
|
225866
226022
|
return 1;
|
225867
226023
|
}
|
226024
|
+
const prebuiltBuild = await get_prebuilt_json_1.default(path);
|
226025
|
+
const assumedTarget = target || 'preview';
|
226026
|
+
if ((prebuiltBuild === null || prebuiltBuild === void 0 ? void 0 : prebuiltBuild.target) && prebuiltBuild.target !== assumedTarget) {
|
226027
|
+
let specifyTarget = '';
|
226028
|
+
if (prebuiltBuild.target === 'production') {
|
226029
|
+
specifyTarget = ` --prod`;
|
226030
|
+
}
|
226031
|
+
prettyError({
|
226032
|
+
message: `The ${param_1.default('--prebuilt')} option was used with the target environment "${assumedTarget}", but the prebuilt output found in ".vercel/output" was built with target environment "${prebuiltBuild.target}". Please run ${pkg_name_1.getCommandName(`--prebuilt${specifyTarget}`)}.`,
|
226033
|
+
link: 'https://vercel.link/prebuilt-environment-mismatch',
|
226034
|
+
});
|
226035
|
+
return 1;
|
226036
|
+
}
|
225868
226037
|
}
|
225869
226038
|
// retrieve `project` and `org` from .vercel
|
225870
226039
|
const link = await link_2.getLinkedProject(client, path);
|
@@ -225995,24 +226164,6 @@ exports.default = async (client) => {
|
|
225995
226164
|
.map((s) => s.trim())
|
225996
226165
|
.filter(Boolean);
|
225997
226166
|
const regions = regionFlag.length > 0 ? regionFlag : localConfig.regions;
|
225998
|
-
// build `target`
|
225999
|
-
let target;
|
226000
|
-
if (argv['--target']) {
|
226001
|
-
const deprecatedTarget = argv['--target'];
|
226002
|
-
if (!['staging', 'production'].includes(deprecatedTarget)) {
|
226003
|
-
error(`The specified ${param_1.default('--target')} ${code_1.default(deprecatedTarget)} is not valid`);
|
226004
|
-
return 1;
|
226005
|
-
}
|
226006
|
-
if (deprecatedTarget === 'production') {
|
226007
|
-
warn('We recommend using the much shorter `--prod` option instead of `--target production` (deprecated)');
|
226008
|
-
}
|
226009
|
-
output.debug(`Setting target to ${deprecatedTarget}`);
|
226010
|
-
target = deprecatedTarget;
|
226011
|
-
}
|
226012
|
-
else if (argv['--prod']) {
|
226013
|
-
output.debug('Setting target to production');
|
226014
|
-
target = 'production';
|
226015
|
-
}
|
226016
226167
|
const currentTeam = (org === null || org === void 0 ? void 0 : org.type) === 'team' ? org.id : undefined;
|
226017
226168
|
const now = new util_1.default({
|
226018
226169
|
client,
|
@@ -226333,6 +226484,8 @@ const get_frameworks_1 = __webpack_require__(87569);
|
|
226333
226484
|
const get_decrypted_env_records_1 = __importDefault(__webpack_require__(30861));
|
226334
226485
|
const setup_and_link_1 = __importDefault(__webpack_require__(69532));
|
226335
226486
|
const get_system_env_values_1 = __importDefault(__webpack_require__(60272));
|
226487
|
+
const pkg_name_1 = __webpack_require__(98106);
|
226488
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
226336
226489
|
async function dev(client, opts, args) {
|
226337
226490
|
const { output } = client;
|
226338
226491
|
const [dir = '.'] = args;
|
@@ -226355,6 +226508,9 @@ async function dev(client, opts, args) {
|
|
226355
226508
|
}
|
226356
226509
|
}
|
226357
226510
|
if (link.status === 'error') {
|
226511
|
+
if (link.reason === 'HEADLESS') {
|
226512
|
+
client.output.error(`Command ${pkg_name_1.getCommandName('dev')} requires confirmation. Use option ${param_1.default('--confirm')} to confirm.`);
|
226513
|
+
}
|
226358
226514
|
return link.exitCode;
|
226359
226515
|
}
|
226360
226516
|
let devCommand;
|
@@ -229010,6 +229166,8 @@ const get_args_1 = __importDefault(__webpack_require__(87612));
|
|
229010
229166
|
const logo_1 = __importDefault(__webpack_require__(9829));
|
229011
229167
|
const pkg_name_1 = __webpack_require__(98106);
|
229012
229168
|
const setup_and_link_1 = __importDefault(__webpack_require__(69532));
|
229169
|
+
const pkg_name_2 = __webpack_require__(98106);
|
229170
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
229013
229171
|
const help = () => {
|
229014
229172
|
console.log(`
|
229015
229173
|
${chalk_1.default.bold(`${logo_1.default} ${pkg_name_1.getPkgName()} link`)} [options]
|
@@ -229058,6 +229216,9 @@ async function main(client) {
|
|
229058
229216
|
setupMsg: 'Set up',
|
229059
229217
|
});
|
229060
229218
|
if (link.status === 'error') {
|
229219
|
+
if (link.reason === 'HEADLESS') {
|
229220
|
+
client.output.error(`Command ${pkg_name_2.getCommandName('link')} requires confirmation. Use option ${param_1.default('--confirm')} to confirm.`);
|
229221
|
+
}
|
229061
229222
|
return link.exitCode;
|
229062
229223
|
}
|
229063
229224
|
else if (link.status === 'not_linked') {
|
@@ -230052,6 +230213,8 @@ const pkg_name_1 = __webpack_require__(98106);
|
|
230052
230213
|
const link_1 = __webpack_require__(67630);
|
230053
230214
|
const project_settings_1 = __webpack_require__(42697);
|
230054
230215
|
const pull_1 = __importDefault(__webpack_require__(57571));
|
230216
|
+
const pkg_name_2 = __webpack_require__(98106);
|
230217
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
230055
230218
|
const env_target_1 = __webpack_require__(65373);
|
230056
230219
|
const help = () => {
|
230057
230220
|
return console.log(`
|
@@ -230112,6 +230275,9 @@ async function ensureLink(client, cwd, yes) {
|
|
230112
230275
|
}
|
230113
230276
|
}
|
230114
230277
|
if (link.status === 'error') {
|
230278
|
+
if (link.reason === 'HEADLESS') {
|
230279
|
+
client.output.error(`Command ${pkg_name_2.getCommandName('pull')} requires confirmation. Use option ${param_1.default('--yes')} to confirm.`);
|
230280
|
+
}
|
230115
230281
|
return link.exitCode;
|
230116
230282
|
}
|
230117
230283
|
return { org: link.org, project: link.project };
|
@@ -231262,7 +231428,12 @@ let client;
|
|
231262
231428
|
let debug = () => { };
|
231263
231429
|
let apiUrl = 'https://api.vercel.com';
|
231264
231430
|
const main = async () => {
|
231265
|
-
|
231431
|
+
let { isTTY } = process.stdout;
|
231432
|
+
if (process.env.FORCE_TTY === '1') {
|
231433
|
+
isTTY = true;
|
231434
|
+
process.stdout.isTTY = true;
|
231435
|
+
process.stdin.isTTY = true;
|
231436
|
+
}
|
231266
231437
|
let argv;
|
231267
231438
|
try {
|
231268
231439
|
argv = get_args_1.default(process.argv, {
|
@@ -233509,6 +233680,31 @@ async function getDeploymentsByProjectId(client, projectId, options = { from: nu
|
|
233509
233680
|
exports.default = getDeploymentsByProjectId;
|
233510
233681
|
|
233511
233682
|
|
233683
|
+
/***/ }),
|
233684
|
+
|
233685
|
+
/***/ 91307:
|
233686
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
233687
|
+
|
233688
|
+
"use strict";
|
233689
|
+
|
233690
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
233691
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
233692
|
+
};
|
233693
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
233694
|
+
const fs_extra_1 = __importDefault(__webpack_require__(45392));
|
233695
|
+
const path_1 = __webpack_require__(85622);
|
233696
|
+
async function getPrebuiltJson(directory) {
|
233697
|
+
try {
|
233698
|
+
return await fs_extra_1.default.readJSON(path_1.join(directory, '.vercel/output/builds.json'));
|
233699
|
+
}
|
233700
|
+
catch (error) {
|
233701
|
+
// ignoring error
|
233702
|
+
}
|
233703
|
+
return null;
|
233704
|
+
}
|
233705
|
+
exports.default = getPrebuiltJson;
|
233706
|
+
|
233707
|
+
|
233512
233708
|
/***/ }),
|
233513
233709
|
|
233514
233710
|
/***/ 62387:
|
@@ -233560,6 +233756,44 @@ async function getPreferredPreviewURL(client, aliasList) {
|
|
233560
233756
|
exports.getPreferredPreviewURL = getPreferredPreviewURL;
|
233561
233757
|
|
233562
233758
|
|
233759
|
+
/***/ }),
|
233760
|
+
|
233761
|
+
/***/ 77601:
|
233762
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
233763
|
+
|
233764
|
+
"use strict";
|
233765
|
+
|
233766
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
233767
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
233768
|
+
};
|
233769
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
233770
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
233771
|
+
const code_1 = __importDefault(__webpack_require__(62230));
|
233772
|
+
/**
|
233773
|
+
* Parses the environment target from the `--target` and `--prod` flags.
|
233774
|
+
*/
|
233775
|
+
function parseTarget(output, targetArg, prodArg) {
|
233776
|
+
if (targetArg) {
|
233777
|
+
const deprecatedTarget = targetArg;
|
233778
|
+
if (!['staging', 'production'].includes(deprecatedTarget)) {
|
233779
|
+
output.error(`The specified ${param_1.default('--target')} ${code_1.default(deprecatedTarget)} is not valid`);
|
233780
|
+
return 1;
|
233781
|
+
}
|
233782
|
+
if (deprecatedTarget === 'production') {
|
233783
|
+
output.warn('We recommend using the much shorter `--prod` option instead of `--target production` (deprecated)');
|
233784
|
+
}
|
233785
|
+
output.debug(`Setting target to ${deprecatedTarget}`);
|
233786
|
+
return deprecatedTarget;
|
233787
|
+
}
|
233788
|
+
if (prodArg) {
|
233789
|
+
output.debug('Setting target to production');
|
233790
|
+
return 'production';
|
233791
|
+
}
|
233792
|
+
return undefined;
|
233793
|
+
}
|
233794
|
+
exports.default = parseTarget;
|
233795
|
+
|
233796
|
+
|
233563
233797
|
/***/ }),
|
233564
233798
|
|
233565
233799
|
/***/ 3219:
|
@@ -241809,7 +242043,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241809
242043
|
const isFile = !global_path_1.isDirectory(path);
|
241810
242044
|
if (isFile) {
|
241811
242045
|
output.error(`Expected directory but found file: ${path}`);
|
241812
|
-
return { status: 'error', exitCode: 1 };
|
242046
|
+
return { status: 'error', exitCode: 1, reason: 'PATH_IS_FILE' };
|
241813
242047
|
}
|
241814
242048
|
const link = await link_1.getLinkedProject(client, path);
|
241815
242049
|
const isTTY = process.stdout.isTTY;
|
@@ -241823,7 +242057,11 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241823
242057
|
}
|
241824
242058
|
if (forceDelete) {
|
241825
242059
|
const vercelDir = link_1.getVercelDirectory(path);
|
241826
|
-
fs_extra_1.remove(vercelDir);
|
242060
|
+
fs_extra_1.remove(path_1.join(vercelDir, link_1.VERCEL_DIR_README));
|
242061
|
+
fs_extra_1.remove(path_1.join(vercelDir, link_1.VERCEL_DIR_PROJECT));
|
242062
|
+
}
|
242063
|
+
if (!isTTY && !autoConfirm) {
|
242064
|
+
return { status: 'error', exitCode: 1, reason: 'HEADLESS' };
|
241827
242065
|
}
|
241828
242066
|
const shouldStartSetup = autoConfirm ||
|
241829
242067
|
(await confirm_1.default(`${setupMsg} ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}?`, true));
|
@@ -241835,9 +242073,13 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241835
242073
|
org = await select_org_1.default(client, 'Which scope should contain your project?', autoConfirm);
|
241836
242074
|
}
|
241837
242075
|
catch (err) {
|
241838
|
-
if (err.code === 'NOT_AUTHORIZED'
|
242076
|
+
if (err.code === 'NOT_AUTHORIZED') {
|
241839
242077
|
output.prettyError(err);
|
241840
|
-
return { status: 'error', exitCode: 1 };
|
242078
|
+
return { status: 'error', exitCode: 1, reason: 'NOT_AUTHORIZED' };
|
242079
|
+
}
|
242080
|
+
if (err.code === 'TEAM_DELETED') {
|
242081
|
+
output.prettyError(err);
|
242082
|
+
return { status: 'error', exitCode: 1, reason: 'TEAM_DELETED' };
|
241841
242083
|
}
|
241842
242084
|
throw err;
|
241843
242085
|
}
|
@@ -241862,7 +242104,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241862
242104
|
: path;
|
241863
242105
|
if (rootDirectory &&
|
241864
242106
|
!(await validate_paths_1.validateRootDirectory(output, path, sourcePath, ''))) {
|
241865
|
-
return { status: 'error', exitCode: 1 };
|
242107
|
+
return { status: 'error', exitCode: 1, reason: 'INVALID_ROOT_DIRECTORY' };
|
241866
242108
|
}
|
241867
242109
|
config.currentTeam = org.type === 'team' ? org.id : undefined;
|
241868
242110
|
const isZeroConfig = !localConfig || !localConfig.builds || localConfig.builds.length === 0;
|
@@ -241900,7 +242142,11 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241900
242142
|
if (debug) {
|
241901
242143
|
console.log(deployment);
|
241902
242144
|
}
|
241903
|
-
return {
|
242145
|
+
return {
|
242146
|
+
status: 'error',
|
242147
|
+
exitCode: 1,
|
242148
|
+
reason: 'MISSING_PROJECT_SETTINGS',
|
242149
|
+
};
|
241904
242150
|
}
|
241905
242151
|
const { projectSettings, framework } = deployment;
|
241906
242152
|
settings = await edit_project_settings_1.default(output, projectSettings, framework, autoConfirm);
|
@@ -244899,7 +245145,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
244899
245145
|
/***/ ((module) => {
|
244900
245146
|
|
244901
245147
|
"use strict";
|
244902
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"24.2.
|
245148
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"24.2.1-canary.2\",\"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.16.1-canary.2\",\"@vercel/go\":\"1.4.1-canary.2\",\"@vercel/node\":\"1.15.1-canary.2\",\"@vercel/python\":\"2.3.1-canary.2\",\"@vercel/ruby\":\"1.3.4-canary.2\",\"update-notifier\":\"4.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\",\"@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.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\",\"@vercel/client\":\"11.0.1-canary.2\",\"@vercel/frameworks\":\"0.8.1-canary.0\",\"@vercel/ncc\":\"0.24.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.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\":\"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}},\"setupFilesAfterEnv\":[\"@alex_neo/jest-expect-message\"],\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"d91bca7d6bc8066690c0db4b11990a354d13ebbd\"}");
|
244903
245149
|
|
244904
245150
|
/***/ }),
|
244905
245151
|
|
@@ -244915,7 +245161,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
244915
245161
|
/***/ ((module) => {
|
244916
245162
|
|
244917
245163
|
"use strict";
|
244918
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"11.0.
|
245164
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"11.0.1-canary.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\":\"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.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\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"2.16.1-canary.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.1\",\"querystring\":\"^0.2.0\",\"sleep-promise\":\"8.0.1\"},\"gitHead\":\"d91bca7d6bc8066690c0db4b11990a354d13ebbd\"}");
|
244919
245165
|
|
244920
245166
|
/***/ }),
|
244921
245167
|
|