@react-native-community/cli-platform-ios
Advanced tools
Comparing version 2.8.3 to 3.0.0-alpha.1
@@ -95,3 +95,4 @@ "use strict"; | ||
sharedLibraries: mapSharedLibaries(userConfig.sharedLibraries || []), | ||
plist: userConfig.plist || [] | ||
plist: userConfig.plist || [], | ||
scriptPhases: userConfig.scriptPhases || [] | ||
}; | ||
@@ -98,0 +99,0 @@ } |
@@ -50,7 +50,7 @@ "use strict"; | ||
const getOuterDirectory = directories => directories.reduce((topDir, currentDir) => { | ||
const currentFolders = currentDir.split(_path().default.sep); | ||
const topMostFolders = topDir.split(_path().default.sep); | ||
const currentFolders = currentDir.split('/'); | ||
const topMostFolders = topDir.split('/'); | ||
if (currentFolders.length === topMostFolders.length && (0, _lodash().last)(currentFolders) !== (0, _lodash().last)(topMostFolders)) { | ||
return currentFolders.slice(0, -1).join(_path().default.sep); | ||
return currentFolders.slice(0, -1).join('/'); | ||
} | ||
@@ -78,3 +78,3 @@ | ||
const directories = (0, _lodash().union)(headers.map(_path().default.dirname)); | ||
return directories.length === 1 ? `"$(SRCROOT)${_path().default.sep}${_path().default.relative(sourceDir, directories[0])}"` : `"$(SRCROOT)${_path().default.sep}${_path().default.relative(sourceDir, getOuterDirectory(directories))}/**"`; | ||
return directories.length === 1 ? `"$(SRCROOT)/${_path().default.relative(sourceDir, directories[0])}"` : `"$(SRCROOT)/${_path().default.relative(sourceDir, getOuterDirectory(directories))}/**"`; | ||
} |
{ | ||
"name": "@react-native-community/cli-platform-ios", | ||
"version": "2.8.3", | ||
"version": "3.0.0-alpha.1", | ||
"license": "MIT", | ||
@@ -15,3 +15,3 @@ "main": "build/index.js", | ||
], | ||
"gitHead": "a12f1fa5498993db3130f52fec749ec503ec269b" | ||
"gitHead": "f70f08cb23b45e923bdb5d1da198290b29db44d3" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
100806
2526
2