-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
New feature motivation
When attempting to use semantic-release with a ESM-written package ("type": "module") and node with ES modules enabled, a plain release.config.js config fails understandably given the tool is written with require()s. Renaming the config to release.config.cjs does not work as the version of cosmicconfig used by semantic-release does not search for .cjs files. Thus, only the json config options are available.
Updating the cosmicconfig dependency to v7.0.0 would allow one to use semantic-release developing a package implicitly in ES modules (--experimental-modules).
New feature description
Supports *.cjs file extensions like release.config.cjs for configuring semantic-release.
New feature implementation
Update cosmicconfig dependency to v7.0.0 which adds support for *.cjs file extensions.
Metadata
Metadata
Assignees
Labels
No labels