Visitar URL original
feat(configLoader): add cosmiconfig support by levi2ki · Pull Request #987 · commitizen/cz-cli · GitHub
Skip to content

feat(configLoader): add cosmiconfig support - #987

Open
levi2ki wants to merge 1 commit into
commitizen:masterfrom
levi2ki:feature/cosmiconfig-bc
Open

levi2ki wants to merge 1 commit into
commitizen:masterfrom
levi2ki:feature/cosmiconfig-bc

Conversation

@levi2ki

@levi2ki levi2ki commented Nov 5, 2023 •

Copy link
Copy Markdown

Added cosmiconfig support;
Added json5 support for configs;
Removed deprecated czConfig attribute support;
Added load and loadAtRoot public api hepers;
Removed findup and config normalization functions that are not required for now;

BREAKING CHANGE: config.path now resolves relative to config location;
config lookup now relays on cosmiconfig search rules;
closes #773, closes #782, closes #975

Added cosmiconfig support;
Added json5 support for configs;
Removed deprecated czConfig attribute support;
Added load and loadAtRoot public api hepers;
Removed findup and config normalization functions that are not required for now;

BREAKING CHANGE: config.path now resolves relative to config location;
  config lookup now relays on cosmiconfig search rules;
Closes: commitizen#773

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Config loader] check if config key is in package.json before accepting it as a config file Enable usage in monorepos Use cosmiconfig so users can use whatever config file extension they want

2 participants