Skip to content

Commit

Permalink
feat: downgrade to next 14 and setup nextra
Browse files Browse the repository at this point in the history
  • Loading branch information
andostronaut committed Oct 23, 2024
1 parent c5570d9 commit 5772bf1
Show file tree
Hide file tree
Showing 13 changed files with 4,017 additions and 445 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

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.

50 changes: 43 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,60 @@
"version": "0.1.0",
"private": true,
"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",
"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

0 comments on commit 5772bf1

Please sign in to comment.