Skip to content
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

feat: bump deps & remove eslint in favour of biome #104

Merged
merged 2 commits into from
Nov 30, 2024
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
46 changes: 0 additions & 46 deletions .eslintrc.cjs

This file was deleted.

15 changes: 13 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": true,
"ignore": [
Expand Down Expand Up @@ -28,6 +33,12 @@
"lineWidth": 80
},
"linter": {
"enabled": false
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noSvgWithoutTitle": "off"
}
}
}
}
80 changes: 37 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"type": "module",
"scripts": {
"clean": "find . -name node_modules -o -name .next -o -name .turbo -o -name dist -type d -prune | xargs rm -rf",
"format": "biome check --apply . && biome format --write .",
"dev": "next dev --turbo",
"lint": "next lint",
"format": "biome check --write . && biome format --write .",
"dev": "next dev",
"lint": "biome lint .",
"start": "next start",
"find-deadcode": "ts-prune | (! grep -v 'used in module')",
"build": "next build",
Expand All @@ -16,59 +16,53 @@
"bump:latest": "pnpm up -i -latest"
},
"dependencies": {
"@heroicons/react": "^2.1.3",
"@keystatic/core": "^0.5.13",
"@keystatic/next": "^5.0.0",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@t3-oss/env-nextjs": "^0.10.1",
"@vercel/og": "^0.6.2",
"class-variance-authority": "^0.7.0",
"@heroicons/react": "^2.2.0",
"@keystatic/core": "^0.5.42",
"@keystatic/next": "^5.0.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-hover-card": "^1.1.2",
"@radix-ui/react-navigation-menu": "^1.2.1",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@t3-oss/env-nextjs": "^0.11.1",
"@vercel/og": "^0.6.4",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.10",
"framer-motion": "^11.1.7",
"lucide-react": "^0.376.0",
"dayjs": "^1.11.13",
"framer-motion": "^11.12.0",
"lucide-react": "^0.462.0",
"next": "^14.2.3",
"next-themes": "^0.3.0",
"next-themes": "^0.4.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.1.0",
"sharp": "^0.33.3",
"tailwind-merge": "^2.3.0",
"react-icons": "^5.3.0",
"sharp": "^0.33.5",
"tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.4",
"zod-validation-error": "^3.2.0"
"zod": "^3.23.8",
"zod-validation-error": "^3.4.0"
},
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@tailwindcss/typography": "^0.5.13",
"@types/eslint": "^8.56.10",
"@types/node": "^20.12.7",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@biomejs/biome": "1.9.4",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^22.10.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vercel/style-guide": "^6.0.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.3",
"eslint-plugin-only-warn": "^1.1.0",
"postcss": "^8.4.38",
"shiki": "^1.3.0",
"tailwindcss": "^3.4.3",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"shiki": "^1.24.0",
"tailwindcss": "^3.4.15",
"ts-prune": "^0.10.3",
"typescript": "^5.4.5"
"typescript": "^5.7.2"
},
"engines": {
"node": ">=20.x",
"npm": ">=7.0.0",
"pnpm": ">=8.0.0"
},
"packageManager": "pnpm@8.15.5"
"packageManager": "pnpm@9.14.4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab"
}
Loading