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

chore: upgrade cosmiconfig #905

Merged
merged 1 commit into from Sep 24, 2023
Merged

Conversation

jonhermansen
Copy link
Contributor

Summary

Upgrade to cosmiconfig 8.3.6, which fixes an unhandled exception when traversing parent directories looking for directories named .config. If a parent directory contained a file named .config, before this fix, generated React apps would fail to start. I documented this bug in facebook/create-react-app#13355 (comment) but I believe the issue originates from within this library.

Test plan

I followed the steps documented in CONTRIBUTING.md.

  • pnpm install
  • pnpm run dev still works
  • pnpm run lint passes (All matched files use Prettier code style!)
  • pnpm run test succeeds (245 passed, 245 total)

@vercel
Copy link

vercel bot commented Sep 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svgr ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 21, 2023 8:26pm

@jonhermansen
Copy link
Contributor Author

Also, here's the release notes for cosmiconfig 8.3.6 with details about the bug: https://github.com/cosmiconfig/cosmiconfig/releases/tag/cosmiconfig-v8.3.6

@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

Merging #905 (77bf9bc) into main (ae91e2e) will not change coverage.
Report is 3 commits behind head on main.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #905   +/-   ##
=======================================
  Coverage   92.89%   92.89%           
=======================================
  Files          32       32           
  Lines         760      760           
  Branches      251      255    +4     
=======================================
  Hits          706      706           
  Misses         53       53           
  Partials        1        1           
Files Changed Coverage Δ
packages/core/src/config.ts 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@gregberge gregberge merged commit 308672d into gregberge:main Sep 24, 2023
12 checks passed
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.

None yet

2 participants