Browse Source

fix: update React and React DOM versions, adjust react-icons version, and enhance TypeScript configuration

master
sina_sajjadi 2 weeks ago
parent
commit
f7e90f0547
  1. 6
      package.json
  2. 6
      tsconfig.json

6
package.json

@ -20,10 +20,10 @@
"moment-hijri": "^3.0.0", "moment-hijri": "^3.0.0",
"next": "15.1.0", "next": "15.1.0",
"next-i18next": "^15.4.1", "next-i18next": "^15.4.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "^15.4.0", "react-i18next": "^15.4.0",
"react-icons": "^5.4.0"
"react-icons": "4.11.0"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3", "@eslint/eslintrc": "^3",

6
tsconfig.json

@ -15,8 +15,10 @@
"incremental": true, "incremental": true,
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": ["./src/*"]
}
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next-i18next.config.js"],
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js"],
"exclude": ["node_modules"] "exclude": ["node_modules"]
} }
Loading…
Cancel
Save