From d789b0087cea1e385c33366ad714aed101ea9deb Mon Sep 17 00:00:00 2001 From: Christian Holt Date: Wed, 11 Oct 2023 21:27:15 +0200 Subject: [PATCH 1/7] Add contributors to package.json --- package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b329b1..6233e2a 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,16 @@ "version": "1.2.0", "description": "Phaser 3 Boilerplate project for rapid development.", "author": "Christian Holt (Sidaroth@protonmail.com)", + "contributors": [ + { + "name": "Christian Holt", + "email": "sidaroth@protonmail.com" + }, + { + "name": "Øyvind Nordli", + "email": "todofillin@example.com" + } + ], "main": "src/index.js", "scripts": { "default:start": "npm run clean && webpack --mode development", @@ -12,7 +22,6 @@ }, "license": "MIT", "licenseUrl": "http://www.opensource.org/licenses/mit-license.php", - "homepage": "https://sidaroth.no", "repository": { "type": "git", "url": "git+https://github.com/sidaroth/Phaser3.Boilerplate.git" From 26e7cd9d224132189c2fd79886743722233f8871 Mon Sep 17 00:00:00 2001 From: Christian Holt Date: Wed, 11 Oct 2023 21:27:49 +0200 Subject: [PATCH 2/7] Add PR template --- .github/pull_request_template.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..0e65e11 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,20 @@ +## Details + +*Details for how to test and what is being added should be described here*
+ +## Types of changes +What types of changes does your code introduce? + +_Put an `x` in the boxes that apply_ + +- [ ] Bugfix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] CI/CD Workflow update +- [ ] Minor or Documentation Update (if none of the other choices apply) + +## Checklist + +_Put an `x` in the boxes that apply. You can also fill these out after creating the PR._ + +- [ ] I have merged the corresponding branch (likely main) into this branch and handled any merge conflicts that arise. +- [ ] I have not used any code or snippet that is not an open license. \ No newline at end of file From b0e9087dee025292ab4433c32c0fb6941aaae9e1 Mon Sep 17 00:00:00 2001 From: Christian Holt Date: Wed, 11 Oct 2023 21:27:59 +0200 Subject: [PATCH 3/7] Add dependabot --- .github/dependabot.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..22199c7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + open-pull-requests-limit: 10 From 9bbb4b1d60f9e3dc0fcea52b9485af20a0276c03 Mon Sep 17 00:00:00 2001 From: Christian Holt Date: Wed, 11 Oct 2023 21:28:27 +0200 Subject: [PATCH 4/7] Add auto assign workflow --- .github/auto_assign.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/auto_assign.yml | 12 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/auto_assign.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..04d1983 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,28 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: true + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - Sidaroth + - Garlov + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 0 + +# A list of assignees, overrides reviewers if set +assignees: + - Sidaroth + - Garlov + +# A number of assignees to add to the pull request +# Set to 0 to add all of the assignees. +# Uses numberOfReviewers if unset. +numberOfAssignees: 1 + +# A list of keywords to be skipped the process that add reviewers if pull requests include it +# skipKeywords: +# - wip \ No newline at end of file diff --git a/.github/workflows/auto_assign.yml b/.github/workflows/auto_assign.yml new file mode 100644 index 0000000..7e98987 --- /dev/null +++ b/.github/workflows/auto_assign.yml @@ -0,0 +1,12 @@ +name: "Auto Assign" +on: + pull_request: + types: [opened, ready_for_review] + +jobs: + add-reviewers: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.2.5 + with: + configuration-path: .github/auto_assign.yml From 49b58e44cad1d338df25acbc39ca64794b0d07f9 Mon Sep 17 00:00:00 2001 From: Christian Holt Date: Wed, 11 Oct 2023 21:28:36 +0200 Subject: [PATCH 5/7] Add BLT --- .github/workflows/blt.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/blt.yml diff --git a/.github/workflows/blt.yml b/.github/workflows/blt.yml new file mode 100644 index 0000000..b91c332 --- /dev/null +++ b/.github/workflows/blt.yml @@ -0,0 +1,32 @@ +name: Build - Lint - Test + +on: + pull_request: + types: [opened, reopened, synchronize] + workflow_dispatch: + +jobs: + BLT: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} + - uses: pnpm/action-setup@v2.2.4 + with: + version: 7.33.6 + - uses: actions/setup-node@v3 + with: + node-version: 20.7.0 + registry-url: https://npm.pkg.github.com/ + cache: 'pnpm' + - name: Install packages + run: pnpm install + - name: Lint + run: pnpm lint + - name: Build lib + run: pnpm build + # - name: Test + # run: pnpm test \ No newline at end of file From 2392fff9123d41a382f624c5cfbb620688381d86 Mon Sep 17 00:00:00 2001 From: Christian Holt Date: Thu, 12 Oct 2023 09:08:47 +0200 Subject: [PATCH 6/7] Update package.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Øyvind Nordli --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6233e2a..6b19992 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, { "name": "Øyvind Nordli", - "email": "todofillin@example.com" + "email": "oe.nordli@gmail.com" } ], "main": "src/index.js", From e9abc6e627a4a3fa23146238d2e32d1dbd59a3ae Mon Sep 17 00:00:00 2001 From: Christian Holt Date: Thu, 12 Oct 2023 09:28:00 +0200 Subject: [PATCH 7/7] Update lockfile --- pnpm-lock.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1616688..938deef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,7 +25,7 @@ specifiers: tslib: ^2.6.2 typescript: ^5.2.2 uuid: ^9.0.1 - vite: ^4.4.10 + vite: ^4.4.11 vite-plugin-dts: ^3.6.0 vite-plugin-eslint: ^1.8.1 @@ -56,9 +56,9 @@ devDependencies: rollup-plugin-strip-code: 0.2.7 tslib: 2.6.2 typescript: 5.2.2 - vite: 4.4.10_xw5nuywhrj3t7rakopdrzdmjn4 - vite-plugin-dts: 3.6.0_c3vqjxdev4cverowl5dawv6nn4 - vite-plugin-eslint: 1.8.1_eslint@8.50.0+vite@4.4.10 + vite: 4.4.11_xw5nuywhrj3t7rakopdrzdmjn4 + vite-plugin-dts: 3.6.0_wtxub6vzumep4a4qdpl6kp7ro4 + vite-plugin-eslint: 1.8.1_eslint@8.50.0+vite@4.4.11 packages: @@ -2695,7 +2695,7 @@ packages: engines: {node: '>= 0.10'} dev: true - /vite-plugin-dts/3.6.0_c3vqjxdev4cverowl5dawv6nn4: + /vite-plugin-dts/3.6.0_wtxub6vzumep4a4qdpl6kp7ro4: resolution: {integrity: sha512-doxhDRFJCZD2sGjIp4V800nm8Y19GvmwckjG5vYPuiqJ7OBjc9NlW1Vp9Gkyh2aXlUs1jTDRH/lxWfcsPLOQHg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -2711,7 +2711,7 @@ packages: debug: 4.3.4 kolorist: 1.8.0 typescript: 5.2.2 - vite: 4.4.10_xw5nuywhrj3t7rakopdrzdmjn4 + vite: 4.4.11_xw5nuywhrj3t7rakopdrzdmjn4 vue-tsc: 1.8.15_typescript@5.2.2 transitivePeerDependencies: - '@types/node' @@ -2719,7 +2719,7 @@ packages: - supports-color dev: true - /vite-plugin-eslint/1.8.1_eslint@8.50.0+vite@4.4.10: + /vite-plugin-eslint/1.8.1_eslint@8.50.0+vite@4.4.11: resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==} peerDependencies: eslint: '>=7' @@ -2729,11 +2729,11 @@ packages: '@types/eslint': 8.44.3 eslint: 8.50.0 rollup: 2.79.1 - vite: 4.4.10_xw5nuywhrj3t7rakopdrzdmjn4 + vite: 4.4.11_xw5nuywhrj3t7rakopdrzdmjn4 dev: true - /vite/4.4.10_xw5nuywhrj3t7rakopdrzdmjn4: - resolution: {integrity: sha512-TzIjiqx9BEXF8yzYdF2NTf1kFFbjMjUSV0LFZ3HyHoI3SGSPLnnFUKiIQtL3gl2AjHvMrprOvQ3amzaHgQlAxw==} + /vite/4.4.11_xw5nuywhrj3t7rakopdrzdmjn4: + resolution: {integrity: sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: