Skip to content

Commit 7e7e821

Browse files
chore: upgrade to Release Please v4 and Husky v9 (#899)
* chore: upgrade to Release Please v4 and Husky v9 * chore: upgrade to Release Please v4 and Husky v9
1 parent 0ba7dd9 commit 7e7e821

7 files changed

Lines changed: 30 additions & 25 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ jobs:
88
release-please:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: google-github-actions/release-please-action@v3
11+
- uses: google-github-actions/release-please-action@v4
1212
id: release
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
15-
release-type: node
16-
package-name: "@codelearncreate/weavly.org"
17-
pull-request-title-pattern: "chore(release): release${component} ${version}"

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx --no -- commitlint --config commitlint.config.mjs --edit "$1"

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx --no lint-staged

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.6.0"
3+
}

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"lint:yml": "eslint \"**/*.yml\"",
1818
"start": "npm-run-all -l clean -p start:*",
1919
"start:eleventy": "run-p dev cms",
20-
"prepare": "husky install"
20+
"prepare": "husky"
2121
},
2222
"repository": {
2323
"type": "git",
@@ -53,7 +53,7 @@
5353
"eslint-plugin-jsdoc": "48.2.3",
5454
"eslint-plugin-markdown": "3.0.1",
5555
"eslint-plugin-yml": "1.8.0",
56-
"husky": "8.0.3",
56+
"husky": "9.0.11",
5757
"image-size": "1.1.1",
5858
"linkedom": "0.16.4",
5959
"lint-staged": "14.0.1",
@@ -69,9 +69,6 @@
6969
"lint-staged": {
7070
"*.scss": "stylelint --fix",
7171
"*.{js,yml}": "eslint --fix",
72-
"*.md": [
73-
"markdownlint-cli2 --fix",
74-
"eslint --fix"
75-
]
72+
"*.md": ["markdownlint-cli2 --fix", "eslint --fix"]
7673
}
7774
}

release-please-config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"changelog-path": "CHANGELOG.md",
3+
"release-type": "node",
4+
"bump-minor-pre-major": false,
5+
"bump-patch-for-minor-pre-major": false,
6+
"draft": false,
7+
"prerelease": false,
8+
"packages": {
9+
".": {
10+
"include-component-in-tag": false
11+
}
12+
},
13+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
14+
}

0 commit comments

Comments
 (0)