Skip to content

Commit 649fdb2

Browse files
chore(deps-dev): upgrade Release Please and Husky (#34)
* chore(deps-dev): upgrade Release Please and Husky * chore: upgrade commitlint config
1 parent a2890c0 commit 649fdb2

File tree

7 files changed

+20
-16
lines changed

7 files changed

+20
-16
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish release
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
release-please:
@@ -12,6 +12,3 @@ jobs:
1212
id: release
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
15-
release-type: node
16-
package-name: "@inclusive-design/guide"
17-
pull-request-title-pattern: "chore(release): release${component} ${version}"

.husky/commit-message

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 --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.0.0"
3+
}

commitlint.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
"use strict";
2-
3-
module.exports = {
4-
extends: ["@commitlint/config-conventional"]
5-
};
1+
export default {extends: ['@commitlint/config-conventional']};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"start": "npm-run-all -l clean -p start:*",
1717
"start:eleventy": "cross-env NODE_ENV=development eleventy --serve",
1818
"start:cms": "decap-server",
19-
"prepare": "husky install"
19+
"prepare": "husky"
2020
},
2121
"repository": {
2222
"type": "git",

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)