expo / expo-cli

Tools for creating, running, and deploying universal Expo and React Native apps
https://docs.expo.io/workflow/expo-cli/
2.6k stars 477 forks source link

fix(create-expo-app): allow scoped template package names #4750

Closed takameyer closed 10 months ago

takameyer commented 10 months ago

Why

Realm has a scoped package for its expo template. This was not working with create-expo-app.

Fixes #4749

How

This change detects a scoped package name for templates and correctly determines its location.

Test Plan

Tested with @realm/expo-template

node build/index.js --template @realm/expo-template testProj