b048d7eee2
This PR is a larger change to documentation to make the following updates: - Deconstructs [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions) into "Forms and Mutations" and an API reference - Removes content in place of future React API documentation pages - Removes outdated [Building Forms](https://nextjs.org/docs/pages/building-your-application/data-fetching/building-forms) docs from the Pages Router and adds conditional content for both routes in "Forms and Mutations" - Adds TypeScript code blocks to API Routes page, recommends Route Handlers for isomorphic signatures. - Updates `revalidatePath` and `revalidateTag` docs to have a Server Actions example. --------- Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
28 lines
638 B
JSON
28 lines
638 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
}
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|