@vercel/static-build 2.7.25 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +432 -6
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -10248,6 +10248,57 @@ var require_frameworks = __commonJS({
|
|
|
10248
10248
|
}
|
|
10249
10249
|
]
|
|
10250
10250
|
},
|
|
10251
|
+
{
|
|
10252
|
+
name: "Flask",
|
|
10253
|
+
slug: "flask",
|
|
10254
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/flask.svg",
|
|
10255
|
+
tagline: "The Python micro web framework",
|
|
10256
|
+
description: "A Flask app, ready for production",
|
|
10257
|
+
website: "https://flask.palletsprojects.com",
|
|
10258
|
+
useRuntime: { src: "index.py", use: "@vercel/python" },
|
|
10259
|
+
detectors: {
|
|
10260
|
+
some: [
|
|
10261
|
+
{
|
|
10262
|
+
path: "requirements.txt",
|
|
10263
|
+
matchContent: "flask"
|
|
10264
|
+
},
|
|
10265
|
+
{
|
|
10266
|
+
path: "pyproject.toml",
|
|
10267
|
+
matchContent: "flask"
|
|
10268
|
+
},
|
|
10269
|
+
{
|
|
10270
|
+
path: "Pipfile",
|
|
10271
|
+
matchContent: "flask"
|
|
10272
|
+
}
|
|
10273
|
+
]
|
|
10274
|
+
},
|
|
10275
|
+
settings: {
|
|
10276
|
+
installCommand: {
|
|
10277
|
+
placeholder: "`pip install -r requirements.txt`"
|
|
10278
|
+
},
|
|
10279
|
+
buildCommand: {
|
|
10280
|
+
placeholder: "None",
|
|
10281
|
+
value: null
|
|
10282
|
+
},
|
|
10283
|
+
devCommand: {
|
|
10284
|
+
placeholder: "None",
|
|
10285
|
+
value: null
|
|
10286
|
+
},
|
|
10287
|
+
outputDirectory: {
|
|
10288
|
+
value: "N/A"
|
|
10289
|
+
}
|
|
10290
|
+
},
|
|
10291
|
+
getOutputDirName: async () => "public",
|
|
10292
|
+
defaultRoutes: [
|
|
10293
|
+
{
|
|
10294
|
+
handle: "filesystem"
|
|
10295
|
+
},
|
|
10296
|
+
{
|
|
10297
|
+
src: "/(.*)",
|
|
10298
|
+
dest: "/"
|
|
10299
|
+
}
|
|
10300
|
+
]
|
|
10301
|
+
},
|
|
10251
10302
|
{
|
|
10252
10303
|
name: "FastHTML",
|
|
10253
10304
|
slug: "fasthtml",
|
|
@@ -10449,7 +10500,7 @@ var require_frameworks = __commonJS({
|
|
|
10449
10500
|
description: "Nitro lets you create web servers that run on multiple platforms.",
|
|
10450
10501
|
website: "https://nitro.build/",
|
|
10451
10502
|
detectors: {
|
|
10452
|
-
|
|
10503
|
+
some: [{ matchPackage: "nitropack" }, { matchPackage: "nitro" }]
|
|
10453
10504
|
},
|
|
10454
10505
|
settings: {
|
|
10455
10506
|
installCommand: {
|
|
@@ -10466,7 +10517,6 @@ var require_frameworks = __commonJS({
|
|
|
10466
10517
|
value: "dist"
|
|
10467
10518
|
}
|
|
10468
10519
|
},
|
|
10469
|
-
dependency: "nitropack",
|
|
10470
10520
|
getOutputDirName: async () => "public"
|
|
10471
10521
|
},
|
|
10472
10522
|
{
|
|
@@ -11047,9 +11097,197 @@ var require_frameworks = __commonJS({
|
|
|
11047
11097
|
detectors: {
|
|
11048
11098
|
every: [{ matchPackage: "@nestjs/core" }],
|
|
11049
11099
|
some: [
|
|
11100
|
+
{
|
|
11101
|
+
path: "src/main.js",
|
|
11102
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11103
|
+
},
|
|
11104
|
+
{
|
|
11105
|
+
path: "src/main.cjs",
|
|
11106
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11107
|
+
},
|
|
11108
|
+
{
|
|
11109
|
+
path: "src/main.mjs",
|
|
11110
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11111
|
+
},
|
|
11050
11112
|
{
|
|
11051
11113
|
path: "src/main.ts",
|
|
11052
11114
|
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11115
|
+
},
|
|
11116
|
+
{
|
|
11117
|
+
path: "src/main.cts",
|
|
11118
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11119
|
+
},
|
|
11120
|
+
{
|
|
11121
|
+
path: "src/main.mts",
|
|
11122
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11123
|
+
},
|
|
11124
|
+
{
|
|
11125
|
+
path: "main.js",
|
|
11126
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11127
|
+
},
|
|
11128
|
+
{
|
|
11129
|
+
path: "main.cjs",
|
|
11130
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11131
|
+
},
|
|
11132
|
+
{
|
|
11133
|
+
path: "main.mjs",
|
|
11134
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11135
|
+
},
|
|
11136
|
+
{
|
|
11137
|
+
path: "main.ts",
|
|
11138
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11139
|
+
},
|
|
11140
|
+
{
|
|
11141
|
+
path: "main.cts",
|
|
11142
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11143
|
+
},
|
|
11144
|
+
{
|
|
11145
|
+
path: "main.mts",
|
|
11146
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11147
|
+
},
|
|
11148
|
+
{
|
|
11149
|
+
path: "app.js",
|
|
11150
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11151
|
+
},
|
|
11152
|
+
{
|
|
11153
|
+
path: "app.cjs",
|
|
11154
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11155
|
+
},
|
|
11156
|
+
{
|
|
11157
|
+
path: "app.mjs",
|
|
11158
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11159
|
+
},
|
|
11160
|
+
{
|
|
11161
|
+
path: "app.ts",
|
|
11162
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11163
|
+
},
|
|
11164
|
+
{
|
|
11165
|
+
path: "app.cts",
|
|
11166
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11167
|
+
},
|
|
11168
|
+
{
|
|
11169
|
+
path: "app.mts",
|
|
11170
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11171
|
+
},
|
|
11172
|
+
{
|
|
11173
|
+
path: "index.js",
|
|
11174
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11175
|
+
},
|
|
11176
|
+
{
|
|
11177
|
+
path: "index.cjs",
|
|
11178
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11179
|
+
},
|
|
11180
|
+
{
|
|
11181
|
+
path: "index.mjs",
|
|
11182
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11183
|
+
},
|
|
11184
|
+
{
|
|
11185
|
+
path: "index.ts",
|
|
11186
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11187
|
+
},
|
|
11188
|
+
{
|
|
11189
|
+
path: "index.cts",
|
|
11190
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11191
|
+
},
|
|
11192
|
+
{
|
|
11193
|
+
path: "index.mts",
|
|
11194
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11195
|
+
},
|
|
11196
|
+
{
|
|
11197
|
+
path: "server.js",
|
|
11198
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11199
|
+
},
|
|
11200
|
+
{
|
|
11201
|
+
path: "server.cjs",
|
|
11202
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11203
|
+
},
|
|
11204
|
+
{
|
|
11205
|
+
path: "server.mjs",
|
|
11206
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11207
|
+
},
|
|
11208
|
+
{
|
|
11209
|
+
path: "server.ts",
|
|
11210
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11211
|
+
},
|
|
11212
|
+
{
|
|
11213
|
+
path: "server.cts",
|
|
11214
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11215
|
+
},
|
|
11216
|
+
{
|
|
11217
|
+
path: "server.mts",
|
|
11218
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11219
|
+
},
|
|
11220
|
+
{
|
|
11221
|
+
path: "src/app.js",
|
|
11222
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11223
|
+
},
|
|
11224
|
+
{
|
|
11225
|
+
path: "src/app.cjs",
|
|
11226
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11227
|
+
},
|
|
11228
|
+
{
|
|
11229
|
+
path: "src/app.mjs",
|
|
11230
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11231
|
+
},
|
|
11232
|
+
{
|
|
11233
|
+
path: "src/app.ts",
|
|
11234
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11235
|
+
},
|
|
11236
|
+
{
|
|
11237
|
+
path: "src/app.cts",
|
|
11238
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11239
|
+
},
|
|
11240
|
+
{
|
|
11241
|
+
path: "src/app.mts",
|
|
11242
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11243
|
+
},
|
|
11244
|
+
{
|
|
11245
|
+
path: "src/index.js",
|
|
11246
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11247
|
+
},
|
|
11248
|
+
{
|
|
11249
|
+
path: "src/index.cjs",
|
|
11250
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11251
|
+
},
|
|
11252
|
+
{
|
|
11253
|
+
path: "src/index.mjs",
|
|
11254
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11255
|
+
},
|
|
11256
|
+
{
|
|
11257
|
+
path: "src/index.ts",
|
|
11258
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11259
|
+
},
|
|
11260
|
+
{
|
|
11261
|
+
path: "src/index.cts",
|
|
11262
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11263
|
+
},
|
|
11264
|
+
{
|
|
11265
|
+
path: "src/index.mts",
|
|
11266
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11267
|
+
},
|
|
11268
|
+
{
|
|
11269
|
+
path: "src/server.js",
|
|
11270
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11271
|
+
},
|
|
11272
|
+
{
|
|
11273
|
+
path: "src/server.cjs",
|
|
11274
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11275
|
+
},
|
|
11276
|
+
{
|
|
11277
|
+
path: "src/server.mjs",
|
|
11278
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11279
|
+
},
|
|
11280
|
+
{
|
|
11281
|
+
path: "src/server.ts",
|
|
11282
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11283
|
+
},
|
|
11284
|
+
{
|
|
11285
|
+
path: "src/server.cts",
|
|
11286
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11287
|
+
},
|
|
11288
|
+
{
|
|
11289
|
+
path: "src/server.mts",
|
|
11290
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
|
|
11053
11291
|
}
|
|
11054
11292
|
]
|
|
11055
11293
|
},
|
|
@@ -11072,6 +11310,191 @@ var require_frameworks = __commonJS({
|
|
|
11072
11310
|
dependency: "nestjs",
|
|
11073
11311
|
getOutputDirName: async () => "public"
|
|
11074
11312
|
},
|
|
11313
|
+
{
|
|
11314
|
+
name: "Fastify",
|
|
11315
|
+
slug: "fastify",
|
|
11316
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/fastify.svg",
|
|
11317
|
+
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/fastify-dark.svg",
|
|
11318
|
+
tagline: "Fast and low overhead web framework, for Node.js",
|
|
11319
|
+
description: "Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture.",
|
|
11320
|
+
website: "https://fastify.dev/",
|
|
11321
|
+
useRuntime: { src: "index.js", use: "@vercel/fastify" },
|
|
11322
|
+
defaultRoutes: [
|
|
11323
|
+
{
|
|
11324
|
+
handle: "filesystem"
|
|
11325
|
+
},
|
|
11326
|
+
{
|
|
11327
|
+
src: "/(.*)",
|
|
11328
|
+
dest: "/"
|
|
11329
|
+
}
|
|
11330
|
+
],
|
|
11331
|
+
detectors: {
|
|
11332
|
+
every: [{ matchPackage: "fastify" }],
|
|
11333
|
+
some: [
|
|
11334
|
+
{
|
|
11335
|
+
path: "app.cjs",
|
|
11336
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11337
|
+
},
|
|
11338
|
+
{
|
|
11339
|
+
path: "app.js",
|
|
11340
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11341
|
+
},
|
|
11342
|
+
{
|
|
11343
|
+
path: "app.mjs",
|
|
11344
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11345
|
+
},
|
|
11346
|
+
{
|
|
11347
|
+
path: "app.mts",
|
|
11348
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11349
|
+
},
|
|
11350
|
+
{
|
|
11351
|
+
path: "app.ts",
|
|
11352
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11353
|
+
},
|
|
11354
|
+
{
|
|
11355
|
+
path: "app.cts",
|
|
11356
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11357
|
+
},
|
|
11358
|
+
{
|
|
11359
|
+
path: "index.cjs",
|
|
11360
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11361
|
+
},
|
|
11362
|
+
{
|
|
11363
|
+
path: "index.js",
|
|
11364
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11365
|
+
},
|
|
11366
|
+
{
|
|
11367
|
+
path: "index.mjs",
|
|
11368
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11369
|
+
},
|
|
11370
|
+
{
|
|
11371
|
+
path: "index.mts",
|
|
11372
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11373
|
+
},
|
|
11374
|
+
{
|
|
11375
|
+
path: "index.ts",
|
|
11376
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11377
|
+
},
|
|
11378
|
+
{
|
|
11379
|
+
path: "index.cts",
|
|
11380
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11381
|
+
},
|
|
11382
|
+
{
|
|
11383
|
+
path: "server.cjs",
|
|
11384
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11385
|
+
},
|
|
11386
|
+
{
|
|
11387
|
+
path: "server.js",
|
|
11388
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11389
|
+
},
|
|
11390
|
+
{
|
|
11391
|
+
path: "server.mjs",
|
|
11392
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11393
|
+
},
|
|
11394
|
+
{
|
|
11395
|
+
path: "server.mts",
|
|
11396
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11397
|
+
},
|
|
11398
|
+
{
|
|
11399
|
+
path: "server.ts",
|
|
11400
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11401
|
+
},
|
|
11402
|
+
{
|
|
11403
|
+
path: "server.cts",
|
|
11404
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11405
|
+
},
|
|
11406
|
+
{
|
|
11407
|
+
path: "src/index.cjs",
|
|
11408
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11409
|
+
},
|
|
11410
|
+
{
|
|
11411
|
+
path: "src/index.js",
|
|
11412
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11413
|
+
},
|
|
11414
|
+
{
|
|
11415
|
+
path: "src/index.mjs",
|
|
11416
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11417
|
+
},
|
|
11418
|
+
{
|
|
11419
|
+
path: "src/index.mts",
|
|
11420
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11421
|
+
},
|
|
11422
|
+
{
|
|
11423
|
+
path: "src/index.ts",
|
|
11424
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11425
|
+
},
|
|
11426
|
+
{
|
|
11427
|
+
path: "src/index.cts",
|
|
11428
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11429
|
+
},
|
|
11430
|
+
{
|
|
11431
|
+
path: "src/app.cjs",
|
|
11432
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11433
|
+
},
|
|
11434
|
+
{
|
|
11435
|
+
path: "src/app.js",
|
|
11436
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11437
|
+
},
|
|
11438
|
+
{
|
|
11439
|
+
path: "src/app.mjs",
|
|
11440
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11441
|
+
},
|
|
11442
|
+
{
|
|
11443
|
+
path: "src/app.mts",
|
|
11444
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11445
|
+
},
|
|
11446
|
+
{
|
|
11447
|
+
path: "src/app.ts",
|
|
11448
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11449
|
+
},
|
|
11450
|
+
{
|
|
11451
|
+
path: "src/app.cts",
|
|
11452
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11453
|
+
},
|
|
11454
|
+
{
|
|
11455
|
+
path: "src/server.cjs",
|
|
11456
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11457
|
+
},
|
|
11458
|
+
{
|
|
11459
|
+
path: "src/server.js",
|
|
11460
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11461
|
+
},
|
|
11462
|
+
{
|
|
11463
|
+
path: "src/server.mjs",
|
|
11464
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11465
|
+
},
|
|
11466
|
+
{
|
|
11467
|
+
path: "src/server.mts",
|
|
11468
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11469
|
+
},
|
|
11470
|
+
{
|
|
11471
|
+
path: "src/server.ts",
|
|
11472
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11473
|
+
},
|
|
11474
|
+
{
|
|
11475
|
+
path: "src/server.cts",
|
|
11476
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']fastify["']\\s*(?:\\))?`
|
|
11477
|
+
}
|
|
11478
|
+
]
|
|
11479
|
+
},
|
|
11480
|
+
settings: {
|
|
11481
|
+
installCommand: {
|
|
11482
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
|
11483
|
+
},
|
|
11484
|
+
buildCommand: {
|
|
11485
|
+
placeholder: "None",
|
|
11486
|
+
value: null
|
|
11487
|
+
},
|
|
11488
|
+
devCommand: {
|
|
11489
|
+
placeholder: "None",
|
|
11490
|
+
value: null
|
|
11491
|
+
},
|
|
11492
|
+
outputDirectory: {
|
|
11493
|
+
value: "N/A"
|
|
11494
|
+
}
|
|
11495
|
+
},
|
|
11496
|
+
getOutputDirName: async () => "public"
|
|
11497
|
+
},
|
|
11075
11498
|
{
|
|
11076
11499
|
name: "xmcp",
|
|
11077
11500
|
slug: "xmcp",
|
|
@@ -18941,6 +19364,9 @@ var require_detect_builders = __commonJS({
|
|
|
18941
19364
|
config.excludeFiles = func.excludeFiles;
|
|
18942
19365
|
}
|
|
18943
19366
|
}
|
|
19367
|
+
if (options.bunVersion) {
|
|
19368
|
+
config.bunVersion = options.bunVersion;
|
|
19369
|
+
}
|
|
18944
19370
|
const builder = {
|
|
18945
19371
|
use,
|
|
18946
19372
|
src: fileName,
|
|
@@ -18997,6 +19423,9 @@ var require_detect_builders = __commonJS({
|
|
|
18997
19423
|
if (projectSettings.outputDirectory) {
|
|
18998
19424
|
config.outputDirectory = projectSettings.outputDirectory;
|
|
18999
19425
|
}
|
|
19426
|
+
if (options.bunVersion) {
|
|
19427
|
+
config.bunVersion = options.bunVersion;
|
|
19428
|
+
}
|
|
19000
19429
|
if (pkg && (framework === void 0 || framework !== "storybook" && createdAt < Date.parse("2020-03-01"))) {
|
|
19001
19430
|
const deps = {
|
|
19002
19431
|
...pkg.dependencies,
|
|
@@ -19117,7 +19546,7 @@ var require_detect_builders = __commonJS({
|
|
|
19117
19546
|
}
|
|
19118
19547
|
if (frontendBuilder && (0, import_is_official_runtime.isOfficialRuntime)("next", frontendBuilder.use)) {
|
|
19119
19548
|
for (const fnKey of unusedFunctions.values()) {
|
|
19120
|
-
if (fnKey.startsWith("pages/") || fnKey.startsWith("src/pages") || fnKey.startsWith("app/") || fnKey.startsWith("src/app/")) {
|
|
19549
|
+
if (fnKey.startsWith("pages/") || fnKey.startsWith("src/pages") || fnKey.startsWith("app/") || fnKey.startsWith("src/app/") || fnKey.startsWith("middleware") || fnKey.startsWith("src/middleware")) {
|
|
19121
19550
|
unusedFunctions.delete(fnKey);
|
|
19122
19551
|
} else {
|
|
19123
19552
|
return {
|
|
@@ -28521,7 +28950,6 @@ var build = async ({
|
|
|
28521
28950
|
cliType,
|
|
28522
28951
|
lockfileVersion,
|
|
28523
28952
|
packageJsonPackageManager,
|
|
28524
|
-
nodeVersion,
|
|
28525
28953
|
env: spawnOpts.env || {},
|
|
28526
28954
|
turboSupportsCorepackHome,
|
|
28527
28955
|
projectCreatedAt: config.projectSettings?.createdAt
|
|
@@ -28543,7 +28971,6 @@ var build = async ({
|
|
|
28543
28971
|
[],
|
|
28544
28972
|
spawnOpts,
|
|
28545
28973
|
meta,
|
|
28546
|
-
nodeVersion,
|
|
28547
28974
|
config.projectSettings?.createdAt
|
|
28548
28975
|
);
|
|
28549
28976
|
isNpmInstall = true;
|
|
@@ -28597,7 +29024,6 @@ var build = async ({
|
|
|
28597
29024
|
[],
|
|
28598
29025
|
spawnOpts,
|
|
28599
29026
|
meta,
|
|
28600
|
-
nodeVersion,
|
|
28601
29027
|
config.projectSettings?.createdAt
|
|
28602
29028
|
);
|
|
28603
29029
|
isNpmInstall = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
17
|
-
"@vercel/gatsby-plugin-vercel-builder": "2.0.
|
|
17
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.0.99",
|
|
18
18
|
"@vercel/static-config": "3.1.2",
|
|
19
19
|
"ts-morph": "12.0.0"
|
|
20
20
|
},
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@types/node-fetch": "2.5.4",
|
|
29
29
|
"@types/promise-timeout": "1.3.0",
|
|
30
30
|
"@types/semver": "7.3.13",
|
|
31
|
-
"@vercel/build-utils": "12.
|
|
31
|
+
"@vercel/build-utils": "12.2.0",
|
|
32
32
|
"@vercel/error-utils": "2.0.3",
|
|
33
|
-
"@vercel/frameworks": "3.
|
|
34
|
-
"@vercel/fs-detectors": "5.
|
|
33
|
+
"@vercel/frameworks": "3.14.0",
|
|
34
|
+
"@vercel/fs-detectors": "5.7.0",
|
|
35
35
|
"@vercel/routing-utils": "5.2.0",
|
|
36
36
|
"execa": "3.2.0",
|
|
37
37
|
"fs-extra": "10.0.0",
|