snack icon indicating copy to clipboard operation
snack copied to clipboard

Snack does not respect peerDependenciesMeta

Open bang9 opened this issue 1 year ago • 2 comments

Summary

https://docs.npmjs.com/cli/v8/configuring-npm/package-json#peerdependenciesmeta

peerDependenciesMeta supports optional peer dependencies. but, the snack seems not to respect this option.

What platform(s) does this occur on?

Android, iOS

SDK Version

44.0

Reproducible demo or steps to reproduce from a blank project

  1. Install a package that includes optional peer dependency (peerDependenciesMeta).
  2. There should be no package installation errors related to optional peer dependency installation.

bang9 avatar Jul 28 '22 05:07 bang9

@byCedric this seems like an issue with snackager and would require an Expo core member to work on (until this is a thing), is that correct?

danstepanov avatar Aug 13 '22 01:08 danstepanov

@danstepanov This is indeed an issue in Snackager and the website. But both of them are fixable without a core Expo contributor. You can use the CLI version of Snackager to test it.

I'm also experimenting with a few things to get support for exports. But that's still a long way to go.

byCedric avatar Aug 19 '22 11:08 byCedric