@vercel/static-build 2.7.17 → 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.
Files changed (2) hide show
  1. package/dist/index.js +153 -3
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -10417,6 +10417,7 @@ var require_frameworks = __commonJS({
10417
10417
  name: "Hono",
10418
10418
  slug: "hono",
10419
10419
  logo: "https://api-frameworks.vercel.sh/framework-logos/hono.svg",
10420
+ demo: "https://hono.vercel.dev",
10420
10421
  tagline: "Web framework built on Web Standards",
10421
10422
  description: "Fast, lightweight, built on Web Standards. Support for any JavaScript runtime.",
10422
10423
  website: "https://hono.dev",
@@ -10434,7 +10435,7 @@ var require_frameworks = __commonJS({
10434
10435
  every: [{ matchPackage: "hono" }],
10435
10436
  some: [
10436
10437
  {
10437
- path: "index.ts",
10438
+ path: "index.cjs",
10438
10439
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10439
10440
  },
10440
10441
  {
@@ -10442,12 +10443,56 @@ var require_frameworks = __commonJS({
10442
10443
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10443
10444
  },
10444
10445
  {
10445
- path: "src/index.ts",
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",
10446
10479
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10447
10480
  },
10448
10481
  {
10449
10482
  path: "src/index.js",
10450
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*(?:\\))?`
10451
10496
  }
10452
10497
  ]
10453
10498
  },
@@ -10470,6 +10515,108 @@ var require_frameworks = __commonJS({
10470
10515
  dependency: "hono",
10471
10516
  getOutputDirName: async () => "public"
10472
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
+ },
10473
10620
  {
10474
10621
  name: "Other",
10475
10622
  slug: null,
@@ -19319,7 +19466,10 @@ var require_filesystem = __commonJS({
19319
19466
  }
19320
19467
  }
19321
19468
  if (options?.potentialFiles) {
19322
- const filesThatDoNotExist = options.potentialFiles.filter(
19469
+ const filesInReaddirDir = options.potentialFiles.filter(
19470
+ (path6) => (0, import_path7.basename)(path6) === path6
19471
+ );
19472
+ const filesThatDoNotExist = filesInReaddirDir.filter(
19323
19473
  (path6) => !directoryFiles.has(path6)
19324
19474
  );
19325
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.17",
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.91",
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": "11.0.0",
31
+ "@vercel/build-utils": "11.0.1",
32
32
  "@vercel/error-utils": "2.0.3",
33
- "@vercel/frameworks": "3.7.4",
34
- "@vercel/fs-detectors": "5.4.10",
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",