Commit graph

100 commits

Author SHA1 Message Date
Michael Kriese
e5c6f38d75
refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
RahulGautamSingh
03b0d2a24e
refactor(lib/workers): fix null-check for tests (#16163)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-21 09:39:30 +00:00
Michael Kriese
b4319928f1
refactor: strict manager tests (#16155)
* refactor: strict manager tests

* chore: revert changes

* Update lib/modules/manager/gradle/extract.spec.ts
2022-06-20 17:05:39 +02:00
RahulGautamSingh
93dd940574
refactor(modules/datasource): fix null-check issues (#16153)
* fix null-check issues

* Update index.spec.ts

* apply suggestion from review

* fix coverage issue

* Update index.spec.ts

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update datasource.spec.ts

* Update lib/modules/datasource/conan/index.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update datasource.spec.ts

* fix null-check issue

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 16:24:37 +02:00
Sergei Zharinov
0cf4f48842
refactor: Strict null checks for all files except tests (#16071)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 11:47:07 +02:00
RahulGautamSingh
c42957a804
refactor(modules/versioning): fix null check issues in tests (#16145)
* fix null-check issues

* Update lib/modules/versioning/versioning-metadata.spec.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 06:40:57 +00:00
RahulGautamSingh
3d31fa371d
refactor(lib/util): strict null check for test files (#15812)
* add types for tmp

* expand files in lib/util

* update yarn lock

* Update tsconfig.strict.json

* util/exec

* util/git

* util/http

* Revert "util/exec"

This reverts commit 96cf479a1b.

* update strict.json

* redo util/exec

* revert util/git

* util/merge-confidence

* update util/git

* util/package-rules

* fix util/git

* util/template

* util/

* revert extras

* rm newline

* add tmp back

* apply suggestion from review

* util/cache

* more changes

* Update tsconfig.strict.json

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00
Gabriel-Ladzaretti
dd3598c5b8
feat(config/migration): migrate config with a PR (#15122)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-18 12:12:31 +00:00
Maron
70084a61ef
refactor: move error-warning.ts (#16098) 2022-06-16 09:47:16 +02:00
Sergei Zharinov
82da704955
refactor: Strict null checks for extract-related functions (#15806)
* refactor: Strict null checks for extract-related functions

* Fix

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-02 14:25:20 +00:00
Sergei Zharinov
5495ab6394
refactor: Enable strict null checks for lookup-related functionality (#15848) 2022-06-02 13:56:14 +02:00
Sergei Zharinov
eab31ffa96
refactor(cache): Enable strict null checks (#15804)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-31 13:52:28 +00:00
Michael Kriese
e47a685071
fix(dashboard): use blockquote instead of invalid ul (#15612) 2022-05-17 11:40:07 +02:00
Sergei Zharinov
42d93b632c
refactor: ensurePr improved testability (#15443) 2022-05-05 11:17:11 +02:00
Gabriel-Ladzaretti
abf1814c07
refactor(repo/init): strict null checks (#15311)
* refactor(repo/init/merge): strict null checks

 - strict null fixes

* refactor(repo/init/merge): strict null checks

 - cr changes
2022-05-02 15:01:45 +02:00
Maksim
ed73d380e8
refactor: improve commit message functionality (#13328)
* refactor: improve commit message functionality

* refactor: fix test coverage

* refactor: fix by comments

* refactor: fix build

* refactor: fix linting

* refactor: fix export type

* refactor: js private fields

* refactor: static private fields

* fix: lint

* refactor: fix tsconfig

* refactor: implement method normalizeInput

* refactor: fix by comments

* Update lib/workers/repository/model/commit-message.ts

* refactor: fix by comments

* refactor: use private typescript fields again

* refactor: fix by comments

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-02 01:42:33 +00:00
Michael Kriese
982cefff2b
refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Michael Kriese
53bd90b30f
refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02:00
Michael Kriese
e24bf474ef
refactor(platform): more strict null checks (#15247) 2022-04-22 14:13:14 +00:00
Michael Kriese
e8808f33aa
refactor(platform:bitbucket): strict null checks (#15196)
* refactor(platform:bitbucket): strict null checks

* refactor: wrong change
2022-04-20 20:55:20 +00:00
Michael Kriese
78eb54361d
refactor(platform:azure): strict null checks (#15189) 2022-04-20 11:22:23 +01:00
Michael Kriese
868ebbef63
refactor(manager): final strict null checks (#15185)
* refactor(manager): final strict null checks

* refactor: fix type issues

* test: fix mocking
2022-04-20 08:40:20 +02:00
Michael Kriese
f5f06c73be
refactor(manager): more strict null checks (#15168) 2022-04-20 06:19:59 +02:00
Michael Kriese
6c7e79fbe3
refactor(manager): more strict null checks (#15166) 2022-04-19 17:46:07 +00:00
Michael Kriese
ba96b70034
refactor(manager): more strict null checks (#15161) 2022-04-18 11:13:29 +02:00
Michael Kriese
da6ba6435f
refactor(manager): strict null checks (#15151)
* refactor: strict null checks for util

* chore: fix type

* Update tsconfig.strict.json

* Update lib/util/package-rules.ts

* Update lib/util/package-rules.ts

* chore: fix test and coverage

* chore: fix package rules

* refactor(manager): strict null checks

* chore: revert config changes
2022-04-17 14:34:26 +02:00
Michael Kriese
955b442871
refactor: strict null checks for util (#15150) 2022-04-17 11:07:22 +02:00
Michael Kriese
02838fbc07
refactor(datasources): strict null checks done (#15144) 2022-04-16 12:57:12 +01:00
Michael Kriese
08b5063761
refactor: more strict null checks (#15141) 2022-04-16 09:38:07 +02:00
Michael Kriese
5cf9123017
refactor: more strict null checks (#15140) 2022-04-16 06:32:17 +00:00
Michael Kriese
c2adeff003
feat(manager:bundler): move constraint extraction to update artifacts (#15125)
* feat(manager:bundler): move constraint extraction to update artifacts

* fix: missing null checks

* chore: add comment

* chore: not null save transitives

* chore: fix snapshot
2022-04-15 18:30:34 +02:00
Jamie Magee
48cb88e778
feat: add osv-vulnerabilities and vulnerability service (#14567) 2022-04-12 16:13:20 +00:00
Matthew Vaughan
6fd86edb32
feat(manager/nuget): Restore all dependent project files to generate new lock files (#14312)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-07 21:45:24 +00:00
Sergei Zharinov
979de8d8e0
refactor(mix): Strict null checks for extract.ts (#14924)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-04 13:05:05 +00:00
jatladams
e5a0ca905b
refactor(platform/bitbucket-server): split initRepo (#14606)
* Move getting repo git url logic into a function similar to gitlab implementation as per request in another PR:
https://github.com/renovatebot/renovate/pull/13875#issuecomment-1023980178

* Bitbucket server - Move getRepoGitUrl into utils

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-02 05:41:53 +00:00
Rhys Arkins
7e2e0b3f18
feat(poetry): updateLockedDependency() (#14627)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-03-14 17:56:09 +01:00
Sergei Zharinov
06f8802c54
refactor(datasource/pod): Enable strict null checks (#14542) 2022-03-07 06:12:48 +01:00
Rhys Arkins
8bd77f747b feat(gradle): remove deepExtract (#14497)
Removes Gradle `deepExtract` option

BREAKING CHANGE: Option `deepExtract` is now removed and will be ignored
2022-03-04 09:04:02 +01:00
Rhys Arkins
a61821bde8 refactor: repository worker (#14489)
Refactors branch and pr worker to be under repository worker.
2022-03-04 09:04:02 +01:00
Rhys Arkins
dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00
Sergei Zharinov
4f3dfbcc18
feat(platform): Cache created comments (#14279)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-28 20:11:57 +01:00
zeshuaro
b0ae8f6680
feat: add fvm manager (#14370)
* feat(manager/fvm): add fvm manager

* fix(manager/fvm): add to check for type of version value

* style: update string type check

Co-authored-by: Rhys Arkins <rhys@arkins.net>

* feat: update fvm manager

* chore: add fvm folder to tsconfig.strict.json

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-25 07:19:19 +00:00
Sergei Zharinov
b6c374f166
refactor(datasource/bitbucket-tags): Strict null checks (#13558) 2022-02-17 10:01:01 +00:00
Michael Kriese
5723be1ac5
refactor: add strict null checks (#14169) 2022-02-11 11:02:30 +01:00
Michael Kriese
e3e286bd01
build: simplify and strict tools (#14154)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-02-11 07:51:51 +00:00
Sergei Zharinov
abc1197b85
refactor(datasource/terraform): Enable strict null checks (#14050)
* refactor(datasource/terraform): Enable strict null checks

* Fix coverage

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-08 11:48:43 +00:00
Sergei Zharinov
c1555efb3b
refactor(datasource/crate): Enable strict null checks (#13915) 2022-02-07 06:14:23 +00:00
Sergei Zharinov
c966eb1c9c
refactor(versioning): Enable strict null checks (#14053) 2022-02-07 05:59:22 +00:00
Sergei Zharinov
1f052979df
refactor(versioning/poetry): Enable strict null checks (#14028) 2022-02-07 05:23:16 +00:00
Sergei Zharinov
fca865b07f
refactor(datasource/helm): Enable strict null checks (#14040) 2022-02-06 16:50:31 +00:00