@vercel/static-build 2.5.43 → 2.6.0
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 +55 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -8498,6 +8498,56 @@ 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
|
+
// TODO: uncomment this after "react-router" template is added
|
|
8505
|
+
//demo: 'https://react-router-v7-template.vercel.app',
|
|
8506
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/react-router.svg",
|
|
8507
|
+
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/react-router-dark.svg",
|
|
8508
|
+
tagline: "Declarative routing for React",
|
|
8509
|
+
description: "A user\u2011obsessed, standards\u2011focused, multi\u2011strategy router you can deploy anywhere.",
|
|
8510
|
+
website: "https://reactrouter.com",
|
|
8511
|
+
sort: 7,
|
|
8512
|
+
supersedes: ["hydrogen", "vite"],
|
|
8513
|
+
useRuntime: { src: "package.json", use: "@vercel/remix-builder" },
|
|
8514
|
+
detectors: {
|
|
8515
|
+
some: [
|
|
8516
|
+
{
|
|
8517
|
+
path: "vite.config.js",
|
|
8518
|
+
matchContent: "@react-router/dev/vite"
|
|
8519
|
+
},
|
|
8520
|
+
{
|
|
8521
|
+
path: "vite.config.ts",
|
|
8522
|
+
matchContent: "@react-router/dev/vite"
|
|
8523
|
+
},
|
|
8524
|
+
{
|
|
8525
|
+
path: "react-router.config.js"
|
|
8526
|
+
},
|
|
8527
|
+
{
|
|
8528
|
+
path: "react-router.config.ts"
|
|
8529
|
+
}
|
|
8530
|
+
]
|
|
8531
|
+
},
|
|
8532
|
+
settings: {
|
|
8533
|
+
installCommand: {
|
|
8534
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
|
8535
|
+
},
|
|
8536
|
+
buildCommand: {
|
|
8537
|
+
value: "react-router build",
|
|
8538
|
+
placeholder: "`npm run build` or `react-router build`"
|
|
8539
|
+
},
|
|
8540
|
+
devCommand: {
|
|
8541
|
+
value: "react-router dev",
|
|
8542
|
+
placeholder: "react-router dev"
|
|
8543
|
+
},
|
|
8544
|
+
outputDirectory: {
|
|
8545
|
+
value: "build"
|
|
8546
|
+
}
|
|
8547
|
+
},
|
|
8548
|
+
dependency: "react-router",
|
|
8549
|
+
getOutputDirName: async () => "build"
|
|
8550
|
+
},
|
|
8501
8551
|
{
|
|
8502
8552
|
name: "Astro",
|
|
8503
8553
|
slug: "astro",
|
|
@@ -27938,7 +27988,11 @@ var prepareCache = async ({
|
|
|
27938
27988
|
}
|
|
27939
27989
|
Object.assign(
|
|
27940
27990
|
cacheFiles,
|
|
27941
|
-
await (0, import_build_utils4.glob)(
|
|
27991
|
+
await (0, import_build_utils4.glob)(import_build_utils4.defaultCachePathGlob, repoRootPath || workPath)
|
|
27992
|
+
);
|
|
27993
|
+
Object.assign(
|
|
27994
|
+
cacheFiles,
|
|
27995
|
+
await (0, import_build_utils4.glob)("**/.shadow-cljs/**", repoRootPath || workPath)
|
|
27942
27996
|
);
|
|
27943
27997
|
const pkg = getPkg(entrypoint, workPath);
|
|
27944
27998
|
const framework = getFramework(config, pkg);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
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.67",
|
|
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.
|
|
31
|
+
"@vercel/build-utils": "9.2.0",
|
|
32
32
|
"@vercel/error-utils": "2.0.3",
|
|
33
|
-
"@vercel/frameworks": "3.
|
|
34
|
-
"@vercel/fs-detectors": "5.3.
|
|
35
|
-
"@vercel/routing-utils": "5.0.
|
|
33
|
+
"@vercel/frameworks": "3.6.0",
|
|
34
|
+
"@vercel/fs-detectors": "5.3.6",
|
|
35
|
+
"@vercel/routing-utils": "5.0.2",
|
|
36
36
|
"execa": "3.2.0",
|
|
37
37
|
"fs-extra": "10.0.0",
|
|
38
38
|
"get-port": "5.0.0",
|