Skip to content

Commit e5e6220

Browse files
authored
Merge pull request #4019 from udecode/vendor/react-19
Upgrade dependencies
2 parents 9b88cc7 + 528ace5 commit e5e6220

File tree

25 files changed

+1402
-1703
lines changed

25 files changed

+1402
-1703
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@udecode/react-utils': minor
3+
'@udecode/plate-floating': minor
4+
'@udecode/plate-caption': minor
5+
'@udecode/plate-juice': minor
6+
'@udecode/cmdk': minor
7+
'@udecode/plate-core': minor
8+
'@udecode/plate-math': minor
9+
'@udecode/plate-csv': minor
10+
'@udecode/plate-yjs': minor
11+
'@udecode/plate-ai': minor
12+
---
13+
14+
Upgrade dependencies to latest

apps/www/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/// <reference types="next/navigation-types/compat/navigation" />
44

55
// NOTE: This file should not be edited
6-
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

apps/www/package.json

Lines changed: 64 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -37,41 +37,41 @@
3737
},
3838
"dependencies": {
3939
"@ai-sdk/openai": "^0.0.67",
40-
"@ariakit/react": "0.4.11",
41-
"@faker-js/faker": "^9.0.2",
42-
"@hookform/resolvers": "3.9.1",
43-
"@next/third-parties": "15.0.3",
40+
"@ariakit/react": "0.4.15",
41+
"@faker-js/faker": "^9.4.0",
42+
"@hookform/resolvers": "3.10.0",
43+
"@next/third-parties": "15.1.6",
4444
"@radix-ui/colors": "3.0.0",
45-
"@radix-ui/react-accessible-icon": "^1.1.0",
46-
"@radix-ui/react-accordion": "^1.2.0",
47-
"@radix-ui/react-alert-dialog": "^1.1.1",
48-
"@radix-ui/react-aspect-ratio": "^1.1.0",
49-
"@radix-ui/react-avatar": "^1.1.0",
50-
"@radix-ui/react-checkbox": "^1.1.1",
51-
"@radix-ui/react-collapsible": "^1.1.0",
52-
"@radix-ui/react-context-menu": "^2.2.1",
53-
"@radix-ui/react-dialog": "^1.1.1",
54-
"@radix-ui/react-dropdown-menu": "^2.1.1",
55-
"@radix-ui/react-hover-card": "^1.1.1",
56-
"@radix-ui/react-icons": "^1.3.0",
57-
"@radix-ui/react-label": "^2.1.0",
58-
"@radix-ui/react-menubar": "^1.1.1",
59-
"@radix-ui/react-navigation-menu": "^1.2.0",
60-
"@radix-ui/react-popover": "^1.1.1",
61-
"@radix-ui/react-progress": "^1.1.0",
62-
"@radix-ui/react-radio-group": "^1.2.0",
63-
"@radix-ui/react-scroll-area": "^1.1.0",
64-
"@radix-ui/react-select": "^2.1.1",
65-
"@radix-ui/react-separator": "^1.1.0",
66-
"@radix-ui/react-slider": "^1.2.0",
67-
"@radix-ui/react-slot": "^1.1.0",
68-
"@radix-ui/react-switch": "^1.1.0",
69-
"@radix-ui/react-tabs": "^1.1.0",
70-
"@radix-ui/react-toast": "^1.2.1",
71-
"@radix-ui/react-toggle": "^1.1.0",
72-
"@radix-ui/react-toggle-group": "^1.1.0",
73-
"@radix-ui/react-toolbar": "^1.1.0",
74-
"@radix-ui/react-tooltip": "^1.1.2",
45+
"@radix-ui/react-accessible-icon": "^1.1.1",
46+
"@radix-ui/react-accordion": "^1.2.2",
47+
"@radix-ui/react-alert-dialog": "^1.1.4",
48+
"@radix-ui/react-aspect-ratio": "^1.1.1",
49+
"@radix-ui/react-avatar": "^1.1.2",
50+
"@radix-ui/react-checkbox": "^1.1.3",
51+
"@radix-ui/react-collapsible": "^1.1.2",
52+
"@radix-ui/react-context-menu": "^2.2.4",
53+
"@radix-ui/react-dialog": "^1.1.4",
54+
"@radix-ui/react-dropdown-menu": "^2.1.4",
55+
"@radix-ui/react-hover-card": "^1.1.4",
56+
"@radix-ui/react-icons": "^1.3.2",
57+
"@radix-ui/react-label": "^2.1.1",
58+
"@radix-ui/react-menubar": "^1.1.4",
59+
"@radix-ui/react-navigation-menu": "^1.2.3",
60+
"@radix-ui/react-popover": "^1.1.4",
61+
"@radix-ui/react-progress": "^1.1.1",
62+
"@radix-ui/react-radio-group": "^1.2.2",
63+
"@radix-ui/react-scroll-area": "^1.2.2",
64+
"@radix-ui/react-select": "^2.1.4",
65+
"@radix-ui/react-separator": "^1.1.1",
66+
"@radix-ui/react-slider": "^1.2.2",
67+
"@radix-ui/react-slot": "^1.1.1",
68+
"@radix-ui/react-switch": "^1.1.2",
69+
"@radix-ui/react-tabs": "^1.1.2",
70+
"@radix-ui/react-toast": "^1.2.4",
71+
"@radix-ui/react-toggle": "^1.1.1",
72+
"@radix-ui/react-toggle-group": "^1.1.1",
73+
"@radix-ui/react-toolbar": "^1.1.1",
74+
"@radix-ui/react-tooltip": "^1.1.6",
7575
"@slate-yjs/react": "1.1.0",
7676
"@udecode/cmdk": "workspace:^",
7777
"@udecode/cn": "workspace:^",
@@ -133,63 +133,62 @@
133133
"@udecode/slate": "workspace:^",
134134
"@udecode/utils": "workspace:^",
135135
"@uploadthing/react": "7.1.0",
136-
"@vercel/og": "^0.6.2",
137-
"ai": "^3.4.10",
138-
"class-variance-authority": "^0.7.0",
139-
"cmdk": "^1.0.0",
136+
"@vercel/og": "^0.6.4",
137+
"ai": "^3.4.33",
138+
"class-variance-authority": "^0.7.1",
139+
"cmdk": "^1.0.4",
140140
"contentlayer2": "^0.4.6",
141-
"date-fns": "^3.6.0",
141+
"date-fns": "^4.1.0",
142142
"dotenv": "16.4.7",
143-
"framer-motion": "^11.5.4",
143+
"framer-motion": "^12.0.1",
144144
"fzf": "0.5.2",
145145
"html2canvas": "^1.4.1",
146146
"lodash.template": "^4.5.0",
147-
"lucide-react": "0.460.0",
148-
"match-sorter": "6.3.4",
149-
"next": "15.0.3",
147+
"lucide-react": "0.473.0",
148+
"next": "15.1.6",
150149
"next-contentlayer2": "^0.4.6",
151-
"next-themes": "^0.4.3",
152-
"nuqs": "^2.3.0",
150+
"next-themes": "^0.4.4",
151+
"nuqs": "^2.3.1",
153152
"pdf-lib": "^1.17.1",
154153
"prismjs": "^1.29.0",
155154
"react": "^18.3.1",
156155
"react-day-picker": "^8.10.1",
157156
"react-dnd": "16.0.1",
158157
"react-dnd-html5-backend": "^16.0.1",
159158
"react-dom": "^18.3.1",
160-
"react-hook-form": "7.53.2",
159+
"react-hook-form": "7.54.2",
161160
"react-lite-youtube-embed": "^2.4.0",
162-
"react-markdown": "9.0.1",
161+
"react-markdown": "9.0.3",
163162
"react-player": "2.16.0",
164-
"react-resizable-panels": "^2.0.22",
165-
"react-syntax-highlighter": "^15.5.0",
166-
"react-textarea-autosize": "^8.5.5",
163+
"react-resizable-panels": "^2.1.7",
164+
"react-syntax-highlighter": "^15.6.1",
165+
"react-textarea-autosize": "^8.5.7",
167166
"react-tweet": "^3.2.1",
168167
"react-wrap-balancer": "^1.1.1",
169168
"remark-emoji": "5.0.1",
170-
"sass": "^1.78.0",
169+
"sass": "^1.83.4",
171170
"slate-test-utils": "1.3.2",
172-
"sonner": "^1.5.0",
173-
"swr": "2.2.6-beta.3",
174-
"tailwind-merge": "^2.5.2",
171+
"sonner": "^1.7.2",
172+
"swr": "2.3.0",
173+
"tailwind-merge": "^2.6.0",
175174
"ts-morph": "^22.0.0",
176175
"unist-builder": "4.0.0",
177176
"unist-util-visit": "^5.0.0",
178177
"uploadthing": "7.2.0",
179178
"use-file-picker": "2.1.2",
180-
"vaul": "1.1.1"
179+
"vaul": "1.1.2"
181180
},
182181
"devDependencies": {
183-
"@shikijs/compat": "^1.17.5",
182+
"@shikijs/compat": "^2.1.0",
184183
"@types/lodash.template": "^4.5.3",
185-
"@types/react-color": "^3.0.12",
184+
"@types/react-color": "^3.0.13",
186185
"@types/react-syntax-highlighter": "^15.5.13",
187186
"autoprefixer": "^10.4.20",
188-
"concurrently": "^9.0.1",
189-
"glob": "^11.0.0",
187+
"concurrently": "^9.1.2",
188+
"glob": "^11.0.1",
190189
"mdast-util-toc": "^7.1.0",
191-
"postcss": "^8.4.45",
192-
"puppeteer": "^23.6.0",
190+
"postcss": "^8.5.1",
191+
"puppeteer": "^24.1.0",
193192
"rehype": "^12.0.1",
194193
"rehype-autolink-headings": "^6.1.1",
195194
"rehype-pretty-code": "^0.6.0",
@@ -198,12 +197,12 @@
198197
"remark-code-import": "^1.2.0",
199198
"remark-gfm": "^4.0.0",
200199
"rimraf": "^6.0.1",
201-
"shiki": "^1.17.5",
200+
"shiki": "^2.1.0",
202201
"tailwind-scrollbar-hide": "1.1.7",
203-
"tailwindcss": "^3.4.11",
202+
"tailwindcss": "^3.4.17",
204203
"tailwindcss-animate": "^1.0.7",
205204
"ts-node": "^10.9.2",
206-
"tsx": "^4.19.1",
207-
"typescript": "5.6.2"
205+
"tsx": "^4.19.2",
206+
"typescript": "5.7.3"
208207
}
209208
}

apps/www/src/lib/bundlephobia.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export function formatBytes(bytes: number, decimals = 2) {
44
if (bytes === 0) return '0 Bytes';
55

66
const k = 1024;
7-
const dm = decimals < 0 ? 0 : decimals;
7+
const dm = Math.max(decimals, 0);
88
const sizes = ['Bytes', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
99
const i = Math.floor(Math.log(bytes) / Math.log(k));
1010

config/eslint/bases/jest.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ module.exports = {
2222
files: filePatterns.test,
2323
plugins: ['jest', 'jest-formatting', 'testing-library', 'jest-dom'],
2424
rules: {
25+
'jest/no-disabled-tests': 'off',
2526
'@typescript-eslint/ban-ts-comment': 'off',
2627
'@typescript-eslint/no-empty-function': 'off',
2728
'@typescript-eslint/no-explicit-any': 'off',
2829
'@typescript-eslint/no-non-null-assertion': 'off',
29-
'@typescript-eslint/no-object-literal-type-assertion': 'off',
3030
'import/default': 'off',
3131
'import/namespace': 'off',
3232
'import/no-duplicates': 'off',

config/eslint/bases/tailwind.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
'error',
2828
{
2929
whitelist: [
30+
'scrollbar-hide',
3031
'ignore-click-outside/toolbar',
3132
'chunk-mode',
3233
'preview',

config/eslint/bases/unicorn.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
],
1414
plugins: ['unicorn'],
1515
rules: {
16+
'unicorn/prefer-global-this': 'off',
1617
'unicorn/consistent-destructuring': 'off',
1718
'unicorn/consistent-function-scoping': [
1819
'error',

docs/vendor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
- `[email protected]`: issue with react-tweet css, etc.
1111
- `cosmiconfig`: cli
1212
- `delay`: cloud
13-
- `diff`: [no changelog](https://github.com/kpdecker/jsdiff/commits/master/)
13+
- `diff`: cli
1414
- `eslint@8`: will upgrade to 9 later
1515
- `execa`: cli
1616
- `https-proxy-agent`: cli
1717
- `[email protected]`: https://github.com/pmndrs/jotai/discussions/2725
1818
- `juice@8`: Jest encountered an unexpected token
19-
- `next`: shadcn
2019
- `next-contentlayer2`: see contentlayer2
2120
- `ora`: cli
2221
- `[email protected]`: shadcn
@@ -26,6 +25,7 @@
2625
- `[email protected]`: shadcn
2726
- `remark@14`: UnexpectedMDXError
2827
- `remark-parse@10`: jest
28+
- `[email protected]`: wait for eslint 9
2929
- `ts-morph`: shadcn
3030
- `tsup`: cli
3131
- `type-fest`: cli

jest.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = {
6161
},
6262
transformIgnorePatterns: [
6363
'/node_modules/(?!(' +
64-
'react-dnd|dnd-core|@react-dnd|react-dnd-html5-backend|react-tweet|unified' +
64+
'cheerio|react-dnd|dnd-core|@react-dnd|react-dnd-html5-backend|react-tweet|unified' +
6565
'|remark-.*' +
6666
'|mdast-.*' +
6767
'|micromark.*' +

0 commit comments

Comments
 (0)