-
Notifications
You must be signed in to change notification settings - Fork 0
feat: downgrade to next 14 and setup nextra #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5772bf1
1a1dd6b
722d858
eca319e
4117247
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,3 +19,4 @@ jobs: | |
| cache: 'pnpm' | ||
| - run: pnpm install | ||
| - run: pnpm run lint | ||
| - run: pnpm run build | ||
| 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" | ||
| } | ||
| } |
| 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) | ||
andostronaut marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix version mismatch between Next.js and eslint-config-next There's a version mismatch that could lead to compatibility issues:
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" | ||
| ] | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.