Skip to content

Commit 6b50852

Browse files
authored
Merge pull request #4688 from udecode/next-16
2 parents 2af57f6 + abdac3c commit 6b50852

39 files changed

+2088
-4544
lines changed

templates/plate-playground-template/.cursor/mcp.json renamed to templates/plate-playground-template/.mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"mcpServers": {
33
"plate": {
4-
"description": "Plate editors, plugins, components, and docs",
4+
"description": "Plate editors, plugins and components",
55
"type": "stdio",
66
"command": "npx",
77
"args": ["-y", "shadcn@canary", "registry:mcp"],

templates/plate-playground-template/next.config.mjs

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import type { NextConfig } from 'next';
2+
3+
const nextConfig: NextConfig = {
4+
// Not needed in your project
5+
turbopack: { root: __dirname },
6+
reactCompiler: true,
7+
experimental: {
8+
turbopackFileSystemCacheForDev: true,
9+
},
10+
11+
async redirects() {
12+
return [
13+
{
14+
destination: '/editor',
15+
permanent: false,
16+
source: '/',
17+
},
18+
];
19+
},
20+
};
21+
22+
export default nextConfig;

templates/plate-playground-template/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"build": "next build",
77
"depset": "pnpm dlx depset@latest @udecode --yes",
8-
"dev": "next dev --turbo",
8+
"dev": "next dev",
99
"lint": "eslint",
1010
"lint:fix": "eslint --fix && prettier --write . --log-level warn",
1111
"preview": "next build && next start",
@@ -72,14 +72,14 @@
7272
"lodash": "^4.17.21",
7373
"lowlight": "^3.3.0",
7474
"lucide-react": "^0.545.0",
75-
"next": "15.5.5",
75+
"next": "16.0.0-beta.0",
7676
"pdf-lib": "^1.17.1",
7777
"platejs": "^49.2.21",
78-
"react": "19.1.0",
78+
"react": "19.2.0",
7979
"react-day-picker": "^9.11.1",
8080
"react-dnd": "^16.0.1",
8181
"react-dnd-html5-backend": "^16.0.1",
82-
"react-dom": "19.1.0",
82+
"react-dom": "19.2.0",
8383
"react-lite-youtube-embed": "^2.5.6",
8484
"react-player": "3.3.1",
8585
"react-textarea-autosize": "^8.5.9",
@@ -98,10 +98,11 @@
9898
"@eslint/eslintrc": "^3.3.1",
9999
"@tailwindcss/postcss": "4.1.13",
100100
"@types/node": "^24.5.2",
101-
"@types/react": "^19.1.13",
102-
"@types/react-dom": "^19.1.9",
101+
"@types/react": "^19.2.2",
102+
"@types/react-dom": "^19.2.2",
103+
"babel-plugin-react-compiler": "^1.0.0",
103104
"eslint": "^9.36.0",
104-
"eslint-config-next": "15.5.3",
105+
"eslint-config-next": "16.0.0-beta.0",
105106
"eslint-plugin-unused-imports": "^4.2.0",
106107
"postcss": "^8.5.6",
107108
"prettier": "^3.6.2",
@@ -121,4 +122,4 @@
121122
]
122123
}
123124
}
124-
}
125+
}

templates/plate-playground-template/pnpm-lock.yaml

Lines changed: 1249 additions & 967 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/plate-playground-template/tsconfig.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,12 @@
1313
"noUncheckedIndexedAccess": false,
1414
"noUnusedLocals": false,
1515
"noUnusedParameters": false,
16-
1716
"isolatedModules": true,
18-
1917
"allowJs": true,
2018
"checkJs": false,
21-
2219
"esModuleInterop": true,
2320
"skipLibCheck": true,
2421
"forceConsistentCasingInFileNames": true,
25-
2622
"lib": ["dom", "dom.iterable", "esnext"],
2723
"module": "esnext",
2824
"target": "es2022",
@@ -37,8 +33,7 @@
3733
"sourceMap": true,
3834
"pretty": true,
3935
"preserveWatchOutput": true,
40-
41-
"jsx": "preserve",
36+
"jsx": "react-jsx",
4237
"plugins": [
4338
{
4439
"name": "next"
@@ -52,6 +47,7 @@
5247
"include": [
5348
"next-env.d.ts",
5449
".next/types/**/*.ts",
50+
".next/dev/types/**/*.ts",
5551
"**/*.ts",
5652
"**/*.tsx",
5753
"**/*.cts",

templates/plate-template/.claude/commands/architect.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

templates/plate-template/.claude/commands/create-app-design-document.md

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)