From 6223725ddaa9044d1f9b04d8f37137c430d510d1 Mon Sep 17 00:00:00 2001 From: lerte smith Date: Sat, 1 Jun 2024 21:08:11 +0800 Subject: [PATCH] fix build --- apps/docs/package.json | 6 ++++++ package.json | 6 ------ pnpm-lock.yaml | 40 ++++++++++++++++++++++++---------------- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/apps/docs/package.json b/apps/docs/package.json index c6a5b79..960d447 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -34,5 +34,11 @@ "react-live": "^4.1.6", "tailwindcss": "^3.4.3", "typescript": "^5.4.5" + }, + "pnpm": { + "overrides": { + "@types/react": "npm:types-react@rc", + "@types/react-dom": "npm:types-react-dom@rc" + } } } diff --git a/package.json b/package.json index 946a409..6970069 100644 --- a/package.json +++ b/package.json @@ -11,11 +11,5 @@ "prettier": "^3.1.1", "turbo": "^1.12.4" }, - "pnpm": { - "overrides": { - "@types/react": "npm:types-react@rc", - "@types/react-dom": "npm:types-react-dom@rc" - } - }, "packageManager": "pnpm@8.11.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4328bbc..c89a5f6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,10 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -overrides: - '@types/react': npm:types-react@rc - '@types/react-dom': npm:types-react-dom@rc - importers: .: @@ -124,7 +120,7 @@ importers: devDependencies: '@lit/react': specifier: ^1.0.5 - version: 1.0.5(types-react@19.0.0-rc.0) + version: 1.0.5(@types/react@18.3.1) '@material/web': specifier: ^1.4.1 version: 1.4.1 @@ -147,11 +143,11 @@ importers: specifier: ^20.12.7 version: 20.12.7 '@types/react': - specifier: npm:types-react@rc - version: /types-react@19.0.0-rc.0 + specifier: ^18.3.1 + version: 18.3.1 '@types/react-dom': - specifier: npm:types-react-dom@rc - version: /types-react-dom@19.0.0-rc.0 + specifier: ^18.3.0 + version: 18.3.0 '@typescript-eslint/eslint-plugin': specifier: ^7.8.0 version: 7.8.0(@typescript-eslint/parser@7.8.0)(eslint@8.57.0)(typescript@5.4.5) @@ -582,7 +578,7 @@ packages: /@docsearch/react@3.6.0(@algolia/client-search@4.23.3)(react-dom@19.0.0-rc-935180c7e0-20240524)(react@19.0.0-rc-935180c7e0-20240524)(search-insights@2.14.0)(types-react@19.0.0-rc.0): resolution: {integrity: sha512-HUFut4ztcVNmqy9gp/wxNbC7pTOHhgVVkHVGCACTuLhUKUhKAF9KYHJtMiLUJxEqiFLQiuri1fWF8zqwM/cu1w==} peerDependencies: - '@types/react': npm:types-react@rc + '@types/react': '>= 16.8.0 < 19.0.0' react: '>= 16.8.0 < 19.0.0' react-dom: '>= 16.8.0 < 19.0.0' search-insights: '>= 1 < 3' @@ -960,12 +956,12 @@ packages: resolution: {integrity: sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==} dev: true - /@lit/react@1.0.5(types-react@19.0.0-rc.0): + /@lit/react@1.0.5(@types/react@18.3.1): resolution: {integrity: sha512-RSHhrcuSMa4vzhqiTenzXvtQ6QDq3hSPsnHHO3jaPmmvVFeoNNm4DHoQ0zLdKAUvY3wP3tTENSUf7xpyVfrDEA==} peerDependencies: - '@types/react': npm:types-react@rc + '@types/react': 17 || 18 dependencies: - '@types/react': /types-react@19.0.0-rc.0 + '@types/react': 18.3.1 dev: true /@lit/reactive-element@2.0.4: @@ -1416,7 +1412,19 @@ packages: /@types/prop-types@15.7.12: resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==} - dev: false + + /@types/react-dom@18.3.0: + resolution: {integrity: sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==} + dependencies: + '@types/react': 18.3.1 + dev: true + + /@types/react@18.3.1: + resolution: {integrity: sha512-V0kuGBX3+prX+DQ/7r2qsv1NsdfnCLnTgnRJ1pYnxykBhGMz+qj+box5lq7XsO5mtZsBqpjwwTu/7wszPfMBcw==} + dependencies: + '@types/prop-types': 15.7.12 + csstype: 3.1.3 + dev: true /@types/resolve@1.20.2: resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} @@ -5534,7 +5542,7 @@ packages: /react-markdown@8.0.7(react@19.0.0-rc-935180c7e0-20240524)(types-react@19.0.0-rc.0): resolution: {integrity: sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==} peerDependencies: - '@types/react': npm:types-react@rc + '@types/react': '>=16' react: '>=16' dependencies: '@types/hast': 2.3.10 @@ -6768,7 +6776,7 @@ packages: /types-react-dom@19.0.0-rc.0: resolution: {integrity: sha512-wGlQSD6H6EeCxhH+dSip1cPcCU7nNTOwHEr29rjiNtGkUPlmEofOizoQaPMEqQH2V76ME3NLvBDLGajRu3xZOw==} dependencies: - '@types/react': /types-react@19.0.0-rc.0 + '@types/react': 18.3.1 dev: true /types-react@19.0.0-rc.0: