From 84403f018a116b0006bb15d8122508879e005c6c Mon Sep 17 00:00:00 2001 From: MaksHladun Date: Mon, 13 Jan 2025 19:55:37 +0200 Subject: [PATCH] fix: update package versions for compatibility react --- package.json | 8 ++++---- packages/material-tailwind-react/package.json | 8 ++++---- packages/material-tailwind-react/tsconfig.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index aa29f584c..b9137d896 100644 --- a/package.json +++ b/package.json @@ -63,11 +63,11 @@ "nouislider": "15.6.1", "prismjs": "1.29.0", "prop-types": "15.8.1", - "react": "18.2.0", + "react": "^18.2.0", "react-apexcharts": "1.4.1", "react-copy-to-clipboard": "5.1.0", "react-day-picker": "8.9.1", - "react-dom": "18.2.0", + "react-dom": "^18.2.0", "react-jsx-parser": "1.29.0", "react-simple-code-editor": "0.13.1", "rehype-pretty-code": "0.3.2", @@ -84,7 +84,7 @@ "devDependencies": { "@types/js-cookie": "3.0.6", "@types/node": "18.11.18", - "@types/react": "18.0.26", + "@types/react": "^18.2.0", "autoprefixer": "10.4.13", "cross-spawn": "7.0.3", "eslint": "8.31.0", @@ -99,7 +99,7 @@ "prettier-plugin-tailwindcss": "0.1.13", "prompts": "2.4.2", "tailwindcss": "3.3.6", - "typescript": "4.9.4", + "typescript": "^5.1.6", "unbuild": "1.2.1" } } diff --git a/packages/material-tailwind-react/package.json b/packages/material-tailwind-react/package.json index f3b548805..b9f6f853c 100644 --- a/packages/material-tailwind-react/package.json +++ b/packages/material-tailwind-react/package.json @@ -25,8 +25,8 @@ "framer-motion": "6.5.1", "material-ripple-effects": "2.0.1", "prop-types": "15.8.1", - "react": "18.2.0", - "react-dom": "18.2.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", "tailwind-merge": "1.8.1" }, "peerDependencies": { @@ -37,7 +37,7 @@ "@swc/cli": "0.1.59", "@swc/core": "1.3.24", "@types/node": "18.11.18", - "@types/react": "18.0.26", + "@types/react": "^18.2.0", "@types/react-dom": "18.0.10", "@typescript-eslint/eslint-plugin": "5.47.1", "@typescript-eslint/parser": "5.47.1", @@ -49,7 +49,7 @@ "eslint-plugin-react-hooks": "4.6.0", "path": "0.12.7", "prettier": "2.8.1", - "typescript": "4.9.4" + "typescript": "^5.1.6" }, "keywords": [ "material tailwind", diff --git a/packages/material-tailwind-react/tsconfig.json b/packages/material-tailwind-react/tsconfig.json index ae118f67e..4f6364f1e 100644 --- a/packages/material-tailwind-react/tsconfig.json +++ b/packages/material-tailwind-react/tsconfig.json @@ -4,7 +4,7 @@ "lib": ["ES2021", "DOM", "DOM.Iterable"], "incremental": false, "isolatedModules": true, - "importsNotUsedAsValues": "error", + "verbatimModuleSyntax": false, "allowJs": true, "esModuleInterop": true, "jsx": "react",