Clean up packages and old references to eslint config (#158)

* Update dependencies and configuration files

- Upgrade Lucide React to version 0.475.0
- Update Markdoc to version 0.5.0
- Bump ESLint to version 9.20.0
- Update Tailwind CSS to version 4.0.5
- Add import-in-the-middle to Sentry package
- Remove import-in-the-middle and require-in-the-middle from web app
- Update browserslist configuration
- Remove eslintConfig from web app package.json
- Add ESLint configuration template for package generator
This commit is contained in:
Giancarlo Buomprisco
2025-02-10 10:42:35 +07:00
committed by GitHub
parent 95d27aa85b
commit f5a961f155
17 changed files with 193 additions and 193 deletions

View File

@@ -29,7 +29,7 @@
"@supabase/supabase-js": "2.48.1",
"@types/react": "19.0.8",
"date-fns": "^4.1.0",
"lucide-react": "^0.474.0",
"lucide-react": "^0.475.0",
"next": "15.1.6",
"react": "19.0.0",
"react-hook-form": "^7.54.2",

View File

@@ -18,7 +18,7 @@
"dependencies": {
"@keystatic/core": "0.5.43",
"@keystatic/next": "^5.0.2",
"@markdoc/markdoc": "^0.4.0"
"@markdoc/markdoc": "^0.5.0"
},
"devDependencies": {
"@kit/cms-types": "workspace:*",

View File

@@ -1,5 +1,9 @@
import type { ComponentType } from 'react';
import type { Schema } from '@markdoc/markdoc';
type Component = ComponentType<unknown>;
/**
* @name CustomMarkdocComponents
* @description Custom components for Markdoc. Please define your custom components here.
@@ -12,10 +16,7 @@ import type { Schema } from '@markdoc/markdoc';
* Youtube,
* };
*/
export const CustomMarkdocComponents: Record<
string,
React.ComponentType<never>
> = {
export const CustomMarkdocComponents: Record<string, Component> = {
// define your custom components here
};

View File

@@ -37,7 +37,7 @@
"@tanstack/react-query": "5.66.0",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"lucide-react": "^0.474.0",
"lucide-react": "^0.475.0",
"next": "15.1.6",
"next-themes": "0.4.4",
"react": "19.0.0",

View File

@@ -24,7 +24,7 @@
"@tanstack/react-query": "5.66.0",
"@tanstack/react-table": "^8.20.6",
"@types/react": "19.0.8",
"lucide-react": "^0.474.0",
"lucide-react": "^0.475.0",
"next": "15.1.6",
"react": "19.0.0",
"react-dom": "19.0.0",

View File

@@ -31,7 +31,7 @@
"@supabase/supabase-js": "2.48.1",
"@tanstack/react-query": "5.66.0",
"@types/react": "19.0.8",
"lucide-react": "^0.474.0",
"lucide-react": "^0.475.0",
"next": "15.1.6",
"react-hook-form": "^7.54.2",
"react-i18next": "^15.4.0",

View File

@@ -22,19 +22,12 @@
"@supabase/supabase-js": "2.48.1",
"@tanstack/react-query": "5.66.0",
"@types/react": "19.0.8",
"lucide-react": "^0.474.0",
"lucide-react": "^0.475.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-i18next": "^15.4.0"
},
"prettier": "@kit/prettier-config",
"eslintConfig": {
"root": true,
"extends": [
"@kit/eslint-config/base",
"@kit/eslint-config/react"
]
},
"typesVersions": {
"*": {
"*": [

View File

@@ -38,7 +38,7 @@
"@types/react-dom": "19.0.3",
"class-variance-authority": "^0.7.1",
"date-fns": "^4.1.0",
"lucide-react": "^0.474.0",
"lucide-react": "^0.475.0",
"next": "15.1.6",
"react": "19.0.0",
"react-dom": "19.0.0",

View File

@@ -16,7 +16,8 @@
"./config/server": "./src/sentry.client.server.ts"
},
"dependencies": {
"@sentry/nextjs": "^8.54.0"
"@sentry/nextjs": "^8.54.0",
"import-in-the-middle": "1.13.0"
},
"devDependencies": {
"@kit/eslint-config": "workspace:*",

View File

@@ -33,7 +33,7 @@
"clsx": "^2.1.1",
"cmdk": "1.0.4",
"input-otp": "1.4.2",
"lucide-react": "^0.474.0",
"lucide-react": "^0.475.0",
"react-top-loading-bar": "3.0.2",
"recharts": "2.15.1",
"tailwind-merge": "^3.0.1"
@@ -49,7 +49,7 @@
"@types/react-dom": "19.0.3",
"class-variance-authority": "^0.7.1",
"date-fns": "^4.1.0",
"eslint": "^9.19.0",
"eslint": "^9.20.0",
"next": "15.1.6",
"next-themes": "0.4.4",
"prettier": "^3.5.0",
@@ -57,7 +57,7 @@
"react-hook-form": "^7.54.2",
"react-i18next": "^15.4.0",
"sonner": "^1.7.4",
"tailwindcss": "4.0.3",
"tailwindcss": "4.0.5",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.7.3",
"zod": "^3.24.1"