From 6d2cb73d12b031bbb67454a96e69c265ff6afef0 Mon Sep 17 00:00:00 2001 From: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> Date: Fri, 15 Nov 2024 07:03:05 +0800 Subject: [PATCH] feat: group Chai.js packages `chai-as-promised` has a peer dependency on `chai`, of which gets a major update together. This causes renovate to encounter "conflicting peer dependency" error. see: https://github.com/loopbackio/loopback-connector/pull/467?notification_referrer_id=NT_kwDOAX-5-7M4OTA5ODQxOTcyOjI1MTQ3ODk5#issuecomment-1871690795 see: https://github.com/loopbackio/loopback-connector/pull/553 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> --- .editorconfig | 11 +++++++++++ shared-configs/renovate/base.json | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..65603e7b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: FSFAP +# SPDX-FileCopyrightText: Copyright (c) 2024 Rifa Achrinza +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 2 +max_line_length = 80 diff --git a/shared-configs/renovate/base.json b/shared-configs/renovate/base.json index e37a29fd..defc74f8 100644 --- a/shared-configs/renovate/base.json +++ b/shared-configs/renovate/base.json @@ -69,6 +69,13 @@ "@microsoft/api-documenter" ] }, + { + "groupName": "Chai.js packages", + "matchPackageNames": [ + "chai", + "chai-as-promised" + ] + }, { "matchPackageNames": ["renovate"], "extends": ["schedule:earlyMondays"]