Skip to content

Commit 016bd1a

Browse files
authored
Roll Back Some Updated Packages Dec 2022 (#543)
* Update Packages Dec 2022 Part 2 * Move Styles above export for build process * Re-Apply Sourcemaps Patch * More Shenanigans
1 parent c589369 commit 016bd1a

File tree

4 files changed

+2702
-2353
lines changed

4 files changed

+2702
-2353
lines changed

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,28 @@
3636
"packages/*"
3737
],
3838
"devDependencies": {
39-
"@react-native-community/eslint-config": "^3.2.0",
40-
"@types/jest": "^29.2.4",
41-
"babel-jest": "^29.3.1",
42-
"dotenv": "^16.0.3",
43-
"eslint": "^8.29.0",
44-
"eslint-plugin-prettier": "^4.2.1",
45-
"expo-yarn-workspaces": "^2.0.4",
46-
"husky": ">=8",
47-
"jest": "^29.3.1",
48-
"json-server": "^0.17.1",
49-
"lerna": "^6.1.0",
50-
"lint-staged": "^13.1.0",
39+
"@react-native-community/eslint-config": "^3.1.0",
40+
"@types/jest": "^26.0.23",
41+
"babel-jest": "^26.6.3",
42+
"dotenv": "^9.0.2",
43+
"eslint": "^8.18.0",
44+
"eslint-plugin-prettier": "^4.2.0",
45+
"expo-yarn-workspaces": "^2.0.0",
46+
"husky": ">=6",
47+
"jest": "^26.6.3",
48+
"json-server": "^0.16.3",
49+
"lerna": "^5.1.4",
50+
"lint-staged": ">=13",
5151
"node-fetch": "^2.6.1",
52-
"patch-package": "^6.5.0",
52+
"patch-package": "^6.4.7",
5353
"postinstall-postinstall": "^2.1.0",
54-
"prettier": "^2.8.1",
55-
"react-native-builder-bob": "^0.20.3",
54+
"prettier": "^2.7.1",
55+
"react-native-builder-bob": "^0.18.3",
5656
"rimraf": "^3.0.2",
57-
"ts-node": "^10.9.1",
58-
"typescript": "~4.9.4",
57+
"ts-node": "^10.0.0",
58+
"typescript": "~4.7.4",
5959
"utility-types": "^3.10.0",
60-
"yarn-deduplicate": "^6.0.0"
60+
"yarn-deduplicate": "^3.1.0"
6161
},
6262
"eslintConfig": {
6363
"extends": [

packages/core/src/components/Picker/Picker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,6 @@ const Picker: React.FC<PickerProps> = ({
406406
);
407407
};
408408

409-
export default withTheme(Picker);
410-
411409
const styles = StyleSheet.create({
412410
marginsContainer: {
413411
alignSelf: "stretch",
@@ -478,3 +476,5 @@ const styles = StyleSheet.create({
478476
maxHeight: deviceHeight,
479477
},
480478
});
479+
480+
export default withTheme(Picker);
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/react-native-builder-bob/lib/utils/compile.js b/node_modules/react-native-builder-bob/lib/utils/compile.js
2+
index c347764..26be6f6 100644
3+
--- a/node_modules/react-native-builder-bob/lib/utils/compile.js
4+
+++ b/node_modules/react-native-builder-bob/lib/utils/compile.js
5+
@@ -57,7 +57,7 @@ async function compile({
6+
const result = await babel.transformAsync(content, {
7+
babelrc: babelrc,
8+
configFile: configFile,
9+
- sourceMaps: true,
10+
+ sourceMaps: false,
11+
filename: filepath,
12+
...(babelrc || configFile ? null : {
13+
presets: [[require.resolve('@babel/preset-env'), {

0 commit comments

Comments
 (0)