Cosmiconfig is not a function - babel-plugin-relay
Open
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
`cosmiconfig` is capped at version 5, and conflicts with other packages using higher versions (mainly postcss and storybook).
Adding an higher resolution in my package.json breaks the plugin, because cosmiconfig > 6 dropped default exports. Would you be willing to accept a PR fixing this?
Contributor guide
Research direction
Start with package.json and the babel-plugin-relay package to trace how cosmiconfig is imported and resolved. Reproduce the failure with cosmiconfig above version 6 alongside the conflicting dependencies, then verify that the plugin loads successfully under the supported resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100