mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add react-native.config.js to autolinking lockfiles (#45511)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45511 This adds react-native.config.js to autolinking default lockfiles so autolinking can account for changes in that file. Changelog: [Internal] [Changed] - Add react-native.config.js to autolinking lockfiles Reviewed By: blakef Differential Revision: D59907268 fbshipit-source-id: d5893a3f7b4d5d9f6c6c13042aa6866ad16b2ea4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0264c36dcd
commit
aaeb7af700
+1
-1
@@ -44,7 +44,7 @@ abstract class ReactSettingsExtension @Inject constructor(val settings: Settings
|
||||
lockFiles: FileCollection =
|
||||
settings.layout.rootDirectory
|
||||
.dir("../")
|
||||
.files("yarn.lock", "package-lock.json", "package.json")
|
||||
.files("yarn.lock", "package-lock.json", "package.json", "react-native.config.js")
|
||||
) {
|
||||
outputFile.parentFile.mkdirs()
|
||||
val lockFilesChanged = checkAndUpdateLockfiles(lockFiles, outputFolder)
|
||||
|
||||
Reference in New Issue
Block a user