Skip to content

Possible adjustments for renovate-config #553

@OrbisK

Description

@OrbisK

I think we need to make some minor changes to improve a possible renovate-presets (proof of concept https://github.com/OrbisK/renovate-config-e18e).

https://e18e.dev/docs/replacements/<pgk>

We should consider using the same doc path as the module name. Or, at the very least, we should implement redirects to cover the original name. This is because the renovate presets have templating that can use the depName. Having to map it to a doc path means writing a package rule for each doc path.

      prBodyNotes: [
        `{{#unless (includes prBodyColumns "Community Notes")}}> [!WARNING]
> **This package has a recommended replacement.** Check the [e18e replacement guide for \`{{{depName}}}\`](https://e18e.dev/docs/replacements/{{{depName}}}) to find modern, lighter alternatives.{{/unless}}`,
      ],

Each replacement should have one preferred/optionated default replacement.

In order for Renovate to open a replacement PR, one package is needed to replace it. (We need to make some changes to package.json to open a replacement PR.)

Publish the docs md

We should publish the MD docs to embed them in Renovate if necessary.

To make this work, we must remove all VitePress-only markdown flavour (e.g. `//--code? ) and use normal markdown diffs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions