cosmiconfig
Advanced tools
Changelog
8.2.0
.mjs
files, or .js
files whose nearest parent package.json
file contains "type": "module"
.
${moduleName}rc.mjs
and ${moduleName}.config.mjs
are included in the default searchPlaces
of the asynchronous API..mjs
files.Changelog
8.1.1
Changelog
8.1.0
.config.{yml,yaml,json,js,cjs}
file to configure cosmiconfig itself, and look for tool configuration in it using packageProp
(similar to package.json)
Changelog
8.0.0
No major breaking changes! We dropped support for Node 10 and 12 -- which you're probably not using. And we swapped out the YAML parser -- which you probably won't notice.
Changelog
7.1.0
searchPlaces
within a .config subdirectory (without leading dot in the file name)Changelog
7.0.1