Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
react-native-fast-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
react-native-fast-image
Commits
65ba0c47
Unverified
Commit
65ba0c47
authored
Oct 23, 2018
by
Dylan Vann
Committed by
GitHub
Oct 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make yarn link work with example project. (#323)
parent
69678767
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
3 deletions
+39
-3
react-native-fast-image-example/android/settings.gradle
react-native-fast-image-example/android/settings.gradle
+1
-1
react-native-fast-image-example/ios/ReactNativeFastImageExample.xcodeproj/project.pbxproj
...ios/ReactNativeFastImageExample.xcodeproj/project.pbxproj
+2
-2
react-native-fast-image-example/rn-cli.config.js
react-native-fast-image-example/rn-cli.config.js
+36
-0
No files found.
react-native-fast-image-example/android/settings.gradle
View file @
65ba0c47
...
...
@@ -4,6 +4,6 @@ project(':react-native-vector-icons').projectDir = new File(rootProject.projectD
include
':react-native-image-picker'
project
(
':react-native-image-picker'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../node_modules/react-native-image-picker/android'
)
include
':react-native-fast-image'
project
(
':react-native-fast-image'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../
node_modules/react-native-fast-image
/android'
)
project
(
':react-native-fast-image'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../
..
/android'
)
include
':app'
react-native-fast-image-example/ios/ReactNativeFastImageExample.xcodeproj/project.pbxproj
View file @
65ba0c47
...
...
@@ -1427,7 +1427,7 @@
DEAD_CODE_STRIPPING
=
NO
;
HEADER_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(SRCROOT)/../
node_modules/react-native-fast-image/ios/FastImage/**
"
,
"$(SRCROOT)/../
../ios
"
,
"$(SRCROOT)/../node_modules/react-native-image-picker/ios"
,
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager"
,
);
...
...
@@ -1451,7 +1451,7 @@
CURRENT_PROJECT_VERSION
=
1
;
HEADER_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(SRCROOT)/../
node_modules/react-native-fast-image/ios/FastImage/**
"
,
"$(SRCROOT)/../
../ios
"
,
"$(SRCROOT)/../node_modules/react-native-image-picker/ios"
,
"$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager"
,
);
...
...
react-native-fast-image-example/rn-cli.config.js
0 → 100644
View file @
65ba0c47
const
path
=
require
(
'
path
'
)
const
extraNodeModules
=
{
'
prop-types
'
:
path
.
resolve
(
__dirname
,
'
node_modules/prop-types
'
),
react
:
path
.
resolve
(
__dirname
,
'
node_modules/react
'
),
'
react-native
'
:
path
.
resolve
(
__dirname
,
'
node_modules/react-native
'
),
}
const
blacklistPath
=
path
.
resolve
(
__dirname
,
'
../node_modules/react-native
'
)
const
blacklistRegexes
=
[
new
RegExp
(
`
${
blacklistPath
}
/.*`
)]
const
watchFolder
=
path
.
resolve
(
__dirname
,
'
../
'
)
const
watchFolders
=
[
watchFolder
]
const
metroVersion
=
require
(
'
metro/package.json
'
).
version
const
metroVersionComponents
=
metroVersion
.
match
(
/^
(\d
+
)\.(\d
+
)\.(\d
+
)
/
)
if
(
metroVersionComponents
[
1
]
===
'
0
'
&&
parseInt
(
metroVersionComponents
[
2
],
10
)
>=
43
)
{
module
.
exports
=
{
resolver
:
{
extraNodeModules
,
blacklistRE
:
require
(
'
metro-config/src/defaults/blacklist
'
)(
blacklistRegexes
,
),
},
watchFolders
,
}
}
else
{
module
.
exports
=
{
extraNodeModules
,
getBlacklistRE
:
()
=>
require
(
'
metro/src/blacklist
'
)(
blacklistRegexes
),
getProjectRoots
:
()
=>
[
path
.
resolve
(
__dirname
)].
concat
(
watchFolders
),
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment