Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

chore(deps): stop dependabot re-proposing TypeScript 7 (#780)

Yudhi Armyndharise5c9b8c9c151
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index c3c4b678f..c85d34bed 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -17,10 +17,18 @@ updates:
labels:
- dependencies
ignore:
- # Ignore major bumps for packages that need manual migration
- # Uncomment specific packages below if you want to skip them entirely
- # - dependency-name: "typescript"
- # update-types: ["version-update:semver-major"]
+ # TypeScript 7 is the native port: `require('typescript')` no longer exposes the classic
+ # compiler API from its main entry, so @typescript-eslint/typescript-estree throws at load
+ # reading `ts.Extension` ("Cannot read properties of undefined (reading 'Cjs')"). ts-jest@29
+ # independently caps typescript at ">=4.3 <7". Proven by #727/#729.
+ #
+ # Pinned on the version, not update-types: the 6.x line is healthy (6.0.3 runs fine today) and
+ # this must not silently block it. Lift when typescript-eslint and ts-jest support TypeScript 7.
+ #
+ # NB: typescript-eslint's peer is "<6.1.0", so a future 6.1 bump WILL fail resolution — that is
+ # a separate matter from this ignore; pin with ~ rather than ^ when a 6.0.x bump lands.
+ - dependency-name: "typescript"
+ versions: [">=7.0.0"]
- package-ecosystem: npm
directory: /dashboard
@@ -39,6 +47,19 @@ updates:
labels:
- dependencies
- dashboard
+ ignore:
+ # TypeScript 7 is the native port: `require('typescript')` no longer exposes the classic
+ # compiler API from its main entry, so @typescript-eslint/typescript-estree throws at load
+ # reading `ts.Extension` ("Cannot read properties of undefined (reading 'Cjs')"). ts-jest@29
+ # independently caps typescript at ">=4.3 <7". Proven by #727/#729.
+ #
+ # Pinned on the version, not update-types: the 6.x line is healthy (6.0.3 runs fine today) and
+ # this must not silently block it. Lift when typescript-eslint and ts-jest support TypeScript 7.
+ #
+ # NB: typescript-eslint's peer is "<6.1.0", so a future 6.1 bump WILL fail resolution — that is
+ # a separate matter from this ignore; pin with ~ rather than ^ when a 6.0.x bump lands.
+ - dependency-name: "typescript"
+ versions: [">=7.0.0"]
- package-ecosystem: github-actions
directory: /