Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "22.x"

- uses: pnpm/action-setup@v4

Expand All @@ -33,7 +33,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "22.x"

- uses: pnpm/action-setup@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "22.x"

- name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "22.x"

- name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down
6 changes: 2 additions & 4 deletions app/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
import type { NextConfig } from "next"
import createMDX from "@next/mdx"
import rehypeHighlight from "rehype-highlight"

const nextConfig: NextConfig = {
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
reactStrictMode: true,
}

const withMDX = createMDX({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
rehypePlugins: [rehypeHighlight],
rehypePlugins: [["rehype-highlight", { ignoreMissing: true }]],
},
})

export default withMDX(nextConfig)
export default withMDX(nextConfig) as any
20 changes: 10 additions & 10 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"@halvaradop/ui-button": "^1.0.0",
"@halvaradop/ui-core": "^1.0.0",
"@halvaradop/ui-slot": "^1.0.0",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "^15.3.1",
"@mdx-js/loader": "^3.1.1",
"@mdx-js/react": "^3.1.1",
"@next/mdx": "^16.1.6",
"highlight.js": "^11.11.1",
"motion": "^12.18.1",
"next": "15.2.4",
"react": "19.1.0",
"react-dom": "19.1.0",
"motion": "^12.30.0",
"next": "16.1.6",
"react": "19.2.4",
"react-dom": "19.2.4",
"rehype-highlight": "^7.0.2"
},
"devDependencies": {
Expand All @@ -30,9 +30,9 @@
"@halvaradop/tailwindcss-utilities": "workspace:*",
"@tailwindcss/postcss": "^4.1.4",
"@types/mdx": "^2.0.13",
"@types/node": "^22.14.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.1",
"@types/node": "^25.2.0",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3",
"class-variance-authority": "^0.7.1"
}
}
2 changes: 1 addition & 1 deletion app/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function RootLayout({ children }: LayoutProps) {
return (
<html className="scroll-smooth" lang="en">
<body
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`}
className={`${inter.className} max-w-dvw min-h-screen antialiased relative overflow-x-hidden bg-black`}
>
<Header />
{children}
Expand Down
4 changes: 2 additions & 2 deletions app/src/ui/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/*
It is generating errors to load animations styles
@reference "../../../packages/tailwindcss-animations/dist/plugin.css";
*/
@reference "../../../packages/tailwindcss-utilities/dist/plugin.css";
*/

@theme {
--breakpoint-base: 900px;
Expand Down Expand Up @@ -89,7 +89,7 @@ It is generating errors to load animations styles
}

pre {
@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;
@apply w-0 min-w-full my-4 p-4 rounded-md border border-solid border-border overflow-auto bg-hljs-background;
}

ul {
Expand Down
4 changes: 2 additions & 2 deletions app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
Expand All @@ -23,6 +23,6 @@
},
"target": "ES2017"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
"exclude": ["node_modules"]
}
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"dev": "turbo dev --parallel --filter=!*page",
"dev:web": "turbo dev --filter=*page",
"build": "pnpm build:core && turbo run build --parallel --filter=!*core --filter=!*merge",
"build": "pnpm build:core && turbo run build --parallel --filter=!*core",
"build:web": "turbo run build --filter=*page",
"build:core": "turbo run build --filter=*core",
"format": "prettier --write .",
Expand Down Expand Up @@ -43,19 +43,18 @@
},
"homepage": "https://github.com/halvaradop/tailwindcss-utilities#readme",
"devDependencies": {
"@csstools/postcss-minify": "^2.0.3",
"@halvaradop/ts-utility-types": "^0.19.0",
"@tailwindcss/cli": "^4.1.4",
"@types/node": "^22.14.0",
"@vitest/coverage-v8": "^3.1.1",
"@types/node": "^25.2.0",
"@vitest/coverage-v8": "^4.0.18",
"autoprefixer": "^10.4.21",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"tailwindcss": "^4.1.4",
"tsup": "^8.4.0",
"turbo": "^2.5.0",
"typescript": "^5.8.3",
"vitest": "^3.1.1"
"vitest": "^4.0.18"
},
"prettier": {
"semi": false,
Expand Down Expand Up @@ -83,5 +82,5 @@
}
]
},
"packageManager": "pnpm@9.12.0"
"packageManager": "pnpm@10.15.0"
}
Loading