vercel 24.2.1-canary.0 → 24.2.1-canary.3
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 +624 -255
- 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
|
},
|
@@ -189393,6 +189392,70 @@ exports.frameworks = [
|
|
189393
189392
|
},
|
189394
189393
|
],
|
189395
189394
|
},
|
189395
|
+
{
|
189396
|
+
name: 'Astro',
|
189397
|
+
slug: 'astro',
|
189398
|
+
demo: 'https://astro-template.vercel.app',
|
189399
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro.svg',
|
189400
|
+
darkModeLogo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro-dark.svg',
|
189401
|
+
tagline: 'Astro is a new kind of static site builder for the modern web. Powerful developer experience meets lightweight output.',
|
189402
|
+
description: 'An Astro site, using the basics starter kit.',
|
189403
|
+
website: 'https://astro.build',
|
189404
|
+
envPrefix: 'PUBLIC_',
|
189405
|
+
detectors: {
|
189406
|
+
every: [
|
189407
|
+
{
|
189408
|
+
path: 'package.json',
|
189409
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"astro":\\s*".+?"[^}]*}',
|
189410
|
+
},
|
189411
|
+
],
|
189412
|
+
},
|
189413
|
+
settings: {
|
189414
|
+
installCommand: {
|
189415
|
+
placeholder: '`yarn install` or `npm install`',
|
189416
|
+
},
|
189417
|
+
buildCommand: {
|
189418
|
+
value: 'astro build',
|
189419
|
+
placeholder: '`npm run build` or `astro build`',
|
189420
|
+
},
|
189421
|
+
devCommand: {
|
189422
|
+
value: 'astro dev --port $PORT',
|
189423
|
+
placeholder: 'astro dev',
|
189424
|
+
},
|
189425
|
+
outputDirectory: {
|
189426
|
+
value: 'dist',
|
189427
|
+
},
|
189428
|
+
},
|
189429
|
+
dependency: 'astro',
|
189430
|
+
getFsOutputDir: async () => 'dist',
|
189431
|
+
getOutputDirName: async () => 'dist',
|
189432
|
+
defaultRoutes: [
|
189433
|
+
{
|
189434
|
+
src: '^/dist/(.*)$',
|
189435
|
+
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
189436
|
+
continue: true,
|
189437
|
+
},
|
189438
|
+
{
|
189439
|
+
handle: 'filesystem',
|
189440
|
+
},
|
189441
|
+
{
|
189442
|
+
src: '/(.*)',
|
189443
|
+
dest: '/index.html',
|
189444
|
+
},
|
189445
|
+
],
|
189446
|
+
defaultHeaders: [
|
189447
|
+
{
|
189448
|
+
source: '^/dist/(.*)$',
|
189449
|
+
regex: '^/dist/(.*)$',
|
189450
|
+
headers: [
|
189451
|
+
{
|
189452
|
+
key: 'cache-control',
|
189453
|
+
value: 'public, max-age=31536000, immutable',
|
189454
|
+
},
|
189455
|
+
],
|
189456
|
+
},
|
189457
|
+
],
|
189458
|
+
},
|
189396
189459
|
{
|
189397
189460
|
name: 'Hexo',
|
189398
189461
|
slug: 'hexo',
|
@@ -191162,7 +191225,7 @@ exports.default = def;
|
|
191162
191225
|
/***/ }),
|
191163
191226
|
|
191164
191227
|
/***/ 3734:
|
191165
|
-
/***/ (function(__unused_webpack_module, exports,
|
191228
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_817453__) {
|
191166
191229
|
|
191167
191230
|
"use strict";
|
191168
191231
|
|
@@ -191171,9 +191234,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191171
191234
|
};
|
191172
191235
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191173
191236
|
exports.readConfigFile = void 0;
|
191174
|
-
const js_yaml_1 = __importDefault(
|
191175
|
-
const toml_1 = __importDefault(
|
191176
|
-
const fs_1 =
|
191237
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_817453__(641));
|
191238
|
+
const toml_1 = __importDefault(__nested_webpack_require_817453__(9434));
|
191239
|
+
const fs_1 = __nested_webpack_require_817453__(5747);
|
191177
191240
|
const { readFile } = fs_1.promises;
|
191178
191241
|
async function readFileOrNull(file) {
|
191179
191242
|
try {
|
@@ -191222,13 +191285,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
191222
191285
|
/***/ }),
|
191223
191286
|
|
191224
191287
|
/***/ 641:
|
191225
|
-
/***/ ((module, __unused_webpack_exports,
|
191288
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_819059__) => {
|
191226
191289
|
|
191227
191290
|
"use strict";
|
191228
191291
|
|
191229
191292
|
|
191230
191293
|
|
191231
|
-
var yaml =
|
191294
|
+
var yaml = __nested_webpack_require_819059__(9633);
|
191232
191295
|
|
191233
191296
|
|
191234
191297
|
module.exports = yaml;
|
@@ -191237,14 +191300,14 @@ module.exports = yaml;
|
|
191237
191300
|
/***/ }),
|
191238
191301
|
|
191239
191302
|
/***/ 9633:
|
191240
|
-
/***/ ((module, __unused_webpack_exports,
|
191303
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_819233__) => {
|
191241
191304
|
|
191242
191305
|
"use strict";
|
191243
191306
|
|
191244
191307
|
|
191245
191308
|
|
191246
|
-
var loader =
|
191247
|
-
var dumper =
|
191309
|
+
var loader = __nested_webpack_require_819233__(4349);
|
191310
|
+
var dumper = __nested_webpack_require_819233__(8047);
|
191248
191311
|
|
191249
191312
|
|
191250
191313
|
function deprecated(name) {
|
@@ -191254,25 +191317,25 @@ function deprecated(name) {
|
|
191254
191317
|
}
|
191255
191318
|
|
191256
191319
|
|
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 =
|
191320
|
+
module.exports.Type = __nested_webpack_require_819233__(6876);
|
191321
|
+
module.exports.Schema = __nested_webpack_require_819233__(6105);
|
191322
|
+
module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_819233__(8441);
|
191323
|
+
module.exports.JSON_SCHEMA = __nested_webpack_require_819233__(1486);
|
191324
|
+
module.exports.CORE_SCHEMA = __nested_webpack_require_819233__(1112);
|
191325
|
+
module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_819233__(596);
|
191326
|
+
module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_819233__(9647);
|
191264
191327
|
module.exports.load = loader.load;
|
191265
191328
|
module.exports.loadAll = loader.loadAll;
|
191266
191329
|
module.exports.safeLoad = loader.safeLoad;
|
191267
191330
|
module.exports.safeLoadAll = loader.safeLoadAll;
|
191268
191331
|
module.exports.dump = dumper.dump;
|
191269
191332
|
module.exports.safeDump = dumper.safeDump;
|
191270
|
-
module.exports.YAMLException =
|
191333
|
+
module.exports.YAMLException = __nested_webpack_require_819233__(3237);
|
191271
191334
|
|
191272
191335
|
// Deprecated schema names from JS-YAML 2.0.x
|
191273
|
-
module.exports.MINIMAL_SCHEMA =
|
191274
|
-
module.exports.SAFE_SCHEMA =
|
191275
|
-
module.exports.DEFAULT_SCHEMA =
|
191336
|
+
module.exports.MINIMAL_SCHEMA = __nested_webpack_require_819233__(8441);
|
191337
|
+
module.exports.SAFE_SCHEMA = __nested_webpack_require_819233__(596);
|
191338
|
+
module.exports.DEFAULT_SCHEMA = __nested_webpack_require_819233__(9647);
|
191276
191339
|
|
191277
191340
|
// Deprecated functions from JS-YAML 1.x.x
|
191278
191341
|
module.exports.scan = deprecated('scan');
|
@@ -191351,17 +191414,17 @@ module.exports.extend = extend;
|
|
191351
191414
|
/***/ }),
|
191352
191415
|
|
191353
191416
|
/***/ 8047:
|
191354
|
-
/***/ ((module, __unused_webpack_exports,
|
191417
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_822051__) => {
|
191355
191418
|
|
191356
191419
|
"use strict";
|
191357
191420
|
|
191358
191421
|
|
191359
191422
|
/*eslint-disable no-use-before-define*/
|
191360
191423
|
|
191361
|
-
var common =
|
191362
|
-
var YAMLException =
|
191363
|
-
var DEFAULT_FULL_SCHEMA =
|
191364
|
-
var DEFAULT_SAFE_SCHEMA =
|
191424
|
+
var common = __nested_webpack_require_822051__(903);
|
191425
|
+
var YAMLException = __nested_webpack_require_822051__(3237);
|
191426
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_822051__(9647);
|
191427
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_822051__(596);
|
191365
191428
|
|
191366
191429
|
var _toString = Object.prototype.toString;
|
191367
191430
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -192237,18 +192300,18 @@ module.exports = YAMLException;
|
|
192237
192300
|
/***/ }),
|
192238
192301
|
|
192239
192302
|
/***/ 4349:
|
192240
|
-
/***/ ((module, __unused_webpack_exports,
|
192303
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_849755__) => {
|
192241
192304
|
|
192242
192305
|
"use strict";
|
192243
192306
|
|
192244
192307
|
|
192245
192308
|
/*eslint-disable max-len,no-use-before-define*/
|
192246
192309
|
|
192247
|
-
var common =
|
192248
|
-
var YAMLException =
|
192249
|
-
var Mark =
|
192250
|
-
var DEFAULT_SAFE_SCHEMA =
|
192251
|
-
var DEFAULT_FULL_SCHEMA =
|
192310
|
+
var common = __nested_webpack_require_849755__(903);
|
192311
|
+
var YAMLException = __nested_webpack_require_849755__(3237);
|
192312
|
+
var Mark = __nested_webpack_require_849755__(4926);
|
192313
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_849755__(596);
|
192314
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_849755__(9647);
|
192252
192315
|
|
192253
192316
|
|
192254
192317
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -193870,13 +193933,13 @@ module.exports.safeLoad = safeLoad;
|
|
193870
193933
|
/***/ }),
|
193871
193934
|
|
193872
193935
|
/***/ 4926:
|
193873
|
-
/***/ ((module, __unused_webpack_exports,
|
193936
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_893622__) => {
|
193874
193937
|
|
193875
193938
|
"use strict";
|
193876
193939
|
|
193877
193940
|
|
193878
193941
|
|
193879
|
-
var common =
|
193942
|
+
var common = __nested_webpack_require_893622__(903);
|
193880
193943
|
|
193881
193944
|
|
193882
193945
|
function Mark(name, buffer, position, line, column) {
|
@@ -193954,16 +194017,16 @@ module.exports = Mark;
|
|
193954
194017
|
/***/ }),
|
193955
194018
|
|
193956
194019
|
/***/ 6105:
|
193957
|
-
/***/ ((module, __unused_webpack_exports,
|
194020
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_895284__) => {
|
193958
194021
|
|
193959
194022
|
"use strict";
|
193960
194023
|
|
193961
194024
|
|
193962
194025
|
/*eslint-disable max-len*/
|
193963
194026
|
|
193964
|
-
var common =
|
193965
|
-
var YAMLException =
|
193966
|
-
var Type =
|
194027
|
+
var common = __nested_webpack_require_895284__(903);
|
194028
|
+
var YAMLException = __nested_webpack_require_895284__(3237);
|
194029
|
+
var Type = __nested_webpack_require_895284__(6876);
|
193967
194030
|
|
193968
194031
|
|
193969
194032
|
function compileList(schema, name, result) {
|
@@ -194070,7 +194133,7 @@ module.exports = Schema;
|
|
194070
194133
|
/***/ }),
|
194071
194134
|
|
194072
194135
|
/***/ 1112:
|
194073
|
-
/***/ ((module, __unused_webpack_exports,
|
194136
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898148__) => {
|
194074
194137
|
|
194075
194138
|
"use strict";
|
194076
194139
|
// Standard YAML's Core schema.
|
@@ -194083,12 +194146,12 @@ module.exports = Schema;
|
|
194083
194146
|
|
194084
194147
|
|
194085
194148
|
|
194086
|
-
var Schema =
|
194149
|
+
var Schema = __nested_webpack_require_898148__(6105);
|
194087
194150
|
|
194088
194151
|
|
194089
194152
|
module.exports = new Schema({
|
194090
194153
|
include: [
|
194091
|
-
|
194154
|
+
__nested_webpack_require_898148__(1486)
|
194092
194155
|
]
|
194093
194156
|
});
|
194094
194157
|
|
@@ -194096,7 +194159,7 @@ module.exports = new Schema({
|
|
194096
194159
|
/***/ }),
|
194097
194160
|
|
194098
194161
|
/***/ 9647:
|
194099
|
-
/***/ ((module, __unused_webpack_exports,
|
194162
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898618__) => {
|
194100
194163
|
|
194101
194164
|
"use strict";
|
194102
194165
|
// JS-YAML's default schema for `load` function.
|
@@ -194111,17 +194174,17 @@ module.exports = new Schema({
|
|
194111
194174
|
|
194112
194175
|
|
194113
194176
|
|
194114
|
-
var Schema =
|
194177
|
+
var Schema = __nested_webpack_require_898618__(6105);
|
194115
194178
|
|
194116
194179
|
|
194117
194180
|
module.exports = Schema.DEFAULT = new Schema({
|
194118
194181
|
include: [
|
194119
|
-
|
194182
|
+
__nested_webpack_require_898618__(596)
|
194120
194183
|
],
|
194121
194184
|
explicit: [
|
194122
|
-
|
194123
|
-
|
194124
|
-
|
194185
|
+
__nested_webpack_require_898618__(5836),
|
194186
|
+
__nested_webpack_require_898618__(6841),
|
194187
|
+
__nested_webpack_require_898618__(8750)
|
194125
194188
|
]
|
194126
194189
|
});
|
194127
194190
|
|
@@ -194129,7 +194192,7 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
194129
194192
|
/***/ }),
|
194130
194193
|
|
194131
194194
|
/***/ 596:
|
194132
|
-
/***/ ((module, __unused_webpack_exports,
|
194195
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_899312__) => {
|
194133
194196
|
|
194134
194197
|
"use strict";
|
194135
194198
|
// JS-YAML's default schema for `safeLoad` function.
|
@@ -194142,22 +194205,22 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
194142
194205
|
|
194143
194206
|
|
194144
194207
|
|
194145
|
-
var Schema =
|
194208
|
+
var Schema = __nested_webpack_require_899312__(6105);
|
194146
194209
|
|
194147
194210
|
|
194148
194211
|
module.exports = new Schema({
|
194149
194212
|
include: [
|
194150
|
-
|
194213
|
+
__nested_webpack_require_899312__(1112)
|
194151
194214
|
],
|
194152
194215
|
implicit: [
|
194153
|
-
|
194154
|
-
|
194216
|
+
__nested_webpack_require_899312__(7028),
|
194217
|
+
__nested_webpack_require_899312__(7841)
|
194155
194218
|
],
|
194156
194219
|
explicit: [
|
194157
|
-
|
194158
|
-
|
194159
|
-
|
194160
|
-
|
194220
|
+
__nested_webpack_require_899312__(8675),
|
194221
|
+
__nested_webpack_require_899312__(3498),
|
194222
|
+
__nested_webpack_require_899312__(679),
|
194223
|
+
__nested_webpack_require_899312__(7205)
|
194161
194224
|
]
|
194162
194225
|
});
|
194163
194226
|
|
@@ -194165,7 +194228,7 @@ module.exports = new Schema({
|
|
194165
194228
|
/***/ }),
|
194166
194229
|
|
194167
194230
|
/***/ 8441:
|
194168
|
-
/***/ ((module, __unused_webpack_exports,
|
194231
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_900024__) => {
|
194169
194232
|
|
194170
194233
|
"use strict";
|
194171
194234
|
// Standard YAML's Failsafe schema.
|
@@ -194175,14 +194238,14 @@ module.exports = new Schema({
|
|
194175
194238
|
|
194176
194239
|
|
194177
194240
|
|
194178
|
-
var Schema =
|
194241
|
+
var Schema = __nested_webpack_require_900024__(6105);
|
194179
194242
|
|
194180
194243
|
|
194181
194244
|
module.exports = new Schema({
|
194182
194245
|
explicit: [
|
194183
|
-
|
194184
|
-
|
194185
|
-
|
194246
|
+
__nested_webpack_require_900024__(5348),
|
194247
|
+
__nested_webpack_require_900024__(7330),
|
194248
|
+
__nested_webpack_require_900024__(293)
|
194186
194249
|
]
|
194187
194250
|
});
|
194188
194251
|
|
@@ -194190,7 +194253,7 @@ module.exports = new Schema({
|
|
194190
194253
|
/***/ }),
|
194191
194254
|
|
194192
194255
|
/***/ 1486:
|
194193
|
-
/***/ ((module, __unused_webpack_exports,
|
194256
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_900410__) => {
|
194194
194257
|
|
194195
194258
|
"use strict";
|
194196
194259
|
// Standard YAML's JSON schema.
|
@@ -194204,18 +194267,18 @@ module.exports = new Schema({
|
|
194204
194267
|
|
194205
194268
|
|
194206
194269
|
|
194207
|
-
var Schema =
|
194270
|
+
var Schema = __nested_webpack_require_900410__(6105);
|
194208
194271
|
|
194209
194272
|
|
194210
194273
|
module.exports = new Schema({
|
194211
194274
|
include: [
|
194212
|
-
|
194275
|
+
__nested_webpack_require_900410__(8441)
|
194213
194276
|
],
|
194214
194277
|
implicit: [
|
194215
|
-
|
194216
|
-
|
194217
|
-
|
194218
|
-
|
194278
|
+
__nested_webpack_require_900410__(9074),
|
194279
|
+
__nested_webpack_require_900410__(4308),
|
194280
|
+
__nested_webpack_require_900410__(1167),
|
194281
|
+
__nested_webpack_require_900410__(7862)
|
194219
194282
|
]
|
194220
194283
|
});
|
194221
194284
|
|
@@ -194223,12 +194286,12 @@ module.exports = new Schema({
|
|
194223
194286
|
/***/ }),
|
194224
194287
|
|
194225
194288
|
/***/ 6876:
|
194226
|
-
/***/ ((module, __unused_webpack_exports,
|
194289
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_901108__) => {
|
194227
194290
|
|
194228
194291
|
"use strict";
|
194229
194292
|
|
194230
194293
|
|
194231
|
-
var YAMLException =
|
194294
|
+
var YAMLException = __nested_webpack_require_901108__(3237);
|
194232
194295
|
|
194233
194296
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
194234
194297
|
'kind',
|
@@ -194292,7 +194355,7 @@ module.exports = Type;
|
|
194292
194355
|
/***/ }),
|
194293
194356
|
|
194294
194357
|
/***/ 8675:
|
194295
|
-
/***/ ((module, __unused_webpack_exports,
|
194358
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902792__) => {
|
194296
194359
|
|
194297
194360
|
"use strict";
|
194298
194361
|
|
@@ -194307,7 +194370,7 @@ try {
|
|
194307
194370
|
NodeBuffer = _require('buffer').Buffer;
|
194308
194371
|
} catch (__) {}
|
194309
194372
|
|
194310
|
-
var Type =
|
194373
|
+
var Type = __nested_webpack_require_902792__(6876);
|
194311
194374
|
|
194312
194375
|
|
194313
194376
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
@@ -194438,12 +194501,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
194438
194501
|
/***/ }),
|
194439
194502
|
|
194440
194503
|
/***/ 4308:
|
194441
|
-
/***/ ((module, __unused_webpack_exports,
|
194504
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_906184__) => {
|
194442
194505
|
|
194443
194506
|
"use strict";
|
194444
194507
|
|
194445
194508
|
|
194446
|
-
var Type =
|
194509
|
+
var Type = __nested_webpack_require_906184__(6876);
|
194447
194510
|
|
194448
194511
|
function resolveYamlBoolean(data) {
|
194449
194512
|
if (data === null) return false;
|
@@ -194481,13 +194544,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
194481
194544
|
/***/ }),
|
194482
194545
|
|
194483
194546
|
/***/ 7862:
|
194484
|
-
/***/ ((module, __unused_webpack_exports,
|
194547
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_907257__) => {
|
194485
194548
|
|
194486
194549
|
"use strict";
|
194487
194550
|
|
194488
194551
|
|
194489
|
-
var common =
|
194490
|
-
var Type =
|
194552
|
+
var common = __nested_webpack_require_907257__(903);
|
194553
|
+
var Type = __nested_webpack_require_907257__(6876);
|
194491
194554
|
|
194492
194555
|
var YAML_FLOAT_PATTERN = new RegExp(
|
194493
194556
|
// 2.5e4, 2.5 and integers
|
@@ -194605,13 +194668,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
194605
194668
|
/***/ }),
|
194606
194669
|
|
194607
194670
|
/***/ 1167:
|
194608
|
-
/***/ ((module, __unused_webpack_exports,
|
194671
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_910203__) => {
|
194609
194672
|
|
194610
194673
|
"use strict";
|
194611
194674
|
|
194612
194675
|
|
194613
|
-
var common =
|
194614
|
-
var Type =
|
194676
|
+
var common = __nested_webpack_require_910203__(903);
|
194677
|
+
var Type = __nested_webpack_require_910203__(6876);
|
194615
194678
|
|
194616
194679
|
function isHexCode(c) {
|
194617
194680
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
@@ -194786,7 +194849,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
194786
194849
|
/***/ }),
|
194787
194850
|
|
194788
194851
|
/***/ 8750:
|
194789
|
-
/***/ ((module, __unused_webpack_exports,
|
194852
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_914375__) => {
|
194790
194853
|
|
194791
194854
|
"use strict";
|
194792
194855
|
|
@@ -194809,7 +194872,7 @@ try {
|
|
194809
194872
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
194810
194873
|
}
|
194811
194874
|
|
194812
|
-
var Type =
|
194875
|
+
var Type = __nested_webpack_require_914375__(6876);
|
194813
194876
|
|
194814
194877
|
function resolveJavascriptFunction(data) {
|
194815
194878
|
if (data === null) return false;
|
@@ -194886,12 +194949,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
194886
194949
|
/***/ }),
|
194887
194950
|
|
194888
194951
|
/***/ 6841:
|
194889
|
-
/***/ ((module, __unused_webpack_exports,
|
194952
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_917272__) => {
|
194890
194953
|
|
194891
194954
|
"use strict";
|
194892
194955
|
|
194893
194956
|
|
194894
|
-
var Type =
|
194957
|
+
var Type = __nested_webpack_require_917272__(6876);
|
194895
194958
|
|
194896
194959
|
function resolveJavascriptRegExp(data) {
|
194897
194960
|
if (data === null) return false;
|
@@ -194954,12 +195017,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
194954
195017
|
/***/ }),
|
194955
195018
|
|
194956
195019
|
/***/ 5836:
|
194957
|
-
/***/ ((module, __unused_webpack_exports,
|
195020
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_918943__) => {
|
194958
195021
|
|
194959
195022
|
"use strict";
|
194960
195023
|
|
194961
195024
|
|
194962
|
-
var Type =
|
195025
|
+
var Type = __nested_webpack_require_918943__(6876);
|
194963
195026
|
|
194964
195027
|
function resolveJavascriptUndefined() {
|
194965
195028
|
return true;
|
@@ -194990,12 +195053,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
194990
195053
|
/***/ }),
|
194991
195054
|
|
194992
195055
|
/***/ 293:
|
194993
|
-
/***/ ((module, __unused_webpack_exports,
|
195056
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_919614__) => {
|
194994
195057
|
|
194995
195058
|
"use strict";
|
194996
195059
|
|
194997
195060
|
|
194998
|
-
var Type =
|
195061
|
+
var Type = __nested_webpack_require_919614__(6876);
|
194999
195062
|
|
195000
195063
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
195001
195064
|
kind: 'mapping',
|
@@ -195006,12 +195069,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
|
|
195006
195069
|
/***/ }),
|
195007
195070
|
|
195008
195071
|
/***/ 7841:
|
195009
|
-
/***/ ((module, __unused_webpack_exports,
|
195072
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_919906__) => {
|
195010
195073
|
|
195011
195074
|
"use strict";
|
195012
195075
|
|
195013
195076
|
|
195014
|
-
var Type =
|
195077
|
+
var Type = __nested_webpack_require_919906__(6876);
|
195015
195078
|
|
195016
195079
|
function resolveYamlMerge(data) {
|
195017
195080
|
return data === '<<' || data === null;
|
@@ -195026,12 +195089,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
195026
195089
|
/***/ }),
|
195027
195090
|
|
195028
195091
|
/***/ 9074:
|
195029
|
-
/***/ ((module, __unused_webpack_exports,
|
195092
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_920238__) => {
|
195030
195093
|
|
195031
195094
|
"use strict";
|
195032
195095
|
|
195033
195096
|
|
195034
|
-
var Type =
|
195097
|
+
var Type = __nested_webpack_require_920238__(6876);
|
195035
195098
|
|
195036
195099
|
function resolveYamlNull(data) {
|
195037
195100
|
if (data === null) return true;
|
@@ -195068,12 +195131,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
195068
195131
|
/***/ }),
|
195069
195132
|
|
195070
195133
|
/***/ 3498:
|
195071
|
-
/***/ ((module, __unused_webpack_exports,
|
195134
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_921101__) => {
|
195072
195135
|
|
195073
195136
|
"use strict";
|
195074
195137
|
|
195075
195138
|
|
195076
|
-
var Type =
|
195139
|
+
var Type = __nested_webpack_require_921101__(6876);
|
195077
195140
|
|
195078
195141
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
195079
195142
|
var _toString = Object.prototype.toString;
|
@@ -195120,12 +195183,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
195120
195183
|
/***/ }),
|
195121
195184
|
|
195122
195185
|
/***/ 679:
|
195123
|
-
/***/ ((module, __unused_webpack_exports,
|
195186
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_922225__) => {
|
195124
195187
|
|
195125
195188
|
"use strict";
|
195126
195189
|
|
195127
195190
|
|
195128
|
-
var Type =
|
195191
|
+
var Type = __nested_webpack_require_922225__(6876);
|
195129
195192
|
|
195130
195193
|
var _toString = Object.prototype.toString;
|
195131
195194
|
|
@@ -195181,12 +195244,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
195181
195244
|
/***/ }),
|
195182
195245
|
|
195183
195246
|
/***/ 7330:
|
195184
|
-
/***/ ((module, __unused_webpack_exports,
|
195247
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_923411__) => {
|
195185
195248
|
|
195186
195249
|
"use strict";
|
195187
195250
|
|
195188
195251
|
|
195189
|
-
var Type =
|
195252
|
+
var Type = __nested_webpack_require_923411__(6876);
|
195190
195253
|
|
195191
195254
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
195192
195255
|
kind: 'sequence',
|
@@ -195197,12 +195260,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
195197
195260
|
/***/ }),
|
195198
195261
|
|
195199
195262
|
/***/ 7205:
|
195200
|
-
/***/ ((module, __unused_webpack_exports,
|
195263
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_923704__) => {
|
195201
195264
|
|
195202
195265
|
"use strict";
|
195203
195266
|
|
195204
195267
|
|
195205
|
-
var Type =
|
195268
|
+
var Type = __nested_webpack_require_923704__(6876);
|
195206
195269
|
|
195207
195270
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
195208
195271
|
|
@@ -195234,12 +195297,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
|
|
195234
195297
|
/***/ }),
|
195235
195298
|
|
195236
195299
|
/***/ 5348:
|
195237
|
-
/***/ ((module, __unused_webpack_exports,
|
195300
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_924353__) => {
|
195238
195301
|
|
195239
195302
|
"use strict";
|
195240
195303
|
|
195241
195304
|
|
195242
|
-
var Type =
|
195305
|
+
var Type = __nested_webpack_require_924353__(6876);
|
195243
195306
|
|
195244
195307
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
195245
195308
|
kind: 'scalar',
|
@@ -195250,12 +195313,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
|
|
195250
195313
|
/***/ }),
|
195251
195314
|
|
195252
195315
|
/***/ 7028:
|
195253
|
-
/***/ ((module, __unused_webpack_exports,
|
195316
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_924644__) => {
|
195254
195317
|
|
195255
195318
|
"use strict";
|
195256
195319
|
|
195257
195320
|
|
195258
|
-
var Type =
|
195321
|
+
var Type = __nested_webpack_require_924644__(6876);
|
195259
195322
|
|
195260
195323
|
var YAML_DATE_REGEXP = new RegExp(
|
195261
195324
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
@@ -195346,12 +195409,12 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
195346
195409
|
/***/ }),
|
195347
195410
|
|
195348
195411
|
/***/ 1868:
|
195349
|
-
/***/ ((__unused_webpack_module, exports,
|
195412
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_927317__) => {
|
195350
195413
|
|
195351
195414
|
"use strict";
|
195352
195415
|
|
195353
195416
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
195354
|
-
const get_platform_env_1 =
|
195417
|
+
const get_platform_env_1 = __nested_webpack_require_927317__(4678);
|
195355
195418
|
function debug(message, ...additional) {
|
195356
195419
|
if (get_platform_env_1.getPlatformEnv('BUILDER_DEBUG')) {
|
195357
195420
|
console.log(message, ...additional);
|
@@ -195363,7 +195426,7 @@ exports.default = debug;
|
|
195363
195426
|
/***/ }),
|
195364
195427
|
|
195365
195428
|
/***/ 4246:
|
195366
|
-
/***/ (function(__unused_webpack_module, exports,
|
195429
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_927734__) {
|
195367
195430
|
|
195368
195431
|
"use strict";
|
195369
195432
|
|
@@ -195372,11 +195435,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
195372
195435
|
};
|
195373
195436
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
195374
195437
|
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 =
|
195438
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_927734__(9566));
|
195439
|
+
const semver_1 = __nested_webpack_require_927734__(2879);
|
195440
|
+
const path_1 = __nested_webpack_require_927734__(5622);
|
195441
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_927734__(8438));
|
195442
|
+
const _1 = __nested_webpack_require_927734__(2855);
|
195380
195443
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
195381
195444
|
// We need to sort the file paths by alphabet to make
|
195382
195445
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -196205,7 +196268,7 @@ function sortFilesBySegmentCount(fileA, fileB) {
|
|
196205
196268
|
/***/ }),
|
196206
196269
|
|
196207
196270
|
/***/ 1182:
|
196208
|
-
/***/ (function(__unused_webpack_module, exports,
|
196271
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_959699__) {
|
196209
196272
|
|
196210
196273
|
"use strict";
|
196211
196274
|
|
@@ -196214,8 +196277,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196214
196277
|
};
|
196215
196278
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196216
196279
|
exports.detectFileSystemAPI = void 0;
|
196217
|
-
const semver_1 = __importDefault(
|
196218
|
-
const _1 =
|
196280
|
+
const semver_1 = __importDefault(__nested_webpack_require_959699__(2879));
|
196281
|
+
const _1 = __nested_webpack_require_959699__(2855);
|
196219
196282
|
const enableFileSystemApiFrameworks = new Set(['solidstart']);
|
196220
196283
|
/**
|
196221
196284
|
* If the Deployment can be built with the new File System API,
|
@@ -196641,7 +196704,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
196641
196704
|
/***/ }),
|
196642
196705
|
|
196643
196706
|
/***/ 2397:
|
196644
|
-
/***/ (function(__unused_webpack_module, exports,
|
196707
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_975360__) {
|
196645
196708
|
|
196646
196709
|
"use strict";
|
196647
196710
|
|
@@ -196649,8 +196712,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196649
196712
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196650
196713
|
};
|
196651
196714
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196652
|
-
const assert_1 = __importDefault(
|
196653
|
-
const into_stream_1 = __importDefault(
|
196715
|
+
const assert_1 = __importDefault(__nested_webpack_require_975360__(2357));
|
196716
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_975360__(6130));
|
196654
196717
|
class FileBlob {
|
196655
196718
|
constructor({ mode = 0o100644, contentType, data }) {
|
196656
196719
|
assert_1.default(typeof mode === 'number');
|
@@ -196685,7 +196748,7 @@ exports.default = FileBlob;
|
|
196685
196748
|
/***/ }),
|
196686
196749
|
|
196687
196750
|
/***/ 9331:
|
196688
|
-
/***/ (function(__unused_webpack_module, exports,
|
196751
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_976878__) {
|
196689
196752
|
|
196690
196753
|
"use strict";
|
196691
196754
|
|
@@ -196693,11 +196756,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196693
196756
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196694
196757
|
};
|
196695
196758
|
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(
|
196759
|
+
const assert_1 = __importDefault(__nested_webpack_require_976878__(2357));
|
196760
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_976878__(5392));
|
196761
|
+
const multistream_1 = __importDefault(__nested_webpack_require_976878__(8179));
|
196762
|
+
const path_1 = __importDefault(__nested_webpack_require_976878__(5622));
|
196763
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_976878__(5758));
|
196701
196764
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
196702
196765
|
class FileFsRef {
|
196703
196766
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -196763,7 +196826,7 @@ exports.default = FileFsRef;
|
|
196763
196826
|
/***/ }),
|
196764
196827
|
|
196765
196828
|
/***/ 5187:
|
196766
|
-
/***/ (function(__unused_webpack_module, exports,
|
196829
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979682__) {
|
196767
196830
|
|
196768
196831
|
"use strict";
|
196769
196832
|
|
@@ -196771,11 +196834,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196771
196834
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196772
196835
|
};
|
196773
196836
|
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(
|
196837
|
+
const assert_1 = __importDefault(__nested_webpack_require_979682__(2357));
|
196838
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_979682__(2197));
|
196839
|
+
const multistream_1 = __importDefault(__nested_webpack_require_979682__(8179));
|
196840
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_979682__(3691));
|
196841
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_979682__(5758));
|
196779
196842
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
196780
196843
|
class BailableError extends Error {
|
196781
196844
|
constructor(...args) {
|
@@ -196856,7 +196919,7 @@ exports.default = FileRef;
|
|
196856
196919
|
/***/ }),
|
196857
196920
|
|
196858
196921
|
/***/ 1611:
|
196859
|
-
/***/ (function(__unused_webpack_module, exports,
|
196922
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983083__) {
|
196860
196923
|
|
196861
196924
|
"use strict";
|
196862
196925
|
|
@@ -196865,11 +196928,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196865
196928
|
};
|
196866
196929
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196867
196930
|
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(
|
196931
|
+
const path_1 = __importDefault(__nested_webpack_require_983083__(5622));
|
196932
|
+
const debug_1 = __importDefault(__nested_webpack_require_983083__(1868));
|
196933
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_983083__(9331));
|
196934
|
+
const fs_extra_1 = __nested_webpack_require_983083__(5392);
|
196935
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_983083__(2560));
|
196873
196936
|
const S_IFMT = 61440; /* 0170000 type of file */
|
196874
196937
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
196875
196938
|
function isSymbolicLink(mode) {
|
@@ -196942,14 +197005,14 @@ exports.default = download;
|
|
196942
197005
|
/***/ }),
|
196943
197006
|
|
196944
197007
|
/***/ 3838:
|
196945
|
-
/***/ ((__unused_webpack_module, exports,
|
197008
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_986532__) => {
|
196946
197009
|
|
196947
197010
|
"use strict";
|
196948
197011
|
|
196949
197012
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196950
|
-
const path_1 =
|
196951
|
-
const os_1 =
|
196952
|
-
const fs_extra_1 =
|
197013
|
+
const path_1 = __nested_webpack_require_986532__(5622);
|
197014
|
+
const os_1 = __nested_webpack_require_986532__(2087);
|
197015
|
+
const fs_extra_1 = __nested_webpack_require_986532__(5392);
|
196953
197016
|
async function getWritableDirectory() {
|
196954
197017
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
196955
197018
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -196962,7 +197025,7 @@ exports.default = getWritableDirectory;
|
|
196962
197025
|
/***/ }),
|
196963
197026
|
|
196964
197027
|
/***/ 4240:
|
196965
|
-
/***/ (function(__unused_webpack_module, exports,
|
197028
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_987112__) {
|
196966
197029
|
|
196967
197030
|
"use strict";
|
196968
197031
|
|
@@ -196970,13 +197033,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196970
197033
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196971
197034
|
};
|
196972
197035
|
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(
|
197036
|
+
const path_1 = __importDefault(__nested_webpack_require_987112__(5622));
|
197037
|
+
const assert_1 = __importDefault(__nested_webpack_require_987112__(2357));
|
197038
|
+
const glob_1 = __importDefault(__nested_webpack_require_987112__(1104));
|
197039
|
+
const util_1 = __nested_webpack_require_987112__(1669);
|
197040
|
+
const fs_extra_1 = __nested_webpack_require_987112__(5392);
|
197041
|
+
const normalize_path_1 = __nested_webpack_require_987112__(6261);
|
197042
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_987112__(9331));
|
196980
197043
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
196981
197044
|
async function glob(pattern, opts, mountpoint) {
|
196982
197045
|
let options;
|
@@ -197022,7 +197085,7 @@ exports.default = glob;
|
|
197022
197085
|
/***/ }),
|
197023
197086
|
|
197024
197087
|
/***/ 7903:
|
197025
|
-
/***/ (function(__unused_webpack_module, exports,
|
197088
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_989308__) {
|
197026
197089
|
|
197027
197090
|
"use strict";
|
197028
197091
|
|
@@ -197031,9 +197094,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197031
197094
|
};
|
197032
197095
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197033
197096
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
197034
|
-
const semver_1 =
|
197035
|
-
const errors_1 =
|
197036
|
-
const debug_1 = __importDefault(
|
197097
|
+
const semver_1 = __nested_webpack_require_989308__(2879);
|
197098
|
+
const errors_1 = __nested_webpack_require_989308__(3983);
|
197099
|
+
const debug_1 = __importDefault(__nested_webpack_require_989308__(1868));
|
197037
197100
|
const allOptions = [
|
197038
197101
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
197039
197102
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -197127,7 +197190,7 @@ exports.normalizePath = normalizePath;
|
|
197127
197190
|
/***/ }),
|
197128
197191
|
|
197129
197192
|
/***/ 7792:
|
197130
|
-
/***/ (function(__unused_webpack_module, exports,
|
197193
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_993176__) {
|
197131
197194
|
|
197132
197195
|
"use strict";
|
197133
197196
|
|
@@ -197136,9 +197199,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197136
197199
|
};
|
197137
197200
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197138
197201
|
exports.readConfigFile = void 0;
|
197139
|
-
const js_yaml_1 = __importDefault(
|
197140
|
-
const toml_1 = __importDefault(
|
197141
|
-
const fs_extra_1 =
|
197202
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_993176__(6540));
|
197203
|
+
const toml_1 = __importDefault(__nested_webpack_require_993176__(9434));
|
197204
|
+
const fs_extra_1 = __nested_webpack_require_993176__(5392);
|
197142
197205
|
async function readFileOrNull(file) {
|
197143
197206
|
try {
|
197144
197207
|
const data = await fs_extra_1.readFile(file);
|
@@ -197193,7 +197256,7 @@ exports.default = rename;
|
|
197193
197256
|
/***/ }),
|
197194
197257
|
|
197195
197258
|
/***/ 1442:
|
197196
|
-
/***/ (function(__unused_webpack_module, exports,
|
197259
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_994969__) {
|
197197
197260
|
|
197198
197261
|
"use strict";
|
197199
197262
|
|
@@ -197202,16 +197265,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197202
197265
|
};
|
197203
197266
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197204
197267
|
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 =
|
197268
|
+
const assert_1 = __importDefault(__nested_webpack_require_994969__(2357));
|
197269
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_994969__(5392));
|
197270
|
+
const path_1 = __importDefault(__nested_webpack_require_994969__(5622));
|
197271
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_994969__(5758));
|
197272
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_994969__(7618));
|
197273
|
+
const util_1 = __nested_webpack_require_994969__(1669);
|
197274
|
+
const debug_1 = __importDefault(__nested_webpack_require_994969__(1868));
|
197275
|
+
const errors_1 = __nested_webpack_require_994969__(3983);
|
197276
|
+
const node_version_1 = __nested_webpack_require_994969__(7903);
|
197277
|
+
const read_config_file_1 = __nested_webpack_require_994969__(7792);
|
197215
197278
|
// Only allow one `runNpmInstall()` invocation to run concurrently
|
197216
197279
|
const runNpmInstallSema = new async_sema_1.default(1);
|
197217
197280
|
function spawnAsync(command, args, opts = {}) {
|
@@ -197510,6 +197573,15 @@ function getEnvForPackageManager({ cliType, lockfileVersion, nodeVersion, env, }
|
|
197510
197573
|
console.log('Detected `package-lock.json` generated by npm 7...');
|
197511
197574
|
}
|
197512
197575
|
}
|
197576
|
+
else if (cliType === 'pnpm') {
|
197577
|
+
if (typeof lockfileVersion === 'number' &&
|
197578
|
+
lockfileVersion === 5.4 &&
|
197579
|
+
((nodeVersion === null || nodeVersion === void 0 ? void 0 : nodeVersion.major) || 0) > 12) {
|
197580
|
+
// Ensure that pnpm 7 is at the beginning of the `$PATH`
|
197581
|
+
newEnv.PATH = `/pnpm7/pnpm:${env.PATH}`;
|
197582
|
+
console.log('Detected `pnpm-lock.yaml` generated by pnpm 7...');
|
197583
|
+
}
|
197584
|
+
}
|
197513
197585
|
else {
|
197514
197586
|
// Yarn v2 PnP mode may be activated, so force "node-modules" linker style
|
197515
197587
|
if (!env.YARN_NODE_LINKER) {
|
@@ -197613,7 +197685,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
197613
197685
|
/***/ }),
|
197614
197686
|
|
197615
197687
|
/***/ 2560:
|
197616
|
-
/***/ (function(__unused_webpack_module, exports,
|
197688
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1013019__) {
|
197617
197689
|
|
197618
197690
|
"use strict";
|
197619
197691
|
|
@@ -197621,7 +197693,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197621
197693
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197622
197694
|
};
|
197623
197695
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197624
|
-
const end_of_stream_1 = __importDefault(
|
197696
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_1013019__(687));
|
197625
197697
|
function streamToBuffer(stream) {
|
197626
197698
|
return new Promise((resolve, reject) => {
|
197627
197699
|
const buffers = [];
|
@@ -197650,7 +197722,7 @@ exports.default = streamToBuffer;
|
|
197650
197722
|
/***/ }),
|
197651
197723
|
|
197652
197724
|
/***/ 1148:
|
197653
|
-
/***/ (function(__unused_webpack_module, exports,
|
197725
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1014087__) {
|
197654
197726
|
|
197655
197727
|
"use strict";
|
197656
197728
|
|
@@ -197658,9 +197730,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197658
197730
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197659
197731
|
};
|
197660
197732
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197661
|
-
const path_1 = __importDefault(
|
197662
|
-
const fs_extra_1 = __importDefault(
|
197663
|
-
const ignore_1 = __importDefault(
|
197733
|
+
const path_1 = __importDefault(__nested_webpack_require_1014087__(5622));
|
197734
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_1014087__(5392));
|
197735
|
+
const ignore_1 = __importDefault(__nested_webpack_require_1014087__(3556));
|
197664
197736
|
function isCodedError(error) {
|
197665
197737
|
return (error !== null &&
|
197666
197738
|
error !== undefined &&
|
@@ -197717,13 +197789,13 @@ exports.default = default_1;
|
|
197717
197789
|
/***/ }),
|
197718
197790
|
|
197719
197791
|
/***/ 4678:
|
197720
|
-
/***/ ((__unused_webpack_module, exports,
|
197792
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1016461__) => {
|
197721
197793
|
|
197722
197794
|
"use strict";
|
197723
197795
|
|
197724
197796
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197725
197797
|
exports.getPlatformEnv = void 0;
|
197726
|
-
const errors_1 =
|
197798
|
+
const errors_1 = __nested_webpack_require_1016461__(3983);
|
197727
197799
|
/**
|
197728
197800
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
197729
197801
|
* Throws an error if *both* env vars are defined.
|
@@ -197751,7 +197823,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
197751
197823
|
/***/ }),
|
197752
197824
|
|
197753
197825
|
/***/ 2855:
|
197754
|
-
/***/ (function(__unused_webpack_module, exports,
|
197826
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1017498__) {
|
197755
197827
|
|
197756
197828
|
"use strict";
|
197757
197829
|
|
@@ -197781,31 +197853,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197781
197853
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197782
197854
|
};
|
197783
197855
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197784
|
-
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.
|
197785
|
-
const file_blob_1 = __importDefault(
|
197856
|
+
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;
|
197857
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_1017498__(2397));
|
197786
197858
|
exports.FileBlob = file_blob_1.default;
|
197787
|
-
const file_fs_ref_1 = __importDefault(
|
197859
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_1017498__(9331));
|
197788
197860
|
exports.FileFsRef = file_fs_ref_1.default;
|
197789
|
-
const file_ref_1 = __importDefault(
|
197861
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_1017498__(5187));
|
197790
197862
|
exports.FileRef = file_ref_1.default;
|
197791
|
-
const lambda_1 =
|
197863
|
+
const lambda_1 = __nested_webpack_require_1017498__(6721);
|
197792
197864
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
197793
197865
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
197794
197866
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
197795
|
-
const nodejs_lambda_1 =
|
197867
|
+
const nodejs_lambda_1 = __nested_webpack_require_1017498__(7049);
|
197796
197868
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
197797
|
-
const prerender_1 =
|
197869
|
+
const prerender_1 = __nested_webpack_require_1017498__(2850);
|
197798
197870
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
197799
|
-
const download_1 = __importStar(
|
197871
|
+
const download_1 = __importStar(__nested_webpack_require_1017498__(1611));
|
197800
197872
|
exports.download = download_1.default;
|
197801
197873
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
197802
|
-
const get_writable_directory_1 = __importDefault(
|
197874
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_1017498__(3838));
|
197803
197875
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
197804
|
-
const glob_1 = __importDefault(
|
197876
|
+
const glob_1 = __importDefault(__nested_webpack_require_1017498__(4240));
|
197805
197877
|
exports.glob = glob_1.default;
|
197806
|
-
const rename_1 = __importDefault(
|
197878
|
+
const rename_1 = __importDefault(__nested_webpack_require_1017498__(6718));
|
197807
197879
|
exports.rename = rename_1.default;
|
197808
|
-
const run_user_scripts_1 =
|
197880
|
+
const run_user_scripts_1 = __nested_webpack_require_1017498__(1442);
|
197809
197881
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
197810
197882
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
197811
197883
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -197824,39 +197896,38 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
197824
197896
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
197825
197897
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
197826
197898
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
197827
|
-
const node_version_1 =
|
197899
|
+
const node_version_1 = __nested_webpack_require_1017498__(7903);
|
197828
197900
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
197829
197901
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
197830
|
-
const stream_to_buffer_1 = __importDefault(
|
197902
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1017498__(2560));
|
197831
197903
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
197832
|
-
const
|
197833
|
-
exports.shouldServe = should_serve_1.default;
|
197834
|
-
const debug_1 = __importDefault(__nested_webpack_require_1014942__(1868));
|
197904
|
+
const debug_1 = __importDefault(__nested_webpack_require_1017498__(1868));
|
197835
197905
|
exports.debug = debug_1.default;
|
197836
|
-
const get_ignore_filter_1 = __importDefault(
|
197906
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1017498__(1148));
|
197837
197907
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
197838
|
-
const get_platform_env_1 =
|
197908
|
+
const get_platform_env_1 = __nested_webpack_require_1017498__(4678);
|
197839
197909
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
197840
|
-
var edge_function_1 =
|
197910
|
+
var edge_function_1 = __nested_webpack_require_1017498__(8038);
|
197841
197911
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
197842
|
-
var detect_builders_1 =
|
197912
|
+
var detect_builders_1 = __nested_webpack_require_1017498__(4246);
|
197843
197913
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
197844
197914
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
197845
197915
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
197846
197916
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
197847
|
-
var detect_file_system_api_1 =
|
197917
|
+
var detect_file_system_api_1 = __nested_webpack_require_1017498__(1182);
|
197848
197918
|
Object.defineProperty(exports, "detectFileSystemAPI", ({ enumerable: true, get: function () { return detect_file_system_api_1.detectFileSystemAPI; } }));
|
197849
|
-
var detect_framework_1 =
|
197919
|
+
var detect_framework_1 = __nested_webpack_require_1017498__(5224);
|
197850
197920
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
197851
|
-
var filesystem_1 =
|
197921
|
+
var filesystem_1 = __nested_webpack_require_1017498__(461);
|
197852
197922
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
197853
|
-
var read_config_file_1 =
|
197923
|
+
var read_config_file_1 = __nested_webpack_require_1017498__(7792);
|
197854
197924
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
197855
|
-
var normalize_path_1 =
|
197925
|
+
var normalize_path_1 = __nested_webpack_require_1017498__(6261);
|
197856
197926
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
197857
|
-
__exportStar(
|
197858
|
-
__exportStar(
|
197859
|
-
__exportStar(
|
197927
|
+
__exportStar(__nested_webpack_require_1017498__(2564), exports);
|
197928
|
+
__exportStar(__nested_webpack_require_1017498__(2416), exports);
|
197929
|
+
__exportStar(__nested_webpack_require_1017498__(5748), exports);
|
197930
|
+
__exportStar(__nested_webpack_require_1017498__(3983), exports);
|
197860
197931
|
/**
|
197861
197932
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
197862
197933
|
*/
|
@@ -197874,12 +197945,14 @@ const isStaticRuntime = (name) => {
|
|
197874
197945
|
return exports.isOfficialRuntime('static', name);
|
197875
197946
|
};
|
197876
197947
|
exports.isStaticRuntime = isStaticRuntime;
|
197948
|
+
var workspace_managers_1 = __nested_webpack_require_1017498__(4896);
|
197949
|
+
Object.defineProperty(exports, "workspaceManagers", ({ enumerable: true, get: function () { return workspace_managers_1.workspaceManagers; } }));
|
197877
197950
|
|
197878
197951
|
|
197879
197952
|
/***/ }),
|
197880
197953
|
|
197881
197954
|
/***/ 6721:
|
197882
|
-
/***/ (function(__unused_webpack_module, exports,
|
197955
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1028012__) {
|
197883
197956
|
|
197884
197957
|
"use strict";
|
197885
197958
|
|
@@ -197888,13 +197961,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197888
197961
|
};
|
197889
197962
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197890
197963
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
197891
|
-
const assert_1 = __importDefault(
|
197892
|
-
const async_sema_1 = __importDefault(
|
197893
|
-
const yazl_1 =
|
197894
|
-
const minimatch_1 = __importDefault(
|
197895
|
-
const fs_extra_1 =
|
197896
|
-
const download_1 =
|
197897
|
-
const stream_to_buffer_1 = __importDefault(
|
197964
|
+
const assert_1 = __importDefault(__nested_webpack_require_1028012__(2357));
|
197965
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_1028012__(5758));
|
197966
|
+
const yazl_1 = __nested_webpack_require_1028012__(1223);
|
197967
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_1028012__(9566));
|
197968
|
+
const fs_extra_1 = __nested_webpack_require_1028012__(5392);
|
197969
|
+
const download_1 = __nested_webpack_require_1028012__(1611);
|
197970
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1028012__(2560));
|
197898
197971
|
class Lambda {
|
197899
197972
|
constructor(opts) {
|
197900
197973
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, } = opts;
|
@@ -198016,13 +198089,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
198016
198089
|
/***/ }),
|
198017
198090
|
|
198018
198091
|
/***/ 7049:
|
198019
|
-
/***/ ((__unused_webpack_module, exports,
|
198092
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1033516__) => {
|
198020
198093
|
|
198021
198094
|
"use strict";
|
198022
198095
|
|
198023
198096
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198024
198097
|
exports.NodejsLambda = void 0;
|
198025
|
-
const lambda_1 =
|
198098
|
+
const lambda_1 = __nested_webpack_require_1033516__(6721);
|
198026
198099
|
class NodejsLambda extends lambda_1.Lambda {
|
198027
198100
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
198028
198101
|
super(opts);
|
@@ -198159,13 +198232,14 @@ exports.buildsSchema = {
|
|
198159
198232
|
/***/ }),
|
198160
198233
|
|
198161
198234
|
/***/ 2564:
|
198162
|
-
/***/ ((__unused_webpack_module, exports,
|
198235
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1037861__) => {
|
198163
198236
|
|
198164
198237
|
"use strict";
|
198165
198238
|
|
198166
198239
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198167
|
-
|
198168
|
-
|
198240
|
+
exports.shouldServe = void 0;
|
198241
|
+
const path_1 = __nested_webpack_require_1037861__(5622);
|
198242
|
+
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
198169
198243
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
198170
198244
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
198171
198245
|
if (entrypoint === requestPath && hasProp(files, entrypoint)) {
|
@@ -198176,8 +198250,8 @@ function shouldServe({ entrypoint, files, requestPath, }) {
|
|
198176
198250
|
return true;
|
198177
198251
|
}
|
198178
198252
|
return false;
|
198179
|
-
}
|
198180
|
-
exports.
|
198253
|
+
};
|
198254
|
+
exports.shouldServe = shouldServe;
|
198181
198255
|
function hasProp(obj, key) {
|
198182
198256
|
return Object.hasOwnProperty.call(obj, key);
|
198183
198257
|
}
|
@@ -198193,6 +198267,141 @@ function hasProp(obj, key) {
|
|
198193
198267
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198194
198268
|
|
198195
198269
|
|
198270
|
+
/***/ }),
|
198271
|
+
|
198272
|
+
/***/ 4896:
|
198273
|
+
/***/ ((__unused_webpack_module, exports) => {
|
198274
|
+
|
198275
|
+
"use strict";
|
198276
|
+
|
198277
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198278
|
+
exports.workspaceManagers = void 0;
|
198279
|
+
/**
|
198280
|
+
* The supported list of workspace managers.
|
198281
|
+
*
|
198282
|
+
* This list is designed to work with the @see {@link detectFramework} function.
|
198283
|
+
*
|
198284
|
+
* @example
|
198285
|
+
* import { workspaceManagers as frameworkList } from '@vercel/build-utils/workspaces'
|
198286
|
+
* import { detectFramework } from '@vercel/build-utils'
|
198287
|
+
*
|
198288
|
+
* const fs = new GitDetectorFilesystem(...)
|
198289
|
+
* detectFramwork({ fs, frameworkList }) // returns the 'slug' field if detected, otherwise null
|
198290
|
+
*
|
198291
|
+
* @todo Will be used by the detect-eligible-projects API endpoint for a given git url.
|
198292
|
+
*/
|
198293
|
+
exports.workspaceManagers = [
|
198294
|
+
{
|
198295
|
+
name: 'Yarn',
|
198296
|
+
slug: 'yarn',
|
198297
|
+
detectors: {
|
198298
|
+
every: [
|
198299
|
+
{
|
198300
|
+
path: 'package.json',
|
198301
|
+
matchContent: '"workspaces":\\s*(?:\\[[^\\]]*]|{[^}]*"packages":[^}]*})',
|
198302
|
+
},
|
198303
|
+
{
|
198304
|
+
path: 'yarn.lock',
|
198305
|
+
},
|
198306
|
+
],
|
198307
|
+
},
|
198308
|
+
// unused props - needed for typescript
|
198309
|
+
description: '',
|
198310
|
+
logo: '',
|
198311
|
+
settings: {
|
198312
|
+
buildCommand: {
|
198313
|
+
value: '',
|
198314
|
+
placeholder: '',
|
198315
|
+
},
|
198316
|
+
devCommand: {
|
198317
|
+
value: '',
|
198318
|
+
placeholder: '',
|
198319
|
+
},
|
198320
|
+
installCommand: {
|
198321
|
+
value: '',
|
198322
|
+
placeholder: '',
|
198323
|
+
},
|
198324
|
+
outputDirectory: {
|
198325
|
+
value: '',
|
198326
|
+
placeholder: '',
|
198327
|
+
},
|
198328
|
+
},
|
198329
|
+
getOutputDirName: () => Promise.resolve(''),
|
198330
|
+
},
|
198331
|
+
{
|
198332
|
+
name: 'pnpm',
|
198333
|
+
slug: 'pnpm',
|
198334
|
+
detectors: {
|
198335
|
+
every: [
|
198336
|
+
{
|
198337
|
+
path: 'pnpm-workspace.yaml',
|
198338
|
+
},
|
198339
|
+
],
|
198340
|
+
},
|
198341
|
+
// unused props - needed for typescript
|
198342
|
+
description: '',
|
198343
|
+
logo: '',
|
198344
|
+
settings: {
|
198345
|
+
buildCommand: {
|
198346
|
+
value: '',
|
198347
|
+
placeholder: '',
|
198348
|
+
},
|
198349
|
+
devCommand: {
|
198350
|
+
value: '',
|
198351
|
+
placeholder: '',
|
198352
|
+
},
|
198353
|
+
installCommand: {
|
198354
|
+
value: '',
|
198355
|
+
placeholder: '',
|
198356
|
+
},
|
198357
|
+
outputDirectory: {
|
198358
|
+
value: '',
|
198359
|
+
placeholder: '',
|
198360
|
+
},
|
198361
|
+
},
|
198362
|
+
getOutputDirName: () => Promise.resolve(''),
|
198363
|
+
},
|
198364
|
+
{
|
198365
|
+
name: 'npm',
|
198366
|
+
slug: 'npm',
|
198367
|
+
detectors: {
|
198368
|
+
every: [
|
198369
|
+
{
|
198370
|
+
path: 'package.json',
|
198371
|
+
matchContent: '"workspaces":\\s*(?:\\[[^\\]]*]|{[^}]*"packages":[^}]*})',
|
198372
|
+
},
|
198373
|
+
{
|
198374
|
+
path: 'package-lock.json',
|
198375
|
+
},
|
198376
|
+
],
|
198377
|
+
},
|
198378
|
+
// unused props - needed for typescript
|
198379
|
+
description: '',
|
198380
|
+
logo: '',
|
198381
|
+
settings: {
|
198382
|
+
buildCommand: {
|
198383
|
+
value: '',
|
198384
|
+
placeholder: '',
|
198385
|
+
},
|
198386
|
+
devCommand: {
|
198387
|
+
value: '',
|
198388
|
+
placeholder: '',
|
198389
|
+
},
|
198390
|
+
installCommand: {
|
198391
|
+
value: '',
|
198392
|
+
placeholder: '',
|
198393
|
+
},
|
198394
|
+
outputDirectory: {
|
198395
|
+
value: '',
|
198396
|
+
placeholder: '',
|
198397
|
+
},
|
198398
|
+
},
|
198399
|
+
getOutputDirName: () => Promise.resolve(''),
|
198400
|
+
},
|
198401
|
+
];
|
198402
|
+
exports.default = exports.workspaceManagers;
|
198403
|
+
|
198404
|
+
|
198196
198405
|
/***/ }),
|
198197
198406
|
|
198198
198407
|
/***/ 5685:
|
@@ -198393,7 +198602,7 @@ module.exports = __webpack_require__(78761);
|
|
198393
198602
|
/******/ var __webpack_module_cache__ = {};
|
198394
198603
|
/******/
|
198395
198604
|
/******/ // The require function
|
198396
|
-
/******/ function
|
198605
|
+
/******/ function __nested_webpack_require_1141080__(moduleId) {
|
198397
198606
|
/******/ // Check if module is in cache
|
198398
198607
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
198399
198608
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -198408,7 +198617,7 @@ module.exports = __webpack_require__(78761);
|
|
198408
198617
|
/******/ // Execute the module function
|
198409
198618
|
/******/ var threw = true;
|
198410
198619
|
/******/ try {
|
198411
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
198620
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1141080__);
|
198412
198621
|
/******/ threw = false;
|
198413
198622
|
/******/ } finally {
|
198414
198623
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -198421,11 +198630,11 @@ module.exports = __webpack_require__(78761);
|
|
198421
198630
|
/************************************************************************/
|
198422
198631
|
/******/ /* webpack/runtime/compat */
|
198423
198632
|
/******/
|
198424
|
-
/******/
|
198633
|
+
/******/ __nested_webpack_require_1141080__.ab = __dirname + "/";/************************************************************************/
|
198425
198634
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
198426
198635
|
/******/ // startup
|
198427
198636
|
/******/ // Load entry module and return exports
|
198428
|
-
/******/ return
|
198637
|
+
/******/ return __nested_webpack_require_1141080__(2855);
|
198429
198638
|
/******/ })()
|
198430
198639
|
;
|
198431
198640
|
|
@@ -217102,8 +217311,7 @@ exports.frameworks = [
|
|
217102
217311
|
detectors: {
|
217103
217312
|
every: [
|
217104
217313
|
{
|
217105
|
-
path: '
|
217106
|
-
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"remix":\\s*".+?"[^}]*}',
|
217314
|
+
path: 'remix.config.js',
|
217107
217315
|
},
|
217108
217316
|
],
|
217109
217317
|
},
|
@@ -217159,6 +217367,70 @@ exports.frameworks = [
|
|
217159
217367
|
},
|
217160
217368
|
],
|
217161
217369
|
},
|
217370
|
+
{
|
217371
|
+
name: 'Astro',
|
217372
|
+
slug: 'astro',
|
217373
|
+
demo: 'https://astro-template.vercel.app',
|
217374
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro.svg',
|
217375
|
+
darkModeLogo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/astro-dark.svg',
|
217376
|
+
tagline: 'Astro is a new kind of static site builder for the modern web. Powerful developer experience meets lightweight output.',
|
217377
|
+
description: 'An Astro site, using the basics starter kit.',
|
217378
|
+
website: 'https://astro.build',
|
217379
|
+
envPrefix: 'PUBLIC_',
|
217380
|
+
detectors: {
|
217381
|
+
every: [
|
217382
|
+
{
|
217383
|
+
path: 'package.json',
|
217384
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"astro":\\s*".+?"[^}]*}',
|
217385
|
+
},
|
217386
|
+
],
|
217387
|
+
},
|
217388
|
+
settings: {
|
217389
|
+
installCommand: {
|
217390
|
+
placeholder: '`yarn install` or `npm install`',
|
217391
|
+
},
|
217392
|
+
buildCommand: {
|
217393
|
+
value: 'astro build',
|
217394
|
+
placeholder: '`npm run build` or `astro build`',
|
217395
|
+
},
|
217396
|
+
devCommand: {
|
217397
|
+
value: 'astro dev --port $PORT',
|
217398
|
+
placeholder: 'astro dev',
|
217399
|
+
},
|
217400
|
+
outputDirectory: {
|
217401
|
+
value: 'dist',
|
217402
|
+
},
|
217403
|
+
},
|
217404
|
+
dependency: 'astro',
|
217405
|
+
getFsOutputDir: async () => 'dist',
|
217406
|
+
getOutputDirName: async () => 'dist',
|
217407
|
+
defaultRoutes: [
|
217408
|
+
{
|
217409
|
+
src: '^/dist/(.*)$',
|
217410
|
+
headers: { 'cache-control': 'public, max-age=31536000, immutable' },
|
217411
|
+
continue: true,
|
217412
|
+
},
|
217413
|
+
{
|
217414
|
+
handle: 'filesystem',
|
217415
|
+
},
|
217416
|
+
{
|
217417
|
+
src: '/(.*)',
|
217418
|
+
dest: '/index.html',
|
217419
|
+
},
|
217420
|
+
],
|
217421
|
+
defaultHeaders: [
|
217422
|
+
{
|
217423
|
+
source: '^/dist/(.*)$',
|
217424
|
+
regex: '^/dist/(.*)$',
|
217425
|
+
headers: [
|
217426
|
+
{
|
217427
|
+
key: 'cache-control',
|
217428
|
+
value: 'public, max-age=31536000, immutable',
|
217429
|
+
},
|
217430
|
+
],
|
217431
|
+
},
|
217432
|
+
],
|
217433
|
+
},
|
217162
217434
|
{
|
217163
217435
|
name: 'Hexo',
|
217164
217436
|
slug: 'hexo',
|
@@ -225771,6 +226043,8 @@ const pkg_name_1 = __webpack_require__(98106);
|
|
225771
226043
|
const get_preferred_preview_url_1 = __webpack_require__(62387);
|
225772
226044
|
const args_1 = __webpack_require__(56870);
|
225773
226045
|
const get_deployment_checks_1 = __webpack_require__(58293);
|
226046
|
+
const parse_target_1 = __importDefault(__webpack_require__(77601));
|
226047
|
+
const get_prebuilt_json_1 = __importDefault(__webpack_require__(91307));
|
225774
226048
|
exports.default = async (client) => {
|
225775
226049
|
const { output } = client;
|
225776
226050
|
let argv = null;
|
@@ -225850,7 +226124,7 @@ exports.default = async (client) => {
|
|
225850
226124
|
}
|
225851
226125
|
}
|
225852
226126
|
}
|
225853
|
-
const { log, debug, error,
|
226127
|
+
const { log, debug, error, prettyError, isTTY } = output;
|
225854
226128
|
const quiet = !isTTY;
|
225855
226129
|
// check paths
|
225856
226130
|
const pathValidation = await validate_paths_1.default(output, paths);
|
@@ -225863,6 +226137,11 @@ exports.default = async (client) => {
|
|
225863
226137
|
if (argv['--name']) {
|
225864
226138
|
output.print(`${emoji_1.prependEmoji(`The ${param_1.default('--name')} option is deprecated (https://vercel.link/name-flag)`, emoji_1.emoji('warning'))}\n`);
|
225865
226139
|
}
|
226140
|
+
// build `target`
|
226141
|
+
const target = parse_target_1.default(output, argv['--target'], argv['--prod']);
|
226142
|
+
if (typeof target === 'number') {
|
226143
|
+
return target;
|
226144
|
+
}
|
225866
226145
|
// build `--prebuilt`
|
225867
226146
|
if (argv['--prebuilt']) {
|
225868
226147
|
const prebuiltExists = await fs_extra_1.default.pathExists(path_1.join(path, '.vercel/output'));
|
@@ -225870,6 +226149,19 @@ exports.default = async (client) => {
|
|
225870
226149
|
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.`);
|
225871
226150
|
return 1;
|
225872
226151
|
}
|
226152
|
+
const prebuiltBuild = await get_prebuilt_json_1.default(path);
|
226153
|
+
const assumedTarget = target || 'preview';
|
226154
|
+
if ((prebuiltBuild === null || prebuiltBuild === void 0 ? void 0 : prebuiltBuild.target) && prebuiltBuild.target !== assumedTarget) {
|
226155
|
+
let specifyTarget = '';
|
226156
|
+
if (prebuiltBuild.target === 'production') {
|
226157
|
+
specifyTarget = ` --prod`;
|
226158
|
+
}
|
226159
|
+
prettyError({
|
226160
|
+
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}`)}.`,
|
226161
|
+
link: 'https://vercel.link/prebuilt-environment-mismatch',
|
226162
|
+
});
|
226163
|
+
return 1;
|
226164
|
+
}
|
225873
226165
|
}
|
225874
226166
|
// retrieve `project` and `org` from .vercel
|
225875
226167
|
const link = await link_2.getLinkedProject(client, path);
|
@@ -226000,24 +226292,6 @@ exports.default = async (client) => {
|
|
226000
226292
|
.map((s) => s.trim())
|
226001
226293
|
.filter(Boolean);
|
226002
226294
|
const regions = regionFlag.length > 0 ? regionFlag : localConfig.regions;
|
226003
|
-
// build `target`
|
226004
|
-
let target;
|
226005
|
-
if (argv['--target']) {
|
226006
|
-
const deprecatedTarget = argv['--target'];
|
226007
|
-
if (!['staging', 'production'].includes(deprecatedTarget)) {
|
226008
|
-
error(`The specified ${param_1.default('--target')} ${code_1.default(deprecatedTarget)} is not valid`);
|
226009
|
-
return 1;
|
226010
|
-
}
|
226011
|
-
if (deprecatedTarget === 'production') {
|
226012
|
-
warn('We recommend using the much shorter `--prod` option instead of `--target production` (deprecated)');
|
226013
|
-
}
|
226014
|
-
output.debug(`Setting target to ${deprecatedTarget}`);
|
226015
|
-
target = deprecatedTarget;
|
226016
|
-
}
|
226017
|
-
else if (argv['--prod']) {
|
226018
|
-
output.debug('Setting target to production');
|
226019
|
-
target = 'production';
|
226020
|
-
}
|
226021
226295
|
const currentTeam = (org === null || org === void 0 ? void 0 : org.type) === 'team' ? org.id : undefined;
|
226022
226296
|
const now = new util_1.default({
|
226023
226297
|
client,
|
@@ -226338,6 +226612,8 @@ const get_frameworks_1 = __webpack_require__(87569);
|
|
226338
226612
|
const get_decrypted_env_records_1 = __importDefault(__webpack_require__(30861));
|
226339
226613
|
const setup_and_link_1 = __importDefault(__webpack_require__(69532));
|
226340
226614
|
const get_system_env_values_1 = __importDefault(__webpack_require__(60272));
|
226615
|
+
const pkg_name_1 = __webpack_require__(98106);
|
226616
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
226341
226617
|
async function dev(client, opts, args) {
|
226342
226618
|
const { output } = client;
|
226343
226619
|
const [dir = '.'] = args;
|
@@ -226360,6 +226636,9 @@ async function dev(client, opts, args) {
|
|
226360
226636
|
}
|
226361
226637
|
}
|
226362
226638
|
if (link.status === 'error') {
|
226639
|
+
if (link.reason === 'HEADLESS') {
|
226640
|
+
client.output.error(`Command ${pkg_name_1.getCommandName('dev')} requires confirmation. Use option ${param_1.default('--confirm')} to confirm.`);
|
226641
|
+
}
|
226363
226642
|
return link.exitCode;
|
226364
226643
|
}
|
226365
226644
|
let devCommand;
|
@@ -229015,6 +229294,8 @@ const get_args_1 = __importDefault(__webpack_require__(87612));
|
|
229015
229294
|
const logo_1 = __importDefault(__webpack_require__(9829));
|
229016
229295
|
const pkg_name_1 = __webpack_require__(98106);
|
229017
229296
|
const setup_and_link_1 = __importDefault(__webpack_require__(69532));
|
229297
|
+
const pkg_name_2 = __webpack_require__(98106);
|
229298
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
229018
229299
|
const help = () => {
|
229019
229300
|
console.log(`
|
229020
229301
|
${chalk_1.default.bold(`${logo_1.default} ${pkg_name_1.getPkgName()} link`)} [options]
|
@@ -229063,6 +229344,9 @@ async function main(client) {
|
|
229063
229344
|
setupMsg: 'Set up',
|
229064
229345
|
});
|
229065
229346
|
if (link.status === 'error') {
|
229347
|
+
if (link.reason === 'HEADLESS') {
|
229348
|
+
client.output.error(`Command ${pkg_name_2.getCommandName('link')} requires confirmation. Use option ${param_1.default('--confirm')} to confirm.`);
|
229349
|
+
}
|
229066
229350
|
return link.exitCode;
|
229067
229351
|
}
|
229068
229352
|
else if (link.status === 'not_linked') {
|
@@ -230057,6 +230341,8 @@ const pkg_name_1 = __webpack_require__(98106);
|
|
230057
230341
|
const link_1 = __webpack_require__(67630);
|
230058
230342
|
const project_settings_1 = __webpack_require__(42697);
|
230059
230343
|
const pull_1 = __importDefault(__webpack_require__(57571));
|
230344
|
+
const pkg_name_2 = __webpack_require__(98106);
|
230345
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
230060
230346
|
const env_target_1 = __webpack_require__(65373);
|
230061
230347
|
const help = () => {
|
230062
230348
|
return console.log(`
|
@@ -230117,6 +230403,9 @@ async function ensureLink(client, cwd, yes) {
|
|
230117
230403
|
}
|
230118
230404
|
}
|
230119
230405
|
if (link.status === 'error') {
|
230406
|
+
if (link.reason === 'HEADLESS') {
|
230407
|
+
client.output.error(`Command ${pkg_name_2.getCommandName('pull')} requires confirmation. Use option ${param_1.default('--yes')} to confirm.`);
|
230408
|
+
}
|
230120
230409
|
return link.exitCode;
|
230121
230410
|
}
|
230122
230411
|
return { org: link.org, project: link.project };
|
@@ -231267,7 +231556,12 @@ let client;
|
|
231267
231556
|
let debug = () => { };
|
231268
231557
|
let apiUrl = 'https://api.vercel.com';
|
231269
231558
|
const main = async () => {
|
231270
|
-
|
231559
|
+
let { isTTY } = process.stdout;
|
231560
|
+
if (process.env.FORCE_TTY === '1') {
|
231561
|
+
isTTY = true;
|
231562
|
+
process.stdout.isTTY = true;
|
231563
|
+
process.stdin.isTTY = true;
|
231564
|
+
}
|
231271
231565
|
let argv;
|
231272
231566
|
try {
|
231273
231567
|
argv = get_args_1.default(process.argv, {
|
@@ -233514,6 +233808,31 @@ async function getDeploymentsByProjectId(client, projectId, options = { from: nu
|
|
233514
233808
|
exports.default = getDeploymentsByProjectId;
|
233515
233809
|
|
233516
233810
|
|
233811
|
+
/***/ }),
|
233812
|
+
|
233813
|
+
/***/ 91307:
|
233814
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
233815
|
+
|
233816
|
+
"use strict";
|
233817
|
+
|
233818
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
233819
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
233820
|
+
};
|
233821
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
233822
|
+
const fs_extra_1 = __importDefault(__webpack_require__(45392));
|
233823
|
+
const path_1 = __webpack_require__(85622);
|
233824
|
+
async function getPrebuiltJson(directory) {
|
233825
|
+
try {
|
233826
|
+
return await fs_extra_1.default.readJSON(path_1.join(directory, '.vercel/output/builds.json'));
|
233827
|
+
}
|
233828
|
+
catch (error) {
|
233829
|
+
// ignoring error
|
233830
|
+
}
|
233831
|
+
return null;
|
233832
|
+
}
|
233833
|
+
exports.default = getPrebuiltJson;
|
233834
|
+
|
233835
|
+
|
233517
233836
|
/***/ }),
|
233518
233837
|
|
233519
233838
|
/***/ 62387:
|
@@ -233565,6 +233884,44 @@ async function getPreferredPreviewURL(client, aliasList) {
|
|
233565
233884
|
exports.getPreferredPreviewURL = getPreferredPreviewURL;
|
233566
233885
|
|
233567
233886
|
|
233887
|
+
/***/ }),
|
233888
|
+
|
233889
|
+
/***/ 77601:
|
233890
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
233891
|
+
|
233892
|
+
"use strict";
|
233893
|
+
|
233894
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
233895
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
233896
|
+
};
|
233897
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
233898
|
+
const param_1 = __importDefault(__webpack_require__(70330));
|
233899
|
+
const code_1 = __importDefault(__webpack_require__(62230));
|
233900
|
+
/**
|
233901
|
+
* Parses the environment target from the `--target` and `--prod` flags.
|
233902
|
+
*/
|
233903
|
+
function parseTarget(output, targetArg, prodArg) {
|
233904
|
+
if (targetArg) {
|
233905
|
+
const deprecatedTarget = targetArg;
|
233906
|
+
if (!['staging', 'production'].includes(deprecatedTarget)) {
|
233907
|
+
output.error(`The specified ${param_1.default('--target')} ${code_1.default(deprecatedTarget)} is not valid`);
|
233908
|
+
return 1;
|
233909
|
+
}
|
233910
|
+
if (deprecatedTarget === 'production') {
|
233911
|
+
output.warn('We recommend using the much shorter `--prod` option instead of `--target production` (deprecated)');
|
233912
|
+
}
|
233913
|
+
output.debug(`Setting target to ${deprecatedTarget}`);
|
233914
|
+
return deprecatedTarget;
|
233915
|
+
}
|
233916
|
+
if (prodArg) {
|
233917
|
+
output.debug('Setting target to production');
|
233918
|
+
return 'production';
|
233919
|
+
}
|
233920
|
+
return undefined;
|
233921
|
+
}
|
233922
|
+
exports.default = parseTarget;
|
233923
|
+
|
233924
|
+
|
233568
233925
|
/***/ }),
|
233569
233926
|
|
233570
233927
|
/***/ 3219:
|
@@ -241814,7 +242171,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241814
242171
|
const isFile = !global_path_1.isDirectory(path);
|
241815
242172
|
if (isFile) {
|
241816
242173
|
output.error(`Expected directory but found file: ${path}`);
|
241817
|
-
return { status: 'error', exitCode: 1 };
|
242174
|
+
return { status: 'error', exitCode: 1, reason: 'PATH_IS_FILE' };
|
241818
242175
|
}
|
241819
242176
|
const link = await link_1.getLinkedProject(client, path);
|
241820
242177
|
const isTTY = process.stdout.isTTY;
|
@@ -241828,7 +242185,11 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241828
242185
|
}
|
241829
242186
|
if (forceDelete) {
|
241830
242187
|
const vercelDir = link_1.getVercelDirectory(path);
|
241831
|
-
fs_extra_1.remove(vercelDir);
|
242188
|
+
fs_extra_1.remove(path_1.join(vercelDir, link_1.VERCEL_DIR_README));
|
242189
|
+
fs_extra_1.remove(path_1.join(vercelDir, link_1.VERCEL_DIR_PROJECT));
|
242190
|
+
}
|
242191
|
+
if (!isTTY && !autoConfirm) {
|
242192
|
+
return { status: 'error', exitCode: 1, reason: 'HEADLESS' };
|
241832
242193
|
}
|
241833
242194
|
const shouldStartSetup = autoConfirm ||
|
241834
242195
|
(await confirm_1.default(`${setupMsg} ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}?`, true));
|
@@ -241840,9 +242201,13 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241840
242201
|
org = await select_org_1.default(client, 'Which scope should contain your project?', autoConfirm);
|
241841
242202
|
}
|
241842
242203
|
catch (err) {
|
241843
|
-
if (err.code === 'NOT_AUTHORIZED'
|
242204
|
+
if (err.code === 'NOT_AUTHORIZED') {
|
241844
242205
|
output.prettyError(err);
|
241845
|
-
return { status: 'error', exitCode: 1 };
|
242206
|
+
return { status: 'error', exitCode: 1, reason: 'NOT_AUTHORIZED' };
|
242207
|
+
}
|
242208
|
+
if (err.code === 'TEAM_DELETED') {
|
242209
|
+
output.prettyError(err);
|
242210
|
+
return { status: 'error', exitCode: 1, reason: 'TEAM_DELETED' };
|
241846
242211
|
}
|
241847
242212
|
throw err;
|
241848
242213
|
}
|
@@ -241867,7 +242232,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241867
242232
|
: path;
|
241868
242233
|
if (rootDirectory &&
|
241869
242234
|
!(await validate_paths_1.validateRootDirectory(output, path, sourcePath, ''))) {
|
241870
|
-
return { status: 'error', exitCode: 1 };
|
242235
|
+
return { status: 'error', exitCode: 1, reason: 'INVALID_ROOT_DIRECTORY' };
|
241871
242236
|
}
|
241872
242237
|
config.currentTeam = org.type === 'team' ? org.id : undefined;
|
241873
242238
|
const isZeroConfig = !localConfig || !localConfig.builds || localConfig.builds.length === 0;
|
@@ -241905,7 +242270,11 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
241905
242270
|
if (debug) {
|
241906
242271
|
console.log(deployment);
|
241907
242272
|
}
|
241908
|
-
return {
|
242273
|
+
return {
|
242274
|
+
status: 'error',
|
242275
|
+
exitCode: 1,
|
242276
|
+
reason: 'MISSING_PROJECT_SETTINGS',
|
242277
|
+
};
|
241909
242278
|
}
|
241910
242279
|
const { projectSettings, framework } = deployment;
|
241911
242280
|
settings = await edit_project_settings_1.default(output, projectSettings, framework, autoConfirm);
|
@@ -244904,7 +245273,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
244904
245273
|
/***/ ((module) => {
|
244905
245274
|
|
244906
245275
|
"use strict";
|
244907
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"24.2.1-canary.
|
245276
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"24.2.1-canary.3\",\"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.3\",\"@vercel/go\":\"1.4.1-canary.3\",\"@vercel/node\":\"1.15.1-canary.3\",\"@vercel/python\":\"2.3.1-canary.3\",\"@vercel/ruby\":\"1.3.4-canary.3\",\"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.3\",\"@vercel/frameworks\":\"0.8.1-canary.1\",\"@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\":\"41d66661399754aed76a655c92f28c19afd0e8f1\"}");
|
244908
245277
|
|
244909
245278
|
/***/ }),
|
244910
245279
|
|
@@ -244920,7 +245289,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
244920
245289
|
/***/ ((module) => {
|
244921
245290
|
|
244922
245291
|
"use strict";
|
244923
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"11.0.1-canary.
|
245292
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"11.0.1-canary.3\",\"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.3\",\"@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\":\"41d66661399754aed76a655c92f28c19afd0e8f1\"}");
|
244924
245293
|
|
244925
245294
|
/***/ }),
|
244926
245295
|
|