Skip to content

Commit 59bf4fe

Browse files
committed
chore(deps): ignore typescript and @ai-sdk/provider majors
Dependabot's dev-dependencies group keeps opening PRs that cannot pass CI. TypeScript 7 breaks declaration emit: tsup bundles rollup-plugin-dts 6.x, whose peer range is "^4.5 || ^5.0 || ^6.0", and DTS build dies with "Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')". No released tsup or rollup-plugin-dts supports TS7. @ai-sdk/provider v4 is a spec migration, not a bump: the provider implements LanguageModelV3* and declares peerDependencies ^3.0.0, so a v4 dev dependency would typecheck against types consumers never install. Both ignores are scoped to semver-major only; minor and patch updates still flow through the group.
1 parent 0cf4ef9 commit 59bf4fe

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ updates:
1111
- "@opencode-ai/*"
1212
dev-dependencies:
1313
dependency-type: "development"
14+
ignore:
15+
# tsup's bundled rollup-plugin-dts (6.x, peer typescript
16+
# "^4.5 || ^5.0 || ^6.0") crashes declaration emit under TypeScript 7:
17+
# "Cannot read properties of undefined (reading
18+
# 'useCaseSensitiveFileNames')". No released tsup or rollup-plugin-dts
19+
# supports TS7 yet, so `npm run build` cannot pass with it. Drop this
20+
# entry once rollup-plugin-dts declares TS7 support.
21+
- dependency-name: "typescript"
22+
update-types: ["version-update:semver-major"]
23+
# The provider implements the V3 language-model spec (LanguageModelV3*)
24+
# and declares peerDependencies "@ai-sdk/provider": "^3.0.0". A v4 dev
25+
# dependency typechecks against types consumers don't install, so the
26+
# major has to be a deliberate spec migration, not a dependency bump.
27+
- dependency-name: "@ai-sdk/provider"
28+
update-types: ["version-update:semver-major"]
1429

1530
- package-ecosystem: "github-actions"
1631
directory: "/"

0 commit comments

Comments
 (0)