Skip to content

Commit 6a74940

Browse files
committed
build: specify node types version, use separate config for commitizen
1 parent 30613d3 commit 6a74940

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.czrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "./node_modules/cz-conventional-changelog"
3+
}

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@semantic-release/changelog": "^5.0.1",
3737
"@semantic-release/git": "^9.0.0",
3838
"@types/minimist": "^1.2.1",
39-
"@types/node": "10",
39+
"@types/node": "^12.20.13",
4040
"@typescript-eslint/eslint-plugin": "^4.25.0",
4141
"@typescript-eslint/parser": "^4.25.0",
4242
"commitizen": "^4.2.4",
@@ -50,10 +50,5 @@
5050
},
5151
"peerDependencies": {
5252
"typescript": "^3.0.0 || ^4.0.0"
53-
},
54-
"config": {
55-
"commitizen": {
56-
"path": "./node_modules/cz-conventional-changelog"
57-
}
5853
}
5954
}

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -449,10 +449,10 @@
449449
resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.1.tgz"
450450
integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==
451451

452-
"@types/node@10":
453-
version "10.17.60"
454-
resolved "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz"
455-
integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==
452+
"@types/node@^12.20.13":
453+
version "12.20.13"
454+
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.13.tgz#e743bae112bd779ac9650f907197dd2caa7f0364"
455+
integrity sha512-1x8W5OpxPq+T85OUsHRP6BqXeosKmeXRtjoF39STcdf/UWLqUsoehstZKOi0CunhVqHG17AyZgpj20eRVooK6A==
456456

457457
"@types/normalize-package-data@^2.4.0":
458458
version "2.4.0"

0 commit comments

Comments
 (0)