fix(deps): resolve version conflicts blocking stalled dependency updates - #910
Merged
Conversation
… tests css-tree 3.2.0 changed math-function syntax matching so `<length>` now resolves as the composite `<length-percentage>` type. Production config already uses regex keys (e.g. `/^length|percentage$/`) so it is unaffected; only the strict-string test expectations needed updating.
The stylelint-rules devDependency on postcss was pinned separately from stylelint/stylelint-order/vite's caret ranges, so Renovate updates could leave two postcss instances in the lockfile and break TypeScript's structural typing across the split. Also update test expectations for stylelint 17.14.1's renamed built-in rule messages (e.g. "Unexpected value" -> "Disallowed value"). - Add `yarn dedupe --check` as `lint:dedupe`, run first in `lint`/`lint:ci` - Add `postUpdateOptions: yarnDedupeHighest` to renovate.json - Group postcss + stylelint in a single Renovate PR - Dedupe the existing 103 already-duplicated packages in yarn.lock
markuplint 4.18.3 extends the neighbor-popovers rule to cover the Invoker Commands API, correctly flagging two additional trigger/target pairs in the button-command fixture that have perceptible nodes between them.
cspell 10's glob engine resolves "**/.*/**" so that the ".*" segment can match a bare ".", making the pattern equivalent to "**/**" and excluding every file in the project (lint:cspell silently checked 0 files). Use "**/.[!.]*/**" instead, which only matches dotfile/dotdir segments with a non-dot second character.
TypeScript's shared tsconfig requires "types": ["node"], but no package in this monorepo declared @types/node directly -- it was only present because @commitlint/types (via @types/conventional-commits-parser) happened to pull it in transitively. Deduping commitlint to 21.2.2 dropped that transitive path entirely and broke every build with "TS2688: Cannot find type definition file for 'node'".
1 task
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.
Summary
滞留していた依存更新PR群(#871, #879, #886, #827, #904)の内容をまとめて取り込み、それぞれが単体では壊れていたテスト・依存解決の問題を修正しました。
<length>が<length-percentage>型で解決されるようになった影響のテスト期待値を更新(本番の型判定ロジックは正規表現キー設計により無傷)stylelint-rulesの postcss devDependency が exact pin だったため、Renovate 更新のたびに caret 依存群(stylelint / stylelint-order / vite)と descriptor が分裂し、TypeScript の型が一致しなくなっていた。バージョンを揃えてyarn dedupeで解消postUpdateOptions: yarnDedupeHighest、lint:dedupe(yarn dedupe --check)を lint パイプライン先頭に追加、postcss+stylelint を Renovate 上で同一グループ化Unexpected value→Disallowed value等)にテストを追従neighbor-popovers検出強化に伴い増えた2件の正当な検出をテストに反映(fixture の実体を確認済み)textlint --fixでリポジトリ内の該当箇所を一括修正ignorePaths修正:**/.*/**が cspell 10 のグロブ解釈で実質すべてのファイルにマッチしてしまい、lint:cspellが常に0ファイルをチェックして無意味に成功していた既存バグを発見・修正(**/.[!.]*/**に変更)クローズしたPR
以下は本PRに統合、または対応不要と判断してクローズしました:
Test plan
yarn buildが通ることyarn test(135件)が全て通ることyarn lint(tsc/eslint/prettier/textlint/cspell/secretlint/actionlint)が全て通ることyarn why postcss/yarn why stylelintが単一バージョンに解決されることyarn dedupe --checkが exit 0 で通ること