* migrate depTypes
* migrate more depTypes
* Revert "migrate more depTypes"
This reverts commit 3f97d9eb82.
* more migrations
* Update dep-types-migration.ts
* Update dep-types-migration.ts
* refactor: add tests and revert some changes
* add separate class for each dep-type
* Update peer-dependencies-migration.ts
* add tests
* update types
* modify test
* - Use regex to detect all depTypes
- Fix arrMigrate -> arrMigrate.migratedConfig
* add new interface for depTypes
* remove if-block
* Update lib/config/migrations/custom/dep-types-migration.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* run prettier
* Update lib/config/migrations/custom/dep-types-migration.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix(manager/regex): depName requirement if using the recursive strategy
* chore(manager/regex): implement code suggestions
* chore: replace Boolean with Is function
* chore: abort if match strings are empty
* refactor: do not parse regexes on each recursion and filter after all matches are processed
* fixup! test name
* Revert "chore: abort if match strings are empty"
This reverts commit bf41a92f
* refactor: extract inline function
* fix: out-of-bound check
* feat: allow currentDigest as valid alternative to currentValue
* Update lib/modules/manager/regex/utils.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* chore: prettier
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* docs(best practices): avoid boolean instead use is functions
* Update docs/development/best-practices.md
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* feat: add datasource for Hermit package manager
* fix: make hermit datasource use http.stream instead of http.get
* chore: inline small function and return null on error in hermit datasource
* fix: use regExp to extract owner and repo from registryUrl
* fix: use http from super & use error instead of debug on datasource error
* fix: fix type check failure for github-release test
* Update lib/modules/datasource/hermit/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/modules/datasource/hermit/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/modules/datasource/hermit/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/modules/datasource/hermit/index.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: wrap JSON.parse to avoid breaking process, plus more comment onto the search manifest streaming process
* fix: add test to cover the invalid json case
* fix: change some logger.errors to logger.warn in hermit datasource, error will exit the whole process
* Update lib/modules/datasource/hermit/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/modules/datasource/hermit/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/modules/datasource/hermit/index.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/modules/datasource/hermit/index.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* Update lib/modules/datasource/hermit/index.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: use parseUrl and use hermit as GithubHttp id
* fix: added test to include HermitDatasource type in GITHUB_API_USING_HOST_TYPES
* fix: handle invalid url & achieve code coverage
* fix: move url parsing to parent function
* Update lib/modules/datasource/hermit/index.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* chore: clean up HermitDataSource class doc
* fix: getHermitSearchManifest cache key function should expect undefined
* fix: pass GetReleasesConfig into getHermitSearchManifest to get proper caching working
* Update lib/modules/datasource/hermit/readme.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update lib/modules/datasource/hermit/readme.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update lib/modules/datasource/hermit/readme.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update lib/modules/datasource/hermit/readme.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Update lib/modules/datasource/hermit/readme.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* chore: fix json block in datasource readme.md
* Put packageRules example in step 4
* fix: fix lint error
* fix: pass parsedUrl into getHermitSearchManifest, add warning and simplifies type
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>