@vercel/frameworks
Advanced tools
Comparing version 3.1.1 to 3.2.0
@@ -1927,2 +1927,62 @@ "use strict"; | ||
{ | ||
name: "Sanity (v3)", | ||
slug: "sanity-v3", | ||
demo: "https://sanity-studio-template.vercel.app", | ||
logo: "https://api-frameworks.vercel.sh/framework-logos/sanity.svg", | ||
tagline: "The structured content platform.", | ||
description: "A Sanity Studio", | ||
website: "https://www.sanity.io", | ||
envPrefix: "SANITY_STUDIO_", | ||
detectors: { | ||
some: [ | ||
{ | ||
path: "sanity.json" | ||
}, | ||
{ | ||
path: "sanity.config.js" | ||
}, | ||
{ | ||
path: "sanity.config.jsx" | ||
}, | ||
{ | ||
path: "sanity.config.ts" | ||
}, | ||
{ | ||
path: "sanity.config.tsx" | ||
} | ||
], | ||
every: [ | ||
{ | ||
path: "package.json", | ||
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"sanity":\\s*"\\^?3\\..*"[^}]*}' | ||
} | ||
] | ||
}, | ||
settings: { | ||
installCommand: { | ||
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`" | ||
}, | ||
buildCommand: { | ||
placeholder: "`npm run build` or `sanity build`", | ||
value: "sanity build" | ||
}, | ||
devCommand: { | ||
value: "sanity dev --port $PORT" | ||
}, | ||
outputDirectory: { | ||
value: "dist" | ||
} | ||
}, | ||
getOutputDirName: async () => "dist", | ||
defaultRoutes: [ | ||
{ | ||
handle: "filesystem" | ||
}, | ||
{ | ||
src: "/(.*)", | ||
dest: "/index.html" | ||
} | ||
] | ||
}, | ||
{ | ||
name: "Sanity", | ||
@@ -1929,0 +1989,0 @@ slug: "sanity", |
@@ -1927,2 +1927,62 @@ "use strict"; | ||
{ | ||
name: "Sanity (v3)", | ||
slug: "sanity-v3", | ||
demo: "https://sanity-studio-template.vercel.app", | ||
logo: "https://api-frameworks.vercel.sh/framework-logos/sanity.svg", | ||
tagline: "The structured content platform.", | ||
description: "A Sanity Studio", | ||
website: "https://www.sanity.io", | ||
envPrefix: "SANITY_STUDIO_", | ||
detectors: { | ||
some: [ | ||
{ | ||
path: "sanity.json" | ||
}, | ||
{ | ||
path: "sanity.config.js" | ||
}, | ||
{ | ||
path: "sanity.config.jsx" | ||
}, | ||
{ | ||
path: "sanity.config.ts" | ||
}, | ||
{ | ||
path: "sanity.config.tsx" | ||
} | ||
], | ||
every: [ | ||
{ | ||
path: "package.json", | ||
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"sanity":\\s*"\\^?3\\..*"[^}]*}' | ||
} | ||
] | ||
}, | ||
settings: { | ||
installCommand: { | ||
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`" | ||
}, | ||
buildCommand: { | ||
placeholder: "`npm run build` or `sanity build`", | ||
value: "sanity build" | ||
}, | ||
devCommand: { | ||
value: "sanity dev --port $PORT" | ||
}, | ||
outputDirectory: { | ||
value: "dist" | ||
} | ||
}, | ||
getOutputDirName: async () => "dist", | ||
defaultRoutes: [ | ||
{ | ||
handle: "filesystem" | ||
}, | ||
{ | ||
src: "/(.*)", | ||
dest: "/index.html" | ||
} | ||
] | ||
}, | ||
{ | ||
name: "Sanity", | ||
@@ -1929,0 +1989,0 @@ slug: "sanity", |
{ | ||
"name": "@vercel/frameworks", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"main": "./dist/frameworks.js", | ||
@@ -5,0 +5,0 @@ "types": "./dist/frameworks.d.ts", |
Sorry, the diff of this file is too big to display
209366
6313