From 3e2abeb08653eab97313be133785c32bfc622d9c Mon Sep 17 00:00:00 2001 From: Sam Tyler Date: Wed, 6 Nov 2024 14:36:10 +1030 Subject: [PATCH 1/4] TCS-2 Remove reference to private repo Remove instructions about our private NPM repo from the README. --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 4a074d6..236596a 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,6 @@ Standard code quality tooling for projects written in TypeScript. ## Usage -Set up your package manager to use Aligent's private NPM registry: - -- Go to `https://npm.corp.aligent.consulting` and log in. -- Click the Gear icon to get instructions for configuring your package manager. - Install this module: # NPM From 3bfca3772893c0c1f26b42273de6a32598494c28 Mon Sep 17 00:00:00 2001 From: Sam Tyler Date: Wed, 6 Nov 2024 14:37:55 +1030 Subject: [PATCH 2/4] TCS-2 Remove peer dependency overwrite The latest version of the React Hooks ESLint plugin supports ESLint 9 so we don't need this workaround any more. --- package.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package.json b/package.json index 8ef515f..114429d 100644 --- a/package.json +++ b/package.json @@ -26,12 +26,5 @@ "prettier": "^3.3.3", "typescript": "^5.6.3" }, - "pnpm": { - "peerDependencyRules": { - "allowedVersions": { - "eslint": "^9" - } - } - }, "packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228" } From e7e1196a38fecb4e3cce0947d63c701dca2b6bc8 Mon Sep 17 00:00:00 2001 From: Sam Tyler Date: Wed, 6 Nov 2024 14:46:46 +1030 Subject: [PATCH 3/4] TCS-2 Group dependabot PRs Group minor and patch versions for dependabot. Most of the time, these are just going to be an easy approve. I've left major versions to get their own separate PR. They will come less often and might need to check out the update locally and have a play around to test. --- .github/dependabot.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 439d325..6a66823 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,11 @@ updates: schedule: interval: 'monthly' open-pull-requests-limit: 10 + groups: + minor-and-patch: + applies-to: version-updates + patterns: + - '*' + update-types: + - "minor" + - "patch" From 9715e49b010fe5be8797fd4a06f6da48dc2a8dec Mon Sep 17 00:00:00 2001 From: Sam Tyler Date: Wed, 6 Nov 2024 14:51:08 +1030 Subject: [PATCH 4/4] TCS-2 Include ticket number in PRs --- .github/dependabot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6a66823..ae25f28 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,6 +5,8 @@ updates: schedule: interval: 'monthly' open-pull-requests-limit: 10 + commit-message: + prefix: "TCS-3" groups: minor-and-patch: applies-to: version-updates