yarn check コマンドの使い方

yarn check --integrity

参考:

Yarn check [ --integrity [ --verbose ]] fail and messages aren’t helpful in the slightest · Issue #2287 · yarnpkg/yarn – GitHub

Misleading `yarn` integrity check error message when node_modules out of date · Issue #144 · sindresorhus/np – GitHub

peer dependencies に関するエラーが表示される

参考:

yarn check reports errors after install succeeds · Issue #3916 · yarnpkg/yarn – GitHub

Yarn installs wrong version · Issue #3560 · yarnpkg/yarn – GitHub

Improper hoisting of peerDependencies: webpack, ajv, ajv-keywords · Issue #3933 · yarnpkg/yarn – GitHub

`yarn check` can error right after having run `yarn install` · Issue #6262 · yarnpkg/yarn – GitHub

Yarn check reports errors after yarn install · Issue #6427 · yarnpkg/yarn – GitHub

deduping

dedupe コマンドは必要ありません。yarn install を実行するだけで、自動的に dedupe が行われるためです。
参考:

yarn dedupe | Yarn [公式]

[feature] improve resolution deduping · Issue #3778 · yarnpkg/yarn – GitHub

Don’t understand Yarn check warning – Stack Overflow

yarn install’s dedupe doesn’t work like npm’s dedupe · Issue #901 · yarnpkg/yarn – GitHub

Wrong version resolution with ^ of sub-dependency and failed to dedupe · Issue #3793 · yarnpkg/yarn – GitHub

resolutions

参考:

yarn の selective dependency resolutions 機能 – Qiita

選択的な依存関係の解決 | Yarn [公式]

Dealing with Dependency Resolution – Dan Reynolds

Selective dependency resolutions | Yarn [Official]

resolutions is not behaving the way I expect it to · Issue #5759 · yarnpkg/yarn – GitHub

How do I override nested dependencies with `yarn`? – Stack Overflow

yarn-deduplicate

参考:

atlassian/yarn-deduplicate: Deduplication tool for yarn.lock files – GitHub

De-duplicating yarn.lock – Sergio Cinos – Medium

Tagged:

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です