Skip to content

Commit

Permalink
Merge pull request #5495 from GeekyAnts/release/3.4.19-rc.0
Browse files Browse the repository at this point in the history
release 3.4.19-rc.0
  • Loading branch information
Viraj-10 authored Oct 20, 2022
2 parents d8d45d6 + 823c4f4 commit 634052d
Show file tree
Hide file tree
Showing 37 changed files with 15,528 additions and 13,502 deletions.
54 changes: 27 additions & 27 deletions example/metro.config.js
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,
},
}),
},
};
41 changes: 21 additions & 20 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,28 @@
"update-test": "yarn test -u"
},
"dependencies": {
"@expo/vector-icons": "^12.0.0",
"@expo/vector-icons": "^13.0.0",
"@react-native-aria/overlays": "^0.2.9",
"@react-native-async-storage/async-storage": "^1.17.3",
"expo": "^44.0.0",
"expo-font": "~10.0.4",
"expo-linear-gradient": "~11.0.3",
"expo-splash-screen": "~0.14.1",
"expo-status-bar": "~1.2.0",
"@react-native-async-storage/async-storage": "~1.17.3",
"expo": "^46.0.0",
"expo-font": "~10.2.0",
"expo-linear-gradient": "~11.4.0",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"formik": "^2.2.6",
"react": "17.0.1",
"react": "18.0.0",
"react-hook-form": "^6.14.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-44.0.0.tar.gz",
"react-native": "0.69.6",
"react-native-keyboard-aware-scroll-view": "^0.9.4",
"react-native-safe-area-context": "3.3.2",
"react-native-svg": "12.1.1",
"react-native-web": "0.17.1"
"react-native-safe-area-context": "4.3.1",
"react-native-svg": "12.3.0",
"react-native-web": "~0.18.7",
"webpack-dev-server": "3"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/core": "^7.18.6",
"@babel/runtime": "^7.12.5",
"@expo/webpack-config": "~0.16.2",
"@expo/webpack-config": "^0.17.0",
"@storybook/addon-actions": "^5.3",
"@storybook/addon-knobs": "^5.3",
"@storybook/addon-links": "^5.3",
Expand All @@ -45,20 +46,20 @@
"@storybook/addon-storyshots": "6.3",
"@storybook/react-native": "^5.3.23",
"@storybook/react-native-server": "^5.3.23",
"@types/react": "~17.0.21",
"@types/react-dom": "~17.0.9",
"@types/react-native": "~0.64.12",
"@types/react": "~18.0.0",
"@types/react-dom": "~18.0.0",
"@types/react-native": "~0.69.1",
"babel-loader": "^8.2.2",
"babel-plugin-module-resolver": "^4.0.0",
"core-js": "3.6.5",
"jest": "^26.6.3",
"jest-expo": "^44.0.0",
"jest-expo": "^46.0.0",
"metro-react-native-babel-preset": "^0.64.0",
"patch-package": "^6.2.2",
"postinstall-postinstall": "^2.1.0",
"react-dom": "17.0.1",
"react-dom": "18.0.0",
"react-test-renderer": "17.0.1",
"typescript": "~4.3.5"
"typescript": "^4.6.3"
},
"private": false
}
13 changes: 0 additions & 13 deletions example/patches/@storybook+react-native+5.3.23.patch

This file was deleted.

230 changes: 0 additions & 230 deletions example/patches/react-native-modal-selector+2.0.3.patch

This file was deleted.

Loading

0 comments on commit 634052d

Please sign in to comment.