Skip to content

Commit 834caac

Browse files
chore: remove commitizen
1 parent 3786772 commit 834caac

File tree

15 files changed

+53
-1420
lines changed

15 files changed

+53
-1420
lines changed

.commitlintrc.cjs

Lines changed: 0 additions & 8 deletions
This file was deleted.

.czrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/renovate.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
"rangeStrategy": "replace",
5151
"semanticCommitScope": "dev-deps",
5252
"semanticCommitType": "ci"
53-
},
54-
{
55-
"allowedVersions": "<5",
56-
"matchPackageNames": ["chalk"]
5753
}
5854
],
5955
"postUpdateOptions": ["pnpmDedupe"]

.github/workflows/semantic-pr.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: "Semantic PR"
22

3+
permissions:
4+
pull-requests: write
5+
36
on:
47
pull_request_target:
58
types:
@@ -15,3 +18,46 @@ jobs:
1518
- uses: amannn/action-semantic-pull-request@v5.4.0
1619
env:
1720
GITHUB_TOKEN: ${{ github.token }}
21+
with:
22+
types: |
23+
feat
24+
fix
25+
perf
26+
refactor
27+
style
28+
docs
29+
test
30+
build
31+
ci
32+
chore
33+
part
34+
scopes: |
35+
functional-parameters
36+
immutable-data
37+
no-classes
38+
no-conditional-statements
39+
no-expression-statements
40+
no-let
41+
no-loop-statements
42+
no-mixed-types
43+
no-promise-reject
44+
no-return-void
45+
no-this-expressions
46+
no-throw-statements
47+
no-try-statements
48+
prefer-immutable-types
49+
prefer-property-signatures
50+
prefer-readonly-types
51+
prefer-tacit
52+
readonly-type
53+
type-declaration-immutability
54+
requireScope: false
55+
subjectPattern: ^(?![A-Z]).+$ # Don't start with an uppercase character.
56+
subjectPatternError: |
57+
The subject "{subject}" should not start with an uppercase character.
58+
ignoreLabels: |
59+
bot
60+
ignore-semantic-pull-request
61+
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?!?: (.*)$'
62+
headerPatternCorrespondence: type, scope, subject
63+
wip: true

.husky/commit-msg

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ some more information specific to TypeScript.
1616
In order to know which AST nodes are created for a snippet of TypeScript code you can use
1717
[AST explorer](https://astexplorer.net/) with options JavaScript and @typescript-eslint/parser.
1818

19-
### Commit Messages
20-
21-
> tl;dr: use `npx cz` instead of `git commit`.
22-
23-
Commit messages must follow [Conventional Commit messages guidelines](https://www.conventionalcommits.org/en/v1.0.0/).
24-
You can use `npx cz` instead of `git commit` to run an interactive prompt to generate the commit message. We've
25-
customize the prompt specifically for this project. For more information see
26-
[commitizen](https://github.com/commitizen/cz-cli#readme).
27-
2819
### How to publish
2920

3021
Publishing is handled by [semantic release](https://github.com/semantic-release/semantic-release#readme) -

cz-adapter/engine.ts

Lines changed: 0 additions & 285 deletions
This file was deleted.

cz-adapter/index.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

cz-adapter/index.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)