expo / snack

Expo Snack lets you run Expo in the browser.
https://snack.expo.dev
MIT License
356 stars 104 forks source link

feature: add monorepo tooling to minimize maintenance #464

Closed byCedric closed 11 months ago

byCedric commented 11 months ago

Why

This is another attempt to implement proper monorepo tooling to minimize maintenance as much as possible.

How

Docker sizes

Dockerfile Before After
snackager Dockerfile before this change Dockerfile after this change
snackpub Dockerfile after this change Dockerfile after this change
website Dockerfile before this change Dockerfile after this change

Test Plan

Since this is a big change, have to fully test this on staging first.

byCedric commented 11 months ago

@Kudo We definitely need to just try it in deployment, that's why Snack staging is already running this image 😄 And so far, its looking good.

Edit: both Website and Snackager are now running these Dockerfiles 👍 It's also insane to me how much build cache we still shipped with the website image. It's now reduced by a factor of 3.9x 🙈