@vercel/static-build 2.7.17 → 2.7.19

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 +232 -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,27 @@ var require_frameworks = __commonJS({
10434
10435
  every: [{ matchPackage: "hono" }],
10435
10436
  some: [
10436
10437
  {
10437
- path: "index.ts",
10438
+ path: "app.cjs",
10439
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10440
+ },
10441
+ {
10442
+ path: "app.js",
10443
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10444
+ },
10445
+ {
10446
+ path: "app.mjs",
10447
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10448
+ },
10449
+ {
10450
+ path: "app.mts",
10451
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10452
+ },
10453
+ {
10454
+ path: "app.ts",
10455
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10456
+ },
10457
+ {
10458
+ path: "index.cjs",
10438
10459
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10439
10460
  },
10440
10461
  {
@@ -10442,12 +10463,56 @@ var require_frameworks = __commonJS({
10442
10463
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10443
10464
  },
10444
10465
  {
10445
- path: "src/index.ts",
10466
+ path: "index.mjs",
10467
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10468
+ },
10469
+ {
10470
+ path: "index.mts",
10471
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10472
+ },
10473
+ {
10474
+ path: "index.ts",
10475
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10476
+ },
10477
+ {
10478
+ path: "server.cjs",
10479
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10480
+ },
10481
+ {
10482
+ path: "server.js",
10483
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10484
+ },
10485
+ {
10486
+ path: "server.mjs",
10487
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10488
+ },
10489
+ {
10490
+ path: "server.mts",
10491
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10492
+ },
10493
+ {
10494
+ path: "server.ts",
10495
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10496
+ },
10497
+ {
10498
+ path: "src/index.cjs",
10446
10499
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10447
10500
  },
10448
10501
  {
10449
10502
  path: "src/index.js",
10450
10503
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10504
+ },
10505
+ {
10506
+ path: "src/index.mjs",
10507
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10508
+ },
10509
+ {
10510
+ path: "src/index.mts",
10511
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10512
+ },
10513
+ {
10514
+ path: "src/index.ts",
10515
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']hono["']\\s*(?:\\))?`
10451
10516
  }
10452
10517
  ]
10453
10518
  },
@@ -10470,6 +10535,167 @@ var require_frameworks = __commonJS({
10470
10535
  dependency: "hono",
10471
10536
  getOutputDirName: async () => "public"
10472
10537
  },
10538
+ {
10539
+ name: "Express",
10540
+ slug: "express",
10541
+ logo: "https://api-frameworks.vercel.sh/framework-logos/express.svg",
10542
+ darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/express-dark.svg",
10543
+ tagline: "Fast, unopinionated, minimalist web framework for Node.js",
10544
+ description: "Fast, unopinionated, minimalist web framework for Node.js",
10545
+ website: "https://expressjs.com",
10546
+ useRuntime: { src: "index.js", use: "@vercel/express" },
10547
+ defaultRoutes: [
10548
+ {
10549
+ handle: "filesystem"
10550
+ },
10551
+ {
10552
+ src: "/(.*)",
10553
+ dest: "/"
10554
+ }
10555
+ ],
10556
+ detectors: {
10557
+ every: [{ matchPackage: "express" }],
10558
+ some: [
10559
+ {
10560
+ path: "app.cjs",
10561
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10562
+ },
10563
+ {
10564
+ path: "app.js",
10565
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10566
+ },
10567
+ {
10568
+ path: "app.mjs",
10569
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10570
+ },
10571
+ {
10572
+ path: "app.mts",
10573
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10574
+ },
10575
+ {
10576
+ path: "app.ts",
10577
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10578
+ },
10579
+ {
10580
+ path: "index.cjs",
10581
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10582
+ },
10583
+ {
10584
+ path: "index.js",
10585
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10586
+ },
10587
+ {
10588
+ path: "index.mjs",
10589
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10590
+ },
10591
+ {
10592
+ path: "index.mts",
10593
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10594
+ },
10595
+ {
10596
+ path: "index.ts",
10597
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10598
+ },
10599
+ {
10600
+ path: "server.cjs",
10601
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10602
+ },
10603
+ {
10604
+ path: "server.js",
10605
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10606
+ },
10607
+ {
10608
+ path: "server.mjs",
10609
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10610
+ },
10611
+ {
10612
+ path: "server.mts",
10613
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10614
+ },
10615
+ {
10616
+ path: "server.ts",
10617
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10618
+ },
10619
+ {
10620
+ path: "src/index.cjs",
10621
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10622
+ },
10623
+ {
10624
+ path: "src/index.js",
10625
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10626
+ },
10627
+ {
10628
+ path: "src/index.mjs",
10629
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10630
+ },
10631
+ {
10632
+ path: "src/index.mts",
10633
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10634
+ },
10635
+ {
10636
+ path: "src/index.ts",
10637
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']express["']\\s*(?:\\))?`
10638
+ }
10639
+ ]
10640
+ },
10641
+ settings: {
10642
+ installCommand: {
10643
+ placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
10644
+ },
10645
+ buildCommand: {
10646
+ placeholder: "None",
10647
+ value: null
10648
+ },
10649
+ devCommand: {
10650
+ placeholder: "None",
10651
+ value: null
10652
+ },
10653
+ outputDirectory: {
10654
+ value: "N/A"
10655
+ }
10656
+ },
10657
+ dependency: "express",
10658
+ getOutputDirName: async () => "public"
10659
+ },
10660
+ {
10661
+ name: "xmcp",
10662
+ slug: "xmcp",
10663
+ logo: "https://api-frameworks.vercel.sh/framework-logos/xmcp.svg",
10664
+ tagline: "The MCP framework for building AI-powered tools",
10665
+ description: "A framework for building Model Context Protocol servers with zero configuration.",
10666
+ website: "https://xmcp.dev",
10667
+ detectors: {
10668
+ some: [
10669
+ {
10670
+ path: "xmcp.config.ts"
10671
+ },
10672
+ {
10673
+ path: "xmcp.config.js"
10674
+ },
10675
+ {
10676
+ matchPackage: "xmcp"
10677
+ }
10678
+ ]
10679
+ },
10680
+ settings: {
10681
+ installCommand: {
10682
+ placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
10683
+ },
10684
+ buildCommand: {
10685
+ placeholder: "`npm run build` or `xmcp build`",
10686
+ value: "xmcp build --vercel"
10687
+ },
10688
+ devCommand: {
10689
+ value: "xmcp dev",
10690
+ placeholder: "xmcp dev"
10691
+ },
10692
+ outputDirectory: {
10693
+ value: "dist"
10694
+ }
10695
+ },
10696
+ dependency: "xmcp",
10697
+ getOutputDirName: async () => "dist"
10698
+ },
10473
10699
  {
10474
10700
  name: "Other",
10475
10701
  slug: null,
@@ -19319,7 +19545,10 @@ var require_filesystem = __commonJS({
19319
19545
  }
19320
19546
  }
19321
19547
  if (options?.potentialFiles) {
19322
- const filesThatDoNotExist = options.potentialFiles.filter(
19548
+ const filesInReaddirDir = options.potentialFiles.filter(
19549
+ (path6) => (0, import_path7.basename)(path6) === path6
19550
+ );
19551
+ const filesThatDoNotExist = filesInReaddirDir.filter(
19323
19552
  (path6) => !directoryFiles.has(path6)
19324
19553
  );
19325
19554
  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.19",
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.93",
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.2",
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.8.1",
34
+ "@vercel/fs-detectors": "5.4.15",
35
35
  "@vercel/routing-utils": "5.1.1",
36
36
  "execa": "3.2.0",
37
37
  "fs-extra": "10.0.0",