commitfmt-windows-x64 0.0.2-alpha.1 → 0.1.2-rc.3

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/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # commitfmt [![Quality Assurance](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml/badge.svg)](https://github.com/mishamyrt/commitfmt/actions/workflows/qa.yaml)
2
+
3
+ Utility for formatting and verifying the commit message.
4
+
5
+ It's not a linter. At least not a complete replacement for [commitlint](https://commitlint.js.org), because commitfmt can't prevent you from writing a body or force you to write a description in uppercase (I don't know why you might want to do that), but it will help keep the story high quality.
6
+
7
+ By design, commitfmt runs on the `prepare-commit-msg` hook and formats the message according to git standards and [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) in particular.
8
+
9
+ A message like this:
10
+
11
+ ```
12
+ feat ( scope , scope ) : add new feature.
13
+ body description
14
+ ```
15
+
16
+ Will be formatted to:
17
+
18
+ ```
19
+ feat(scope, scope): add new feature
20
+
21
+ body description
22
+ ```
23
+
24
+ Additionally, you can customize checks, such as limiting the list of available types and scopes. To do this, create a [configuration file](#configuration).
25
+
26
+ ## Installation
27
+
28
+ ### pnpm
29
+
30
+ ```bash
31
+ pnpm add --save-dev commitfmt
32
+ ```
33
+
34
+ ### npm
35
+
36
+ ```bash
37
+ npm install --save-dev commitfmt
38
+ ```
39
+
40
+ ### yarn
41
+
42
+ ```bash
43
+ yarn add --dev commitfmt
44
+ ```
45
+
46
+ ### pip
47
+
48
+ ```bash
49
+ pip install commitfmt
50
+ ```
51
+
52
+ ## Configuration
53
+
54
+ ### TOML
55
+
56
+ Create a `commitfmt.toml` or (`.commitfmt.toml`) file in the root of your project.
57
+
58
+ ```toml
59
+ [lint.body]
60
+ full-stop = false
61
+
62
+ [lint.header]
63
+ scope-case = "lower"
64
+ scope-enum = ["cc", "config", "git", "linter"]
65
+ type-enum = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test"]
66
+ ```
package/commitfmt.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commitfmt-windows-x64",
3
- "version": "0.0.2-alpha.1",
3
+ "version": "0.1.2-rc.3",
4
4
  "description": "Utility for formatting and verifying the commit message.",
5
5
  "preferUnplugged": false,
6
6
  "repository": {