@vercel/frameworks
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -241,2 +241,52 @@ "use strict"; | ||
{ | ||
name: "React Router", | ||
slug: "react-router", | ||
// TODO: uncomment this after "react-router" template is added | ||
//demo: 'https://react-router-v7-template.vercel.app', | ||
logo: "https://api-frameworks.vercel.sh/framework-logos/react-router.svg", | ||
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/react-router-dark.svg", | ||
tagline: "Declarative routing for React", | ||
description: "A user\u2011obsessed, standards\u2011focused, multi\u2011strategy router you can deploy anywhere.", | ||
website: "https://reactrouter.com", | ||
sort: 7, | ||
supersedes: ["hydrogen", "vite"], | ||
useRuntime: { src: "package.json", use: "@vercel/remix-builder" }, | ||
detectors: { | ||
some: [ | ||
{ | ||
path: "vite.config.js", | ||
matchContent: "@react-router/dev/vite" | ||
}, | ||
{ | ||
path: "vite.config.ts", | ||
matchContent: "@react-router/dev/vite" | ||
}, | ||
{ | ||
path: "react-router.config.js" | ||
}, | ||
{ | ||
path: "react-router.config.ts" | ||
} | ||
] | ||
}, | ||
settings: { | ||
installCommand: { | ||
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`" | ||
}, | ||
buildCommand: { | ||
value: "react-router build", | ||
placeholder: "`npm run build` or `react-router build`" | ||
}, | ||
devCommand: { | ||
value: "react-router dev", | ||
placeholder: "react-router dev" | ||
}, | ||
outputDirectory: { | ||
value: "build" | ||
} | ||
}, | ||
dependency: "react-router", | ||
getOutputDirName: async () => "build" | ||
}, | ||
{ | ||
name: "Astro", | ||
@@ -243,0 +293,0 @@ slug: "astro", |
@@ -241,2 +241,52 @@ "use strict"; | ||
{ | ||
name: "React Router", | ||
slug: "react-router", | ||
// TODO: uncomment this after "react-router" template is added | ||
//demo: 'https://react-router-v7-template.vercel.app', | ||
logo: "https://api-frameworks.vercel.sh/framework-logos/react-router.svg", | ||
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/react-router-dark.svg", | ||
tagline: "Declarative routing for React", | ||
description: "A user\u2011obsessed, standards\u2011focused, multi\u2011strategy router you can deploy anywhere.", | ||
website: "https://reactrouter.com", | ||
sort: 7, | ||
supersedes: ["hydrogen", "vite"], | ||
useRuntime: { src: "package.json", use: "@vercel/remix-builder" }, | ||
detectors: { | ||
some: [ | ||
{ | ||
path: "vite.config.js", | ||
matchContent: "@react-router/dev/vite" | ||
}, | ||
{ | ||
path: "vite.config.ts", | ||
matchContent: "@react-router/dev/vite" | ||
}, | ||
{ | ||
path: "react-router.config.js" | ||
}, | ||
{ | ||
path: "react-router.config.ts" | ||
} | ||
] | ||
}, | ||
settings: { | ||
installCommand: { | ||
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`" | ||
}, | ||
buildCommand: { | ||
value: "react-router build", | ||
placeholder: "`npm run build` or `react-router build`" | ||
}, | ||
devCommand: { | ||
value: "react-router dev", | ||
placeholder: "react-router dev" | ||
}, | ||
outputDirectory: { | ||
value: "build" | ||
} | ||
}, | ||
dependency: "react-router", | ||
getOutputDirName: async () => "build" | ||
}, | ||
{ | ||
name: "Astro", | ||
@@ -243,0 +293,0 @@ slug: "astro", |
{ | ||
"name": "@vercel/frameworks", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"main": "./dist/frameworks.js", | ||
@@ -25,3 +25,3 @@ "types": "./dist/frameworks.d.ts", | ||
"@types/node-fetch": "2.5.8", | ||
"@vercel/routing-utils": "5.0.0", | ||
"@vercel/routing-utils": "5.0.2", | ||
"ajv": "6.12.3", | ||
@@ -28,0 +28,0 @@ "jest-junit": "16.0.0", |
Sorry, the diff of this file is too big to display
214470
6461