Skip to content

Commit 9161366

Browse files
committed
feat: template upgrade react-native to v0.69.3
1 parent d50ddac commit 9161366

File tree

17 files changed

+123
-717
lines changed

17 files changed

+123
-717
lines changed

template/template/_prettierrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ module.exports = {
22
arrowParens: 'avoid',
33
bracketSameLine: true,
44
bracketSpacing: false,
5-
tabWidth: 2,
65
singleQuote: true,
76
trailingComma: 'all',
8-
arrowParens: 'avoid',
7+
tabWidth: 2,
98
printWidth: 160,
109
};

template/template/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java renamed to template/template/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java

File renamed without changes.

template/template/android/app/src/main/java/com/awesomeproject/MainActivity.java renamed to template/template/android/app/src/main/java/com/helloworld/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class MainActivity extends ReactActivity {
1212
*/
1313
@Override
1414
protected String getMainComponentName() {
15-
return "helloworld";
15+
return "HelloWorld";
1616
}
1717

1818
/**

template/template/android/app/src/main/java/com/awesomeproject/MainApplication.java renamed to template/template/android/app/src/main/java/com/helloworld/MainApplication.java

File renamed without changes.

template/template/android/app/src/main/java/com/awesomeproject/newarchitecture/MainApplicationReactNativeHost.java renamed to template/template/android/app/src/main/java/com/helloworld/newarchitecture/MainApplicationReactNativeHost.java

File renamed without changes.

template/template/android/app/src/main/java/com/awesomeproject/newarchitecture/components/MainComponentsRegistry.java renamed to template/template/android/app/src/main/java/com/helloworld/newarchitecture/components/MainComponentsRegistry.java

File renamed without changes.

template/template/android/app/src/main/java/com/awesomeproject/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java renamed to template/template/android/app/src/main/java/com/helloworld/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="app_name">helloworld</string>
2+
<string name="app_name">HelloWorld</string>
33
</resources>

template/template/babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
module.exports = {
22
presets: ['module:metro-react-native-babel-preset'],
3+
plugins: [
4+
'react-native-reanimated/plugin'
5+
]
36
};

template/template/ios/.xcode.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This `.xcode.env` file is versioned and is used to source the environment
2+
# used when running script phases inside Xcode.
3+
# To customize your local environment, you can create an `.xcode.env.local`
4+
# file that is not versioned.
5+
6+
# NODE_BINARY variable contains the PATH to the node executable.
7+
#
8+
# Customize the NODE_BINARY variable here.
9+
# For example, to use nvm with brew, add the following line
10+
# . "$(brew --prefix nvm)/nvm.sh" --no-use
11+
export NODE_BINARY=$(command -v node)

0 commit comments

Comments
 (0)