Skip to content

Commit 26c169c

Browse files
authored
renovate: Add source metadata for @pierre/* packages (#14987)
The `@pierre/diffs` and `@pierre/trees` packages publish no `repository` metadata on npm, so their update PRs contain no source links or release notes. This sets `sourceUrl` and `sourceDirectory` for both packages. The `@pierre/diffs` releases are tagged as `diffs-v1.2.3`, which the release notes lookup does not match for scoped package names. The `extractVersion` pattern accepts these tags while leaving the plain npm versions unchanged.
1 parent b01e245 commit 26c169c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎.github/renovate.json5‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,19 @@
4141
matchDepNames: ['@catppuccin/palette', '/^@fontsource\\//', '/^@iconify-json\\//'],
4242
extends: ['schedule:weekly'],
4343
},
44+
{
45+
// The `@pierre/*` packages publish no `repository` metadata.
46+
matchPackageNames: ['@pierre/diffs'],
47+
sourceUrl: 'https://github.com/pierrecomputer/pierre',
48+
sourceDirectory: 'packages/diffs',
49+
// Match the `diffs-v1.2.3` release tags while leaving npm versions as-is.
50+
extractVersion: '^(?:diffs-)?v?(?<version>.+)$',
51+
},
52+
{
53+
matchPackageNames: ['@pierre/trees'],
54+
sourceUrl: 'https://github.com/pierrecomputer/pierre',
55+
sourceDirectory: 'packages/trees',
56+
},
4457
{
4558
// Avoid "Artifact update problem" for pnpm updates when the renovatebot
4659
// setup does not support the new version yet.

0 commit comments

Comments
 (0)