@vercel/static-build 2.7.16 → 2.7.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 +209 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -8510,6 +8510,7 @@ var require_frameworks = __commonJS({
|
|
|
8510
8510
|
sort: 7,
|
|
8511
8511
|
supersedes: ["hydrogen", "vite"],
|
|
8512
8512
|
useRuntime: { src: "package.json", use: "@vercel/remix-builder" },
|
|
8513
|
+
ignoreRuntimes: ["@vercel/node"],
|
|
8513
8514
|
detectors: {
|
|
8514
8515
|
some: [
|
|
8515
8516
|
{
|
|
@@ -10412,6 +10413,210 @@ var require_frameworks = __commonJS({
|
|
|
10412
10413
|
dependency: "nitropack",
|
|
10413
10414
|
getOutputDirName: async () => "public"
|
|
10414
10415
|
},
|
|
10416
|
+
{
|
|
10417
|
+
name: "Hono",
|
|
10418
|
+
slug: "hono",
|
|
10419
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/hono.svg",
|
|
10420
|
+
demo: "https://hono.vercel.dev",
|
|
10421
|
+
tagline: "Web framework built on Web Standards",
|
|
10422
|
+
description: "Fast, lightweight, built on Web Standards. Support for any JavaScript runtime.",
|
|
10423
|
+
website: "https://hono.dev",
|
|
10424
|
+
useRuntime: { src: "index.js", use: "@vercel/hono" },
|
|
10425
|
+
defaultRoutes: [
|
|
10426
|
+
{
|
|
10427
|
+
handle: "filesystem"
|
|
10428
|
+
},
|
|
10429
|
+
{
|
|
10430
|
+
src: "/(.*)",
|
|
10431
|
+
dest: "/"
|
|
10432
|
+
}
|
|
10433
|
+
],
|
|
10434
|
+
detectors: {
|
|
10435
|
+
every: [{ matchPackage: "hono" }],
|
|
10436
|
+
some: [
|
|
10437
|
+
{
|
|
10438
|
+
path: "index.cjs",
|
|
10439
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10440
|
+
},
|
|
10441
|
+
{
|
|
10442
|
+
path: "index.js",
|
|
10443
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10444
|
+
},
|
|
10445
|
+
{
|
|
10446
|
+
path: "index.mjs",
|
|
10447
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10448
|
+
},
|
|
10449
|
+
{
|
|
10450
|
+
path: "index.mts",
|
|
10451
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10452
|
+
},
|
|
10453
|
+
{
|
|
10454
|
+
path: "index.ts",
|
|
10455
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10456
|
+
},
|
|
10457
|
+
{
|
|
10458
|
+
path: "server.cjs",
|
|
10459
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10460
|
+
},
|
|
10461
|
+
{
|
|
10462
|
+
path: "server.js",
|
|
10463
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10464
|
+
},
|
|
10465
|
+
{
|
|
10466
|
+
path: "server.mjs",
|
|
10467
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10468
|
+
},
|
|
10469
|
+
{
|
|
10470
|
+
path: "server.mts",
|
|
10471
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10472
|
+
},
|
|
10473
|
+
{
|
|
10474
|
+
path: "server.ts",
|
|
10475
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10476
|
+
},
|
|
10477
|
+
{
|
|
10478
|
+
path: "src/index.cjs",
|
|
10479
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10480
|
+
},
|
|
10481
|
+
{
|
|
10482
|
+
path: "src/index.js",
|
|
10483
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10484
|
+
},
|
|
10485
|
+
{
|
|
10486
|
+
path: "src/index.mjs",
|
|
10487
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10488
|
+
},
|
|
10489
|
+
{
|
|
10490
|
+
path: "src/index.mts",
|
|
10491
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10492
|
+
},
|
|
10493
|
+
{
|
|
10494
|
+
path: "src/index.ts",
|
|
10495
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
|
|
10496
|
+
}
|
|
10497
|
+
]
|
|
10498
|
+
},
|
|
10499
|
+
settings: {
|
|
10500
|
+
installCommand: {
|
|
10501
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
|
10502
|
+
},
|
|
10503
|
+
buildCommand: {
|
|
10504
|
+
placeholder: "None",
|
|
10505
|
+
value: null
|
|
10506
|
+
},
|
|
10507
|
+
devCommand: {
|
|
10508
|
+
placeholder: "None",
|
|
10509
|
+
value: null
|
|
10510
|
+
},
|
|
10511
|
+
outputDirectory: {
|
|
10512
|
+
value: "N/A"
|
|
10513
|
+
}
|
|
10514
|
+
},
|
|
10515
|
+
dependency: "hono",
|
|
10516
|
+
getOutputDirName: async () => "public"
|
|
10517
|
+
},
|
|
10518
|
+
{
|
|
10519
|
+
name: "Express",
|
|
10520
|
+
slug: "express",
|
|
10521
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/express.svg",
|
|
10522
|
+
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/express-dark.svg",
|
|
10523
|
+
tagline: "Fast, unopinionated, minimalist web framework for Node.js",
|
|
10524
|
+
description: "Fast, unopinionated, minimalist web framework for Node.js",
|
|
10525
|
+
website: "https://expressjs.com",
|
|
10526
|
+
useRuntime: { src: "index.js", use: "@vercel/express" },
|
|
10527
|
+
defaultRoutes: [
|
|
10528
|
+
{
|
|
10529
|
+
handle: "filesystem"
|
|
10530
|
+
},
|
|
10531
|
+
{
|
|
10532
|
+
src: "/(.*)",
|
|
10533
|
+
dest: "/"
|
|
10534
|
+
}
|
|
10535
|
+
],
|
|
10536
|
+
detectors: {
|
|
10537
|
+
every: [{ matchPackage: "express" }],
|
|
10538
|
+
some: [
|
|
10539
|
+
{
|
|
10540
|
+
path: "index.cjs",
|
|
10541
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10542
|
+
},
|
|
10543
|
+
{
|
|
10544
|
+
path: "index.js",
|
|
10545
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10546
|
+
},
|
|
10547
|
+
{
|
|
10548
|
+
path: "index.mjs",
|
|
10549
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10550
|
+
},
|
|
10551
|
+
{
|
|
10552
|
+
path: "index.mts",
|
|
10553
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10554
|
+
},
|
|
10555
|
+
{
|
|
10556
|
+
path: "index.ts",
|
|
10557
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10558
|
+
},
|
|
10559
|
+
{
|
|
10560
|
+
path: "server.cjs",
|
|
10561
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10562
|
+
},
|
|
10563
|
+
{
|
|
10564
|
+
path: "server.js",
|
|
10565
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10566
|
+
},
|
|
10567
|
+
{
|
|
10568
|
+
path: "server.mjs",
|
|
10569
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10570
|
+
},
|
|
10571
|
+
{
|
|
10572
|
+
path: "server.mts",
|
|
10573
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10574
|
+
},
|
|
10575
|
+
{
|
|
10576
|
+
path: "server.ts",
|
|
10577
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10578
|
+
},
|
|
10579
|
+
{
|
|
10580
|
+
path: "src/index.cjs",
|
|
10581
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10582
|
+
},
|
|
10583
|
+
{
|
|
10584
|
+
path: "src/index.js",
|
|
10585
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10586
|
+
},
|
|
10587
|
+
{
|
|
10588
|
+
path: "src/index.mjs",
|
|
10589
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10590
|
+
},
|
|
10591
|
+
{
|
|
10592
|
+
path: "src/index.mts",
|
|
10593
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10594
|
+
},
|
|
10595
|
+
{
|
|
10596
|
+
path: "src/index.ts",
|
|
10597
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
|
|
10598
|
+
}
|
|
10599
|
+
]
|
|
10600
|
+
},
|
|
10601
|
+
settings: {
|
|
10602
|
+
installCommand: {
|
|
10603
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
|
10604
|
+
},
|
|
10605
|
+
buildCommand: {
|
|
10606
|
+
placeholder: "None",
|
|
10607
|
+
value: null
|
|
10608
|
+
},
|
|
10609
|
+
devCommand: {
|
|
10610
|
+
placeholder: "None",
|
|
10611
|
+
value: null
|
|
10612
|
+
},
|
|
10613
|
+
outputDirectory: {
|
|
10614
|
+
value: "N/A"
|
|
10615
|
+
}
|
|
10616
|
+
},
|
|
10617
|
+
dependency: "express",
|
|
10618
|
+
getOutputDirName: async () => "public"
|
|
10619
|
+
},
|
|
10415
10620
|
{
|
|
10416
10621
|
name: "Other",
|
|
10417
10622
|
slug: null,
|
|
@@ -19261,7 +19466,10 @@ var require_filesystem = __commonJS({
|
|
|
19261
19466
|
}
|
|
19262
19467
|
}
|
|
19263
19468
|
if (options?.potentialFiles) {
|
|
19264
|
-
const
|
|
19469
|
+
const filesInReaddirDir = options.potentialFiles.filter(
|
|
19470
|
+
(path6) => (0, import_path7.basename)(path6) === path6
|
|
19471
|
+
);
|
|
19472
|
+
const filesThatDoNotExist = filesInReaddirDir.filter(
|
|
19265
19473
|
(path6) => !directoryFiles.has(path6)
|
|
19266
19474
|
);
|
|
19267
19475
|
for (const filePath of filesThatDoNotExist) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.18",
|
|
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.92",
|
|
18
18
|
"@vercel/static-config": "3.1.1",
|
|
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": "
|
|
31
|
+
"@vercel/build-utils": "11.0.1",
|
|
32
32
|
"@vercel/error-utils": "2.0.3",
|
|
33
|
-
"@vercel/frameworks": "3.7.
|
|
34
|
-
"@vercel/fs-detectors": "5.4.
|
|
33
|
+
"@vercel/frameworks": "3.7.6",
|
|
34
|
+
"@vercel/fs-detectors": "5.4.12",
|
|
35
35
|
"@vercel/routing-utils": "5.1.1",
|
|
36
36
|
"execa": "3.2.0",
|
|
37
37
|
"fs-extra": "10.0.0",
|