Skip to content

Commit e0ef229

Browse files
mshimaclaude
andcommitted
fix: widen @yeoman/adapter peer range and pin @inquirer/type for CI
- peerDependencies now actually accept @yeoman/adapter v5 (the acceptDependencies field is informational only and >=4.0.2 already covered v5). - Require @yeoman/types ^1.13.0, the first release whose peer range allows @yeoman/adapter v5. - Override @inquirer/type to 4.0.7: 4.1.0 changed Prettify<T> to a conditional type that breaks the typings of inquirer@13 pulled in by @yeoman/adapter@4, failing tsc with skipLibCheck disabled. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 02b2050 commit e0ef229

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@yeoman/conflicter": "^4.1.0",
6060
"@yeoman/namespace": "^2.1.0",
6161
"@yeoman/transform": "^2.1.1",
62-
"@yeoman/types": "^1.11.1",
62+
"@yeoman/types": "^1.13.0",
6363
"arrify": "^3.0.0",
6464
"chalk": "^5.6.2",
6565
"commander": "^14.0.3",
@@ -97,17 +97,18 @@
9797
"yeoman-test": "^11.3.1"
9898
},
9999
"peerDependencies": {
100-
"@yeoman/adapter": "^4.0.2",
100+
"@yeoman/adapter": "^4.0.2 || ^5.0.0",
101101
"@yeoman/types": "^1.10.3",
102102
"mem-fs": "^4.1.4 || ^6.0.0"
103103
},
104104
"engines": {
105105
"node": "^20.17.0 || >=22.9.0"
106106
},
107107
"acceptDependencies": {
108-
"@yeoman/adapter": ">=4.0.2 || ^5.0.0"
108+
"@yeoman/adapter": ">=4.0.2"
109109
},
110110
"overrides": {
111+
"@inquirer/type": "4.0.7",
111112
"@yeoman-environment/generator-tests": {
112113
"yeoman-environment": "file:./"
113114
}

0 commit comments

Comments
 (0)