Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(config): Use cosmiconfig defaults to support .cjs config files #1815

Commits on Feb 26, 2021

  1. fix(config): Use cosmicconfig defaults to support .cjs config files

    This change adds support for `*.cjs` config files by removing the
    explicit use of `searchPlaces` options and relying and the default
    search places generated by `cosmicconfig`.  As per the docs for
    [`cosmicconfig`][cc], the defaults include all the extensions/formats
    previously supported by semantic-release in addition to the new .cjs
    variants.
    
    Resolves [semantic-release#1814][issue].
    
    [issue]: semantic-release#1814
    [cc]: https://github.com/davidtheclark/cosmiconfig#searchplaces
    opiation authored and Nicholas Gelinas committed Feb 26, 2021
    Copy the full SHA
    440a6b4 View commit details
    Browse the repository at this point in the history