Skip to content

Commit 5cab32e

Browse files
authored
Merge pull request #1150 from duffelhq/andreja/tsp-1310-resolve-security-vulnerabilities-on-public-sdk-repo-3
Remove commitizen
2 parents 8c11437 + 21748ce commit 5cab32e

File tree

4 files changed

+66
-719
lines changed

4 files changed

+66
-719
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 18.20.8
1+
nodejs 20.19.4

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ To be able to publish the correct version to NPM, we are currently following [An
66

77
### CommitLint to the rescue
88

9-
Before creating a commit we will run a husky hook which will check if the commit structure is valid or not. If you don't want to create the commit manually, you can use `yarn commit` which will use [`commitzen`](https://github.com/commitizen/cz-cli) to help you out creating the message.
9+
Before creating a commit we will run a husky hook which will check if the commit structure is valid or not.
1010

1111
## Client CI
1212

package.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,10 @@
3232
"example": "ts-node ./examples/example.ts",
3333
"get-version": "echo $npm_package_version",
3434
"release": "npx semantic-release",
35-
"commit": "git-cz",
3635
"commitlint": "commitlint",
3736
"prettier": "prettier --write --loglevel=warn .",
3837
"prettier-check": "prettier --check ."
3938
},
40-
"config": {
41-
"commitizen": {
42-
"path": "@commitlint/cz-commitlint"
43-
}
44-
},
4539
"lint-staged": {
4640
"*.{ts,tsx}": [
4741
"eslint",
@@ -69,16 +63,14 @@
6963
"@babel/preset-typescript": "7.28.5",
7064
"@commitlint/cli": "17.8.1",
7165
"@commitlint/config-angular": "17.8.1",
72-
"@commitlint/cz-commitlint": "17.8.1",
7366
"@rollup/plugin-commonjs": "25.0.8",
7467
"@rollup/plugin-node-resolve": "15.3.1",
75-
"@rollup/plugin-terser": "0.4.4",
68+
"@rollup/plugin-terser": "1.0.0",
7669
"@rollup/plugin-typescript": "12.3.0",
7770
"@types/jest": "29.5.14",
7871
"@typescript-eslint/eslint-plugin": "6.7.5",
7972
"@typescript-eslint/parser": "6.7.5",
8073
"colors": "1.4.0",
81-
"commitizen": "4.3.1",
8274
"dotenv": "16.6.1",
8375
"eslint": "8.57.1",
8476
"eslint-config-prettier": "9.1.2",
@@ -95,10 +87,11 @@
9587
"semantic-release": "22.0.12",
9688
"ts-jest": "29.4.6",
9789
"ts-node": "10.9.2",
90+
"tslib": "2.8.1",
9891
"typescript": "5.9.3"
9992
},
10093
"engines": {
101-
"node": ">=18.*"
94+
"node": ">=20"
10295
},
10396
"release": {
10497
"plugins": [

0 commit comments

Comments
 (0)