[Web]: Add experimental support for running web projects on Expo CLI
@danial24 ya está trabajando en esto.
Desde el 29/8/2019.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Expo is now rapidly adding support for the web platform. Although it's ready for production yet, it's worth exploring their cli to run and build web project rather than using our own custom framework. This will reduce maintenance overhead.
Strategy
This should be very straight forward as expo cli is already used to build react native projects. We may be able to use the same code with minor changes.
Command
Experimental support can be added via --expo flag. So final commands will be:
bluebase web:start --expo
bluebase web:build --expo
Prior Work
I've done a brief exploration of the issue without writing much code till now. Here are the findings:
- Custom
app.jsoncan be used by using the--configflag on cli just like we do for native (This wasn't the case when I last tried a month ago). - Custom Static Files are served from
webfolder in root. This seems to be the code that does it. We need to find a way to change this behavior so that we can use BlueBase folder structure. - Webpack Configs can be customized by putting a
webpack.config.jsin the project root. We need to find a way to put this file in a child directory to follow BlueBase folder structure. This seems to be the code where expo cli imports the webpack configs.
Possible solutions to point 2 & 3:
- Use a custom projectRoot.
- Change working directory before executing expo CLI command
- Send them a PR to accept custom paths through app.json 🙃.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de BlueBaseJS/cli
-
bug
BlueBaseJS/cli#111 · 1 asignado ·
-
bug
BlueBaseJS/cli#110 · 1 asignado ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
BlueBaseJS/cli#104 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
BlueBaseJS/cli#103 · 1 comentario ·
-
bug
BlueBaseJS/cli#72 · 1 comentario · 1 reacción · 1 asignado ·
Todos los issues de BlueBaseJS/cli
Issues similares
-
S: triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
snapshot-labs/stamp#666 ·
-
fix(api): prevent leaderboard SSE heartbeat from starting after disconnect during initial load Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
GauravKarakoti/SecureFlow#1070 · 1 comentario ·
-
feature:Languages/Translations good first issue ready Web
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
digitalfabrik/integreat-app#4394 ·