expo / expo/snack

Snack does not respect peerDependenciesMeta

Open
#338 2 comments 0 reactions 0 assignees View on GitHub
snackager website
Dominant language
TypeScript
Stars
510
Forks
178
Avg merge
5h 7m
Merged PRs (30d)
5

Description

### 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.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in a blank Snack project by installing a package with an optional peer dependency, using the npm peerDependenciesMeta reference linked in the report for expected behavior. Trace the dependency installation path for Android and iOS and verify that optional peer dependencies no longer produce installation errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.