@expo/config
Advanced tools
Comparing version 10.0.3 to 10.0.4
@@ -365,3 +365,4 @@ "use strict"; | ||
// Attempt to write to a function-like dynamic config, when used with a static config | ||
if (config.staticConfigPath && config.dynamicConfigObjectType === 'function') { | ||
if (config.staticConfigPath && config.dynamicConfigObjectType === 'function' && !modifications.hasOwnProperty('plugins') // We don't know what plugins are in dynamic configs | ||
) { | ||
const outputConfig = mergeConfigModifications(config, modifications); | ||
@@ -383,2 +384,4 @@ if (isDryRun) { | ||
const newConfig = getConfig(projectRoot, readOptions); | ||
console.log(`New config: ${JSON.stringify(newConfig.exp, null, 2)}`); | ||
console.log(`Modifications: ${JSON.stringify(modifications, null, 2)}`); | ||
const newConfighasModifications = isMatchingObject(modifications, newConfig.exp); | ||
@@ -385,0 +388,0 @@ if (newConfighasModifications) { |
{ | ||
"name": "@expo/config", | ||
"version": "10.0.3", | ||
"version": "10.0.4", | ||
"description": "A library for interacting with the app.json", | ||
@@ -57,3 +57,3 @@ "main": "build/index.js", | ||
}, | ||
"gitHead": "8f2567ad26ca782cd2d7ab7fa77a34979e2b4e01" | ||
"gitHead": "563c85837bc5055672846887f70f3daf5763b16d" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
170352
1999
7
1