fix: resolve yarn install peer dependency warnings#297
Merged
Conversation
- Extension: vite-plugin-macro を独自 vite プラグイン (vite-plugin-import-if) に置き換え - Extension: @testing-library/react を root から extension devDeps に移動 - Hub: react/react-dom を RC版から安定版 ^19.0.0 にアップグレード - Hub: cmdk を ^1.1.1 にアップグレード(React 19 対応) - Hub: next/eslint-config-next/@next/eslint-plugin-next を ^15.1.0 にアップグレード - Hub: @vitejs/plugin-react を ^5.1.4 に更新し vite を devDeps に追加 - Root: @testing-library/react を削除(extension へ移動) Co-authored-by: ujiro99 <677231+ujiro99@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix warnings during yarn install process
fix: resolve yarn install peer dependency warnings
Feb 27, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #297 +/- ##
==========================================
- Coverage 19.03% 19.03% -0.01%
==========================================
Files 312 312
Lines 28829 28845 +16
Branches 1321 1322 +1
==========================================
+ Hits 5489 5490 +1
- Misses 23340 23355 +15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ujiro99
approved these changes
Feb 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
yarn installproduced ~30 peer dependency warnings due to outdated packages and misplaced dependencies across the monorepo.Root cause areas
vite-plugin-macro@0.2.0declaresvite@^2peer dep — no newer release exists19.0.0-rc-65a56d0e-20241020) didn't satisfy^19.0.0peer dep patterns innext,cmdk,@next/third-parties@testing-library/reactat root had noreact,react-dom, or@testing-library/dompeers declared at that level@vitejs/plugin-reactin hub had novitepeer availableChanges
Extension — replace
vite-plugin-macrowith custom pluginDropped the unmaintained
vite-plugin-macro(stuck atvite@^2) and replaced its single-useimportIfmacro with a custom Vite plugin:Deleted
macros/importIfProvider.tsaccordingly.Extension — move
@testing-library/reactfrom rootMoved
@testing-library/reactfrom rootdevDependenciesintopackages/extension, wherereactand@testing-library/dompeers already exist.Hub — upgrade React and related packages
react/react-dom19.0.0-rc-65a56d0e-20241020^19.0.0cmdk1.0.0^1.1.1(React 19 peer dep updated)next/eslint-config-next/@next/eslint-plugin-next15.0.0^15.1.0(first version supporting React 19 stable)@vitejs/plugin-react^5.0.0^5.1.4vite^6.0.0(peer dep for@vitejs/plugin-react)@types/react/@types/react-domremain at^18in hub to avoid conflicting type installations across the monorepo (hub was already running React 19 RC against@types/react@18without issue).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
www.google-analytics.com/opt/hostedtoolcache/node/24.13.1/x64/bin/node /opt/hostedtoolcache/node/24.13.1/x64/bin/node --conditions node --conditions development /home/REDACTED/work/selection-command/selection-command/node_modules/tinypool/dist/entry/process.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This section details on the original issue you should resolve
<issue_title>yarn installでの警告を解消する</issue_title>
<issue_description>yarn install時、依存性に関する警告が多数でるので、これを解消する。