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
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm run lint
- run: pnpm run build
20 changes: 20 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/styles/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
11 changes: 11 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/** @type {import('next').NextConfig} */
import nextra from 'nextra'

const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx'
})

const nextConfig = {}

export default withNextra(nextConfig)
8 changes: 0 additions & 8 deletions next.config.ts

This file was deleted.

51 changes: 44 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,62 @@
"name": "docs",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@9.7.0",
"scripts": {
"dev": "next dev --turbo",
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"react": "19.0.0-rc-65a56d0e-20241020",
"react-dom": "19.0.0-rc-65a56d0e-20241020",
"next": "15.0.0"
"@radix-ui/react-icons": "^1.3.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.453.0",
"next": "14.2.3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Fix version mismatch between Next.js and eslint-config-next

There's a version mismatch that could lead to compatibility issues:

  • next is at version 14.2.3
  • eslint-config-next is at version 15.0.0

These versions should match to ensure proper linting rules are applied.

Apply this change:

-    "eslint-config-next": "15.0.0",
+    "eslint-config-next": "14.2.3",

Also applies to: 29-29

"nextra": "^3.1.0",
"nextra-theme-docs": "^3.1.0",
"react": "^18",
"react-dom": "^18",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "15.0.0",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"eslint": "^8",
"eslint-config-next": "15.0.0"
"typescript": "^5"
},
"prettier": {
"trailingComma": "none",
"arrowParens": "always",
"singleQuote": true,
"jsxSingleQuote": true,
"printWidth": 100,
"useTabs": false,
"semi": false,
"quoteProps": "consistent",
"bracketSpacing": true,
"overrides": [
{
"files": [
"**/*.css",
"**/*.scss"
],
"options": {
"singleQuote": false
}
}
]
},
"eslintConfig": {
"extends": [
"next/core-web-vitals",
"next/typescript"
]
}
}
Loading
Loading