Forráskód Böngészése

Update package dependencies and configuration for improved compatibility

- Removed deprecated dependency '@ant-design/v5-patch-for-react-19' from package.json.
- Updated 'antd' version to '6' for better feature support.
- Adjusted various dependencies in yarn.lock to their latest versions, enhancing overall stability and performance.
- Commented out the 'cssVar' property in layout.tsx for potential future use, improving code clarity.
0es 4 hónapja
szülő
commit
60974caf00
3 módosított fájl, 457 hozzáadás és 488 törlés
  1. 3 4
      package.json
  2. 1 3
      src/app/layout.tsx
  3. 453 481
      yarn.lock

+ 3 - 4
package.json

@@ -3,19 +3,18 @@
   "version": "0.1.0",
   "private": true,
   "scripts": {
-    "dev": "next dev --webpack --port 3002",
-    "build": "next build --webpack",
+    "dev": "next dev --port 3002",
+    "build": "next build",
     "start": "next start",
     "lint": "biome check",
     "format": "biome format --write"
   },
   "dependencies": {
     "@ant-design/nextjs-registry": "^1.2.0",
-    "@ant-design/v5-patch-for-react-19": "^1.0.3",
     "@dnd-kit/core": "^6.3.1",
     "@dnd-kit/sortable": "^10.0.0",
     "@dnd-kit/utilities": "^3.2.2",
-    "antd": "^5.28.0",
+    "antd": "6",
     "dayjs": "^1.11.19",
     "js-sha256": "^0.11.1",
     "json-edit-react": "^1.29.0",

+ 1 - 3
src/app/layout.tsx

@@ -1,5 +1,3 @@
-import "@ant-design/v5-patch-for-react-19";
-
 import { AntdRegistry } from "@ant-design/nextjs-registry";
 import type { Metadata } from "next";
 import { Geist, Geist_Mono } from "next/font/google";
@@ -40,7 +38,7 @@ export default function RootLayout({
               token: {
                 colorPrimary: "#1890ff",
               },
-              cssVar: true,
+              // cssVar: true,
             }}
           >
             <App>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 453 - 481
yarn.lock


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott