Files
Michael BiancoandGitHub ec1b056ade feat(node): add support for Expo SPA builds (#585)
* feat(expo-spa): scaffold initial expo spa project structure

*   Initialize core directory structure for expo-spa example.
*   Add theme management hooks and components to handle color schemes.
*   Include necessary assets for branding and UI components.
*   Setup initial configuration files and root layout.

Generated-by: aiautocommit

* feat(node): add support for Expo SPA builds

- Detect Expo projects using 'expo' and 'react-native-web' dependencies with static web output configured in 'app.json'.
- Automatically add a build command for 'expo export --platform web' when no build script is defined.
- Configure output directory resolution and runtime categorization for Expo applications.

Generated-by: aiautocommit

* docs: update documentation for Expo Web support and SPA build process

Generated-by: aiautocommit

* refactor(expo): remove default expo export command

- Remove the hardcoded Expo CLI export command.
- Rely on projects defining their own build scripts to maintain flexibility and alignment with standard Node provider patterns.

Generated-by: aiautocommit

* feat(expo): support static and single web output modes

- Update detection logic to include "single" output mode as a valid configuration for Expo SPAs.
- Add case-insensitive comparison for web output mode to ensure robustness.

Generated-by: aiautocommit

* test: add build plan snapshot for expo-spa project

Generated-by: aiautocommit

* docs: update Expo Web SPA mode detection criteria

Generated-by: aiautocommit
2026-06-17 21:47:43 +02:00

45 lines
1.1 KiB
JSON

{
"expo": {
"name": "expo-spa",
"slug": "expo-spa",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "expospa",
"userInterfaceStyle": "automatic",
"ios": {
"icon": "./assets/expo.icon"
},
"android": {
"adaptiveIcon": {
"backgroundColor": "#E6F4FE",
"foregroundImage": "./assets/images/android-icon-foreground.png",
"backgroundImage": "./assets/images/android-icon-background.png",
"monochromeImage": "./assets/images/android-icon-monochrome.png"
},
"predictiveBackGestureEnabled": false
},
"web": {
"output": "static",
"favicon": "./assets/images/favicon.png"
},
"plugins": [
"expo-router",
[
"expo-splash-screen",
{
"backgroundColor": "#208AEF",
"android": {
"image": "./assets/images/splash-icon.png",
"imageWidth": 76
}
}
]
],
"experiments": {
"typedRoutes": true,
"reactCompiler": true
}
}
}