Skip to content

Commit

Permalink
feat(container): added @commitlint/config-nx-scopes for nx monorepos (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
gperdomor authored Apr 19, 2024
1 parent cdc9c6c commit aa4df36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN yarn install && \
# Commit lint CLI packages
npm pack @commitlint/cli && \
npm pack @commitlint/config-validator && \
npm pack @commitlint/config-nx-scopes && \
npm pack @commitlint/ensure && \
npm pack @commitlint/execute-rule && \
npm pack @commitlint/format && \
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/ci-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ lint:commit:
entrypoint: ['']
stage: lint
script:
# Uncomment the next line if you are extending the @commitlint/config-nx-scopes in your commitlint configuration
#- npm i -g nx@$(node -pe "require('./package.json').devDependencies.nx")
- echo "${CI_COMMIT_MESSAGE}" | commitlint
```
Expand Down

0 comments on commit aa4df36

Please sign in to comment.