Skip to content

Commit

Permalink
chore: configure commitlint for nx scopes
Browse files Browse the repository at this point in the history
Signed-off-by: Emilien Escalle <[email protected]>
  • Loading branch information
neilime committed Nov 8, 2024
1 parent bf790d2 commit a168bd5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@
"unlink": "lerna exec yarn unlink"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-nx-scopes": "^19.5.0",
"lerna": "^8.1.8",
"rimraf": "^6.0.1",
"typescript": "^5.5.4"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
"@commitlint/config-nx-scopes"
]
},
"lint-staged": {
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@commitlint/cli@^19.4.0":
"@commitlint/cli@^19.4.0", "@commitlint/cli@^19.5.0":
version "19.5.0"
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-19.5.0.tgz#a6e2f7f8397ddf9abd5ee5870e30a1bf51b7be2b"
integrity sha512-gaGqSliGwB86MDmAAKAtV9SV1SHdmN8pnGq4EJU4+hLisQ7IFfx4jvU4s+pk6tl0+9bv6yT+CaZkufOinkSJIQ==
Expand All @@ -324,6 +324,13 @@
"@commitlint/types" "^19.5.0"
conventional-changelog-conventionalcommits "^7.0.2"

"@commitlint/config-nx-scopes@^19.5.0":
version "19.5.0"
resolved "https://registry.yarnpkg.com/@commitlint/config-nx-scopes/-/config-nx-scopes-19.5.0.tgz#0d2c39bc80ef1354b661e6a6389a3569b4e440ab"
integrity sha512-YjJVN9n5PJGnom1JqpC9tnQzWsWPeCbKN63AU6jTk25yxNpMtMVKNNEFU+yEPneo4kJk2yIicKjtPuRqYqL3Wg==
dependencies:
"@commitlint/types" "^19.5.0"

"@commitlint/config-validator@^19.5.0":
version "19.5.0"
resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-19.5.0.tgz#f0a4eda2109fc716ef01bb8831af9b02e3a1e568"
Expand Down

0 comments on commit a168bd5

Please sign in to comment.