Skip to content

Commit 201e849

Browse files
authored
Merge pull request #101 from rootstrap/update-upstream-v6.3.3
chore: update upstream to v6.3.3
2 parents b1ed450 + b26f516 commit 201e849

22 files changed

+2206
-1446
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ Check this [file](https://github.com/rootstrap/rs-gpt-review/blob/main/.github/w
9393
- [React Native Svg](https://github.com/software-mansion/react-native-svg)
9494
- [React Error Boundaries](https://github.com/bvaughn/react-error-boundary)
9595
- [Expo Image](https://docs.expo.dev/versions/unversioned/sdk/image/)
96+
- [React Native Keyboard Controller](https://github.com/kirillzyusko/react-native-keyboard-controller)
97+
- [Moti](https://moti.fyi/)
98+
- [React Native Safe Area Context](https://github.com/th3rdwave/react-native-safe-area-context)
99+
- [React Native Screens](https://github.com/software-mansion/react-native-screens)
100+
- [Tailwind Variants](https://www.tailwind-variants.org/)
101+
- [Zod](https://zod.dev/)
96102

97103
## Contributors
98104

docs/astro.config.mjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,17 @@ export default defineConfig({
146146
},
147147
],
148148
},
149+
{
150+
label: 'Recipes',
151+
items: [
152+
// Each item here is one entry in the navigation menu.
153+
{
154+
label: 'Sentry Setup',
155+
link: '/recipes/sentry-setup/',
156+
badge: 'new',
157+
},
158+
],
159+
},
149160
{
150161
label: 'Testing',
151162
items: [
@@ -186,6 +197,11 @@ export default defineConfig({
186197
label: 'Libraries Recommendation',
187198
link: '/libraries-recommendation',
188199
},
200+
{
201+
label: 'FAQ',
202+
link: '/faq',
203+
badge: 'new',
204+
},
189205
{
190206
label: 'CHANGELOG',
191207
link: '/changelog',
@@ -194,6 +210,11 @@ export default defineConfig({
194210
label: 'How to contribute ?',
195211
link: '/how-to-contribute',
196212
},
213+
{
214+
label: 'Reviews',
215+
link: '/reviews',
216+
badge: 'new',
217+
},
197218
{
198219
label: 'Stay Updated',
199220
link: '/stay-updated',

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/starlight": "^0.21.1",
13+
"@astrojs/starlight": "^0.27.1",
1414
"@expressive-code/plugin-collapsible-sections": "^0.33.4",
1515
"@expressive-code/plugin-line-numbers": "^0.33.4",
1616
"@fontsource/ibm-plex-mono": "^5.0.8",
1717
"@fontsource/ibm-plex-serif": "^5.0.8",
18-
"astro": "^4.4.9",
18+
"astro": "^4.15.4",
1919
"hast-util-to-html": "^9.0.0",
2020
"sharp": "^0.32.3"
2121
}

docs/pnpm-lock.yaml

Lines changed: 1546 additions & 1196 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/components/GithubStar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import { Icon } from '@astrojs/starlight/components';
3737
}
3838
.container{
3939
position: absolute;
40-
top: 80px;
40+
top: 140px;
4141
left: 50%;
4242
transform: translate(-50%, 0%);
4343
background-color: transparent;

docs/src/content/docs/faq.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: Frequently asked questions
3+
description: Frequently asked questions about the React Native / Expo Starter.
4+
head:
5+
- tag: title
6+
content: FAQ | React Native / Expo Starter
7+
---
8+
9+
This page is a collection of frequently asked questions about the React Native / Expo Starter.
10+
11+
### Is this starter for me?
12+
13+
Yes 😀
14+
15+
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:
16+
17+
1. **For beginners:** It provides a solid foundation with best practices and common solutions, helping you learn industry-standard approaches to React Native development.
18+
19+
2. **For experienced developers:** It offers a well-structured, production-ready setup that can save you time and effort in project initialization and configuration.
20+
21+
3. **For teams:** It ensures consistency across projects and team members, making it easier to onboard new developers and maintain code quality.
22+
23+
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 own projects.
24+
25+
5. **For learners:** The starter kit incorporates up-to-date libraries and patterns, offering an opportunity to familiarize yourself with current best practices in the React Native ecosystem.
26+
27+
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.
28+
29+
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.
30+
31+
### Why Expo and not React Native CLI?
32+
33+
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.
34+
35+
I think this question is not valid anymore specially after the last React conference when the core react native team recommended using Expo for new projects.
36+
37+
> "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
38+
39+
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.
40+
41+
### How is behind the starter kit?
42+
43+
This starter kit is maintained by the [Obytes mobile tribe team](https://www.obytes.com/team) since 2021. At Rootstrap we've started using it during 2024. We actively use it for our projects and make slight modifications to better adjust to our workflow, experience and projects. The template is open-source, released under the MIT license, ensuring flexibility for users. Our commitment to this template is ongoing; we will continue to sync it with the Obytes starter kit, maintain it and improve it as long as it remains a core part of our internal development process.
44+
45+
### Can you include X feature or library?
46+
47+
We aim to keep the starter as simple and straightforward as possible. Based on our experience, we believe the current setup provides a solid foundation for most projects.
48+
49+
The starter is opinionated, reflecting our best practices. If you disagree with some of our choices, that's perfectly fine. The starter is designed to be easily customizable to suit your specific needs.
50+
51+
We often receive requests to provide multiple choices for libraries and tools through a CLI. While this may seem appealing, it would significantly increase complexity and maintenance overhead, which we are trying to avoid.

docs/src/content/docs/getting-started/environment-vars-config.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ As mentioned earlier, `zod` is used to validate environment variables at runtime
104104
```bash
105105
❌ Invalid environment variables: { TEST: [ 'Required' ] }
106106
❌ Missing variables in .env.development file, Make sure all required variables are defined in the .env.development file.
107-
💡 Tip: If you recently updated the .env.development file and the error still persists, try restarting the server with the -cc flag to clear the cache.
107+
💡 Tip: If you recently updated the .env.development file and the error still persists, try restarting the server with the -c flag to clear the cache.
108108
```
109109
110110
:::note[Important]

docs/src/content/docs/guides/upgrading-deps.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ pnpm run doctor ## check for any issues with the dependencies you added to your
3131
pnpm lint ## linting
3232
pnpm type-check ## type checking
3333
pnpm test ## tests
34-
pnpm prebuild -clean ## clean ios and android build folders and regenerate them
34+
pnpm prebuild --clean ## clean ios and android build folders and regenerate them
3535
pnpm ios ## run ios build
3636
pnpm android ## run android build
37-
pnpm start --cc ## start the server
37+
pnpm start -c ## start the server
3838
```
3939

4040
:::info
@@ -50,7 +50,7 @@ Visit the npm package registry [here](https://www.npmjs.com/package/expo) to ens
5050
Once you have confirmed that you have the latest version, open your terminal and enter the following command:
5151

5252
```bash
53-
pnpm add expo@lastVersion
53+
pnpm add expo@latest
5454
## pnpm add [email protected] for example
5555
```
5656

@@ -78,10 +78,10 @@ pnpm install ## install new dependencies
7878
pnpm lint ## linting
7979
pnpm type-check ## type checking
8080
pnpm test ## tests
81-
pnpm prebuild -clean ## clean ios and android build folders and regenerate them
81+
pnpm prebuild --clean ## clean ios and android build folders and regenerate them
8282
pnpm ios ## run ios build
8383
pnpm android ## run android build
84-
pnpm start --cc ## start the server
84+
pnpm start -c ## start the server
8585
```
8686

8787
Unfortunately, there is no magic trick here in case you have any issues while running your checks, Fixing those errors may require some manual effort. You can start by reading the error message and identifying any relevant packages that may be causing the issue. Check the changelog of those packages to see if there have been any recent updates that might have introduced breaking changes. This will help you to pinpoint the root cause of the issue and take the necessary steps to resolve it.
@@ -144,10 +144,10 @@ pnpm install ## install new dependencies
144144
pnpm lint ## linting
145145
pnpm type-check ## type checking
146146
pnpm test ## tests
147-
pnpm prebuild -clean ## clean ios and Android build folders and regenerate them
147+
pnpm prebuild --clean ## clean ios and Android build folders and regenerate them
148148
pnpm ios ## run ios build
149149
pnpm android ## run android build
150-
pnpm start --cc ## start the server
150+
pnpm start -c ## start the server
151151
```
152152

153153
If you are lucky enough and everything works as expected without any issues, you can now update the rest of the dependencies.

0 commit comments

Comments
 (0)