mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-08-29 18:31:33 +00:00
#1090 bumped typescript to 7.0.2. typescript-eslint declares `typescript: >=4.8.4 <6.1.0`, and TypeScript 7 removed `ts.Extension`, which @typescript-eslint/typescript-estree dereferences at import time: node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js:59 ts.Extension.Cjs, TypeError: Cannot read properties of undefined (reading 'Cjs') ESLint hits that while loading eslint.config.mjs, so `npm run lint` fails before linting anything. Node reports it as ERR_INTERNAL_ASSERTION, which hides the cause. Every open PR fails this check, not just new ones. Even the latest typescript-eslint prerelease still caps at <6.1.0, so there is nothing to upgrade to yet. Pin back to ~6.0.3 and tell dependabot to hold major typescript bumps until the ecosystem catches up. Also fixes biome.json pointing vcs.defaultBranch at dev-2.5.0, a branch that no longer exists.
92 lines
2.5 KiB
YAML
92 lines
2.5 KiB
YAML
version: 2
|
|
updates:
|
|
# npm dependencies (single root package.json, no workspaces)
|
|
- package-ecosystem: "npm"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "weekly"
|
|
day: "monday"
|
|
open-pull-requests-limit: 15
|
|
labels:
|
|
- "dependencies"
|
|
- "npm"
|
|
commit-message:
|
|
prefix: "chore"
|
|
prefix-development: "chore"
|
|
include: "scope"
|
|
groups:
|
|
dev-patch-updates:
|
|
dependency-type: "development"
|
|
update-types:
|
|
- "patch"
|
|
dev-minor-updates:
|
|
dependency-type: "development"
|
|
update-types:
|
|
- "minor"
|
|
prod-patch-updates:
|
|
dependency-type: "production"
|
|
update-types:
|
|
- "patch"
|
|
prod-minor-updates:
|
|
dependency-type: "production"
|
|
update-types:
|
|
- "minor"
|
|
# Major bumps grouped so they land as a single reviewable PR instead of
|
|
# one-per-package noise. These often need manual follow-up (Electron,
|
|
# React, Vite, Tailwind, Express 5, etc.).
|
|
major-updates:
|
|
update-types:
|
|
- "major"
|
|
ignore:
|
|
# typescript-eslint declares `typescript: >=4.8.4 <6.1.0`, and TypeScript 7
|
|
# removed `ts.Extension`, which @typescript-eslint/typescript-estree reads
|
|
# at import time. Bumping to 7 makes `eslint .` fail to load its own config,
|
|
# so `npm run lint` cannot run at all. Drop this once typescript-eslint
|
|
# supports TypeScript 7.
|
|
- dependency-name: "typescript"
|
|
update-types: ["version-update:semver-major"]
|
|
|
|
# Docker base images (docker/Dockerfile + docker-compose / compose-dev)
|
|
- package-ecosystem: "docker"
|
|
directory: "/docker"
|
|
schedule:
|
|
interval: "weekly"
|
|
day: "monday"
|
|
open-pull-requests-limit: 10
|
|
labels:
|
|
- "dependencies"
|
|
- "docker"
|
|
commit-message:
|
|
prefix: "chore"
|
|
include: "scope"
|
|
groups:
|
|
docker-patch-updates:
|
|
update-types:
|
|
- "patch"
|
|
docker-minor-updates:
|
|
update-types:
|
|
- "minor"
|
|
docker-major-updates:
|
|
update-types:
|
|
- "major"
|
|
|
|
# GitHub Actions used across the workflows in .github/workflows
|
|
- package-ecosystem: "github-actions"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "weekly"
|
|
day: "monday"
|
|
open-pull-requests-limit: 10
|
|
labels:
|
|
- "dependencies"
|
|
- "github-actions"
|
|
commit-message:
|
|
prefix: "ci"
|
|
include: "scope"
|
|
groups:
|
|
github-actions:
|
|
update-types:
|
|
- "patch"
|
|
- "minor"
|
|
- "major"
|