Skip to content

Fix Yarn peer dependency warning from @babel/core#786

Merged
gregberge merged 1 commit intogregberge:mainfrom
joshkel:babel-core-dependency
Oct 5, 2022
Merged

Fix Yarn peer dependency warning from @babel/core#786
gregberge merged 1 commit intogregberge:mainfrom
joshkel:babel-core-dependency

Conversation

@joshkel
Copy link
Contributor

@joshkel joshkel commented Oct 5, 2022

Summary

Installing @svgr/core with Yarn Modern (Yarn 2+) gives the following warning:

➤ YN0002: │ @svgr/core@npm:6.4.0 doesn't provide @babel/core (p0b84c), requested by @svgr/babel-preset

Fixes #785.

Test plan

npm run test and npm run lint still pass.

Installing @svgr/core with Yarn Modern (Yarn 2+) gives the following warning:

```
➤ YN0002: │ @svgr/core@npm:6.4.0 doesn't provide @babel/core (p0b84c), requested by @svgr/babel-preset
```

Fixes #785
@vercel
Copy link

vercel bot commented Oct 5, 2022

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

Name Status Preview Updated
svgr ❌ Failed (Inspect) Oct 5, 2022 at 2:37PM (UTC)

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.

Peer dependency warning from @svgr/core

2 participants