Skip to content

Commit 56db371

Browse files
authored
Merge pull request #6 from kinotio/develop
feat: downgrade to next 14 and setup nextra
2 parents c5570d9 + 4117247 commit 56db371

File tree

17 files changed

+4066
-562
lines changed

17 files changed

+4066
-562
lines changed

.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ jobs:
1919
cache: 'pnpm'
2020
- run: pnpm install
2121
- run: pnpm run lint
22+
- run: pnpm run build

components.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.ts",
8+
"css": "src/styles/globals.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
}
20+
}

next.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/** @type {import('next').NextConfig} */
2+
import nextra from 'nextra'
3+
4+
const withNextra = nextra({
5+
theme: 'nextra-theme-docs',
6+
themeConfig: './theme.config.tsx'
7+
})
8+
9+
const nextConfig = {}
10+
11+
export default withNextra(nextConfig)

next.config.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

package.json

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,62 @@
22
"name": "docs",
33
"version": "0.1.0",
44
"private": true,
5+
"packageManager": "pnpm@9.7.0",
56
"scripts": {
6-
"dev": "next dev --turbo",
7+
"dev": "next dev",
78
"build": "next build",
89
"start": "next start",
910
"lint": "next lint"
1011
},
1112
"dependencies": {
12-
"react": "19.0.0-rc-65a56d0e-20241020",
13-
"react-dom": "19.0.0-rc-65a56d0e-20241020",
14-
"next": "15.0.0"
13+
"@radix-ui/react-icons": "^1.3.0",
14+
"class-variance-authority": "^0.7.0",
15+
"clsx": "^2.1.1",
16+
"lucide-react": "^0.453.0",
17+
"next": "14.2.3",
18+
"nextra": "^3.1.0",
19+
"nextra-theme-docs": "^3.1.0",
20+
"react": "^18",
21+
"react-dom": "^18",
22+
"tailwind-merge": "^2.5.4",
23+
"tailwindcss-animate": "^1.0.7"
1524
},
1625
"devDependencies": {
17-
"typescript": "^5",
1826
"@types/node": "^20",
1927
"@types/react": "^18",
2028
"@types/react-dom": "^18",
29+
"eslint": "^8",
30+
"eslint-config-next": "15.0.0",
2131
"postcss": "^8",
2232
"tailwindcss": "^3.4.1",
23-
"eslint": "^8",
24-
"eslint-config-next": "15.0.0"
33+
"typescript": "^5"
34+
},
35+
"prettier": {
36+
"trailingComma": "none",
37+
"arrowParens": "always",
38+
"singleQuote": true,
39+
"jsxSingleQuote": true,
40+
"printWidth": 100,
41+
"useTabs": false,
42+
"semi": false,
43+
"quoteProps": "consistent",
44+
"bracketSpacing": true,
45+
"overrides": [
46+
{
47+
"files": [
48+
"**/*.css",
49+
"**/*.scss"
50+
],
51+
"options": {
52+
"singleQuote": false
53+
}
54+
}
55+
]
56+
},
57+
"eslintConfig": {
58+
"extends": [
59+
"next/core-web-vitals",
60+
"next/typescript"
61+
]
2562
}
2663
}

0 commit comments

Comments
 (0)