From 65d6d267804150481149bd7ead21e72abb33db0e Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 4 Oct 2025 18:09:43 +0200 Subject: [PATCH 1/5] =?UTF-8?q?chore:=20=F0=9F=A4=96=20Add=20strict=20`.np?= =?UTF-8?q?mrc`=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `.npmrc` with sane defaults --- .npmrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..f46fe20 --- /dev/null +++ b/.npmrc @@ -0,0 +1,8 @@ +# If set to false, then ignore package-lock.json files when installing. This will also prevent writing package-lock.json if save is true. source: https://docs.npmjs.com/cli/v11/using-npm/config +package-lock=true +# If true, npm does not run scripts specified in package.json files. source: https://docs.npmjs.com/cli/v11/using-npm/config#ignore-scripts +ignore-scripts=true +# Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. source: https://docs.npmjs.com/cli/v11/using-npm/config#save-exact +save-exact=true +# If set to true, then npm will stubbornly refuse to install (or even consider installing) any package that claims to not be compatible with the current Node.js version. source: https://docs.npmjs.com/cli/v11/using-npm/config#engine-strict +engine-strict=true From 63a611c0d1c2a25a7b5fdd8c9f427e712b458cff Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 4 Oct 2025 19:17:10 +0200 Subject: [PATCH 2/5] Update Node.js engine version requirement --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index a032cf7..006d017 100644 --- a/package.json +++ b/package.json @@ -49,5 +49,8 @@ "pretty-quick": "^3.1.1", "webdriverio": "^7.19.5", "xo": "^0.53.0" + }, + "engines": { + "node": ">= 20" } } From 3a41939a902375de04c3b83411cc44c43eb1f213 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:07:52 +0200 Subject: [PATCH 3/5] feat(ci/cd): Add GitHub Action for auto-assigning PRs out of the recipes from https://github.com/actions-ecosystem/recipes this sounded very interesting. As we're sometimes forgetting to set ourselves as the assignee after opening a PR, this action would be very helpful. --- .github/workflows/auto-assign.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/auto-assign.yml diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 0000000..2a27583 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,20 @@ +name: Auto Assign + +permissions: + contents: read + pull-requests: write + +on: + pull_request: + types: + - opened + - reopened + +jobs: + add_labels: + runs-on: ubuntu-latest + steps: + - uses: actions-ecosystem/action-add-assignees@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + assignees: ${{ github.actor }} From 6e57106fbea9bf7b079c2e0e43115b0c34f062b5 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sun, 5 Oct 2025 12:16:49 +0200 Subject: [PATCH 4/5] Update Node.js engine version requirement to >= 16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 006d017..a03099e 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,6 @@ "xo": "^0.53.0" }, "engines": { - "node": ">= 20" + "node": ">= 16" } } From b0a4090ac29096b9b9a9d7ddbf747451e5911e97 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sun, 5 Oct 2025 12:17:46 +0200 Subject: [PATCH 5/5] Delete .github/workflows/auto-assign.yml --- .github/workflows/auto-assign.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/workflows/auto-assign.yml diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml deleted file mode 100644 index 2a27583..0000000 --- a/.github/workflows/auto-assign.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Auto Assign - -permissions: - contents: read - pull-requests: write - -on: - pull_request: - types: - - opened - - reopened - -jobs: - add_labels: - runs-on: ubuntu-latest - steps: - - uses: actions-ecosystem/action-add-assignees@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - assignees: ${{ github.actor }}