[codex] bump lint-staged to 17#7
Merged
Merged
Conversation
- 🔧 keep the scaffold on the current lint-staged release - 🔧 accept the Node 22.22.1 floor now required by lint-staged 17
|
| Filename | Overview |
|---|---|
| package.json | 将 lint-staged 从 ^16.4.0 升级至 ^17.0.2,并新增 engines 字段声明 Node >=22.22.1 要求 |
| pnpm-lock.yaml | lockfile 与 package.json 变更保持一致:lint-staged 17.0.2、listr2 10.2.1、移除 colorette/commander、yaml 改为 optional 依赖、新增 wrap-ansi 10.0.0 |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
LS17["lint-staged@17.0.2\n(node>=22.22.1)"]
L2["listr2@10.2.1\n(node>=22.13.0)"]
WA10["wrap-ansi@10.0.0"]
YAML["yaml@2.8.4\n(optional)"]
PICOM["picomatch@4.0.4"]
SARGV["string-argv@0.3.2"]
TEXEC["tinyexec@1.1.2"]
LS17 --> L2
LS17 --> PICOM
LS17 --> SARGV
LS17 --> TEXEC
LS17 -.->|optional| YAML
L2 --> WA10
LS16["lint-staged@16.4.0\n(node>=20.17)"]:::removed
CMD["commander@14.0.3"]:::removed
COL["colorette@2.0.20"]:::removed
L29["listr2@9.0.5"]:::removed
WA9["wrap-ansi@9.0.2"]:::removed
LS16 --> CMD
LS16 --> L29
L29 --> COL
L29 --> WA9
classDef removed fill:#fdd,stroke:#d44,color:#900
Reviews (2): Last reviewed commit: "🔧 chore(deps): declare node floor" | Re-trigger Greptile
- 🔧 make the lint-staged 17 runtime requirement explicit
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
lint-stagedfrom^16.4.0to^17.0.2.pnpm-lock.yamlfor the newlint-stageddependency graph.Breaking-change risk
lint-staged17 requires Node>=22.22.1and Git>=2.32.0. This checkout validated with Nodev24.14.0and Git2.53.0..lintstagedrc.mjs, so no migration was needed.Validation
pnpm install --frozen-lockfilepnpm run lintpnpm run lint:stagedpnpm outdated --format jsonreturned{}