From 1e6c6e7f7b06a3b320cd6b8b8e790ea7a04b3d5e Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Sun, 22 Sep 2024 23:57:53 +0200 Subject: [PATCH] Set some dependencies as peer dependencies as they should be. --- package.json | 9 +++++--- yarn.lock | 59 +++++++++------------------------------------------- 2 files changed, 16 insertions(+), 52 deletions(-) diff --git a/package.json b/package.json index 2e9c6ad..a82ad17 100644 --- a/package.json +++ b/package.json @@ -21,14 +21,12 @@ "@fontsource-variable/jetbrains-mono": "^5.0.21", "@fontsource-variable/manrope": "^5.0.20", "@fontsource-variable/source-serif-4": "^5.0.19", - "@phosphor-icons/react": "^2.1.5", - "react": "^18.3.1", - "react-dom": "^18.3.1", "react-merge-refs": "^2.1.1", "react-router-dom": "^6.24.1", "uuid": "^10.0.0" }, "devDependencies": { + "@phosphor-icons/react": "^2.1.7", "@types/node": "^20.14.10", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", @@ -39,5 +37,10 @@ "vite": "^5.2.11", "vite-plugin-dts": "^3.9.1" }, + "peerDependencies": { + "@phosphor-icons/react": "^2.1.7", + "react": "^18.3.1", + "react-dom": "^18.3.1" + }, "packageManager": "yarn@4.2.2" } diff --git a/yarn.lock b/yarn.lock index 8ed5f6a..40630a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -567,21 +567,23 @@ __metadata: "@fontsource-variable/jetbrains-mono": "npm:^5.0.21" "@fontsource-variable/manrope": "npm:^5.0.20" "@fontsource-variable/source-serif-4": "npm:^5.0.19" - "@phosphor-icons/react": "npm:^2.1.5" + "@phosphor-icons/react": "npm:^2.1.7" "@types/node": "npm:^20.14.10" "@types/react": "npm:^18.3.3" "@types/react-dom": "npm:^18.3.0" "@types/uuid": "npm:^10" "@vitejs/plugin-react": "npm:^4.3.0" less: "npm:^4.2.0" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" react-merge-refs: "npm:^2.1.1" react-router-dom: "npm:^6.24.1" typescript: "npm:^5.4.5" uuid: "npm:^10.0.0" vite: "npm:^5.2.11" vite-plugin-dts: "npm:^3.9.1" + peerDependencies: + "@phosphor-icons/react": ^2.1.7 + react: ^18.3.1 + react-dom: ^18.3.1 languageName: unknown linkType: soft @@ -660,13 +662,13 @@ __metadata: languageName: node linkType: hard -"@phosphor-icons/react@npm:^2.1.5": - version: 2.1.5 - resolution: "@phosphor-icons/react@npm:2.1.5" +"@phosphor-icons/react@npm:^2.1.7": + version: 2.1.7 + resolution: "@phosphor-icons/react@npm:2.1.7" peerDependencies: react: ">= 16.8" react-dom: ">= 16.8" - checksum: 10c0/a4e9d66cd48a6e1e6629df8c0a7b673364da257c12e993f3d0e4303867c2b4272d6acb1c020f8ef34e073f5de567a826fc6da681e0656ce3b445eced44c8f4d7 + checksum: 10c0/8e5c42056f606c5efdfa113174de4c312a084b1ca117262f9bb3063cb68ec58fa9e4ebb414d99372213a23924e064add34bcc917177b2f092f42e90c683e0dbd languageName: node linkType: hard @@ -1808,7 +1810,7 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": +"js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed @@ -1922,17 +1924,6 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.1.0": - version: 1.4.0 - resolution: "loose-envify@npm:1.4.0" - dependencies: - js-tokens: "npm:^3.0.0 || ^4.0.0" - bin: - loose-envify: cli.js - checksum: 10c0/655d110220983c1a4b9c0c679a2e8016d4b67f6e9c7b5435ff5979ecdb20d0813f4dec0a08674fcbdd4846a3f07edbb50a36811fd37930b94aaa0d9daceb017e - languageName: node - linkType: hard - "lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": version: 10.2.2 resolution: "lru-cache@npm:10.2.2" @@ -2314,18 +2305,6 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^18.3.1": - version: 18.3.1 - resolution: "react-dom@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - scheduler: "npm:^0.23.2" - peerDependencies: - react: ^18.3.1 - checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85 - languageName: node - linkType: hard - "react-merge-refs@npm:^2.1.1": version: 2.1.1 resolution: "react-merge-refs@npm:2.1.1" @@ -2364,15 +2343,6 @@ __metadata: languageName: node linkType: hard -"react@npm:^18.3.1": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3 - languageName: node - linkType: hard - "resolve@npm:~1.19.0": version: 1.19.0 resolution: "resolve@npm:1.19.0" @@ -2503,15 +2473,6 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.23.2": - version: 0.23.2 - resolution: "scheduler@npm:0.23.2" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78 - languageName: node - linkType: hard - "semver@npm:^5.6.0": version: 5.7.2 resolution: "semver@npm:5.7.2"