From 8c1d7a07c2e48320a10affb33692697688e19fae Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 4 Oct 2025 18:09:46 +0200 Subject: [PATCH 1/4] =?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 de0cecff40b42fb3638c75bc98ec5816680bca26 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 4 Oct 2025 19:18:28 +0200 Subject: [PATCH 2/4] Update package.json --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 4745618..9959555 100644 --- a/package.json +++ b/package.json @@ -56,5 +56,8 @@ "dev": "microbundle watch", "release": "np", "prepare": "husky" + }, + "engines": { + "node": ">= 16" } } From 2abf6a478238ec46a6e236a120e940f74051cfd8 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 4 Oct 2025 20:12:42 +0200 Subject: [PATCH 3/4] 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 c61d304e4ef93d861b9ccc1fd7e8a4d7da3bf1b5 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sun, 5 Oct 2025 12:18:00 +0200 Subject: [PATCH 4/4] 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 }}