Skip to content

Commit 54849fb

Browse files
chore: update upstream to v8.0.0
2 parents 653722a + 865b6db commit 54849fb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+7707
-162
lines changed

.github/workflows/expo-doctor.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,28 @@ jobs:
4444
- name: 📦 Setup Node + PNPM + install deps
4545
uses: ./.github/actions/setup-node-pnpm-install
4646

47+
<<<<<<< HEAD
4748
- name: 🚑 Run Doctor Checks
4849
run: |
4950
chmod +x .github/scripts/expo-doctor.sh
51+
=======
52+
- name: Run prebuild
53+
run: pnpm run prebuild
54+
55+
- name: 🚑 Run Doctor Checks
56+
run: |
57+
chmod +x .github/scripts/expo-doctor.sh
58+
rm -rf ios android
59+
>>>>>>> c7bb80d
5060
.github/scripts/expo-doctor.sh
5161

5262
- name: Add doctor report as comment on PR
5363
if: github.event_name == 'pull_request' && always()
5464
uses: marocchino/sticky-pull-request-comment@v2
5565
with:
5666
header: expo-doctor
57-
path: .expo/expo-doctor.md
67+
<<<<<<< HEAD
68+
path: .expo/expo-doctor.md
69+
=======
70+
path: .expo/expo-doctor.md
71+
>>>>>>> c7bb80d

.github/workflows/type-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ permissions:
2222
contents: read
2323
pull-requests: write
2424

25+
permissions:
26+
contents: read
27+
pull-requests: write
28+
2529
jobs:
2630
type-check:
2731
name: Type Check (tsc)

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<<<<<<< HEAD
2+
=======
3+
4+
>>>>>>> c7bb80d
15
. "$(dirname "$0")/common.sh"
26

37

.prettierrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
const config = {
33
singleQuote: true,
44
endOfLine: 'auto',
5+
<<<<<<< HEAD
6+
=======
7+
trailingComma: 'es5',
8+
>>>>>>> c7bb80d
59
};
610

711
module.exports = config;

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ This template brings several key advantages. It provides our team with a consist
3939
- 🎯 Localization with [i18next](https://www.i18next.com/), along with Eslint for validation.
4040
- Unit testing with [Jest](https://jestjs.io/) and [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) setup to help you write tests for your app.
4141

42+
<<<<<<< HEAD
4243
## ✍️ Documentation 🚧 UNDER CONSTRUCTION 🚧
4344

4445
- [Create new project ](https://rootstrap.github.io/react-native-template/getting-started/create-new-app/)
@@ -50,6 +51,37 @@ This template brings several key advantages. It provides our team with a consist
5051
- [Forms](https://rootstrap.github.io/react-native-template/ui-and-theme/forms/)
5152
- [Data fetching](https://rootstrap.github.io/react-native-template/guides/data-fetching/)
5253
- [Contribute to starter](https://rootstrap.github.io/react-native-template/how-to-contribute/)
54+
=======
55+
## Is this starter for me?
56+
57+
Yes 😀
58+
59+
This starter kit is designed to benefit a wide range of React Native developers, from beginners to experienced professionals. Here's why it might be a good fit for you:
60+
61+
1. **For beginners:** It provides a solid foundation with best practices and common solutions, helping you learn industry-standard approaches to React Native development.
62+
63+
2. **For experienced developers:** It offers a well-structured, production-ready setup that can save you time and effort in project initialization and configuration.
64+
65+
3. **For teams:** It ensures consistency across projects and team members, making it easier to onboard new developers and maintain code quality.
66+
67+
4. **For explorers:** Even if you prefer not to use starter kits, this project can serve as a valuable reference. You can explore the codebase, documentation, and architectural decisions to gain insights and potentially adopt specific solutions for your projects.
68+
69+
5. **For learners:** The starter kit incorporates up-to-date libraries and patterns, allowing you to familiarize yourself with current best practices in the React Native ecosystem.
70+
71+
6. **For AI-assisted development:** This starter kit works well with AI coding tools. It provides a solid structure and best practices that can guide AI-generated code. This helps ensure that AI assistance leads to high-quality, maintainable code that fits well within your project.
72+
73+
Remember, you don't have to use the entire starter kit as-is. Feel free to cherry-pick ideas, configurations, or code snippets that align with your project needs. Whether you're building a new app from scratch or looking to improve your existing development process, this starter kit can provide valuable insights and practical solutions.
74+
75+
## Why Expo and not React Native CLI?
76+
77+
We have been using Expo as our main framework since the introduction of [Continuous Native Generation (CNG)](https://docs.expo.dev/workflow/continuous-native-generation/) concept and we are happy with the experience.
78+
79+
I think this question is not valid anymore, especially after the last React conference when the core React native team recommended using Expo for new projects.
80+
81+
> "As of today, the only recommended community framework for React Native is Expo. Folks at Expo have been investing in the React Native ecosystem since the early days of React Native and as of today, we believe the developer experience offered by Expo is best in class." React native core team
82+
83+
Still hesitating? Check out this [article](https://reactnative.dev/blog/2024/06/25/use-a-framework-to-build-react-native-apps) or this [video](https://www.youtube.com/watch?v=lifGTznLBcw), maybe this one [video](https://www.youtube.com/watch?v=ek_IdGC0G80) too.
84+
>>>>>>> c7bb80d
5385
5486
## 🧑‍💻 Stay up to date
5587

__mocks__/expo-localization.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export const locale = 'en-US';
22
export const locales = ['en-US'];
33
export const timezone = 'UTC';
44
export const isRTL = false;
5+
<<<<<<< HEAD
56

67
export const getLocales = () => [
78
{
@@ -16,3 +17,5 @@ export const getLocales = () => [
1617
regionCode: 'US',
1718
},
1819
];
20+
=======
21+
>>>>>>> c7bb80d

app.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,13 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
4242
ios: {
4343
supportsTablet: true,
4444
bundleIdentifier: Env.BUNDLE_ID,
45+
<<<<<<< HEAD
4546
config: {
4647
usesNonExemptEncryption: false,
48+
=======
49+
infoPlist: {
50+
ITSAppUsesNonExemptEncryption: false,
51+
>>>>>>> c7bb80d
4752
},
4853
},
4954
experiments: {
@@ -64,7 +69,11 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
6469
[
6570
'expo-splash-screen',
6671
{
72+
<<<<<<< HEAD
6773
backgroundColor: '#000000',
74+
=======
75+
backgroundColor: '#2E3C4B',
76+
>>>>>>> c7bb80d
6877
image: './assets/splash-icon.png',
6978
imageWidth: 150,
7079
},

docs/astro.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,18 @@ const base = 'react-native-template';
88

99
// https://astro.build/config
1010
export default defineConfig({
11+
<<<<<<< HEAD
1112
site,
1213
base,
1314
integrations: [
1415
starlight({
1516
title: 'Rootstrap React Native Template',
17+
=======
18+
site: 'https://starter.obytes.com/',
19+
integrations: [
20+
starlight({
21+
title: 'Obytes Starter | React Native Template',
22+
>>>>>>> c7bb80d
1623
plugins: [starlightLlmsTxt()],
1724
description: `Your All-in-One Solution for Building Outstanding React Native/Expo Apps. From editor setup to store submission, we've got you covered!`,
1825
expressiveCode: {

0 commit comments

Comments
 (0)