Commit Graph

12 Commits

Author SHA1 Message Date
Sebastian Poxhofer 9d0e535934 feat(config): add overrideDescription option (#45400)
* feat(config): add `overrideDescription` option

Presets which extend many other presets used an `ignoreDeps: []` sentinel
to keep their own one-line summary in the onboarding PR instead of one line
per extended preset. Replace that hack with an explicit `overrideDescription`
option, which is consumed and removed while presets are resolved.

The resolved descriptions are unchanged. Repositories which set
`ignoreDeps: []` in their own config no longer lose all preset descriptions
in their onboarding PR.

* fixup! feat(config): add `overrideDescription` option

* fixup! feat(config): add `overrideDescription` option

* fixup! feat(config): add `overrideDescription` option
2026-08-24 11:22:31 +00:00
RahulGautamSingh e0daef7b92 fix(type): pattern groups (#42288)
fix the type for pattern groups
2026-03-31 15:50:48 +00:00
renovate[bot] 4a2578d18d build(deps): update dependency zod to v4 (main) (#41225)
* build(deps): update dependency zod to v4

| datasource | package | from    | to    |
| ---------- | ------- | ------- | ----- |
| npm        | zod     | 3.25.76 | 4.3.6 |

* fix: zod migration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-18 07:37:50 +00:00
Jamie Tanna a36331e62a chore(tools/schema): upgrade internal schemas to JSON Schema draft-07 (#38752)
As noted in #38749, we need to upgrade to draft-07 of JSON Schema to
upgrade our dependency on AJV.

To do so, we "just" need to update the `$schema`, as we're not using
anything that's been deprecated/removed/changed as part of draft-07.

This doesn't impact anything user-facing (as these are schemas for
internal data files), and the schema doesn't change.

This appears to be supported by `vscode-json-languageservice`, which is
used by several IDEs (including VSCode) and editors to perform JSON
Schema validation in-editor.
2025-10-21 09:06:19 +00:00
Jamie Tanna e0ed4e8f23 ci(tools/json-schema): validate data files against their JSON schemas (#38740)
To ensure that our `lib/data` files match the JSON schemas that we have
defined, we can also introduce these into the `tools/validate-schema.ts`
file.

This loops through the known files and the JSON Schema that defines
them, then validates them with AJV.

Note that this also requires the following schema changes:

- using draft-04 everywhere (for ease, as we're not using draft-07
  functionality)
- using a consistent `$schema` identifier, to match the document `$id`
- make sure that the top-level `all` key doesn't get matched by
  `patternProperties`

The core of this - as little code as it is - was generated via GPT-4.1,
based on existing code in this file.

Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io>
2025-10-20 16:11:49 +00:00
Michael Kriese eb9bc72103 chore: fix json schema to allow $schema key (#38738) 2025-10-20 15:23:08 +00:00
Michael Kriese 3211d56e21 refactor(zod): rename schema to match our best practices guide (#37499) 2025-08-14 10:35:03 +00:00
Sergei Zharinov 2197818aa4 feat(presets): Package abandonment preset (#36210) 2025-06-16 10:26:25 +00:00
programmer314 f5d69a4901 feat: add replacementVersionTemplate to packageRules (#35208) 2025-04-11 18:33:42 +00:00
RahulGautamSingh 95efd9f6fe test(lib/data): schemas for changelog and source urls (#32151)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-10-30 08:19:48 +00:00
RahulGautamSingh 88e1f181d7 test(lib/data): ReplacementsSchema (#31714)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2024-10-16 07:07:13 +00:00
RahulGautamSingh d1af6778de refactor: data validation using schema (#30797)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-29 06:07:39 +00:00