feat: add updater for package.json

This commit is contained in:
Mattzi 2025-07-14 14:29:10 +02:00
parent 942aa80aa9
commit ecbd148e7a
14 changed files with 174 additions and 44 deletions

View file

@ -5,7 +5,7 @@ type ReleaseInfo struct {
ChangelogEntry string
}
type Updater func(string) (string, error)
type Updater func(content string, filename string) (string, error)
type NewUpdater func(ReleaseInfo) Updater