From dc81b012af3f3c44ee10ccf419848ba9a795ad81 Mon Sep 17 00:00:00 2001 From: Alessandro Cifani Date: Fri, 11 Jun 2021 23:14:59 +0200 Subject: [PATCH 1/5] feat(presets): add more JS testing packages (#10333) Co-authored-by: Rhys Arkins --- lib/config/presets/internal/packages.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/config/presets/internal/packages.ts b/lib/config/presets/internal/packages.ts index 7828a52d9fece09..0cd8ce0626eebf2 100644 --- a/lib/config/presets/internal/packages.ts +++ b/lib/config/presets/internal/packages.ts @@ -58,6 +58,7 @@ export const presets: Record = { 'ember-exam', 'ember-mocha', 'ember-qunit', + 'enzyme', 'istanbul', 'mock-fs', 'nock', @@ -65,7 +66,15 @@ export const presets: Record = { 'proxyquire', 'supertest', ], - matchPackagePrefixes: ['chai', 'jest', 'mocha', 'qunit', 'sinon', 'should'], + matchPackagePrefixes: [ + '@testing-library', + 'chai', + 'jest', + 'mocha', + 'qunit', + 'should', + 'sinon', + ], }, unitTest: { description: 'All unit test packages', From d209bb7f7c53883f1af0b539d3defa09211e037e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 12 Jun 2021 01:17:46 +0000 Subject: [PATCH 2/5] build(deps): update dependency eslint to v7.28.0 (#10402) Co-authored-by: Renovate Bot --- package.json | 2 +- tools/package.json | 2 +- yarn.lock | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 698e7c89f49297a..b46ae583d345939 100644 --- a/package.json +++ b/package.json @@ -238,7 +238,7 @@ "conventional-changelog-conventionalcommits": "4.6.0", "cross-env": "7.0.3", "emojibase-data": "6.2.0", - "eslint": "7.27.0", + "eslint": "7.28.0", "eslint-config-airbnb-typescript": "12.3.1", "eslint-config-prettier": "8.3.0", "eslint-plugin-import": "2.23.4", diff --git a/tools/package.json b/tools/package.json index 4df6e58c785997c..09d3042f1cba531 100644 --- a/tools/package.json +++ b/tools/package.json @@ -6,7 +6,7 @@ "@jest/reporters": "27.0.4", "@jest/test-result": "27.0.2", "commander": "7.2.0", - "eslint": "7.27.0", + "eslint": "7.28.0", "fs-extra": "10.0.0", "got": "11.8.2", "lodash": "4.17.21", diff --git a/yarn.lock b/yarn.lock index ce5c02a63183098..ad35bdc606e816c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -798,7 +798,7 @@ resolved "https://registry.yarnpkg.com/@breejs/later/-/later-4.0.2.tgz#38c85cc98b717c7a196f87238090adaea01f8c9e" integrity sha512-EN0SlbyYouBdtZis1htdsgGlwFePzkXPwdIeqaBaavxkJT1G2/bitc2LSixjv45z2njXslxlJI1mW2O/Gmrb+A== -"@eslint/eslintrc@^0.4.1": +"@eslint/eslintrc@^0.4.2": version "0.4.2" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.2.tgz#f63d0ef06f5c0c57d76c4ab5f63d3835c51b0179" integrity sha512-8nmGq/4ycLpIwzvhI4tNDmQztZ8sp+hI7cyG8i1nQDhkAbRzHpXPidRAHlNvCZQpJTKw5ItIpMw9RSToGF00mg== @@ -3853,13 +3853,13 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== -eslint@7.27.0: - version "7.27.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.27.0.tgz#665a1506d8f95655c9274d84bd78f7166b07e9c7" - integrity sha512-JZuR6La2ZF0UD384lcbnd0Cgg6QJjiCwhMD6eU4h/VGPcVGwawNNzKU41tgokGXnfjOOyI6QIffthhJTPzzuRA== +eslint@7.28.0: + version "7.28.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.28.0.tgz#435aa17a0b82c13bb2be9d51408b617e49c1e820" + integrity sha512-UMfH0VSjP0G4p3EWirscJEQ/cHqnT/iuH6oNZOB94nBjWbMnhGEPxsZm1eyIW0C/9jLI0Fow4W5DXLjEI7mn1g== dependencies: "@babel/code-frame" "7.12.11" - "@eslint/eslintrc" "^0.4.1" + "@eslint/eslintrc" "^0.4.2" ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -3876,7 +3876,7 @@ eslint@7.27.0: fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" functional-red-black-tree "^1.0.1" - glob-parent "^5.0.0" + glob-parent "^5.1.2" globals "^13.6.0" ignore "^4.0.6" import-fresh "^3.0.0" @@ -4388,7 +4388,7 @@ github-url-from-git@1.5.0: resolved "https://registry.yarnpkg.com/github-url-from-git/-/github-url-from-git-1.5.0.tgz#f985fedcc0a9aa579dc88d7aff068d55cc6251a0" integrity sha1-+YX+3MCpqledyI16/waNVcxiUaA= -glob-parent@^5.0.0, glob-parent@^5.1.0: +glob-parent@^5.1.0, glob-parent@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== From 14f9c0137ffea0c2de4976ed33a89172d3489f1b Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Sat, 12 Jun 2021 13:45:54 +0200 Subject: [PATCH 3/5] feat(pip-compile): lockFileMaintenance (#10408) --- lib/manager/pip-compile/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/manager/pip-compile/index.ts b/lib/manager/pip-compile/index.ts index 606569dcf2a0348..c5d61f96a7002da 100644 --- a/lib/manager/pip-compile/index.ts +++ b/lib/manager/pip-compile/index.ts @@ -4,7 +4,13 @@ export { extractPackageFile } from '../pip_requirements/extract'; export { updateArtifacts } from './artifacts'; export const language = LANGUAGE_PYTHON; +export const supportsLockFileMaintenance = true; export const defaultConfig = { fileMatch: [], + lockFileMaintenance: { + enabled: true, + branchTopic: 'pip-compile-refresh', + commitMessageAction: 'Refresh pip-compile outputs', + }, }; From d824dc8c6e5202ed597b587ccf378b5c1c79f4bf Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sat, 12 Jun 2021 14:02:29 +0200 Subject: [PATCH 4/5] docs: use server relative URL (#10406) Co-authored-by: Michael Kriese --- docs/development/new-package-manager-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/new-package-manager-template.md b/docs/development/new-package-manager-template.md index be1455617ce2acf..fb717152c2cac93 100644 --- a/docs/development/new-package-manager-template.md +++ b/docs/development/new-package-manager-template.md @@ -2,7 +2,7 @@ **Did you read our documentation on adding a package manager?** -- [ ] I've read the [adding a package manager](../../docs/development/adding-a-package-manager.md) documentation. +- [ ] I've read the [adding a package manager](/renovatebot/renovate/blob/HEAD/docs/development/adding-a-package-manager.md) documentation. ## Basics From 9ddc923911db9772d8a854ea3c44e5b94efc3955 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 12 Jun 2021 14:43:00 +0000 Subject: [PATCH 5/5] chore(deps): update dependency prettier to v2.3.1 (#10413) Co-authored-by: Renovate Bot --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b46ae583d345939..efe473753566322 100644 --- a/package.json +++ b/package.json @@ -257,7 +257,7 @@ "mockdate": "3.0.5", "nock": "13.1.0", "npm-run-all": "4.1.5", - "prettier": "2.3.0", + "prettier": "2.3.1", "pretty-quick": "3.1.0", "rimraf": "3.0.2", "semantic-release": "17.4.3", diff --git a/yarn.lock b/yarn.lock index ad35bdc606e816c..5f6297472890ca8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7574,10 +7574,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18" - integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w== +prettier@2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.1.tgz#76903c3f8c4449bc9ac597acefa24dc5ad4cbea6" + integrity sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA== pretty-bytes@^5.1.0: version "5.6.0"