From 9ba8fd0f51da97f2ef94dea3b2e548a7b0e5efbe Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 24 Jun 2024 14:31:31 +0300 Subject: [PATCH] react and react-dom needs to be installed as npm i uses --legacy-peer-deps --- package-lock.json | 90 ++++++++++++++++++++++++++++++++++++++++++++++- package.json | 5 ++- 2 files changed, 93 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 48341e7..effa83b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,9 @@ "packages/*" ], "dependencies": { - "react": "^19.0.0-rc-3563387fe3-20240621" + "@types/react": "^18.3.3", + "react": "^19.0.0-rc-3563387fe3-20240621", + "react-dom": "^19.0.0-rc-3563387fe3-20240621" }, "devDependencies": { "@esm-bundle/chai": "^4.3.4-fix.0", @@ -24,6 +26,7 @@ "@types/karma-chrome-launcher": "^3.1.4", "@types/karma-mocha": "^1.3.4", "@types/mocha": "^10.0.6", + "@types/react-dom": "^18.3.0", "@types/sinon": "^17.0.3", "@vitejs/plugin-react": "^4.3.1", "chai-as-promised": "^8.0.0", @@ -1579,6 +1582,29 @@ "undici-types": "~5.26.4" } }, + "node_modules/@types/prop-types": { + "version": "15.7.12", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" + }, + "node_modules/@types/react": { + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, "node_modules/@types/sinon": { "version": "17.0.3", "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.3.tgz", @@ -3276,6 +3302,11 @@ "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz", "integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w==" }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, "node_modules/custom-event": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", @@ -6088,6 +6119,17 @@ "node": ">=0.10.0" } }, + "node_modules/react-dom": { + "version": "19.0.0-rc-3563387fe3-20240621", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0-rc-3563387fe3-20240621.tgz", + "integrity": "sha512-nKVSxUP1sfPYfCxpJWKiVq0xlLRNKZTVDUA4Wnk6h1fq02IiBTZwU3BA7HJEivjsm0QzBsMctL2kl1jAleWZ5g==", + "dependencies": { + "scheduler": "0.25.0-rc-3563387fe3-20240621" + }, + "peerDependencies": { + "react": "19.0.0-rc-3563387fe3-20240621" + } + }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", @@ -6301,6 +6343,11 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "node_modules/scheduler": { + "version": "0.25.0-rc-3563387fe3-20240621", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0-rc-3563387fe3-20240621.tgz", + "integrity": "sha512-BZfteLABepXgAsOrP1H+33NjBb+Xz1kDPstBlb0zQ0V+PHgyGCPaF8rF38i+TnnB84d0fQ2Lb+MhBUMqpZMhsw==" + }, "node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -8578,6 +8625,29 @@ "undici-types": "~5.26.4" } }, + "@types/prop-types": { + "version": "15.7.12", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" + }, + "@types/react": { + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "requires": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, + "@types/react-dom": { + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", + "dev": true, + "requires": { + "@types/react": "*" + } + }, "@types/sinon": { "version": "17.0.3", "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.3.tgz", @@ -10157,6 +10227,11 @@ "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz", "integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w==" }, + "csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, "custom-event": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", @@ -12188,6 +12263,14 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.0.0-rc-3563387fe3-20240621.tgz", "integrity": "sha512-euYgnMufgCGN0vAuIiSDAXB8Uog8LAJKQPhDtccHpY9vvu4+Uz43NCF5/tGRd7y0TXN48LRUbBfnU5+0dWfoiA==" }, + "react-dom": { + "version": "19.0.0-rc-3563387fe3-20240621", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0-rc-3563387fe3-20240621.tgz", + "integrity": "sha512-nKVSxUP1sfPYfCxpJWKiVq0xlLRNKZTVDUA4Wnk6h1fq02IiBTZwU3BA7HJEivjsm0QzBsMctL2kl1jAleWZ5g==", + "requires": { + "scheduler": "0.25.0-rc-3563387fe3-20240621" + } + }, "react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", @@ -12341,6 +12424,11 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "scheduler": { + "version": "0.25.0-rc-3563387fe3-20240621", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0-rc-3563387fe3-20240621.tgz", + "integrity": "sha512-BZfteLABepXgAsOrP1H+33NjBb+Xz1kDPstBlb0zQ0V+PHgyGCPaF8rF38i+TnnB84d0fQ2Lb+MhBUMqpZMhsw==" + }, "semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", diff --git a/package.json b/package.json index 046d16f..51809d1 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "@types/karma-chrome-launcher": "^3.1.4", "@types/karma-mocha": "^1.3.4", "@types/mocha": "^10.0.6", + "@types/react-dom": "^18.3.0", "@types/sinon": "^17.0.3", "@vitejs/plugin-react": "^4.3.1", "chai-as-promised": "^8.0.0", @@ -70,6 +71,8 @@ "packages/*" ], "dependencies": { - "react": "^19.0.0-rc-3563387fe3-20240621" + "@types/react": "^18.3.3", + "react": "^19.0.0-rc-3563387fe3-20240621", + "react-dom": "^19.0.0-rc-3563387fe3-20240621" } }