@programinglive/commiter 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.6](https://github.com/programinglive/commiter/compare/v1.0.5...v1.0.6) (2025-10-19)
6
+
7
+ ### [1.0.5](https://github.com/programinglive/commiter/compare/v1.0.4...v1.0.5) (2025-10-19)
8
+
9
+
10
+ ### 🐛 Bug Fixes
11
+
12
+ * allow release commits with emoji ([26c4afa](https://github.com/programinglive/commiter/commit/26c4afa26fc7c11c91ac576dcba197cba5d3d98a))
13
+
5
14
  ### [1.0.4](https://github.com/programinglive/commiter/compare/v1.0.3...v1.0.4) (2025-10-19)
6
15
 
7
16
 
package/README.md CHANGED
@@ -150,6 +150,8 @@ type(scope): subject
150
150
 
151
151
  Valid types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert`
152
152
 
153
+ Release commits generated by `standard-version` such as `chore(release): 1.0.0 🚀` are automatically ignored by `commitlint`.
154
+
153
155
  ### First release
154
156
 
155
157
  If this is your first release and you don't have a version tag yet:
@@ -1 +1,4 @@
1
- module.exports = { extends: ['@commitlint/config-conventional'] };
1
+ module.exports = {
2
+ extends: ['@commitlint/config-conventional'],
3
+ ignores: [(message) => message.startsWith('chore(release):')]
4
+ };
package/index.js CHANGED
@@ -72,8 +72,14 @@ function setupCommiter() {
72
72
  const isEsmProject = packageJson.type === 'module';
73
73
  const commitlintConfigFile = isEsmProject ? 'commitlint.config.js' : 'commitlint.config.cjs';
74
74
  const commitlintConfigContent = isEsmProject
75
- ? `export default { extends: ['@commitlint/config-conventional'] }\n`
76
- : `module.exports = { extends: ['@commitlint/config-conventional'] }\n`;
75
+ ? `export default {
76
+ extends: ['@commitlint/config-conventional'],
77
+ ignores: [(message) => message.startsWith('chore(release):')]
78
+ }\n`
79
+ : `module.exports = {
80
+ extends: ['@commitlint/config-conventional'],
81
+ ignores: [(message) => message.startsWith('chore(release):')]
82
+ }\n`;
77
83
 
78
84
  const legacyCommitlintConfigFile = isEsmProject ? 'commitlint.config.cjs' : 'commitlint.config.js';
79
85
  if (fs.existsSync(legacyCommitlintConfigFile)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@programinglive/commiter",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Commit convention tooling for standard-version releases with beautiful changelogs",
5
5
  "main": "index.js",
6
6
  "bin": {