Skip to content

Commit aa4df36

Browse files
authored
feat(container): added @commitlint/config-nx-scopes for nx monorepos (#3913)
* feat(container): added @commitlint/config-nx-scopes for nx monorepos * feat(container): added @commitlint/config-nx-scopes for nx monorepos * feat(container): update docs
1 parent cdc9c6c commit aa4df36

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Dockerfile.ci

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ RUN yarn install && \
66
# Commit lint CLI packages
77
npm pack @commitlint/cli && \
88
npm pack @commitlint/config-validator && \
9+
npm pack @commitlint/config-nx-scopes && \
910
npm pack @commitlint/ensure && \
1011
npm pack @commitlint/execute-rule && \
1112
npm pack @commitlint/format && \

docs/guides/ci-setup.md

+2
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ lint:commit:
146146
entrypoint: ['']
147147
stage: lint
148148
script:
149+
# Uncomment the next line if you are extending the @commitlint/config-nx-scopes in your commitlint configuration
150+
#- npm i -g nx@$(node -pe "require('./package.json').devDependencies.nx")
149151
- echo "${CI_COMMIT_MESSAGE}" | commitlint
150152
```
151153

0 commit comments

Comments
 (0)