@vercel/static-build 2.5.44 → 2.6.1

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 +54 -1
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -8498,6 +8498,55 @@ var require_frameworks = __commonJS({
8498
8498
  dependency: "remix",
8499
8499
  getOutputDirName: async () => "public"
8500
8500
  },
8501
+ {
8502
+ name: "React Router",
8503
+ slug: "react-router",
8504
+ demo: "https://react-router-v7-template.vercel.app",
8505
+ logo: "https://api-frameworks.vercel.sh/framework-logos/react-router.svg",
8506
+ darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/react-router-dark.svg",
8507
+ tagline: "Declarative routing for React",
8508
+ description: "A user-obsessed, standards-focused, multi-strategy router you can deploy anywhere.",
8509
+ website: "https://reactrouter.com",
8510
+ sort: 7,
8511
+ supersedes: ["hydrogen", "vite"],
8512
+ useRuntime: { src: "package.json", use: "@vercel/remix-builder" },
8513
+ detectors: {
8514
+ some: [
8515
+ {
8516
+ path: "vite.config.js",
8517
+ matchContent: "@react-router/dev/vite"
8518
+ },
8519
+ {
8520
+ path: "vite.config.ts",
8521
+ matchContent: "@react-router/dev/vite"
8522
+ },
8523
+ {
8524
+ path: "react-router.config.js"
8525
+ },
8526
+ {
8527
+ path: "react-router.config.ts"
8528
+ }
8529
+ ]
8530
+ },
8531
+ settings: {
8532
+ installCommand: {
8533
+ placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
8534
+ },
8535
+ buildCommand: {
8536
+ value: "react-router build",
8537
+ placeholder: "`npm run build` or `react-router build`"
8538
+ },
8539
+ devCommand: {
8540
+ value: "react-router dev",
8541
+ placeholder: "react-router dev"
8542
+ },
8543
+ outputDirectory: {
8544
+ value: "build"
8545
+ }
8546
+ },
8547
+ dependency: "react-router",
8548
+ getOutputDirName: async () => "build"
8549
+ },
8501
8550
  {
8502
8551
  name: "Astro",
8503
8552
  slug: "astro",
@@ -27938,7 +27987,11 @@ var prepareCache = async ({
27938
27987
  }
27939
27988
  Object.assign(
27940
27989
  cacheFiles,
27941
- await (0, import_build_utils4.glob)("**/{.shadow-cljs,node_modules}/**", repoRootPath || workPath)
27990
+ await (0, import_build_utils4.glob)(import_build_utils4.defaultCachePathGlob, repoRootPath || workPath)
27991
+ );
27992
+ Object.assign(
27993
+ cacheFiles,
27994
+ await (0, import_build_utils4.glob)("**/.shadow-cljs/**", repoRootPath || workPath)
27942
27995
  );
27943
27996
  const pkg = getPkg(entrypoint, workPath);
27944
27997
  const framework = getFramework(config, pkg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "2.5.44",
3
+ "version": "2.6.1",
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.66",
17
+ "@vercel/gatsby-plugin-vercel-builder": "2.0.68",
18
18
  "@vercel/static-config": "3.0.0",
19
19
  "ts-morph": "12.0.0"
20
20
  },
@@ -28,11 +28,11 @@
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": "9.1.1",
31
+ "@vercel/build-utils": "9.2.1",
32
32
  "@vercel/error-utils": "2.0.3",
33
- "@vercel/frameworks": "3.5.0",
34
- "@vercel/fs-detectors": "5.3.5",
35
- "@vercel/routing-utils": "5.0.2",
33
+ "@vercel/frameworks": "3.6.1",
34
+ "@vercel/fs-detectors": "5.3.7",
35
+ "@vercel/routing-utils": "5.0.3",
36
36
  "execa": "3.2.0",
37
37
  "fs-extra": "10.0.0",
38
38
  "get-port": "5.0.0",