Skip to content

Commit faa6c39

Browse files
chore: upgrade React Native to 0.83.0 and update dev dependencies (#1414)
1 parent 46c5dab commit faa6c39

File tree

13 files changed

+1745
-1469
lines changed

13 files changed

+1745
-1469
lines changed

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
bracketSpacing: false,
3-
jsxBracketSameLine: true,
3+
bracketSameLine: true,
44
singleQuote: true,
55
trailingComma: 'all',
66
};

babel.config.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
module.exports = {
2-
presets: ['module:@react-native/babel-preset'],
3-
sourceMaps: true,
2+
overrides: [
3+
{
4+
exclude: /\/node_modules\//,
5+
presets: ['module:react-native-builder-bob/babel-preset'],
6+
},
7+
{
8+
include: /\/node_modules\//,
9+
presets: ['module:@react-native/babel-preset'],
10+
},
11+
],
412
};

eslint.config.mjs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,7 @@ export default defineConfig([
2121
plugins: { prettier },
2222
rules: {
2323
'react/react-in-jsx-scope': 'off',
24-
'prettier/prettier': [
25-
'error',
26-
{
27-
quoteProps: 'consistent',
28-
singleQuote: true,
29-
tabWidth: 2,
30-
trailingComma: 'es5',
31-
useTabs: false,
32-
},
33-
],
24+
'prettier/prettier': 'error',
3425
},
3526
},
3627
// TypeScript-specific configuration for type-checked rules
@@ -58,6 +49,6 @@ export default defineConfig([
5849
},
5950
},
6051
{
61-
ignores: ['node_modules/', 'lib/', 'docs'],
52+
ignores: ['node_modules/', 'lib/', 'docs', 'example/', 'coverage/'],
6253
},
6354
]);

example/ios/Auth0Example.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
);
232232
runOnlyForDeploymentPostprocessing = 0;
233233
shellPath = /bin/sh;
234-
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
234+
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"\\\"$WITH_ENVIRONMENT\\\" \\\"$REACT_NATIVE_XCODE\\\"\"\n";
235235
};
236236
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
237237
isa = PBXShellScriptBuildPhase;
@@ -499,6 +499,7 @@
499499
);
500500
MTL_ENABLE_DEBUG_INFO = YES;
501501
ONLY_ACTIVE_ARCH = YES;
502+
OTHER_CFLAGS = "$(inherited)";
502503
OTHER_CPLUSPLUSFLAGS = (
503504
"$(OTHER_CFLAGS)",
504505
"-DFOLLY_NO_CONFIG",
@@ -569,6 +570,7 @@
569570
"\"$(inherited)\"",
570571
);
571572
MTL_ENABLE_DEBUG_INFO = NO;
573+
OTHER_CFLAGS = "$(inherited)";
572574
OTHER_CPLUSPLUSFLAGS = (
573575
"$(OTHER_CFLAGS)",
574576
"-DFOLLY_NO_CONFIG",

0 commit comments

Comments
 (0)