Title: Enable usage in monorepos · Issue #782 · commitizen/cz-cli · GitHub
Open Graph Title: Enable usage in monorepos · Issue #782 · commitizen/cz-cli
X Title: Enable usage in monorepos · Issue #782 · commitizen/cz-cli
Description: In a monorepo setup (like with yarn workspaces) it is not possible to install commitizen at the root and then use it in the packages. Being in a folder like packages/package-1 with its own package.json an running yarn cz will result in t...
Open Graph Description: In a monorepo setup (like with yarn workspaces) it is not possible to install commitizen at the root and then use it in the packages. Being in a folder like packages/package-1 with its own package....
X Description: In a monorepo setup (like with yarn workspaces) it is not possible to install commitizen at the root and then use it in the packages. Being in a folder like packages/package-1 with its own package....
Opengraph URL: https://github.com/commitizen/cz-cli/issues/782
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable usage in monorepos","articleBody":"In a monorepo setup (like with yarn workspaces) it is not possible to install `commitizen` at the root and then use it in the packages. Being in a folder like `packages/package-1` with its own `package.json` an running `yarn cz` will result in the fallback \"just commit\" mode, even though it it properly configured in the root. This is because `cz` looks for a configuration in the next available `package.json` or `.czrc`. If it finds any of these files it seems to stop with an error and the defaulting to commit instead of going up the ladder to the next higher `package.json` and finding its configuration.\r\n\r\nA workaround is to copy-paste the config in all the `package.json`s but there is no reason for this strange behaviour.","author":{"url":"https://github.com/levino","@type":"Person","name":"levino"},"datePublished":"2020-09-17T09:47:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/782/cz-cli/issues/782"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c6d11db-4a19-744e-5daa-6eb486cfc4ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A3A:32CCF0:1376617:1BA8F36:6A5F9AA8 |
| html-safe-nonce | 89b4ee66639aa7632c95ba373d1d6b5bcbfb94d87cd4b7064c9c356a3c371dc3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTNBOjMyQ0NGMDoxMzc2NjE3OjFCQThGMzY6NkE1RjlBQTgiLCJ2aXNpdG9yX2lkIjoiNjQxNjIxMTQ0MDA5MDE5MjU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 134d4503da12bf20930f3d6f26502e454174ad0e7a18a0dbe65d492eed8efe64 |
| hovercard-subject-tag | issue:703434649 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen/cz-cli/782/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aacc67343a4b9416590230b3217b622a6ab63830f06523b255464059baec8d6a/commitizen/cz-cli/issues/782 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aacc67343a4b9416590230b3217b622a6ab63830f06523b255464059baec8d6a/commitizen/cz-cli/issues/782 |
| og:image:alt | In a monorepo setup (like with yarn workspaces) it is not possible to install commitizen at the root and then use it in the packages. Being in a folder like packages/package-1 with its own package.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | levino |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9353cc7b48460319d80daeeb399e4919b4abcfe6f78d37c7b457924d164a40b1 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen/cz-cli git https://github.com/commitizen/cz-cli.git |
| octolytics-dimension-user_id | 11980392 |
| octolytics-dimension-user_login | commitizen |
| octolytics-dimension-repository_id | 34230966 |
| octolytics-dimension-repository_nwo | commitizen/cz-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34230966 |
| octolytics-dimension-repository_network_root_nwo | commitizen/cz-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 755d210ae728fcf699d7ab1cdd9866592be6ad35 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width