Commit graph

2179 commits

Author SHA1 Message Date
Gabriel-Ladzaretti
26cf208e2c
docs(core/config): Experimental feature handling (#16183) 2022-06-25 10:10:35 +02:00
Michael Kriese
cfc8b0b859
fix(config): add missing globalOnly flags (#16202) 2022-06-24 11:32:41 +02:00
Michael Kriese
10302eba68
refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
Michael Kriese
00527902e2
chore: fix lint (#16120) 2022-06-17 06:37:25 +00:00
Michael Kriese
fd00fd53ef
fix(datasource:docker): wrong scope for ghcr.io (#15686) 2022-05-23 10:45:22 +02:00
Michael Kriese
47385421e4
test: deprecate old loads fixtures functions (#15539) 2022-05-11 07:19:34 +00:00
Michael Kriese
a51baaf8af
fix(manager:npm): patch local yarn v1 binary (#15440)
* test: fix mocks

* fix(manager:npm): patch local yarn v1 binary
2022-05-04 10:28:37 +00:00
Michael Kriese
9f53724d90
feat(manager:npm): use local fs api (#15294) 2022-04-25 15:41:10 +02: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
Tobias Bieniek
65b6697a7b
feat(datasource/crate): fetch crate metadata from crates.io (#15214)
* feat(datasource/crate): fetch crate metadata from crates.io

* refactor(datasource/crate): simplify `mockCratesApiCallFor()` function

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-04-21 09:12:16 +00:00
Michael Kriese
5cf9123017
refactor: more strict null checks (#15140) 2022-04-16 06:32:17 +00:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Maksim
0e6d2b674f
refactor(migrations): unpublishSafe (#14680)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-03-29 05:42:28 +02: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
Oleg Krivtsov
6604de3aeb
feat(manager/nuget): migrate fs.readFile to fs.readLocalFile (#14234)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-02-25 11:07:31 +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
Jamie Magee
3b7e9a17cb
refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
Maksim
dabe3d0e29
refactor: introduce Fixtures util class (#12638)
* refactor: introduce Fixtures util class

* refactor: align yarn.spec

* refactor: move fs mocks to __mocks__ folder

* refactor: improve fs-extra mock

* refactor: move callsite to dev deps

* refactor: use fixtures class

* refactor: use fixtures class

* refactor: reduce external variables in tests

* refactor: improve Fixtures

* refactor: add type for realFs

* refactor: remove obsolete snapshot

* fix: by comments

* refactor: provide ability to spy on mocked fs methods

* refactor: fix build

* refactor: fix by comments

* refactor: add docs

* refactor: fix unit test

* refactor: return called times checks

* refactor: fix by comments

* refactor: adjust unit test

* refactor: adjust unit test

* refactor: fix unit test

* refactor: fix by comments

* refactor: fix by comments

* refactor: update jsdoc

* refactor: fix by comments

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-01-23 21:23:54 +00:00
Maksim
6e94385f31
refactor(migrations): validator (#13073)
* refactor(migrations): implemented migration validator

* refactor(migrations): introduce deprecated flag

* refactor(migrations): tidy

* refactor(migrations): improve validator

* refactor: fix launch.json

* refactor: fix build

* refactor: fix coverage

* refactor: fix coverage

* refactor: introduce new jest custom matcher

* refactor: revert unnecessary changes

* refactor: return override
2022-01-10 21:01:57 +00:00
RahulGautamSingh
4f65b57225
refactor: refactor static regex out of for loops (#13065) 2021-12-29 07:26:13 +01:00
Michael Kriese
5e0e9ac1c2
refactor: prepare esm helper (#13250)
* refactor: prepare esm helper

* chore: fix type name
2021-12-22 17:01:28 +01:00
Michael Kriese
717a03c507
test: build before test (#13247) 2021-12-22 16:19:25 +01:00
Michael Kriese
2b24a98359
refactor: update imports for esm (#13230)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 08:37:47 +00:00
Michael Kriese
8dc4e6fbcc
chore: fix type export (#13231) 2021-12-22 09:27:24 +01:00
Sergei Zharinov
995df4d9a7
refactor(util/exec): Fix strict null errors (#12909)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-10 15:07:02 +01:00
Rhys Arkins
328de3fc27
refactor: exec types (#12942) 2021-12-04 07:12:27 +01:00
Sergei Zharinov
a7792bc5b4
refactor(typescript): Refactor more files (#12696)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-17 09:32:33 +00:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 (#12283)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Michael Kriese
f405350105
test: fix regression (#12347) 2021-10-27 08:22:02 +02:00
Oleg Krivtsov
29dde2f694
test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
Masaki Hara
48acb427b7
feat(rubygems): support GitHub Packages (#11107) 2021-08-20 04:24:48 +00:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule (#11285) 2021-08-18 05:46:56 +00:00
Rhys Arkins
56830ee86c refactor: admin->globalOnly 2021-08-17 07:57:45 +02:00
Rhys Arkins
750bc1656e refactor: config/definitions -> config/options 2021-08-17 07:57:45 +02:00
Michael Kriese
4437106c03
test: add http mock (#11290) 2021-08-16 20:07:36 +02:00
Michael Kriese
394f0bb741
test: fix http mocks (#11191) 2021-08-09 19:37:28 +02:00
Sergei Zharinov
e1aa548a07
refactor: Use JSON request snapshots when possible (#10925)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-08-06 12:02:37 +00:00
Sergei Zharinov
5c0e293d73
refactor: Precise GraphQL test snapshots (#10916)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-21 21:50:13 +02:00
Michael Kriese
5546d60e18
test: fix nock usage (#10451) 2021-06-16 09:13:33 +02:00
Michael Kriese
3c7546f7cd
test: simplify nock handling (#10170) 2021-05-27 14:13:31 +02:00
Michael Kriese
48bfb1c182
test: fix memory leak (#10162) 2021-05-26 10:47:05 +02:00
Anbraten
7eb2c09b6e
feat: pnpm workspaces (#10071) 2021-05-22 12:32:19 +00:00
renovate[bot]
b8e36daa87
chore(deps): update dependency prettier to v2.3.0 (#10012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-05-17 08:06:24 +00:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers (#9707) 2021-04-26 16:15:03 +02:00
Sergei Zharinov
b255275632
refactor(test): Load fixtures with helpers (#9699)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 16:58:48 +00:00
Sergei Zharinov
b957d4afb7
refactor(config): Extract interfaces from "index.ts" to separate "types.ts" (#9629) 2021-04-20 10:52:57 +02:00
Rhys Arkins
eb8f895f2e
refactor: eslint no-negated-condition (#8973) 2021-03-04 06:21:55 +01:00
Michael Kriese
e05c948b51
chore: fix e2e and remove data from package (#8942) 2021-03-02 14:30:10 +00:00
Rhys Arkins
00a08225b9
refactor: use ls-lint (#7956) 2020-12-11 13:29:43 +01:00
HonkingGoose
86affcd4a7
chore: fix capitalization of nouns in comment (#7678) 2020-11-11 11:19:08 +01:00
renovate[bot]
da6e3da17c
chore(deps): update linters (#7245)
* chore(deps): update linters

* chore: fix lint

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-30 07:35:12 +02:00
Florian Greinacher
71cf56eaf9
feat(dependency-dashboard): display logged repository problems (#6952)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-21 22:04:11 +02:00
renovate[bot]
907b2b054e
chore(deps): update linters (major) (#7185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-09-07 09:54:07 +02:00
Michael Kriese
6474dd49e5
chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Maxim Danilov
db717a7767
feat(jenkins-plugins): Add Jenkins Plugins datasource (#6848)
* feat(jenkins-plugins): Add a datasource for Jenkins plugins

* feat(jenkins-plugins): Improve tests of caching

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-27 11:24:41 +02:00
Michael Kriese
e3da371a0e
feat(pip_setup): copy extract.py to repo (#6768)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-07-18 10:03:05 +02:00
Michael Kriese
e11875e036
refactor(internal): prepare for got v11 (#6727) 2020-07-10 20:51:40 +02:00
Sergio Zharinov
1137112130
refactor: Separate 'git' and 'fs' util modules (#6665) 2020-07-03 16:47:00 +02:00
Sergio Zharinov
679176f26e
test(git): Decouple 'gitfs/fs' and 'gitfs/git' in tests (#6661) 2020-07-03 15:08:16 +02:00
Rhys Arkins
ec1598587c
refactor: move util/fs under util/gitfs (#6618) 2020-06-28 11:57:57 +02:00
Rhys Arkins
02e6817fb9
test: move e2e tests (#6567) 2020-06-22 21:57:17 +02:00
Michael Kriese
4d7c109a6b
test: use nock for preset tests (#6449) 2020-06-07 13:00:49 +02:00
Michael Kriese
df96e52417
test: cleanup mocking (#6322) 2020-05-25 16:26:09 +02:00
Rhys Arkins
0aae466cc1
fix(cache): global cache init (#6314) 2020-05-24 10:58:58 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Michael Kriese
ca71eddbdb
test(gradle-wrapper): add mock test (#6233) 2020-05-15 13:30:36 +02:00
Rhys Arkins
c5ee8abfc2 refactor: global cache 2020-05-11 22:26:47 +02:00
Rhys Arkins
cc980cfd23
refactor: platform.getFile -> fs.readLocalFile (#6131) 2020-05-11 15:36:09 +02:00
Michael Kriese
00c56d8bde
chore: fix types (#5904)
* chore: fix types

* fix more types

* chore: mote fixes

* fix frmat

* chore: fix tests

* chore: fix type

* chore: cleanup

* chore: cleanup

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-05-07 10:23:45 +02:00
Sergio Zharinov
aa38ddf428
test: Better GraphQL snapshots (#6128) 2020-05-05 14:57:05 +02:00
Sergio Zharinov
9c6f56da22
test(github): Snapshot all HTTP requests in test (#6059) 2020-05-02 10:16:03 +02:00
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Rhys Arkins
498ec20618
fea(internal): remove repoCache global (#6098) 2020-05-01 07:47:31 +02:00
Michael Kriese
da0181e074
fix: do not coerce gradle version (#5991) 2020-04-17 14:10:08 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Jamie Magee
d4f6aa4bc5
fix: add missing await statements (#5918)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-04-09 12:47:48 +02:00
Michael Kriese
30fcff2194
feat(internal): dynamic platform imports (#5898) 2020-04-08 09:14:32 +02:00
Michael Kriese
4c0699c74c
fix(internal): fix http api (#5890) 2020-04-06 17:31:13 +02:00
Joshua Gleitze
a323cf03b3
test(gradle): stop mocking the file system (#5826) 2020-04-03 09:44:32 +02:00
Michael Kriese
e779d895f7
test(coverage): lib/config (#5656) 2020-03-07 11:27:10 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib (#5635) 2020-03-05 21:57:24 +01:00
Rhys Arkins
23a820e74f
feat(constants): Pull Request Status Constants (#5158) 2020-03-05 07:03:47 +01:00
Jamie Magee
16962a989f
chore: better types for azure (#5633) 2020-03-03 23:08:45 +01:00
Michael Kriese
69c8dcafe5
fix: do nothing if new commit and check required (#5594) 2020-03-03 11:52:18 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Rhys Arkins
6f46153e09 fix(auto-replace): use regex replace to avoid infinite loops 2020-03-01 21:28:07 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs (#5595)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
aaa7728264 test: rename _fixtures to __fixtures__ 2020-03-01 07:42:52 +01:00
kroonprins
1088efde49
fix: bugfix for hourly limit for azure & bugfix for ignorePrefi… (#5600) 2020-02-29 23:04:59 +01:00
Nejc Habjan
0b5ee0b400
feat: allow config files in .gitlab directory (#5584) 2020-02-28 12:07:38 +01:00
Rhys Arkins
286ab6dc40 refactor: rename getReleases -> getInRangeReleases 2020-02-27 22:13:45 +01:00
Rhys Arkins
b610cf4dae
feat: rename github/gitlab datasources (#5581) 2020-02-27 21:36:31 +01:00
Rhys Arkins
8dc52c7f30
refactor: move getPreset into lib/config/preset/ (#5578) 2020-02-27 14:19:58 +01:00
Michael Kriese
ecd981bf64
fix(platform): fix api differences (#5570) 2020-02-25 09:42:24 +01:00
Rhys Arkins
cb5da82acc
docs: move manager docs out of config options (#5410) 2020-02-25 06:45:00 +01:00
Michael Kriese
763e444962
feat(gitlab): add merge method check (#5567) 2020-02-25 06:34:06 +01:00
Rhys Arkins
b097fb8f0a fix(pr): condense rebase description 2020-02-24 06:35:41 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates (#5560) 2020-02-24 05:33:51 +01:00
Rhys Arkins
8c8f7a23f0 test: refactor datasource tests to not use index 2020-02-23 09:16:25 +01:00