1d592a9a08
Bumping `next-sanity` fixes an issue where `@sanity/client` would swallow the `DynamicServerError` thrown during `next build` in [v14.2.2](https://github.com/vercel/next.js/pull/64511). The `sanity` bump adds the new `Scheduled Publishing` feature that's [now in the core](https://github.com/sanity-io/sanity/releases/tag/v3.39.0).
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"predev": "npm run typegen",
|
|
"dev": "next",
|
|
"prebuild": "npm run typegen",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"presetup": "echo 'about to setup env variables, follow the guide here: https://github.com/vercel/next.js/tree/canary/examples/cms-sanity#using-the-sanity-cli'",
|
|
"setup": "npx sanity@latest init --env .env.local",
|
|
"postsetup": "echo 'create the read token by following the rest of the guide: https://github.com/vercel/next.js/tree/canary/examples/cms-sanity#creating-a-read-token'",
|
|
"typegen": "sanity schema extract && sanity typegen generate"
|
|
},
|
|
"dependencies": {
|
|
"@sanity/assist": "3.0.3",
|
|
"@sanity/icons": "2.11.8",
|
|
"@sanity/image-url": "1.0.2",
|
|
"@sanity/preview-url-secret": "1.6.11",
|
|
"@sanity/vision": "3.39.0",
|
|
"@tailwindcss/typography": "^0.5.12",
|
|
"@types/node": "^20.12.7",
|
|
"@types/react": "^18.2.79",
|
|
"@types/react-dom": "^18.2.25",
|
|
"@vercel/speed-insights": "^1.0.10",
|
|
"autoprefixer": "^10.4.19",
|
|
"date-fns": "^3.6.0",
|
|
"next": "latest",
|
|
"next-sanity": "9.0.10",
|
|
"postcss": "^8.4.38",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"rxjs": "^7.8.1",
|
|
"sanity": "3.39.0",
|
|
"sanity-plugin-asset-source-unsplash": "3.0.1",
|
|
"server-only": "^0.0.1",
|
|
"styled-components": "6.1.8",
|
|
"tailwindcss": "^3.4.3",
|
|
"typescript": "5.4.5"
|
|
},
|
|
"devDependencies": {
|
|
"@next/env": "latest",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-next": "latest"
|
|
}
|
|
}
|