@expo/prebuild-config
Advanced tools
Comparing version 8.0.24 to 8.0.25
@@ -140,4 +140,5 @@ "use strict"; | ||
// Clear existing color | ||
mainView.color = []; | ||
// Add background color | ||
mainView.color = mainView.color ?? []; | ||
const colorSection = mainView.color; | ||
@@ -151,5 +152,5 @@ colorSection.push({ | ||
// Clear existing named colors | ||
const namedColorSection = []; | ||
// Add background named color reference | ||
xml.document.resources[0].namedColor = xml.document.resources[0].namedColor ?? []; | ||
const namedColorSection = xml.document.resources[0].namedColor; | ||
const color = parseColor(backgroundColor); | ||
@@ -171,2 +172,3 @@ namedColorSection.push({ | ||
}); | ||
xml.document.resources[0].namedColor = namedColorSection; | ||
return xml; | ||
@@ -173,0 +175,0 @@ } |
{ | ||
"name": "@expo/prebuild-config", | ||
"version": "8.0.24", | ||
"version": "8.0.25", | ||
"description": "Get the prebuild config", | ||
@@ -37,11 +37,11 @@ "main": "build/index.js", | ||
"@types/xml2js": "~0.4.11", | ||
"expo-module-scripts": "^4.0.0" | ||
"expo-module-scripts": "^4.0.3" | ||
}, | ||
"dependencies": { | ||
"@expo/config": "~10.0.7", | ||
"@expo/config-plugins": "~9.0.13", | ||
"@expo/config-types": "^52.0.2", | ||
"@expo/image-utils": "^0.6.0", | ||
"@expo/json-file": "^9.0.0", | ||
"@react-native/normalize-colors": "0.76.5", | ||
"@expo/config": "~10.0.8", | ||
"@expo/config-plugins": "~9.0.14", | ||
"@expo/config-types": "^52.0.3", | ||
"@expo/image-utils": "^0.6.4", | ||
"@expo/json-file": "^9.0.1", | ||
"@react-native/normalize-colors": "0.76.6", | ||
"debug": "^4.3.1", | ||
@@ -56,3 +56,3 @@ "fs-extra": "^9.0.0", | ||
}, | ||
"gitHead": "1955c7d38e69c0eb62df89d516a392ea64db6405" | ||
"gitHead": "986a4689b91f3efc527f7178a320b987c0005842" | ||
} |
Sorry, the diff of this file is not supported yet
4567
431424
+ Added@react-native/normalize-colors@0.76.6(transitive)
- Removed@react-native/normalize-colors@0.76.5(transitive)
Updated@expo/config@~10.0.8
Updated@expo/config-plugins@~9.0.14
Updated@expo/config-types@^52.0.3
Updated@expo/image-utils@^0.6.4
Updated@expo/json-file@^9.0.1