File tree Expand file tree Collapse file tree 5 files changed +229
-207
lines changed
Expand file tree Collapse file tree 5 files changed +229
-207
lines changed Original file line number Diff line number Diff line change 11/// <reference types="next" />
22/// <reference types="next/image-types/global" />
3- /// <reference path= "./.next/types/routes.d.ts" />
3+ import "./.next/dev/ types/routes.d.ts" ;
44
55// NOTE: This file should not be edited
66// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ export default withNextra({
4747 process . env . VERCEL_ENV === "production"
4848 ? "https://docs-authzed.vercel.app/docs"
4949 : undefined ,
50+ // NOTE: we still use webpack instead of turbopack for dev
51+ // because turbopack doesn't support non-serializable nextjs options.
52+ // The rehypePrettyCodeOptions in the block above include a function,
53+ // which cannot be serialized. If nextra figures out how to provide
54+ // those options in a different manner or if turbopack starts supporting
55+ // them we can migrate.
5056 webpack : ( config ) => {
5157 config . module . rules . push (
5258 ...[
Original file line number Diff line number Diff line change 33 "version" : " 0.0.1" ,
44 "description" : " Authzed & SpiceDB docs powered by Nextra" ,
55 "scripts" : {
6- "dev" : " next dev" ,
7- "build" : " next build" ,
6+ "dev" : " next dev --webpack " ,
7+ "build" : " next build --webpack " ,
88 "postbuild" : " ./scripts/postbuild.sh" ,
99 "start" : " next start" ,
1010 "lint:markdown" : " markdownlint-cli2" ,
2929 "clsx" : " ^2.1.1" ,
3030 "escape-string-regexp" : " ^5.0.0" ,
3131 "js-yaml" : " ^4.1.0" ,
32- "next" : " ^15.5.7 " ,
32+ "next" : " ^16.1.0 " ,
3333 "next-sitemap" : " ^4.2.3" ,
3434 "nextra" : " ^4.6.0" ,
3535 "nextra-theme-docs" : " ^4.6.0" ,
3636 "posthog-js" : " ^1.266.3" ,
37- "react" : " ^18.3.1 " ,
38- "react-dom" : " ^18.3.1 " ,
37+ "react" : " ^19.2.3 " ,
38+ "react-dom" : " ^19.2.3 " ,
3939 "react-youtube" : " ^10.1.0" ,
4040 "sharp" : " ^0.34.0" ,
4141 "swagger-ui-react" : " ^5.30.2" ,
You can’t perform that action at this time.
0 commit comments