@vercel/static-build 2.8.17 → 2.8.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +187 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -11113,6 +11113,191 @@ var require_frameworks = __commonJS({
|
|
|
11113
11113
|
dependency: "h3",
|
|
11114
11114
|
getOutputDirName: async () => "public"
|
|
11115
11115
|
},
|
|
11116
|
+
{
|
|
11117
|
+
name: "Koa",
|
|
11118
|
+
slug: "koa",
|
|
11119
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/koa.svg",
|
|
11120
|
+
tagline: "Expressive middleware for Node.js using ES2017 async functions",
|
|
11121
|
+
description: "Koa is a new web framework designed by the team behind Express, which aims to be a smaller, more expressive, and more robust foundation for web applications and APIs.",
|
|
11122
|
+
website: "https://koajs.com",
|
|
11123
|
+
useRuntime: { src: "index.js", use: "@vercel/koa" },
|
|
11124
|
+
defaultRoutes: [
|
|
11125
|
+
{
|
|
11126
|
+
handle: "filesystem"
|
|
11127
|
+
},
|
|
11128
|
+
{
|
|
11129
|
+
src: "/(.*)",
|
|
11130
|
+
dest: "/"
|
|
11131
|
+
}
|
|
11132
|
+
],
|
|
11133
|
+
detectors: {
|
|
11134
|
+
every: [{ matchPackage: "koa" }],
|
|
11135
|
+
some: [
|
|
11136
|
+
{
|
|
11137
|
+
path: "app.cjs",
|
|
11138
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11139
|
+
},
|
|
11140
|
+
{
|
|
11141
|
+
path: "app.js",
|
|
11142
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11143
|
+
},
|
|
11144
|
+
{
|
|
11145
|
+
path: "app.mjs",
|
|
11146
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11147
|
+
},
|
|
11148
|
+
{
|
|
11149
|
+
path: "app.mts",
|
|
11150
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11151
|
+
},
|
|
11152
|
+
{
|
|
11153
|
+
path: "app.ts",
|
|
11154
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11155
|
+
},
|
|
11156
|
+
{
|
|
11157
|
+
path: "app.cts",
|
|
11158
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11159
|
+
},
|
|
11160
|
+
{
|
|
11161
|
+
path: "index.cjs",
|
|
11162
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11163
|
+
},
|
|
11164
|
+
{
|
|
11165
|
+
path: "index.js",
|
|
11166
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11167
|
+
},
|
|
11168
|
+
{
|
|
11169
|
+
path: "index.mjs",
|
|
11170
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11171
|
+
},
|
|
11172
|
+
{
|
|
11173
|
+
path: "index.mts",
|
|
11174
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11175
|
+
},
|
|
11176
|
+
{
|
|
11177
|
+
path: "index.ts",
|
|
11178
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11179
|
+
},
|
|
11180
|
+
{
|
|
11181
|
+
path: "index.cts",
|
|
11182
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11183
|
+
},
|
|
11184
|
+
{
|
|
11185
|
+
path: "server.cjs",
|
|
11186
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11187
|
+
},
|
|
11188
|
+
{
|
|
11189
|
+
path: "server.js",
|
|
11190
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11191
|
+
},
|
|
11192
|
+
{
|
|
11193
|
+
path: "server.mjs",
|
|
11194
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11195
|
+
},
|
|
11196
|
+
{
|
|
11197
|
+
path: "server.mts",
|
|
11198
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11199
|
+
},
|
|
11200
|
+
{
|
|
11201
|
+
path: "server.ts",
|
|
11202
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11203
|
+
},
|
|
11204
|
+
{
|
|
11205
|
+
path: "server.cts",
|
|
11206
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11207
|
+
},
|
|
11208
|
+
{
|
|
11209
|
+
path: "src/index.cjs",
|
|
11210
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11211
|
+
},
|
|
11212
|
+
{
|
|
11213
|
+
path: "src/index.js",
|
|
11214
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11215
|
+
},
|
|
11216
|
+
{
|
|
11217
|
+
path: "src/index.mjs",
|
|
11218
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11219
|
+
},
|
|
11220
|
+
{
|
|
11221
|
+
path: "src/index.mts",
|
|
11222
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11223
|
+
},
|
|
11224
|
+
{
|
|
11225
|
+
path: "src/index.ts",
|
|
11226
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11227
|
+
},
|
|
11228
|
+
{
|
|
11229
|
+
path: "src/index.cts",
|
|
11230
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11231
|
+
},
|
|
11232
|
+
{
|
|
11233
|
+
path: "src/app.cjs",
|
|
11234
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11235
|
+
},
|
|
11236
|
+
{
|
|
11237
|
+
path: "src/app.js",
|
|
11238
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11239
|
+
},
|
|
11240
|
+
{
|
|
11241
|
+
path: "src/app.mjs",
|
|
11242
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11243
|
+
},
|
|
11244
|
+
{
|
|
11245
|
+
path: "src/app.mts",
|
|
11246
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11247
|
+
},
|
|
11248
|
+
{
|
|
11249
|
+
path: "src/app.ts",
|
|
11250
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11251
|
+
},
|
|
11252
|
+
{
|
|
11253
|
+
path: "src/app.cts",
|
|
11254
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11255
|
+
},
|
|
11256
|
+
{
|
|
11257
|
+
path: "src/server.cjs",
|
|
11258
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11259
|
+
},
|
|
11260
|
+
{
|
|
11261
|
+
path: "src/server.js",
|
|
11262
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11263
|
+
},
|
|
11264
|
+
{
|
|
11265
|
+
path: "src/server.mjs",
|
|
11266
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11267
|
+
},
|
|
11268
|
+
{
|
|
11269
|
+
path: "src/server.mts",
|
|
11270
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11271
|
+
},
|
|
11272
|
+
{
|
|
11273
|
+
path: "src/server.ts",
|
|
11274
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11275
|
+
},
|
|
11276
|
+
{
|
|
11277
|
+
path: "src/server.cts",
|
|
11278
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']koa["']\\s*(?:\\))?`
|
|
11279
|
+
}
|
|
11280
|
+
]
|
|
11281
|
+
},
|
|
11282
|
+
settings: {
|
|
11283
|
+
installCommand: {
|
|
11284
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
|
11285
|
+
},
|
|
11286
|
+
buildCommand: {
|
|
11287
|
+
placeholder: "None",
|
|
11288
|
+
value: null
|
|
11289
|
+
},
|
|
11290
|
+
devCommand: {
|
|
11291
|
+
placeholder: "None",
|
|
11292
|
+
value: null
|
|
11293
|
+
},
|
|
11294
|
+
outputDirectory: {
|
|
11295
|
+
value: "N/A"
|
|
11296
|
+
}
|
|
11297
|
+
},
|
|
11298
|
+
dependency: "koa",
|
|
11299
|
+
getOutputDirName: async () => "public"
|
|
11300
|
+
},
|
|
11116
11301
|
{
|
|
11117
11302
|
name: "NestJS",
|
|
11118
11303
|
slug: "nestjs",
|
|
@@ -29157,7 +29342,7 @@ var build = async ({
|
|
|
29157
29342
|
}
|
|
29158
29343
|
}
|
|
29159
29344
|
}
|
|
29160
|
-
const nodeVersion = await (0, import_build_utils4.
|
|
29345
|
+
const nodeVersion = await (0, import_build_utils4.getRuntimeNodeVersion)(
|
|
29161
29346
|
entrypointDir,
|
|
29162
29347
|
void 0,
|
|
29163
29348
|
config,
|
|
@@ -29447,7 +29632,7 @@ Details: https://err.sh/vercel/vercel/now-static-build-failed-to-detect-a-server
|
|
|
29447
29632
|
}
|
|
29448
29633
|
if (!config.zeroConfig && entrypoint.endsWith(".sh")) {
|
|
29449
29634
|
(0, import_build_utils4.debug)(`Running build script "${entrypoint}"`);
|
|
29450
|
-
const nodeVersion = await (0, import_build_utils4.
|
|
29635
|
+
const nodeVersion = await (0, import_build_utils4.getRuntimeNodeVersion)(
|
|
29451
29636
|
entrypointDir,
|
|
29452
29637
|
void 0,
|
|
29453
29638
|
config,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.18",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
17
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
18
|
-
"@vercel/
|
|
19
|
-
"@vercel/
|
|
18
|
+
"@vercel/static-config": "3.1.2",
|
|
19
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.0.117"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"semver": "7.5.2",
|
|
40
40
|
"tree-kill": "1.2.2",
|
|
41
41
|
"@vercel/error-utils": "2.0.3",
|
|
42
|
-
"@vercel/
|
|
43
|
-
"@vercel/
|
|
42
|
+
"@vercel/frameworks": "3.15.5",
|
|
43
|
+
"@vercel/build-utils": "13.2.7",
|
|
44
44
|
"@vercel/routing-utils": "5.3.2",
|
|
45
|
-
"@vercel/fs-detectors": "5.7.
|
|
45
|
+
"@vercel/fs-detectors": "5.7.13"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "node ../../utils/build-builder.mjs",
|