-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5499 from GeekyAnts/release/3.4.19
release 3.4.19
- Loading branch information
Showing
37 changed files
with
17,600 additions
and
15,394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
const path = require('path'); | ||
const blacklist = require('metro-config/src/defaults/blacklist'); | ||
const blacklist = require('metro-config/src/defaults/exclusionList'); | ||
const escape = require('escape-string-regexp'); | ||
const pak = require('../package.json'); | ||
|
||
const root = path.resolve(__dirname, '..'); | ||
|
||
const modules = Object.keys({ | ||
...pak.peerDependencies, | ||
...pak.peerDependencies, | ||
}); | ||
|
||
module.exports = { | ||
projectRoot: __dirname, | ||
watchFolders: [root], | ||
projectRoot: __dirname, | ||
watchFolders: [root], | ||
|
||
// We need to make sure that only one version is loaded for peerDependencies | ||
// So we blacklist them at the root, and alias them to the versions in example's node_modules | ||
resolver: { | ||
blacklistRE: blacklist( | ||
modules.map( | ||
(m) => | ||
new RegExp(`^${escape(path.join(root, 'node_modules', m))}\\/.*$`) | ||
) | ||
), | ||
extraNodeModules: modules.reduce((acc, name) => { | ||
acc[name] = path.join(__dirname, 'node_modules', name); | ||
return acc; | ||
}, {}), | ||
}, | ||
// We need to make sure that only one version is loaded for peerDependencies | ||
// So we blacklist them at the root, and alias them to the versions in example's node_modules | ||
resolver: { | ||
blacklistRE: blacklist( | ||
modules.map( | ||
(m) => | ||
new RegExp(`^${escape(path.join(root, 'node_modules', m))}\\/.*$`) | ||
) | ||
), | ||
extraNodeModules: modules.reduce((acc, name) => { | ||
acc[name] = path.join(__dirname, 'node_modules', name); | ||
return acc; | ||
}, {}), | ||
}, | ||
|
||
transformer: { | ||
getTransformOptions: async() => ({ | ||
transform: { | ||
experimentalImportSupport: false, | ||
inlineRequires: false, | ||
}, | ||
}), | ||
}, | ||
}; | ||
transformer: { | ||
getTransformOptions: async () => ({ | ||
transform: { | ||
experimentalImportSupport: false, | ||
inlineRequires: false, | ||
}, | ||
}), | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
230 changes: 0 additions & 230 deletions
230
example/patches/react-native-modal-selector+2.0.3.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
7fb08da
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
native-base – ./
native-base-git-master-geekyants-team.vercel.app
native-base.vercel.app
native-base-geekyants-team.vercel.app
storybook.nativebase.io