Skip to content

Commit 5b25df5

Browse files
authored
chore(deps): update dependencies (#114)
* chore(deps): update dependencies * chore(dependencies): update dependencies * chore: update dependencies * chore(docs): fix tailwindcss classes
1 parent 24dc0a6 commit 5b25df5

10 files changed

Lines changed: 1264 additions & 1805 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: "18.x"
19+
node-version: "22.x"
2020

2121
- uses: pnpm/action-setup@v4
2222

@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: actions/setup-node@v4
3535
with:
36-
node-version: "18.x"
36+
node-version: "22.x"
3737

3838
- uses: pnpm/action-setup@v4
3939

.github/workflows/preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: "18.x"
19+
node-version: "22.x"
2020

2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4

.github/workflows/production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: "18.x"
19+
node-version: "22.x"
2020

2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4

app/next.config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
import type { NextConfig } from "next"
22
import createMDX from "@next/mdx"
3-
import rehypeHighlight from "rehype-highlight"
43

54
const nextConfig: NextConfig = {
65
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
7-
reactStrictMode: true,
86
}
97

108
const withMDX = createMDX({
119
extension: /\.mdx?$/,
1210
options: {
1311
remarkPlugins: [],
14-
rehypePlugins: [rehypeHighlight],
12+
rehypePlugins: [["rehype-highlight", { ignoreMissing: true }]],
1513
},
1614
})
1715

18-
export default withMDX(nextConfig)
16+
export default withMDX(nextConfig) as any

app/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
"@halvaradop/ui-button": "^1.0.0",
1515
"@halvaradop/ui-core": "^1.0.0",
1616
"@halvaradop/ui-slot": "^1.0.0",
17-
"@mdx-js/loader": "^3.1.0",
18-
"@mdx-js/react": "^3.1.0",
19-
"@next/mdx": "^15.3.1",
17+
"@mdx-js/loader": "^3.1.1",
18+
"@mdx-js/react": "^3.1.1",
19+
"@next/mdx": "^16.1.6",
2020
"highlight.js": "^11.11.1",
21-
"motion": "^12.18.1",
22-
"next": "15.2.4",
23-
"react": "19.1.0",
24-
"react-dom": "19.1.0",
21+
"motion": "^12.30.0",
22+
"next": "16.1.6",
23+
"react": "19.2.4",
24+
"react-dom": "19.2.4",
2525
"rehype-highlight": "^7.0.2"
2626
},
2727
"devDependencies": {
@@ -30,9 +30,9 @@
3030
"@halvaradop/tailwindcss-utilities": "workspace:*",
3131
"@tailwindcss/postcss": "^4.1.4",
3232
"@types/mdx": "^2.0.13",
33-
"@types/node": "^22.14.0",
34-
"@types/react": "^19.1.0",
35-
"@types/react-dom": "^19.1.1",
33+
"@types/node": "^25.2.0",
34+
"@types/react": "^19.2.10",
35+
"@types/react-dom": "^19.2.3",
3636
"class-variance-authority": "^0.7.1"
3737
}
3838
}

app/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function RootLayout({ children }: LayoutProps) {
4343
return (
4444
<html className="scroll-smooth" lang="en">
4545
<body
46-
className={`${inter.className} max-w-dvw min-h-screen antialiased relative overflow-x-hidden bg-black scrollbar:w-2 track:my-2 thumb:rounded thumb:bg-gray-100 has-[header.open]:scroll:bg-gray-300`}
46+
className={`${inter.className} max-w-dvw min-h-screen antialiased relative overflow-x-hidden bg-black`}
4747
>
4848
<Header />
4949
{children}

app/src/ui/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/*
44
It is generating errors to load animations styles
55
@reference "../../../packages/tailwindcss-animations/dist/plugin.css";
6-
*/
76
@reference "../../../packages/tailwindcss-utilities/dist/plugin.css";
7+
*/
88

99
@theme {
1010
--breakpoint-base: 900px;
@@ -89,7 +89,7 @@ It is generating errors to load animations styles
8989
}
9090

9191
pre {
92-
@apply w-0 min-w-full my-4 p-4 rounded-md border border-solid border-border overflow-auto bg-hljs-background scrollbar:h-1.5 track:mx-1 thumb:rounded thumb:bg-secondary;
92+
@apply w-0 min-w-full my-4 p-4 rounded-md border border-solid border-border overflow-auto bg-hljs-background;
9393
}
9494

9595
ul {

app/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"moduleResolution": "bundler",
1111
"resolveJsonModule": true,
1212
"isolatedModules": true,
13-
"jsx": "preserve",
13+
"jsx": "react-jsx",
1414
"incremental": true,
1515
"plugins": [
1616
{
@@ -23,6 +23,6 @@
2323
},
2424
"target": "ES2017"
2525
},
26-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
2727
"exclude": ["node_modules"]
2828
}

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"dev": "turbo dev --parallel --filter=!*page",
99
"dev:web": "turbo dev --filter=*page",
10-
"build": "pnpm build:core && turbo run build --parallel --filter=!*core --filter=!*merge",
10+
"build": "pnpm build:core && turbo run build --parallel --filter=!*core",
1111
"build:web": "turbo run build --filter=*page",
1212
"build:core": "turbo run build --filter=*core",
1313
"format": "prettier --write .",
@@ -43,19 +43,18 @@
4343
},
4444
"homepage": "https://github.com/halvaradop/tailwindcss-utilities#readme",
4545
"devDependencies": {
46-
"@csstools/postcss-minify": "^2.0.3",
4746
"@halvaradop/ts-utility-types": "^0.19.0",
4847
"@tailwindcss/cli": "^4.1.4",
49-
"@types/node": "^22.14.0",
50-
"@vitest/coverage-v8": "^3.1.1",
48+
"@types/node": "^25.2.0",
49+
"@vitest/coverage-v8": "^4.0.18",
5150
"autoprefixer": "^10.4.21",
5251
"postcss": "^8.5.3",
5352
"prettier": "^3.5.3",
5453
"tailwindcss": "^4.1.4",
5554
"tsup": "^8.4.0",
5655
"turbo": "^2.5.0",
5756
"typescript": "^5.8.3",
58-
"vitest": "^3.1.1"
57+
"vitest": "^4.0.18"
5958
},
6059
"prettier": {
6160
"semi": false,
@@ -83,5 +82,5 @@
8382
}
8483
]
8584
},
86-
"packageManager": "pnpm@9.12.0"
85+
"packageManager": "pnpm@10.15.0"
8786
}

0 commit comments

Comments
 (0)