From c86b3531d37126dd9bcf4c6beb6fe6f53689c9b2 Mon Sep 17 00:00:00 2001 From: aimee rivers Date: Fri, 20 Dec 2024 08:33:42 +0100 Subject: [PATCH 1/5] chore: Update dependencies --- package-lock.json | 24 ++++++++++++------------ package.json | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca0ba38..a7e9fd3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "7.9.0", "license": "UNLICENSED", "devDependencies": { - "@hedia/package-lint": "1.2.2", - "@hedia/prettier-config": "1.2.2" + "@hedia/package-lint": "1.2.3", + "@hedia/prettier-config": "1.2.3" } }, "node_modules/@babel/code-frame": { @@ -39,9 +39,9 @@ } }, "node_modules/@hedia/package-lint": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@hedia/package-lint/-/package-lint-1.2.2.tgz", - "integrity": "sha512-Q2BpDpNMEL+64DaRSE5nEH7dYgYh78vyiK9Gce7+eC3TGRaFq1HncKQTw1f1Sy9wKdTpzyczgLutlGcqZ3KUKQ==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@hedia/package-lint/-/package-lint-1.2.3.tgz", + "integrity": "sha512-Tu/poGbdFxmiI/5sJrWE5fIutzKMrhlm9na6N2eH8MN+4WbKPrxo6J01H73QMx4l4BYu2Orz2v82I0onUe6t6w==", "dev": true, "license": "UNLICENSED", "dependencies": { @@ -53,13 +53,13 @@ } }, "node_modules/@hedia/prettier-config": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@hedia/prettier-config/-/prettier-config-1.2.2.tgz", - "integrity": "sha512-73q9DUgHWYFfrXktTADwA2kHcYmFgpA4ZqtXWbqiD3q+ApLD3Of9KeTQI78en1I0yRLtv/rfBAT2PmQyNsK44Q==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@hedia/prettier-config/-/prettier-config-1.2.3.tgz", + "integrity": "sha512-DkW0aJuhsd9oAeF0QSHJIUcJ90inLTVZGZQJEzoQ8kKxaR2GVBj7c+y6lH5mlXsUDlU5I+Pw6X2h1zUTslDqiA==", "dev": true, "license": "ISC", "dependencies": { - "prettier": "^3.4.1" + "prettier": "^3.4.2" }, "engines": { "node": ">=22", @@ -1072,9 +1072,9 @@ } }, "node_modules/prettier": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz", - "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "license": "MIT", "bin": { diff --git a/package.json b/package.json index 5216708..c5b714e 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { - "@hedia/package-lint": "1.2.2", - "@hedia/prettier-config": "1.2.2" + "@hedia/package-lint": "1.2.3", + "@hedia/prettier-config": "1.2.3" }, "prettier": "@hedia/prettier-config" } From 6e4e12423d1b4b38ecb5f3fbf1937a83d7da0884 Mon Sep 17 00:00:00 2001 From: aimee rivers Date: Fri, 20 Dec 2024 08:34:06 +0100 Subject: [PATCH 2/5] chore: Add robots script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index c5b714e..5a34ee0 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "package:lint": "npx npm-package-json-lint .", "prettier:check": "prettier --check .", "prettier:write": "prettier --write .", + "robots": "npm run prettier:write && npm run package:lint", "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { From 493ae51308d0b4584c554e7916f960c14c69880c Mon Sep 17 00:00:00 2001 From: aimee rivers Date: Fri, 20 Dec 2024 08:34:35 +0100 Subject: [PATCH 3/5] chore: Make test script just give feedback, not produce an error --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a34ee0..eb81894 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "prettier:check": "prettier --check .", "prettier:write": "prettier --write .", "robots": "npm run prettier:write && npm run package:lint", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"There are no tests.\"" }, "devDependencies": { "@hedia/package-lint": "1.2.3", From 11a9547948a8d9ab0b88344360fceb0195412de4 Mon Sep 17 00:00:00 2001 From: aimee rivers Date: Fri, 20 Dec 2024 09:26:32 +0100 Subject: [PATCH 4/5] chore: Add a build script, that does nothing --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index eb81894..f41b0a5 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "url": "git+https://github.com/hedia-team/.github.git" }, "scripts": { + "build": "echo \"Nothing to build.\"", "package:lint": "npx npm-package-json-lint .", "prettier:check": "prettier --check .", "prettier:write": "prettier --write .", From f3903428b6937f4b99aaa2e98a1506815a3a1720 Mon Sep 17 00:00:00 2001 From: aimee rivers Date: Fri, 20 Dec 2024 09:27:41 +0100 Subject: [PATCH 5/5] ci: Imrove Self Release Please script --- .github/workflows/self-release-please.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/self-release-please.yml b/.github/workflows/self-release-please.yml index 571518d..098824a 100644 --- a/.github/workflows/self-release-please.yml +++ b/.github/workflows/self-release-please.yml @@ -4,10 +4,15 @@ on: pull_request: branches: - main + - release* types: - closed workflow_dispatch: + inputs: + version: + description: Specific version number to release, eg '3.0.0' or '3.1.0-rc.0'. If not provided, Release Please will determine the version. + required: false jobs: release-please: @@ -15,3 +20,4 @@ jobs: uses: hedia-team/.github/.github/workflows/release-please.yml@latest with: test-reports: false + version: ${{ github.event.inputs.version || '' }}