chore(deps): ignore typescript major version updates in Dependabot - #411
Merged
Conversation
TypeScript 6 breaks \`tsc --project tsconfig.json\` (TS4094 errors on private fields in exported classes used for .d.ts generation), a regression CI doesn't catch since it never runs \`npm run build:types\`. Until that's addressed, don't let Dependabot keep proposing the major.
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.
Agrega una regla de `ignore` para que Dependabot deje de proponer majors de `typescript`.
Motivo: TypeScript 6 rompe `tsc --project tsconfig.json` (errores `TS4094` por los campos privados `#key`/`#params` en clases anónimas exportadas, usados para generar `dist/types/*.d.ts`). El CI actual no lo detecta porque `node_ci.yml` nunca ejecuta `npm run build:types`. Ver el análisis en #410, donde se excluyó ese major del batch de actualizaciones (#386 y el equivalente de Renovate #378, ambos cerrados).
Cuando se resuelva la incompatibilidad con TS 6 (o se ajuste el uso de campos privados), se puede quitar esta regla.