vercel 23.1.3-canary.67 → 23.1.3-canary.70
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 +548 -242
- package/package.json +7 -6
package/dist/index.js
CHANGED
@@ -211757,6 +211757,44 @@ exports.frameworks = [
|
|
211757
211757
|
},
|
211758
211758
|
],
|
211759
211759
|
},
|
211760
|
+
{
|
211761
|
+
name: 'SolidStart',
|
211762
|
+
slug: 'solidstart',
|
211763
|
+
demo: 'https://solidstart.examples.vercel.com',
|
211764
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/solid.svg',
|
211765
|
+
tagline: 'Simple and performant reactivity for building user interfaces.',
|
211766
|
+
description: 'A Solid app, created with SolidStart.',
|
211767
|
+
website: 'https://solidjs.com',
|
211768
|
+
envPrefix: 'VITE_',
|
211769
|
+
detectors: {
|
211770
|
+
every: [
|
211771
|
+
{
|
211772
|
+
path: 'package.json',
|
211773
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"solid-js":\\s*".+?"[^}]*}',
|
211774
|
+
},
|
211775
|
+
{
|
211776
|
+
path: 'package.json',
|
211777
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"solid-start":\\s*".+?"[^}]*}',
|
211778
|
+
},
|
211779
|
+
],
|
211780
|
+
},
|
211781
|
+
settings: {
|
211782
|
+
installCommand: {
|
211783
|
+
placeholder: '`yarn install` or `npm install`',
|
211784
|
+
},
|
211785
|
+
buildCommand: {
|
211786
|
+
placeholder: '`npm run build` or `solid-start build`',
|
211787
|
+
value: 'solid-start build',
|
211788
|
+
},
|
211789
|
+
devCommand: {
|
211790
|
+
value: 'solid-start dev',
|
211791
|
+
},
|
211792
|
+
outputDirectory: {
|
211793
|
+
value: '.output',
|
211794
|
+
},
|
211795
|
+
},
|
211796
|
+
getOutputDirName: async () => '.output',
|
211797
|
+
},
|
211760
211798
|
{
|
211761
211799
|
name: 'Dojo',
|
211762
211800
|
slug: 'dojo',
|
@@ -213142,7 +213180,7 @@ exports.default = def;
|
|
213142
213180
|
/***/ }),
|
213143
213181
|
|
213144
213182
|
/***/ 3734:
|
213145
|
-
/***/ (function(__unused_webpack_module, exports,
|
213183
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_805839__) {
|
213146
213184
|
|
213147
213185
|
"use strict";
|
213148
213186
|
|
@@ -213151,9 +213189,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
213151
213189
|
};
|
213152
213190
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
213153
213191
|
exports.readConfigFile = void 0;
|
213154
|
-
const js_yaml_1 = __importDefault(
|
213155
|
-
const toml_1 = __importDefault(
|
213156
|
-
const fs_1 =
|
213192
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_805839__(641));
|
213193
|
+
const toml_1 = __importDefault(__nested_webpack_require_805839__(9434));
|
213194
|
+
const fs_1 = __nested_webpack_require_805839__(5747);
|
213157
213195
|
const { readFile } = fs_1.promises;
|
213158
213196
|
async function readFileOrNull(file) {
|
213159
213197
|
try {
|
@@ -213202,13 +213240,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
213202
213240
|
/***/ }),
|
213203
213241
|
|
213204
213242
|
/***/ 641:
|
213205
|
-
/***/ ((module, __unused_webpack_exports,
|
213243
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_807445__) => {
|
213206
213244
|
|
213207
213245
|
"use strict";
|
213208
213246
|
|
213209
213247
|
|
213210
213248
|
|
213211
|
-
var yaml =
|
213249
|
+
var yaml = __nested_webpack_require_807445__(9633);
|
213212
213250
|
|
213213
213251
|
|
213214
213252
|
module.exports = yaml;
|
@@ -213217,14 +213255,14 @@ module.exports = yaml;
|
|
213217
213255
|
/***/ }),
|
213218
213256
|
|
213219
213257
|
/***/ 9633:
|
213220
|
-
/***/ ((module, __unused_webpack_exports,
|
213258
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_807619__) => {
|
213221
213259
|
|
213222
213260
|
"use strict";
|
213223
213261
|
|
213224
213262
|
|
213225
213263
|
|
213226
|
-
var loader =
|
213227
|
-
var dumper =
|
213264
|
+
var loader = __nested_webpack_require_807619__(4349);
|
213265
|
+
var dumper = __nested_webpack_require_807619__(8047);
|
213228
213266
|
|
213229
213267
|
|
213230
213268
|
function deprecated(name) {
|
@@ -213234,25 +213272,25 @@ function deprecated(name) {
|
|
213234
213272
|
}
|
213235
213273
|
|
213236
213274
|
|
213237
|
-
module.exports.Type =
|
213238
|
-
module.exports.Schema =
|
213239
|
-
module.exports.FAILSAFE_SCHEMA =
|
213240
|
-
module.exports.JSON_SCHEMA =
|
213241
|
-
module.exports.CORE_SCHEMA =
|
213242
|
-
module.exports.DEFAULT_SAFE_SCHEMA =
|
213243
|
-
module.exports.DEFAULT_FULL_SCHEMA =
|
213275
|
+
module.exports.Type = __nested_webpack_require_807619__(6876);
|
213276
|
+
module.exports.Schema = __nested_webpack_require_807619__(6105);
|
213277
|
+
module.exports.FAILSAFE_SCHEMA = __nested_webpack_require_807619__(8441);
|
213278
|
+
module.exports.JSON_SCHEMA = __nested_webpack_require_807619__(1486);
|
213279
|
+
module.exports.CORE_SCHEMA = __nested_webpack_require_807619__(1112);
|
213280
|
+
module.exports.DEFAULT_SAFE_SCHEMA = __nested_webpack_require_807619__(596);
|
213281
|
+
module.exports.DEFAULT_FULL_SCHEMA = __nested_webpack_require_807619__(9647);
|
213244
213282
|
module.exports.load = loader.load;
|
213245
213283
|
module.exports.loadAll = loader.loadAll;
|
213246
213284
|
module.exports.safeLoad = loader.safeLoad;
|
213247
213285
|
module.exports.safeLoadAll = loader.safeLoadAll;
|
213248
213286
|
module.exports.dump = dumper.dump;
|
213249
213287
|
module.exports.safeDump = dumper.safeDump;
|
213250
|
-
module.exports.YAMLException =
|
213288
|
+
module.exports.YAMLException = __nested_webpack_require_807619__(3237);
|
213251
213289
|
|
213252
213290
|
// Deprecated schema names from JS-YAML 2.0.x
|
213253
|
-
module.exports.MINIMAL_SCHEMA =
|
213254
|
-
module.exports.SAFE_SCHEMA =
|
213255
|
-
module.exports.DEFAULT_SCHEMA =
|
213291
|
+
module.exports.MINIMAL_SCHEMA = __nested_webpack_require_807619__(8441);
|
213292
|
+
module.exports.SAFE_SCHEMA = __nested_webpack_require_807619__(596);
|
213293
|
+
module.exports.DEFAULT_SCHEMA = __nested_webpack_require_807619__(9647);
|
213256
213294
|
|
213257
213295
|
// Deprecated functions from JS-YAML 1.x.x
|
213258
213296
|
module.exports.scan = deprecated('scan');
|
@@ -213331,17 +213369,17 @@ module.exports.extend = extend;
|
|
213331
213369
|
/***/ }),
|
213332
213370
|
|
213333
213371
|
/***/ 8047:
|
213334
|
-
/***/ ((module, __unused_webpack_exports,
|
213372
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_810437__) => {
|
213335
213373
|
|
213336
213374
|
"use strict";
|
213337
213375
|
|
213338
213376
|
|
213339
213377
|
/*eslint-disable no-use-before-define*/
|
213340
213378
|
|
213341
|
-
var common =
|
213342
|
-
var YAMLException =
|
213343
|
-
var DEFAULT_FULL_SCHEMA =
|
213344
|
-
var DEFAULT_SAFE_SCHEMA =
|
213379
|
+
var common = __nested_webpack_require_810437__(903);
|
213380
|
+
var YAMLException = __nested_webpack_require_810437__(3237);
|
213381
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_810437__(9647);
|
213382
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_810437__(596);
|
213345
213383
|
|
213346
213384
|
var _toString = Object.prototype.toString;
|
213347
213385
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -214217,18 +214255,18 @@ module.exports = YAMLException;
|
|
214217
214255
|
/***/ }),
|
214218
214256
|
|
214219
214257
|
/***/ 4349:
|
214220
|
-
/***/ ((module, __unused_webpack_exports,
|
214258
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_838141__) => {
|
214221
214259
|
|
214222
214260
|
"use strict";
|
214223
214261
|
|
214224
214262
|
|
214225
214263
|
/*eslint-disable max-len,no-use-before-define*/
|
214226
214264
|
|
214227
|
-
var common =
|
214228
|
-
var YAMLException =
|
214229
|
-
var Mark =
|
214230
|
-
var DEFAULT_SAFE_SCHEMA =
|
214231
|
-
var DEFAULT_FULL_SCHEMA =
|
214265
|
+
var common = __nested_webpack_require_838141__(903);
|
214266
|
+
var YAMLException = __nested_webpack_require_838141__(3237);
|
214267
|
+
var Mark = __nested_webpack_require_838141__(4926);
|
214268
|
+
var DEFAULT_SAFE_SCHEMA = __nested_webpack_require_838141__(596);
|
214269
|
+
var DEFAULT_FULL_SCHEMA = __nested_webpack_require_838141__(9647);
|
214232
214270
|
|
214233
214271
|
|
214234
214272
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
@@ -215850,13 +215888,13 @@ module.exports.safeLoad = safeLoad;
|
|
215850
215888
|
/***/ }),
|
215851
215889
|
|
215852
215890
|
/***/ 4926:
|
215853
|
-
/***/ ((module, __unused_webpack_exports,
|
215891
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_882008__) => {
|
215854
215892
|
|
215855
215893
|
"use strict";
|
215856
215894
|
|
215857
215895
|
|
215858
215896
|
|
215859
|
-
var common =
|
215897
|
+
var common = __nested_webpack_require_882008__(903);
|
215860
215898
|
|
215861
215899
|
|
215862
215900
|
function Mark(name, buffer, position, line, column) {
|
@@ -215934,16 +215972,16 @@ module.exports = Mark;
|
|
215934
215972
|
/***/ }),
|
215935
215973
|
|
215936
215974
|
/***/ 6105:
|
215937
|
-
/***/ ((module, __unused_webpack_exports,
|
215975
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_883670__) => {
|
215938
215976
|
|
215939
215977
|
"use strict";
|
215940
215978
|
|
215941
215979
|
|
215942
215980
|
/*eslint-disable max-len*/
|
215943
215981
|
|
215944
|
-
var common =
|
215945
|
-
var YAMLException =
|
215946
|
-
var Type =
|
215982
|
+
var common = __nested_webpack_require_883670__(903);
|
215983
|
+
var YAMLException = __nested_webpack_require_883670__(3237);
|
215984
|
+
var Type = __nested_webpack_require_883670__(6876);
|
215947
215985
|
|
215948
215986
|
|
215949
215987
|
function compileList(schema, name, result) {
|
@@ -216050,7 +216088,7 @@ module.exports = Schema;
|
|
216050
216088
|
/***/ }),
|
216051
216089
|
|
216052
216090
|
/***/ 1112:
|
216053
|
-
/***/ ((module, __unused_webpack_exports,
|
216091
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_886534__) => {
|
216054
216092
|
|
216055
216093
|
"use strict";
|
216056
216094
|
// Standard YAML's Core schema.
|
@@ -216063,12 +216101,12 @@ module.exports = Schema;
|
|
216063
216101
|
|
216064
216102
|
|
216065
216103
|
|
216066
|
-
var Schema =
|
216104
|
+
var Schema = __nested_webpack_require_886534__(6105);
|
216067
216105
|
|
216068
216106
|
|
216069
216107
|
module.exports = new Schema({
|
216070
216108
|
include: [
|
216071
|
-
|
216109
|
+
__nested_webpack_require_886534__(1486)
|
216072
216110
|
]
|
216073
216111
|
});
|
216074
216112
|
|
@@ -216076,7 +216114,7 @@ module.exports = new Schema({
|
|
216076
216114
|
/***/ }),
|
216077
216115
|
|
216078
216116
|
/***/ 9647:
|
216079
|
-
/***/ ((module, __unused_webpack_exports,
|
216117
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_887004__) => {
|
216080
216118
|
|
216081
216119
|
"use strict";
|
216082
216120
|
// JS-YAML's default schema for `load` function.
|
@@ -216091,17 +216129,17 @@ module.exports = new Schema({
|
|
216091
216129
|
|
216092
216130
|
|
216093
216131
|
|
216094
|
-
var Schema =
|
216132
|
+
var Schema = __nested_webpack_require_887004__(6105);
|
216095
216133
|
|
216096
216134
|
|
216097
216135
|
module.exports = Schema.DEFAULT = new Schema({
|
216098
216136
|
include: [
|
216099
|
-
|
216137
|
+
__nested_webpack_require_887004__(596)
|
216100
216138
|
],
|
216101
216139
|
explicit: [
|
216102
|
-
|
216103
|
-
|
216104
|
-
|
216140
|
+
__nested_webpack_require_887004__(5836),
|
216141
|
+
__nested_webpack_require_887004__(6841),
|
216142
|
+
__nested_webpack_require_887004__(8750)
|
216105
216143
|
]
|
216106
216144
|
});
|
216107
216145
|
|
@@ -216109,7 +216147,7 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
216109
216147
|
/***/ }),
|
216110
216148
|
|
216111
216149
|
/***/ 596:
|
216112
|
-
/***/ ((module, __unused_webpack_exports,
|
216150
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_887698__) => {
|
216113
216151
|
|
216114
216152
|
"use strict";
|
216115
216153
|
// JS-YAML's default schema for `safeLoad` function.
|
@@ -216122,22 +216160,22 @@ module.exports = Schema.DEFAULT = new Schema({
|
|
216122
216160
|
|
216123
216161
|
|
216124
216162
|
|
216125
|
-
var Schema =
|
216163
|
+
var Schema = __nested_webpack_require_887698__(6105);
|
216126
216164
|
|
216127
216165
|
|
216128
216166
|
module.exports = new Schema({
|
216129
216167
|
include: [
|
216130
|
-
|
216168
|
+
__nested_webpack_require_887698__(1112)
|
216131
216169
|
],
|
216132
216170
|
implicit: [
|
216133
|
-
|
216134
|
-
|
216171
|
+
__nested_webpack_require_887698__(7028),
|
216172
|
+
__nested_webpack_require_887698__(7841)
|
216135
216173
|
],
|
216136
216174
|
explicit: [
|
216137
|
-
|
216138
|
-
|
216139
|
-
|
216140
|
-
|
216175
|
+
__nested_webpack_require_887698__(8675),
|
216176
|
+
__nested_webpack_require_887698__(3498),
|
216177
|
+
__nested_webpack_require_887698__(679),
|
216178
|
+
__nested_webpack_require_887698__(7205)
|
216141
216179
|
]
|
216142
216180
|
});
|
216143
216181
|
|
@@ -216145,7 +216183,7 @@ module.exports = new Schema({
|
|
216145
216183
|
/***/ }),
|
216146
216184
|
|
216147
216185
|
/***/ 8441:
|
216148
|
-
/***/ ((module, __unused_webpack_exports,
|
216186
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_888410__) => {
|
216149
216187
|
|
216150
216188
|
"use strict";
|
216151
216189
|
// Standard YAML's Failsafe schema.
|
@@ -216155,14 +216193,14 @@ module.exports = new Schema({
|
|
216155
216193
|
|
216156
216194
|
|
216157
216195
|
|
216158
|
-
var Schema =
|
216196
|
+
var Schema = __nested_webpack_require_888410__(6105);
|
216159
216197
|
|
216160
216198
|
|
216161
216199
|
module.exports = new Schema({
|
216162
216200
|
explicit: [
|
216163
|
-
|
216164
|
-
|
216165
|
-
|
216201
|
+
__nested_webpack_require_888410__(5348),
|
216202
|
+
__nested_webpack_require_888410__(7330),
|
216203
|
+
__nested_webpack_require_888410__(293)
|
216166
216204
|
]
|
216167
216205
|
});
|
216168
216206
|
|
@@ -216170,7 +216208,7 @@ module.exports = new Schema({
|
|
216170
216208
|
/***/ }),
|
216171
216209
|
|
216172
216210
|
/***/ 1486:
|
216173
|
-
/***/ ((module, __unused_webpack_exports,
|
216211
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_888796__) => {
|
216174
216212
|
|
216175
216213
|
"use strict";
|
216176
216214
|
// Standard YAML's JSON schema.
|
@@ -216184,18 +216222,18 @@ module.exports = new Schema({
|
|
216184
216222
|
|
216185
216223
|
|
216186
216224
|
|
216187
|
-
var Schema =
|
216225
|
+
var Schema = __nested_webpack_require_888796__(6105);
|
216188
216226
|
|
216189
216227
|
|
216190
216228
|
module.exports = new Schema({
|
216191
216229
|
include: [
|
216192
|
-
|
216230
|
+
__nested_webpack_require_888796__(8441)
|
216193
216231
|
],
|
216194
216232
|
implicit: [
|
216195
|
-
|
216196
|
-
|
216197
|
-
|
216198
|
-
|
216233
|
+
__nested_webpack_require_888796__(9074),
|
216234
|
+
__nested_webpack_require_888796__(4308),
|
216235
|
+
__nested_webpack_require_888796__(1167),
|
216236
|
+
__nested_webpack_require_888796__(7862)
|
216199
216237
|
]
|
216200
216238
|
});
|
216201
216239
|
|
@@ -216203,12 +216241,12 @@ module.exports = new Schema({
|
|
216203
216241
|
/***/ }),
|
216204
216242
|
|
216205
216243
|
/***/ 6876:
|
216206
|
-
/***/ ((module, __unused_webpack_exports,
|
216244
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_889494__) => {
|
216207
216245
|
|
216208
216246
|
"use strict";
|
216209
216247
|
|
216210
216248
|
|
216211
|
-
var YAMLException =
|
216249
|
+
var YAMLException = __nested_webpack_require_889494__(3237);
|
216212
216250
|
|
216213
216251
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
216214
216252
|
'kind',
|
@@ -216272,7 +216310,7 @@ module.exports = Type;
|
|
216272
216310
|
/***/ }),
|
216273
216311
|
|
216274
216312
|
/***/ 8675:
|
216275
|
-
/***/ ((module, __unused_webpack_exports,
|
216313
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_891178__) => {
|
216276
216314
|
|
216277
216315
|
"use strict";
|
216278
216316
|
|
@@ -216287,7 +216325,7 @@ try {
|
|
216287
216325
|
NodeBuffer = _require('buffer').Buffer;
|
216288
216326
|
} catch (__) {}
|
216289
216327
|
|
216290
|
-
var Type =
|
216328
|
+
var Type = __nested_webpack_require_891178__(6876);
|
216291
216329
|
|
216292
216330
|
|
216293
216331
|
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
@@ -216418,12 +216456,12 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
216418
216456
|
/***/ }),
|
216419
216457
|
|
216420
216458
|
/***/ 4308:
|
216421
|
-
/***/ ((module, __unused_webpack_exports,
|
216459
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_894570__) => {
|
216422
216460
|
|
216423
216461
|
"use strict";
|
216424
216462
|
|
216425
216463
|
|
216426
|
-
var Type =
|
216464
|
+
var Type = __nested_webpack_require_894570__(6876);
|
216427
216465
|
|
216428
216466
|
function resolveYamlBoolean(data) {
|
216429
216467
|
if (data === null) return false;
|
@@ -216461,13 +216499,13 @@ module.exports = new Type('tag:yaml.org,2002:bool', {
|
|
216461
216499
|
/***/ }),
|
216462
216500
|
|
216463
216501
|
/***/ 7862:
|
216464
|
-
/***/ ((module, __unused_webpack_exports,
|
216502
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_895643__) => {
|
216465
216503
|
|
216466
216504
|
"use strict";
|
216467
216505
|
|
216468
216506
|
|
216469
|
-
var common =
|
216470
|
-
var Type =
|
216507
|
+
var common = __nested_webpack_require_895643__(903);
|
216508
|
+
var Type = __nested_webpack_require_895643__(6876);
|
216471
216509
|
|
216472
216510
|
var YAML_FLOAT_PATTERN = new RegExp(
|
216473
216511
|
// 2.5e4, 2.5 and integers
|
@@ -216585,13 +216623,13 @@ module.exports = new Type('tag:yaml.org,2002:float', {
|
|
216585
216623
|
/***/ }),
|
216586
216624
|
|
216587
216625
|
/***/ 1167:
|
216588
|
-
/***/ ((module, __unused_webpack_exports,
|
216626
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_898589__) => {
|
216589
216627
|
|
216590
216628
|
"use strict";
|
216591
216629
|
|
216592
216630
|
|
216593
|
-
var common =
|
216594
|
-
var Type =
|
216631
|
+
var common = __nested_webpack_require_898589__(903);
|
216632
|
+
var Type = __nested_webpack_require_898589__(6876);
|
216595
216633
|
|
216596
216634
|
function isHexCode(c) {
|
216597
216635
|
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
|
@@ -216766,7 +216804,7 @@ module.exports = new Type('tag:yaml.org,2002:int', {
|
|
216766
216804
|
/***/ }),
|
216767
216805
|
|
216768
216806
|
/***/ 8750:
|
216769
|
-
/***/ ((module, __unused_webpack_exports,
|
216807
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_902761__) => {
|
216770
216808
|
|
216771
216809
|
"use strict";
|
216772
216810
|
|
@@ -216789,7 +216827,7 @@ try {
|
|
216789
216827
|
if (typeof window !== 'undefined') esprima = window.esprima;
|
216790
216828
|
}
|
216791
216829
|
|
216792
|
-
var Type =
|
216830
|
+
var Type = __nested_webpack_require_902761__(6876);
|
216793
216831
|
|
216794
216832
|
function resolveJavascriptFunction(data) {
|
216795
216833
|
if (data === null) return false;
|
@@ -216866,12 +216904,12 @@ module.exports = new Type('tag:yaml.org,2002:js/function', {
|
|
216866
216904
|
/***/ }),
|
216867
216905
|
|
216868
216906
|
/***/ 6841:
|
216869
|
-
/***/ ((module, __unused_webpack_exports,
|
216907
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_905658__) => {
|
216870
216908
|
|
216871
216909
|
"use strict";
|
216872
216910
|
|
216873
216911
|
|
216874
|
-
var Type =
|
216912
|
+
var Type = __nested_webpack_require_905658__(6876);
|
216875
216913
|
|
216876
216914
|
function resolveJavascriptRegExp(data) {
|
216877
216915
|
if (data === null) return false;
|
@@ -216934,12 +216972,12 @@ module.exports = new Type('tag:yaml.org,2002:js/regexp', {
|
|
216934
216972
|
/***/ }),
|
216935
216973
|
|
216936
216974
|
/***/ 5836:
|
216937
|
-
/***/ ((module, __unused_webpack_exports,
|
216975
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_907329__) => {
|
216938
216976
|
|
216939
216977
|
"use strict";
|
216940
216978
|
|
216941
216979
|
|
216942
|
-
var Type =
|
216980
|
+
var Type = __nested_webpack_require_907329__(6876);
|
216943
216981
|
|
216944
216982
|
function resolveJavascriptUndefined() {
|
216945
216983
|
return true;
|
@@ -216970,12 +217008,12 @@ module.exports = new Type('tag:yaml.org,2002:js/undefined', {
|
|
216970
217008
|
/***/ }),
|
216971
217009
|
|
216972
217010
|
/***/ 293:
|
216973
|
-
/***/ ((module, __unused_webpack_exports,
|
217011
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_908000__) => {
|
216974
217012
|
|
216975
217013
|
"use strict";
|
216976
217014
|
|
216977
217015
|
|
216978
|
-
var Type =
|
217016
|
+
var Type = __nested_webpack_require_908000__(6876);
|
216979
217017
|
|
216980
217018
|
module.exports = new Type('tag:yaml.org,2002:map', {
|
216981
217019
|
kind: 'mapping',
|
@@ -216986,12 +217024,12 @@ module.exports = new Type('tag:yaml.org,2002:map', {
|
|
216986
217024
|
/***/ }),
|
216987
217025
|
|
216988
217026
|
/***/ 7841:
|
216989
|
-
/***/ ((module, __unused_webpack_exports,
|
217027
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_908292__) => {
|
216990
217028
|
|
216991
217029
|
"use strict";
|
216992
217030
|
|
216993
217031
|
|
216994
|
-
var Type =
|
217032
|
+
var Type = __nested_webpack_require_908292__(6876);
|
216995
217033
|
|
216996
217034
|
function resolveYamlMerge(data) {
|
216997
217035
|
return data === '<<' || data === null;
|
@@ -217006,12 +217044,12 @@ module.exports = new Type('tag:yaml.org,2002:merge', {
|
|
217006
217044
|
/***/ }),
|
217007
217045
|
|
217008
217046
|
/***/ 9074:
|
217009
|
-
/***/ ((module, __unused_webpack_exports,
|
217047
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_908624__) => {
|
217010
217048
|
|
217011
217049
|
"use strict";
|
217012
217050
|
|
217013
217051
|
|
217014
|
-
var Type =
|
217052
|
+
var Type = __nested_webpack_require_908624__(6876);
|
217015
217053
|
|
217016
217054
|
function resolveYamlNull(data) {
|
217017
217055
|
if (data === null) return true;
|
@@ -217048,12 +217086,12 @@ module.exports = new Type('tag:yaml.org,2002:null', {
|
|
217048
217086
|
/***/ }),
|
217049
217087
|
|
217050
217088
|
/***/ 3498:
|
217051
|
-
/***/ ((module, __unused_webpack_exports,
|
217089
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_909487__) => {
|
217052
217090
|
|
217053
217091
|
"use strict";
|
217054
217092
|
|
217055
217093
|
|
217056
|
-
var Type =
|
217094
|
+
var Type = __nested_webpack_require_909487__(6876);
|
217057
217095
|
|
217058
217096
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
217059
217097
|
var _toString = Object.prototype.toString;
|
@@ -217100,12 +217138,12 @@ module.exports = new Type('tag:yaml.org,2002:omap', {
|
|
217100
217138
|
/***/ }),
|
217101
217139
|
|
217102
217140
|
/***/ 679:
|
217103
|
-
/***/ ((module, __unused_webpack_exports,
|
217141
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_910611__) => {
|
217104
217142
|
|
217105
217143
|
"use strict";
|
217106
217144
|
|
217107
217145
|
|
217108
|
-
var Type =
|
217146
|
+
var Type = __nested_webpack_require_910611__(6876);
|
217109
217147
|
|
217110
217148
|
var _toString = Object.prototype.toString;
|
217111
217149
|
|
@@ -217161,12 +217199,12 @@ module.exports = new Type('tag:yaml.org,2002:pairs', {
|
|
217161
217199
|
/***/ }),
|
217162
217200
|
|
217163
217201
|
/***/ 7330:
|
217164
|
-
/***/ ((module, __unused_webpack_exports,
|
217202
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_911797__) => {
|
217165
217203
|
|
217166
217204
|
"use strict";
|
217167
217205
|
|
217168
217206
|
|
217169
|
-
var Type =
|
217207
|
+
var Type = __nested_webpack_require_911797__(6876);
|
217170
217208
|
|
217171
217209
|
module.exports = new Type('tag:yaml.org,2002:seq', {
|
217172
217210
|
kind: 'sequence',
|
@@ -217177,12 +217215,12 @@ module.exports = new Type('tag:yaml.org,2002:seq', {
|
|
217177
217215
|
/***/ }),
|
217178
217216
|
|
217179
217217
|
/***/ 7205:
|
217180
|
-
/***/ ((module, __unused_webpack_exports,
|
217218
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_912090__) => {
|
217181
217219
|
|
217182
217220
|
"use strict";
|
217183
217221
|
|
217184
217222
|
|
217185
|
-
var Type =
|
217223
|
+
var Type = __nested_webpack_require_912090__(6876);
|
217186
217224
|
|
217187
217225
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
217188
217226
|
|
@@ -217214,12 +217252,12 @@ module.exports = new Type('tag:yaml.org,2002:set', {
|
|
217214
217252
|
/***/ }),
|
217215
217253
|
|
217216
217254
|
/***/ 5348:
|
217217
|
-
/***/ ((module, __unused_webpack_exports,
|
217255
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_912739__) => {
|
217218
217256
|
|
217219
217257
|
"use strict";
|
217220
217258
|
|
217221
217259
|
|
217222
|
-
var Type =
|
217260
|
+
var Type = __nested_webpack_require_912739__(6876);
|
217223
217261
|
|
217224
217262
|
module.exports = new Type('tag:yaml.org,2002:str', {
|
217225
217263
|
kind: 'scalar',
|
@@ -217230,12 +217268,12 @@ module.exports = new Type('tag:yaml.org,2002:str', {
|
|
217230
217268
|
/***/ }),
|
217231
217269
|
|
217232
217270
|
/***/ 7028:
|
217233
|
-
/***/ ((module, __unused_webpack_exports,
|
217271
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_913030__) => {
|
217234
217272
|
|
217235
217273
|
"use strict";
|
217236
217274
|
|
217237
217275
|
|
217238
|
-
var Type =
|
217276
|
+
var Type = __nested_webpack_require_913030__(6876);
|
217239
217277
|
|
217240
217278
|
var YAML_DATE_REGEXP = new RegExp(
|
217241
217279
|
'^([0-9][0-9][0-9][0-9])' + // [1] year
|
@@ -217326,7 +217364,7 @@ module.exports = new Type('tag:yaml.org,2002:timestamp', {
|
|
217326
217364
|
/***/ }),
|
217327
217365
|
|
217328
217366
|
/***/ 7276:
|
217329
|
-
/***/ (function(__unused_webpack_module, exports,
|
217367
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_915711__) {
|
217330
217368
|
|
217331
217369
|
"use strict";
|
217332
217370
|
|
@@ -217335,12 +217373,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217335
217373
|
};
|
217336
217374
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217337
217375
|
exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = void 0;
|
217338
|
-
const fs_extra_1 = __importDefault(
|
217339
|
-
const path_1 =
|
217340
|
-
const glob_1 = __importDefault(
|
217341
|
-
const normalize_path_1 =
|
217342
|
-
const lambda_1 =
|
217343
|
-
const _1 =
|
217376
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_915711__(5392));
|
217377
|
+
const path_1 = __nested_webpack_require_915711__(5622);
|
217378
|
+
const glob_1 = __importDefault(__nested_webpack_require_915711__(4240));
|
217379
|
+
const normalize_path_1 = __nested_webpack_require_915711__(6261);
|
217380
|
+
const lambda_1 = __nested_webpack_require_915711__(6721);
|
217381
|
+
const _1 = __nested_webpack_require_915711__(2855);
|
217344
217382
|
// `.output` was already created by the Build Command, so we have
|
217345
217383
|
// to ensure its contents don't get bundled into the Lambda. Similarily,
|
217346
217384
|
// we don't want to bundle anything from `.vercel` either. Lastly,
|
@@ -217632,12 +217670,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
|
|
217632
217670
|
/***/ }),
|
217633
217671
|
|
217634
217672
|
/***/ 1868:
|
217635
|
-
/***/ ((__unused_webpack_module, exports,
|
217673
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_931552__) => {
|
217636
217674
|
|
217637
217675
|
"use strict";
|
217638
217676
|
|
217639
217677
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217640
|
-
const _1 =
|
217678
|
+
const _1 = __nested_webpack_require_931552__(2855);
|
217641
217679
|
function debug(message, ...additional) {
|
217642
217680
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
217643
217681
|
console.log(message, ...additional);
|
@@ -217649,7 +217687,7 @@ exports.default = debug;
|
|
217649
217687
|
/***/ }),
|
217650
217688
|
|
217651
217689
|
/***/ 4246:
|
217652
|
-
/***/ (function(__unused_webpack_module, exports,
|
217690
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_931937__) {
|
217653
217691
|
|
217654
217692
|
"use strict";
|
217655
217693
|
|
@@ -217658,11 +217696,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217658
217696
|
};
|
217659
217697
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217660
217698
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
217661
|
-
const minimatch_1 = __importDefault(
|
217662
|
-
const semver_1 =
|
217663
|
-
const path_1 =
|
217664
|
-
const frameworks_1 = __importDefault(
|
217665
|
-
const _1 =
|
217699
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_931937__(9566));
|
217700
|
+
const semver_1 = __nested_webpack_require_931937__(2879);
|
217701
|
+
const path_1 = __nested_webpack_require_931937__(5622);
|
217702
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_931937__(8438));
|
217703
|
+
const _1 = __nested_webpack_require_931937__(2855);
|
217666
217704
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
217667
217705
|
// We need to sort the file paths by alphabet to make
|
217668
217706
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -218488,6 +218526,187 @@ function sortFilesBySegmentCount(fileA, fileB) {
|
|
218488
218526
|
}
|
218489
218527
|
|
218490
218528
|
|
218529
|
+
/***/ }),
|
218530
|
+
|
218531
|
+
/***/ 1182:
|
218532
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_963914__) {
|
218533
|
+
|
218534
|
+
"use strict";
|
218535
|
+
|
218536
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
218537
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218538
|
+
};
|
218539
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218540
|
+
exports.detectFileSystemAPI = void 0;
|
218541
|
+
const semver_1 = __importDefault(__nested_webpack_require_963914__(2879));
|
218542
|
+
const _1 = __nested_webpack_require_963914__(2855);
|
218543
|
+
const enableFileSystemApiFrameworks = new Set(['solidstart']);
|
218544
|
+
/**
|
218545
|
+
* If the Deployment can be built with the new File System API,
|
218546
|
+
* return the new Builder. Otherwise an "Exclusion Condition"
|
218547
|
+
* was hit so return `null` builder with a `reason` for exclusion.
|
218548
|
+
*/
|
218549
|
+
async function detectFileSystemAPI({ files, projectSettings, builders, vercelConfig, pkg, tag, enableFlag = false, }) {
|
218550
|
+
const framework = projectSettings.framework || '';
|
218551
|
+
const deps = Object.assign({}, pkg === null || pkg === void 0 ? void 0 : pkg.dependencies, pkg === null || pkg === void 0 ? void 0 : pkg.devDependencies);
|
218552
|
+
const plugins = Object.keys(deps).filter(dep => dep.startsWith('vercel-plugin-'));
|
218553
|
+
const hasDotOutput = Object.keys(files).some(file => file.startsWith('.output/'));
|
218554
|
+
const hasMiddleware = Boolean(files['_middleware.js'] || files['_middleware.ts']);
|
218555
|
+
const metadata = {
|
218556
|
+
plugins,
|
218557
|
+
hasDotOutput,
|
218558
|
+
hasMiddleware,
|
218559
|
+
};
|
218560
|
+
const isEnabled = enableFlag ||
|
218561
|
+
hasMiddleware ||
|
218562
|
+
hasDotOutput ||
|
218563
|
+
enableFileSystemApiFrameworks.has(framework);
|
218564
|
+
if (!isEnabled) {
|
218565
|
+
return { metadata, fsApiBuilder: null, reason: 'Flag not enabled.' };
|
218566
|
+
}
|
218567
|
+
if ((vercelConfig === null || vercelConfig === void 0 ? void 0 : vercelConfig.builds) && vercelConfig.builds.length > 0) {
|
218568
|
+
return {
|
218569
|
+
metadata,
|
218570
|
+
fsApiBuilder: null,
|
218571
|
+
reason: 'Detected `builds` in vercel.json. Please remove it in favor of CLI plugins.',
|
218572
|
+
};
|
218573
|
+
}
|
218574
|
+
if (Object.values((vercelConfig === null || vercelConfig === void 0 ? void 0 : vercelConfig.functions) || {}).some(fn => !!fn.runtime)) {
|
218575
|
+
return {
|
218576
|
+
metadata,
|
218577
|
+
fsApiBuilder: null,
|
218578
|
+
reason: 'Detected `functions.runtime` in vercel.json. Please remove it in favor of CLI plugins.',
|
218579
|
+
};
|
218580
|
+
}
|
218581
|
+
if (process.env.HUGO_VERSION) {
|
218582
|
+
return {
|
218583
|
+
metadata,
|
218584
|
+
fsApiBuilder: null,
|
218585
|
+
reason: 'Detected `HUGO_VERSION` environment variable. Please remove it.',
|
218586
|
+
};
|
218587
|
+
}
|
218588
|
+
if (process.env.ZOLA_VERSION) {
|
218589
|
+
return {
|
218590
|
+
metadata,
|
218591
|
+
fsApiBuilder: null,
|
218592
|
+
reason: 'Detected `ZOLA_VERSION` environment variable. Please remove it.',
|
218593
|
+
};
|
218594
|
+
}
|
218595
|
+
if (process.env.GUTENBERG_VERSION) {
|
218596
|
+
return {
|
218597
|
+
metadata,
|
218598
|
+
fsApiBuilder: null,
|
218599
|
+
reason: 'Detected `GUTENBERG_VERSION` environment variable. Please remove it.',
|
218600
|
+
};
|
218601
|
+
}
|
218602
|
+
const invalidBuilder = builders.find(({ use }) => {
|
218603
|
+
const valid = _1.isOfficialRuntime('go', use) ||
|
218604
|
+
_1.isOfficialRuntime('python', use) ||
|
218605
|
+
_1.isOfficialRuntime('ruby', use) ||
|
218606
|
+
_1.isOfficialRuntime('node', use) ||
|
218607
|
+
_1.isOfficialRuntime('next', use) ||
|
218608
|
+
_1.isOfficialRuntime('static', use) ||
|
218609
|
+
_1.isOfficialRuntime('static-build', use);
|
218610
|
+
return !valid;
|
218611
|
+
});
|
218612
|
+
if (invalidBuilder) {
|
218613
|
+
return {
|
218614
|
+
metadata,
|
218615
|
+
fsApiBuilder: null,
|
218616
|
+
reason: `Detected \`${invalidBuilder.use}\` in vercel.json. Please remove it in favor of CLI plugins.`,
|
218617
|
+
};
|
218618
|
+
}
|
218619
|
+
for (const lang of ['go', 'python', 'ruby']) {
|
218620
|
+
for (const { use } of builders) {
|
218621
|
+
const plugin = 'vercel-plugin-' + lang;
|
218622
|
+
if (_1.isOfficialRuntime(lang, use) && !deps[plugin]) {
|
218623
|
+
return {
|
218624
|
+
metadata,
|
218625
|
+
fsApiBuilder: null,
|
218626
|
+
reason: `Detected \`${lang}\` Serverless Function usage without plugin \`${plugin}\`. Please run \`npm i ${plugin}\`.`,
|
218627
|
+
};
|
218628
|
+
}
|
218629
|
+
}
|
218630
|
+
}
|
218631
|
+
if (framework === 'nuxtjs' ||
|
218632
|
+
framework === 'sveltekit' ||
|
218633
|
+
framework === 'redwoodjs') {
|
218634
|
+
return {
|
218635
|
+
metadata,
|
218636
|
+
fsApiBuilder: null,
|
218637
|
+
reason: `Detected framework \`${framework}\` that only supports legacy File System API. Please contact the framework author.`,
|
218638
|
+
};
|
218639
|
+
}
|
218640
|
+
if (framework === 'nextjs' && !hasDotOutput) {
|
218641
|
+
// Use the old pipeline if a custom output directory was specified for Next.js
|
218642
|
+
// because `vercel build` cannot ensure that the directory will be in the same
|
218643
|
+
// location as `.output`, which can break imports (not just nft.json files).
|
218644
|
+
if (projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.outputDirectory) {
|
218645
|
+
return {
|
218646
|
+
metadata,
|
218647
|
+
fsApiBuilder: null,
|
218648
|
+
reason: `Detected Next.js with Output Directory \`${projectSettings.outputDirectory}\` override. Please change it back to the default.`,
|
218649
|
+
};
|
218650
|
+
}
|
218651
|
+
const nextVersion = deps['next'];
|
218652
|
+
if (!nextVersion) {
|
218653
|
+
return {
|
218654
|
+
metadata,
|
218655
|
+
fsApiBuilder: null,
|
218656
|
+
reason: `Detected Next.js in Project Settings but missing \`next\` package.json dependencies. Please run \`npm i next\`.`,
|
218657
|
+
};
|
218658
|
+
}
|
218659
|
+
// TODO: Read version from lockfile instead of package.json
|
218660
|
+
if (nextVersion !== 'latest' && nextVersion !== 'canary') {
|
218661
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(nextVersion) || '');
|
218662
|
+
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '12.0.0')) {
|
218663
|
+
return {
|
218664
|
+
metadata,
|
218665
|
+
fsApiBuilder: null,
|
218666
|
+
reason: `Detected legacy Next.js version "${nextVersion}" in package.json. Please run \`npm i next@latest\` to upgrade.`,
|
218667
|
+
};
|
218668
|
+
}
|
218669
|
+
}
|
218670
|
+
}
|
218671
|
+
if (!hasDotOutput) {
|
218672
|
+
// TODO: Read version from lockfile instead of package.json
|
218673
|
+
const vercelCliVersion = deps['vercel'];
|
218674
|
+
if (vercelCliVersion &&
|
218675
|
+
vercelCliVersion !== 'latest' &&
|
218676
|
+
vercelCliVersion !== 'canary') {
|
218677
|
+
const fixedVersion = semver_1.default.valid(semver_1.default.coerce(vercelCliVersion) || '');
|
218678
|
+
// TODO: we might want to use '24.0.0' once its released
|
218679
|
+
if (!fixedVersion || !semver_1.default.gte(fixedVersion, '23.1.3-canary.68')) {
|
218680
|
+
return {
|
218681
|
+
metadata,
|
218682
|
+
fsApiBuilder: null,
|
218683
|
+
reason: `Detected legacy Vercel CLI version "${vercelCliVersion}" in package.json. Please run \`npm i vercel@latest\` to upgrade.`,
|
218684
|
+
};
|
218685
|
+
}
|
218686
|
+
}
|
218687
|
+
}
|
218688
|
+
const frontendBuilder = builders.find(({ use }) => _1.isOfficialRuntime('next', use) ||
|
218689
|
+
_1.isOfficialRuntime('static', use) ||
|
218690
|
+
_1.isOfficialRuntime('static-build', use));
|
218691
|
+
const config = (frontendBuilder === null || frontendBuilder === void 0 ? void 0 : frontendBuilder.config) || {};
|
218692
|
+
const withTag = tag ? `@${tag}` : '';
|
218693
|
+
const fsApiBuilder = {
|
218694
|
+
use: `@vercelruntimes/file-system-api${withTag}`,
|
218695
|
+
src: '**',
|
218696
|
+
config: {
|
218697
|
+
...config,
|
218698
|
+
fileSystemAPI: true,
|
218699
|
+
framework: config.framework || framework || null,
|
218700
|
+
projectSettings,
|
218701
|
+
hasMiddleware,
|
218702
|
+
hasDotOutput,
|
218703
|
+
},
|
218704
|
+
};
|
218705
|
+
return { metadata, fsApiBuilder, reason: null };
|
218706
|
+
}
|
218707
|
+
exports.detectFileSystemAPI = detectFileSystemAPI;
|
218708
|
+
|
218709
|
+
|
218491
218710
|
/***/ }),
|
218492
218711
|
|
218493
218712
|
/***/ 5224:
|
@@ -218721,7 +218940,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
218721
218940
|
/***/ }),
|
218722
218941
|
|
218723
218942
|
/***/ 2397:
|
218724
|
-
/***/ (function(__unused_webpack_module, exports,
|
218943
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979008__) {
|
218725
218944
|
|
218726
218945
|
"use strict";
|
218727
218946
|
|
@@ -218729,8 +218948,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218729
218948
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218730
218949
|
};
|
218731
218950
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218732
|
-
const assert_1 = __importDefault(
|
218733
|
-
const into_stream_1 = __importDefault(
|
218951
|
+
const assert_1 = __importDefault(__nested_webpack_require_979008__(2357));
|
218952
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_979008__(6130));
|
218734
218953
|
class FileBlob {
|
218735
218954
|
constructor({ mode = 0o100644, contentType, data }) {
|
218736
218955
|
assert_1.default(typeof mode === 'number');
|
@@ -218762,7 +218981,7 @@ exports.default = FileBlob;
|
|
218762
218981
|
/***/ }),
|
218763
218982
|
|
218764
218983
|
/***/ 9331:
|
218765
|
-
/***/ (function(__unused_webpack_module, exports,
|
218984
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_980460__) {
|
218766
218985
|
|
218767
218986
|
"use strict";
|
218768
218987
|
|
@@ -218770,11 +218989,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218770
218989
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218771
218990
|
};
|
218772
218991
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218773
|
-
const assert_1 = __importDefault(
|
218774
|
-
const fs_extra_1 = __importDefault(
|
218775
|
-
const multistream_1 = __importDefault(
|
218776
|
-
const path_1 = __importDefault(
|
218777
|
-
const async_sema_1 = __importDefault(
|
218992
|
+
const assert_1 = __importDefault(__nested_webpack_require_980460__(2357));
|
218993
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_980460__(5392));
|
218994
|
+
const multistream_1 = __importDefault(__nested_webpack_require_980460__(8179));
|
218995
|
+
const path_1 = __importDefault(__nested_webpack_require_980460__(5622));
|
218996
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_980460__(5758));
|
218778
218997
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
218779
218998
|
class FileFsRef {
|
218780
218999
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -218840,7 +219059,7 @@ exports.default = FileFsRef;
|
|
218840
219059
|
/***/ }),
|
218841
219060
|
|
218842
219061
|
/***/ 5187:
|
218843
|
-
/***/ (function(__unused_webpack_module, exports,
|
219062
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983264__) {
|
218844
219063
|
|
218845
219064
|
"use strict";
|
218846
219065
|
|
@@ -218848,11 +219067,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218848
219067
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218849
219068
|
};
|
218850
219069
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218851
|
-
const assert_1 = __importDefault(
|
218852
|
-
const node_fetch_1 = __importDefault(
|
218853
|
-
const multistream_1 = __importDefault(
|
218854
|
-
const async_retry_1 = __importDefault(
|
218855
|
-
const async_sema_1 = __importDefault(
|
219070
|
+
const assert_1 = __importDefault(__nested_webpack_require_983264__(2357));
|
219071
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_983264__(2197));
|
219072
|
+
const multistream_1 = __importDefault(__nested_webpack_require_983264__(8179));
|
219073
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_983264__(3691));
|
219074
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_983264__(5758));
|
218856
219075
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
218857
219076
|
class BailableError extends Error {
|
218858
219077
|
constructor(...args) {
|
@@ -218933,7 +219152,7 @@ exports.default = FileRef;
|
|
218933
219152
|
/***/ }),
|
218934
219153
|
|
218935
219154
|
/***/ 1611:
|
218936
|
-
/***/ (function(__unused_webpack_module, exports,
|
219155
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_986665__) {
|
218937
219156
|
|
218938
219157
|
"use strict";
|
218939
219158
|
|
@@ -218942,10 +219161,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218942
219161
|
};
|
218943
219162
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218944
219163
|
exports.isSymbolicLink = void 0;
|
218945
|
-
const path_1 = __importDefault(
|
218946
|
-
const debug_1 = __importDefault(
|
218947
|
-
const file_fs_ref_1 = __importDefault(
|
218948
|
-
const fs_extra_1 =
|
219164
|
+
const path_1 = __importDefault(__nested_webpack_require_986665__(5622));
|
219165
|
+
const debug_1 = __importDefault(__nested_webpack_require_986665__(1868));
|
219166
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_986665__(9331));
|
219167
|
+
const fs_extra_1 = __nested_webpack_require_986665__(5392);
|
218949
219168
|
const S_IFMT = 61440; /* 0170000 type of file */
|
218950
219169
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
218951
219170
|
function isSymbolicLink(mode) {
|
@@ -219007,14 +219226,14 @@ exports.default = download;
|
|
219007
219226
|
/***/ }),
|
219008
219227
|
|
219009
219228
|
/***/ 3838:
|
219010
|
-
/***/ ((__unused_webpack_module, exports,
|
219229
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_989490__) => {
|
219011
219230
|
|
219012
219231
|
"use strict";
|
219013
219232
|
|
219014
219233
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219015
|
-
const path_1 =
|
219016
|
-
const os_1 =
|
219017
|
-
const fs_extra_1 =
|
219234
|
+
const path_1 = __nested_webpack_require_989490__(5622);
|
219235
|
+
const os_1 = __nested_webpack_require_989490__(2087);
|
219236
|
+
const fs_extra_1 = __nested_webpack_require_989490__(5392);
|
219018
219237
|
async function getWritableDirectory() {
|
219019
219238
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
219020
219239
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -219027,7 +219246,7 @@ exports.default = getWritableDirectory;
|
|
219027
219246
|
/***/ }),
|
219028
219247
|
|
219029
219248
|
/***/ 4240:
|
219030
|
-
/***/ (function(__unused_webpack_module, exports,
|
219249
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_990070__) {
|
219031
219250
|
|
219032
219251
|
"use strict";
|
219033
219252
|
|
@@ -219035,13 +219254,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219035
219254
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219036
219255
|
};
|
219037
219256
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219038
|
-
const path_1 = __importDefault(
|
219039
|
-
const assert_1 = __importDefault(
|
219040
|
-
const glob_1 = __importDefault(
|
219041
|
-
const util_1 =
|
219042
|
-
const fs_extra_1 =
|
219043
|
-
const normalize_path_1 =
|
219044
|
-
const file_fs_ref_1 = __importDefault(
|
219257
|
+
const path_1 = __importDefault(__nested_webpack_require_990070__(5622));
|
219258
|
+
const assert_1 = __importDefault(__nested_webpack_require_990070__(2357));
|
219259
|
+
const glob_1 = __importDefault(__nested_webpack_require_990070__(1104));
|
219260
|
+
const util_1 = __nested_webpack_require_990070__(1669);
|
219261
|
+
const fs_extra_1 = __nested_webpack_require_990070__(5392);
|
219262
|
+
const normalize_path_1 = __nested_webpack_require_990070__(6261);
|
219263
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_990070__(9331));
|
219045
219264
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
219046
219265
|
async function glob(pattern, opts, mountpoint) {
|
219047
219266
|
let options;
|
@@ -219087,7 +219306,7 @@ exports.default = glob;
|
|
219087
219306
|
/***/ }),
|
219088
219307
|
|
219089
219308
|
/***/ 7903:
|
219090
|
-
/***/ (function(__unused_webpack_module, exports,
|
219309
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_992266__) {
|
219091
219310
|
|
219092
219311
|
"use strict";
|
219093
219312
|
|
@@ -219096,9 +219315,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219096
219315
|
};
|
219097
219316
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219098
219317
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
219099
|
-
const semver_1 =
|
219100
|
-
const errors_1 =
|
219101
|
-
const debug_1 = __importDefault(
|
219318
|
+
const semver_1 = __nested_webpack_require_992266__(2879);
|
219319
|
+
const errors_1 = __nested_webpack_require_992266__(3983);
|
219320
|
+
const debug_1 = __importDefault(__nested_webpack_require_992266__(1868));
|
219102
219321
|
const allOptions = [
|
219103
219322
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
219104
219323
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -219192,7 +219411,7 @@ exports.normalizePath = normalizePath;
|
|
219192
219411
|
/***/ }),
|
219193
219412
|
|
219194
219413
|
/***/ 7792:
|
219195
|
-
/***/ (function(__unused_webpack_module, exports,
|
219414
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_996134__) {
|
219196
219415
|
|
219197
219416
|
"use strict";
|
219198
219417
|
|
@@ -219201,9 +219420,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219201
219420
|
};
|
219202
219421
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219203
219422
|
exports.readConfigFile = void 0;
|
219204
|
-
const js_yaml_1 = __importDefault(
|
219205
|
-
const toml_1 = __importDefault(
|
219206
|
-
const fs_extra_1 =
|
219423
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_996134__(6540));
|
219424
|
+
const toml_1 = __importDefault(__nested_webpack_require_996134__(9434));
|
219425
|
+
const fs_extra_1 = __nested_webpack_require_996134__(5392);
|
219207
219426
|
async function readFileOrNull(file) {
|
219208
219427
|
try {
|
219209
219428
|
const data = await fs_extra_1.readFile(file);
|
@@ -219258,7 +219477,7 @@ exports.default = rename;
|
|
219258
219477
|
/***/ }),
|
219259
219478
|
|
219260
219479
|
/***/ 1442:
|
219261
|
-
/***/ (function(__unused_webpack_module, exports,
|
219480
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_997927__) {
|
219262
219481
|
|
219263
219482
|
"use strict";
|
219264
219483
|
|
@@ -219267,14 +219486,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219267
219486
|
};
|
219268
219487
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219269
219488
|
exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
|
219270
|
-
const assert_1 = __importDefault(
|
219271
|
-
const fs_extra_1 = __importDefault(
|
219272
|
-
const path_1 = __importDefault(
|
219273
|
-
const debug_1 = __importDefault(
|
219274
|
-
const cross_spawn_1 = __importDefault(
|
219275
|
-
const util_1 =
|
219276
|
-
const errors_1 =
|
219277
|
-
const node_version_1 =
|
219489
|
+
const assert_1 = __importDefault(__nested_webpack_require_997927__(2357));
|
219490
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_997927__(5392));
|
219491
|
+
const path_1 = __importDefault(__nested_webpack_require_997927__(5622));
|
219492
|
+
const debug_1 = __importDefault(__nested_webpack_require_997927__(1868));
|
219493
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_997927__(7618));
|
219494
|
+
const util_1 = __nested_webpack_require_997927__(1669);
|
219495
|
+
const errors_1 = __nested_webpack_require_997927__(3983);
|
219496
|
+
const node_version_1 = __nested_webpack_require_997927__(7903);
|
219278
219497
|
function spawnAsync(command, args, opts = {}) {
|
219279
219498
|
return new Promise((resolve, reject) => {
|
219280
219499
|
const stderrLogs = [];
|
@@ -219585,7 +219804,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
219585
219804
|
/***/ }),
|
219586
219805
|
|
219587
219806
|
/***/ 2560:
|
219588
|
-
/***/ (function(__unused_webpack_module, exports,
|
219807
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1011917__) {
|
219589
219808
|
|
219590
219809
|
"use strict";
|
219591
219810
|
|
@@ -219593,7 +219812,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219593
219812
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219594
219813
|
};
|
219595
219814
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219596
|
-
const end_of_stream_1 = __importDefault(
|
219815
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_1011917__(687));
|
219597
219816
|
function streamToBuffer(stream) {
|
219598
219817
|
return new Promise((resolve, reject) => {
|
219599
219818
|
const buffers = [];
|
@@ -219622,7 +219841,7 @@ exports.default = streamToBuffer;
|
|
219622
219841
|
/***/ }),
|
219623
219842
|
|
219624
219843
|
/***/ 1148:
|
219625
|
-
/***/ (function(__unused_webpack_module, exports,
|
219844
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1012985__) {
|
219626
219845
|
|
219627
219846
|
"use strict";
|
219628
219847
|
|
@@ -219630,9 +219849,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219630
219849
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219631
219850
|
};
|
219632
219851
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219633
|
-
const path_1 = __importDefault(
|
219634
|
-
const fs_extra_1 = __importDefault(
|
219635
|
-
const ignore_1 = __importDefault(
|
219852
|
+
const path_1 = __importDefault(__nested_webpack_require_1012985__(5622));
|
219853
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_1012985__(5392));
|
219854
|
+
const ignore_1 = __importDefault(__nested_webpack_require_1012985__(3556));
|
219636
219855
|
function isCodedError(error) {
|
219637
219856
|
return (error !== null &&
|
219638
219857
|
error !== undefined &&
|
@@ -219689,7 +219908,7 @@ exports.default = default_1;
|
|
219689
219908
|
/***/ }),
|
219690
219909
|
|
219691
219910
|
/***/ 2855:
|
219692
|
-
/***/ (function(__unused_webpack_module, exports,
|
219911
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1015367__) {
|
219693
219912
|
|
219694
219913
|
"use strict";
|
219695
219914
|
|
@@ -219719,30 +219938,30 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219719
219938
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219720
219939
|
};
|
219721
219940
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219722
|
-
exports.getInputHash = exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
219723
|
-
const crypto_1 =
|
219724
|
-
const file_blob_1 = __importDefault(
|
219941
|
+
exports.getInputHash = exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
219942
|
+
const crypto_1 = __nested_webpack_require_1015367__(6417);
|
219943
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_1015367__(2397));
|
219725
219944
|
exports.FileBlob = file_blob_1.default;
|
219726
|
-
const file_fs_ref_1 = __importDefault(
|
219945
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_1015367__(9331));
|
219727
219946
|
exports.FileFsRef = file_fs_ref_1.default;
|
219728
|
-
const file_ref_1 = __importDefault(
|
219947
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_1015367__(5187));
|
219729
219948
|
exports.FileRef = file_ref_1.default;
|
219730
|
-
const lambda_1 =
|
219949
|
+
const lambda_1 = __nested_webpack_require_1015367__(6721);
|
219731
219950
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
219732
219951
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
219733
219952
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
219734
|
-
const prerender_1 =
|
219953
|
+
const prerender_1 = __nested_webpack_require_1015367__(2850);
|
219735
219954
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
219736
|
-
const download_1 = __importStar(
|
219955
|
+
const download_1 = __importStar(__nested_webpack_require_1015367__(1611));
|
219737
219956
|
exports.download = download_1.default;
|
219738
219957
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
219739
|
-
const get_writable_directory_1 = __importDefault(
|
219958
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_1015367__(3838));
|
219740
219959
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
219741
|
-
const glob_1 = __importDefault(
|
219960
|
+
const glob_1 = __importDefault(__nested_webpack_require_1015367__(4240));
|
219742
219961
|
exports.glob = glob_1.default;
|
219743
|
-
const rename_1 = __importDefault(
|
219962
|
+
const rename_1 = __importDefault(__nested_webpack_require_1015367__(6718));
|
219744
219963
|
exports.rename = rename_1.default;
|
219745
|
-
const run_user_scripts_1 =
|
219964
|
+
const run_user_scripts_1 = __nested_webpack_require_1015367__(1442);
|
219746
219965
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
219747
219966
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
219748
219967
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -219759,38 +219978,40 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
219759
219978
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
219760
219979
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
219761
219980
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
219762
|
-
const node_version_1 =
|
219981
|
+
const node_version_1 = __nested_webpack_require_1015367__(7903);
|
219763
219982
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
219764
219983
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
219765
|
-
const errors_1 =
|
219766
|
-
const stream_to_buffer_1 = __importDefault(
|
219984
|
+
const errors_1 = __nested_webpack_require_1015367__(3983);
|
219985
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1015367__(2560));
|
219767
219986
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
219768
|
-
const should_serve_1 = __importDefault(
|
219987
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_1015367__(2564));
|
219769
219988
|
exports.shouldServe = should_serve_1.default;
|
219770
|
-
const debug_1 = __importDefault(
|
219989
|
+
const debug_1 = __importDefault(__nested_webpack_require_1015367__(1868));
|
219771
219990
|
exports.debug = debug_1.default;
|
219772
|
-
const get_ignore_filter_1 = __importDefault(
|
219991
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1015367__(1148));
|
219773
219992
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
219774
|
-
var detect_builders_1 =
|
219993
|
+
var detect_builders_1 = __nested_webpack_require_1015367__(4246);
|
219775
219994
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
219776
219995
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
219777
219996
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
219778
219997
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
219779
|
-
var
|
219998
|
+
var detect_file_system_api_1 = __nested_webpack_require_1015367__(1182);
|
219999
|
+
Object.defineProperty(exports, "detectFileSystemAPI", ({ enumerable: true, get: function () { return detect_file_system_api_1.detectFileSystemAPI; } }));
|
220000
|
+
var detect_framework_1 = __nested_webpack_require_1015367__(5224);
|
219780
220001
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
219781
|
-
var filesystem_1 =
|
220002
|
+
var filesystem_1 = __nested_webpack_require_1015367__(461);
|
219782
220003
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
219783
|
-
var read_config_file_1 =
|
220004
|
+
var read_config_file_1 = __nested_webpack_require_1015367__(7792);
|
219784
220005
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
219785
|
-
var normalize_path_1 =
|
220006
|
+
var normalize_path_1 = __nested_webpack_require_1015367__(6261);
|
219786
220007
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
219787
|
-
var convert_runtime_to_plugin_1 =
|
220008
|
+
var convert_runtime_to_plugin_1 = __nested_webpack_require_1015367__(7276);
|
219788
220009
|
Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
|
219789
220010
|
Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
|
219790
220011
|
Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
|
219791
|
-
__exportStar(
|
219792
|
-
__exportStar(
|
219793
|
-
__exportStar(
|
220012
|
+
__exportStar(__nested_webpack_require_1015367__(2416), exports);
|
220013
|
+
__exportStar(__nested_webpack_require_1015367__(5748), exports);
|
220014
|
+
__exportStar(__nested_webpack_require_1015367__(3983), exports);
|
219794
220015
|
/**
|
219795
220016
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
219796
220017
|
*/
|
@@ -219843,7 +220064,7 @@ exports.getInputHash = getInputHash;
|
|
219843
220064
|
/***/ }),
|
219844
220065
|
|
219845
220066
|
/***/ 6721:
|
219846
|
-
/***/ (function(__unused_webpack_module, exports,
|
220067
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1026587__) {
|
219847
220068
|
|
219848
220069
|
"use strict";
|
219849
220070
|
|
@@ -219852,13 +220073,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219852
220073
|
};
|
219853
220074
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219854
220075
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
219855
|
-
const assert_1 = __importDefault(
|
219856
|
-
const async_sema_1 = __importDefault(
|
219857
|
-
const yazl_1 =
|
219858
|
-
const minimatch_1 = __importDefault(
|
219859
|
-
const fs_extra_1 =
|
219860
|
-
const download_1 =
|
219861
|
-
const stream_to_buffer_1 = __importDefault(
|
220076
|
+
const assert_1 = __importDefault(__nested_webpack_require_1026587__(2357));
|
220077
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_1026587__(5758));
|
220078
|
+
const yazl_1 = __nested_webpack_require_1026587__(1223);
|
220079
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_1026587__(9566));
|
220080
|
+
const fs_extra_1 = __nested_webpack_require_1026587__(5392);
|
220081
|
+
const download_1 = __nested_webpack_require_1026587__(1611);
|
220082
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1026587__(2560));
|
219862
220083
|
exports.FILES_SYMBOL = Symbol('files');
|
219863
220084
|
class Lambda {
|
219864
220085
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
@@ -220087,12 +220308,12 @@ exports.buildsSchema = {
|
|
220087
220308
|
/***/ }),
|
220088
220309
|
|
220089
220310
|
/***/ 2564:
|
220090
|
-
/***/ ((__unused_webpack_module, exports,
|
220311
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1035097__) => {
|
220091
220312
|
|
220092
220313
|
"use strict";
|
220093
220314
|
|
220094
220315
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220095
|
-
const path_1 =
|
220316
|
+
const path_1 = __nested_webpack_require_1035097__(5622);
|
220096
220317
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
220097
220318
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
220098
220319
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -220329,7 +220550,7 @@ module.exports = __webpack_require__(78761);
|
|
220329
220550
|
/******/ var __webpack_module_cache__ = {};
|
220330
220551
|
/******/
|
220331
220552
|
/******/ // The require function
|
220332
|
-
/******/ function
|
220553
|
+
/******/ function __nested_webpack_require_1134832__(moduleId) {
|
220333
220554
|
/******/ // Check if module is in cache
|
220334
220555
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
220335
220556
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -220344,7 +220565,7 @@ module.exports = __webpack_require__(78761);
|
|
220344
220565
|
/******/ // Execute the module function
|
220345
220566
|
/******/ var threw = true;
|
220346
220567
|
/******/ try {
|
220347
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
220568
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1134832__);
|
220348
220569
|
/******/ threw = false;
|
220349
220570
|
/******/ } finally {
|
220350
220571
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -220357,11 +220578,11 @@ module.exports = __webpack_require__(78761);
|
|
220357
220578
|
/************************************************************************/
|
220358
220579
|
/******/ /* webpack/runtime/compat */
|
220359
220580
|
/******/
|
220360
|
-
/******/
|
220581
|
+
/******/ __nested_webpack_require_1134832__.ab = __dirname + "/";/************************************************************************/
|
220361
220582
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
220362
220583
|
/******/ // startup
|
220363
220584
|
/******/ // Load entry module and return exports
|
220364
|
-
/******/ return
|
220585
|
+
/******/ return __nested_webpack_require_1134832__(2855);
|
220365
220586
|
/******/ })()
|
220366
220587
|
;
|
220367
220588
|
|
@@ -238814,9 +239035,9 @@ async function hashes(files, map = new Map()) {
|
|
238814
239035
|
const h = hash(data);
|
238815
239036
|
const entry = map.get(h);
|
238816
239037
|
if (entry) {
|
238817
|
-
|
238818
|
-
|
238819
|
-
|
239038
|
+
const names = new Set(entry.names);
|
239039
|
+
names.add(name);
|
239040
|
+
entry.names = [...names];
|
238820
239041
|
}
|
238821
239042
|
else {
|
238822
239043
|
map.set(h, { names: [name], data, mode });
|
@@ -243096,6 +243317,44 @@ exports.frameworks = [
|
|
243096
243317
|
},
|
243097
243318
|
],
|
243098
243319
|
},
|
243320
|
+
{
|
243321
|
+
name: 'SolidStart',
|
243322
|
+
slug: 'solidstart',
|
243323
|
+
demo: 'https://solidstart.examples.vercel.com',
|
243324
|
+
logo: 'https://raw.githubusercontent.com/vercel/vercel/main/packages/frameworks/logos/solid.svg',
|
243325
|
+
tagline: 'Simple and performant reactivity for building user interfaces.',
|
243326
|
+
description: 'A Solid app, created with SolidStart.',
|
243327
|
+
website: 'https://solidjs.com',
|
243328
|
+
envPrefix: 'VITE_',
|
243329
|
+
detectors: {
|
243330
|
+
every: [
|
243331
|
+
{
|
243332
|
+
path: 'package.json',
|
243333
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"solid-js":\\s*".+?"[^}]*}',
|
243334
|
+
},
|
243335
|
+
{
|
243336
|
+
path: 'package.json',
|
243337
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"solid-start":\\s*".+?"[^}]*}',
|
243338
|
+
},
|
243339
|
+
],
|
243340
|
+
},
|
243341
|
+
settings: {
|
243342
|
+
installCommand: {
|
243343
|
+
placeholder: '`yarn install` or `npm install`',
|
243344
|
+
},
|
243345
|
+
buildCommand: {
|
243346
|
+
placeholder: '`npm run build` or `solid-start build`',
|
243347
|
+
value: 'solid-start build',
|
243348
|
+
},
|
243349
|
+
devCommand: {
|
243350
|
+
value: 'solid-start dev',
|
243351
|
+
},
|
243352
|
+
outputDirectory: {
|
243353
|
+
value: '.output',
|
243354
|
+
},
|
243355
|
+
},
|
243356
|
+
getOutputDirName: async () => '.output',
|
243357
|
+
},
|
243099
243358
|
{
|
243100
243359
|
name: 'Dojo',
|
243101
243360
|
slug: 'dojo',
|
@@ -250298,6 +250557,7 @@ const glob_1 = __importDefault(__webpack_require__(91104));
|
|
250298
250557
|
const path_1 = __webpack_require__(85622);
|
250299
250558
|
const pluralize_1 = __importDefault(__webpack_require__(31974));
|
250300
250559
|
const emoji_1 = __webpack_require__(41806);
|
250560
|
+
const errors_ts_1 = __webpack_require__(60156);
|
250301
250561
|
const get_args_1 = __importDefault(__webpack_require__(87612));
|
250302
250562
|
const handle_error_1 = __importDefault(__webpack_require__(70870));
|
250303
250563
|
const confirm_1 = __importDefault(__webpack_require__(33564));
|
@@ -250311,6 +250571,7 @@ const plugins_1 = __webpack_require__(13233);
|
|
250311
250571
|
const find_framework_1 = __webpack_require__(77969);
|
250312
250572
|
const link_1 = __webpack_require__(67630);
|
250313
250573
|
const project_settings_1 = __webpack_require__(42697);
|
250574
|
+
const read_json_file_1 = __importDefault(__webpack_require__(16898));
|
250314
250575
|
const pull_1 = __importDefault(__webpack_require__(6277));
|
250315
250576
|
const sema = new async_sema_1.default(16, {
|
250316
250577
|
capacity: 100,
|
@@ -250394,6 +250655,33 @@ async function main(client) {
|
|
250394
250655
|
env: { ...combinedEnv, VERCEL: '1' },
|
250395
250656
|
};
|
250396
250657
|
process.chdir(cwd);
|
250658
|
+
const pkg = await read_json_file_1.default('./package.json');
|
250659
|
+
if (pkg instanceof errors_ts_1.CantParseJSONFile) {
|
250660
|
+
throw pkg;
|
250661
|
+
}
|
250662
|
+
const vercelConfig = await read_json_file_1.default('./vercel.json');
|
250663
|
+
if (vercelConfig instanceof errors_ts_1.CantParseJSONFile) {
|
250664
|
+
throw vercelConfig;
|
250665
|
+
}
|
250666
|
+
if (!process.env.NOW_BUILDER) {
|
250667
|
+
// This validation is only necessary when
|
250668
|
+
// a user runs `vercel build` locally.
|
250669
|
+
const globFiles = await build_utils_1.glob('**', { cwd });
|
250670
|
+
const zeroConfig = await build_utils_1.detectBuilders(Object.keys(globFiles), pkg);
|
250671
|
+
const { reason } = await build_utils_1.detectFileSystemAPI({
|
250672
|
+
files: globFiles,
|
250673
|
+
projectSettings: project.settings,
|
250674
|
+
builders: zeroConfig.builders || [],
|
250675
|
+
pkg,
|
250676
|
+
vercelConfig,
|
250677
|
+
tag: '',
|
250678
|
+
enableFlag: true,
|
250679
|
+
});
|
250680
|
+
if (reason) {
|
250681
|
+
client.output.error(`${cmd_1.default(`${pkg_name_1.getPkgName()} build`)} failed: ${reason}`);
|
250682
|
+
return 1;
|
250683
|
+
}
|
250684
|
+
}
|
250397
250685
|
const framework = find_framework_1.findFramework(project.settings.framework);
|
250398
250686
|
// If this is undefined, we bail. If it is null, then findFramework should return "Other",
|
250399
250687
|
// so this should really never happen, but just in case....
|
@@ -251713,8 +252001,8 @@ exports.default = async (client) => {
|
|
251713
252001
|
if (!pathValidation.valid) {
|
251714
252002
|
return pathValidation.exitCode;
|
251715
252003
|
}
|
251716
|
-
const {
|
251717
|
-
const autoConfirm = argv['--confirm']
|
252004
|
+
const { path } = pathValidation;
|
252005
|
+
const autoConfirm = argv['--confirm'];
|
251718
252006
|
// deprecate --name
|
251719
252007
|
if (argv['--name']) {
|
251720
252008
|
output.print(`${emoji_1.prependEmoji(`The ${param_1.default('--name')} option is deprecated (https://vercel.link/name-flag)`, emoji_1.emoji('warning'))}\n`);
|
@@ -251752,8 +252040,7 @@ exports.default = async (client) => {
|
|
251752
252040
|
// user input.
|
251753
252041
|
const detectedProjectName = get_project_name_1.default({
|
251754
252042
|
argv,
|
251755
|
-
nowConfig: localConfig
|
251756
|
-
isFile,
|
252043
|
+
nowConfig: localConfig,
|
251757
252044
|
paths,
|
251758
252045
|
});
|
251759
252046
|
const projectOrNewProjectName = await input_project_1.default(client, org, detectedProjectName, autoConfirm);
|
@@ -251885,7 +252172,6 @@ exports.default = async (client) => {
|
|
251885
252172
|
rootDirectory,
|
251886
252173
|
quiet,
|
251887
252174
|
wantsPublic: argv['--public'] || localConfig.public,
|
251888
|
-
isFile,
|
251889
252175
|
type: null,
|
251890
252176
|
nowConfig: localConfig,
|
251891
252177
|
regions,
|
@@ -251898,7 +252184,7 @@ exports.default = async (client) => {
|
|
251898
252184
|
// Only add projectSettings for zero config deployments
|
251899
252185
|
createArgs.projectSettings = { sourceFilesOutsideRootDirectory };
|
251900
252186
|
}
|
251901
|
-
deployment = await create_deploy_1.default(client, now, contextName, [sourcePath], createArgs, org, !project
|
252187
|
+
deployment = await create_deploy_1.default(client, now, contextName, [sourcePath], createArgs, org, !project, path);
|
251902
252188
|
if (deployment.code === 'missing_project_settings') {
|
251903
252189
|
let { projectSettings, framework } = deployment;
|
251904
252190
|
if (rootDirectory) {
|
@@ -252011,7 +252297,7 @@ exports.default = async (client) => {
|
|
252011
252297
|
error_1.handleError(err);
|
252012
252298
|
return 1;
|
252013
252299
|
}
|
252014
|
-
return printDeploymentStatus(output, client, deployment, deployStamp, !argv['--no-clipboard']
|
252300
|
+
return printDeploymentStatus(output, client, deployment, deployStamp, !argv['--no-clipboard']);
|
252015
252301
|
};
|
252016
252302
|
function handleCreateDeployError(output, error, localConfig) {
|
252017
252303
|
if (error instanceof errors_ts_1.InvalidDomain) {
|
@@ -252077,7 +252363,7 @@ const addProcessEnv = async (log, env) => {
|
|
252077
252363
|
}
|
252078
252364
|
}
|
252079
252365
|
};
|
252080
|
-
const printDeploymentStatus = async (output, client, { readyState, alias: aliasList, aliasError, target, indications, url: deploymentUrl, aliasWarning, }, deployStamp, isClipboardEnabled
|
252366
|
+
const printDeploymentStatus = async (output, client, { readyState, alias: aliasList, aliasError, target, indications, url: deploymentUrl, aliasWarning, }, deployStamp, isClipboardEnabled) => {
|
252081
252367
|
indications = indications || [];
|
252082
252368
|
const isProdDeployment = target === 'production';
|
252083
252369
|
if (readyState !== 'READY') {
|
@@ -252091,7 +252377,7 @@ const printDeploymentStatus = async (output, client, { readyState, alias: aliasL
|
|
252091
252377
|
// print preview/production url
|
252092
252378
|
let previewUrl;
|
252093
252379
|
let isWildcard;
|
252094
|
-
if (
|
252380
|
+
if (Array.isArray(aliasList) && aliasList.length > 0) {
|
252095
252381
|
const previewUrlInfo = await get_preferred_preview_url_1.getPreferredPreviewURL(client, aliasList);
|
252096
252382
|
if (previewUrlInfo) {
|
252097
252383
|
isWildcard = previewUrlInfo.isWildcard;
|
@@ -261584,6 +261870,28 @@ class DevServer {
|
|
261584
261870
|
if (warnings && warnings.length > 0) {
|
261585
261871
|
warnings.forEach(warning => this.output.warn(warning.message, null, warning.link, warning.action));
|
261586
261872
|
}
|
261873
|
+
const { reason, metadata } = await build_utils_1.detectFileSystemAPI({
|
261874
|
+
files,
|
261875
|
+
builders: builders || [],
|
261876
|
+
projectSettings: projectSettings || this.projectSettings || {},
|
261877
|
+
vercelConfig,
|
261878
|
+
pkg,
|
261879
|
+
tag: '',
|
261880
|
+
enableFlag: true,
|
261881
|
+
});
|
261882
|
+
if (reason) {
|
261883
|
+
if (metadata.hasMiddleware) {
|
261884
|
+
this.output.error(`Detected middleware usage which requires the latest API. ${reason}`);
|
261885
|
+
await this.exit();
|
261886
|
+
}
|
261887
|
+
else if (metadata.plugins.length > 0) {
|
261888
|
+
this.output.error(`Detected CLI plugins which requires the latest API. ${reason}`);
|
261889
|
+
await this.exit();
|
261890
|
+
}
|
261891
|
+
else {
|
261892
|
+
this.output.warn(`Unable to use latest API. ${reason}`);
|
261893
|
+
}
|
261894
|
+
}
|
261587
261895
|
if (builders) {
|
261588
261896
|
if (this.devCommand) {
|
261589
261897
|
builders = builders.filter(filterFrontendBuilds);
|
@@ -265957,7 +266265,7 @@ exports.default = getPrefixedFlags;
|
|
265957
266265
|
|
265958
266266
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
265959
266267
|
const path_1 = __webpack_require__(85622);
|
265960
|
-
function getProjectName({ argv, nowConfig = {},
|
266268
|
+
function getProjectName({ argv, nowConfig = {}, paths = [], }) {
|
265961
266269
|
const nameCli = argv['--name'];
|
265962
266270
|
if (nameCli) {
|
265963
266271
|
return nameCli;
|
@@ -265965,9 +266273,6 @@ function getProjectName({ argv, nowConfig = {}, isFile = false, paths = [], }) {
|
|
265965
266273
|
if (nowConfig.name) {
|
265966
266274
|
return nowConfig.name;
|
265967
266275
|
}
|
265968
|
-
if (isFile || paths.length > 1) {
|
265969
|
-
return 'files';
|
265970
|
-
}
|
265971
266276
|
// Otherwise, use the name of the directory
|
265972
266277
|
return path_1.basename(paths[0] || '');
|
265973
266278
|
}
|
@@ -266790,7 +267095,7 @@ const get_project_by_id_or_name_1 = __importDefault(__webpack_require__(41123));
|
|
266790
267095
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
266791
267096
|
const errors_ts_1 = __webpack_require__(60156);
|
266792
267097
|
const slugify_1 = __importDefault(__webpack_require__(98537));
|
266793
|
-
async function inputProject(client, org, detectedProjectName, autoConfirm) {
|
267098
|
+
async function inputProject(client, org, detectedProjectName, autoConfirm = false) {
|
266794
267099
|
const { output } = client;
|
266795
267100
|
const slugifiedName = slugify_1.default(detectedProjectName);
|
266796
267101
|
// attempt to auto-detect a project to link
|
@@ -266902,7 +267207,7 @@ const path_1 = __importDefault(__webpack_require__(85622));
|
|
266902
267207
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
266903
267208
|
const inquirer_1 = __importDefault(__webpack_require__(64016));
|
266904
267209
|
const validate_paths_1 = __webpack_require__(54579);
|
266905
|
-
async function inputRootDirectory(cwd, output, autoConfirm) {
|
267210
|
+
async function inputRootDirectory(cwd, output, autoConfirm = false) {
|
266906
267211
|
if (autoConfirm) {
|
266907
267212
|
return null;
|
266908
267213
|
}
|
@@ -267860,7 +268165,6 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
267860
268165
|
withCache: undefined,
|
267861
268166
|
quiet,
|
267862
268167
|
wantsPublic: (localConfig === null || localConfig === void 0 ? void 0 : localConfig.public) || false,
|
267863
|
-
isFile,
|
267864
268168
|
nowConfig: localConfig,
|
267865
268169
|
regions: undefined,
|
267866
268170
|
meta: {},
|
@@ -267872,7 +268176,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
267872
268176
|
// Only add projectSettings for zero config deployments
|
267873
268177
|
createArgs.projectSettings = { sourceFilesOutsideRootDirectory };
|
267874
268178
|
}
|
267875
|
-
const deployment = await create_deploy_1.default(client, now, config.currentTeam || 'current user', [sourcePath], createArgs, org,
|
268179
|
+
const deployment = await create_deploy_1.default(client, now, config.currentTeam || 'current user', [sourcePath], createArgs, org, true, path);
|
267876
268180
|
if (!deployment ||
|
267877
268181
|
!('code' in deployment) ||
|
267878
268182
|
deployment.code !== 'missing_project_settings') {
|
@@ -270643,7 +270947,6 @@ const util_1 = __webpack_require__(31669);
|
|
270643
270947
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
270644
270948
|
const os_1 = __webpack_require__(12087);
|
270645
270949
|
const confirm_1 = __importDefault(__webpack_require__(33564));
|
270646
|
-
const emoji_1 = __webpack_require__(41806);
|
270647
270950
|
const humanize_path_1 = __importDefault(__webpack_require__(45090));
|
270648
270951
|
const stat = util_1.promisify(fs_1.lstat);
|
270649
270952
|
/**
|
@@ -270680,9 +270983,12 @@ async function validatePaths(output, paths) {
|
|
270680
270983
|
output.print(`${chalk_1.default.red('Error!')} Could not find ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}\n`);
|
270681
270984
|
return { valid: false, exitCode: 1 };
|
270682
270985
|
}
|
270683
|
-
|
270684
|
-
|
270685
|
-
|
270986
|
+
if (!pathStat.isDirectory()) {
|
270987
|
+
output.prettyError({
|
270988
|
+
message: 'Support for single file deployments has been removed.',
|
270989
|
+
link: 'https://vercel.link/no-single-file-deployments',
|
270990
|
+
});
|
270991
|
+
return { valid: false, exitCode: 1 };
|
270686
270992
|
}
|
270687
270993
|
// ask confirmation if the directory is home
|
270688
270994
|
if (path === os_1.homedir()) {
|
@@ -270692,7 +270998,7 @@ async function validatePaths(output, paths) {
|
|
270692
270998
|
return { valid: false, exitCode: 0 };
|
270693
270999
|
}
|
270694
271000
|
}
|
270695
|
-
return { valid: true, path
|
271001
|
+
return { valid: true, path };
|
270696
271002
|
}
|
270697
271003
|
exports.default = validatePaths;
|
270698
271004
|
|
@@ -271071,7 +271377,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
271071
271377
|
/***/ ((module) => {
|
271072
271378
|
|
271073
271379
|
"use strict";
|
271074
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.
|
271380
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.70\",\"preferGlobal\":true,\"license\":\"Apache-2.0\",\"description\":\"The command-line interface for Vercel\",\"homepage\":\"https://vercel.com\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/cli\"},\"scripts\":{\"preinstall\":\"node ./scripts/preinstall.js\",\"test\":\"jest\",\"test-unit\":\"jest --coverage --verbose\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"ava test/dev/integration.js --serial --fail-fast --verbose\",\"prepublishOnly\":\"yarn build\",\"coverage\":\"codecov\",\"build\":\"node -r ts-eager/register ./scripts/build.ts\",\"build-dev\":\"node -r ts-eager/register ./scripts/build.ts --dev\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"compileEnhancements\":false,\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 12\"},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.45\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.7\",\"@vercel/python\":\"2.1.2-canary.2\",\"@vercel/ruby\":\"1.2.10-canary.0\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.22\",\"vercel-plugin-node\":\"1.12.2-canary.37\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@vercel/client\":\"10.2.3-canary.48\",\"@vercel/frameworks\":\"0.5.1-canary.18\",\"@vercel/ncc\":\"0.24.0\",\"@vercel/nft\":\"0.17.0\",\"@zeit/fun\":\"0.11.2\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"3.0.0\",\"ansi-regex\":\"3.0.0\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"clipboardy\":\"2.1.0\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"credit-card\":\"3.0.1\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-prompt\":\"0.3.2\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.0.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"jsonlines\":\"0.1.1\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.2.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"progress\":\"2.0.3\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"5.2.0\",\"stripe\":\"5.1.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-eager\":\"2.0.2\",\"ts-node\":\"8.3.0\",\"typescript\":\"4.3.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"which\":\"2.0.2\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"ca433a467956e29b3e206034b68bd9de681145fe\"}");
|
271075
271381
|
|
271076
271382
|
/***/ }),
|
271077
271383
|
|
@@ -271087,7 +271393,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
271087
271393
|
/***/ ((module) => {
|
271088
271394
|
|
271089
271395
|
"use strict";
|
271090
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.
|
271396
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.48\",\"main\":\"dist/index.js\",\"typings\":\"dist/index.d.ts\",\"homepage\":\"https://vercel.com\",\"license\":\"MIT\",\"files\":[\"dist\"],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/client\"},\"scripts\":{\"build\":\"tsc\",\"test-integration-once\":\"jest --verbose --runInBand --bail tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test-unit\":\"jest --verbose --runInBand --bail tests/unit.*test.*\"},\"engines\":{\"node\":\">= 12\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.0.1\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"12.0.4\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.45\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"querystring\":\"^0.2.0\",\"recursive-readdir\":\"2.2.2\",\"sleep-promise\":\"8.0.1\"},\"gitHead\":\"ca433a467956e29b3e206034b68bd9de681145fe\"}");
|
271091
271397
|
|
271092
271398
|
/***/ }),
|
271093
271399
|
|