diff --git a/.changeset/yummy-cycles-shave.md b/.changeset/yummy-cycles-shave.md new file mode 100644 index 0000000..50f2a27 --- /dev/null +++ b/.changeset/yummy-cycles-shave.md @@ -0,0 +1,5 @@ +--- +"create-better-t-stack": minor +--- + +upgrade to expo 53 diff --git a/apps/cli/src/constants.ts b/apps/cli/src/constants.ts index d1df37c..db92c2b 100644 --- a/apps/cli/src/constants.ts +++ b/apps/cli/src/constants.ts @@ -79,11 +79,11 @@ export const dependencyVersionMap = { "@prisma/extension-accelerate": "^1.3.0", - "@orpc/server": "^1.1.0", - "@orpc/client": "^1.1.0", - "@orpc/react-query": "^1.1.0", - "@orpc/vue-query": "^1.1.0", - "@orpc/svelte-query": "^1.1.0", + "@orpc/server": "^1.1.1", + "@orpc/client": "^1.1.1", + "@orpc/react-query": "^1.1.1", + "@orpc/vue-query": "^1.1.1", + "@orpc/svelte-query": "^1.1.1", "@trpc/tanstack-react-query": "^11.0.0", "@trpc/server": "^11.0.0", diff --git a/apps/cli/templates/frontend/native/app.json b/apps/cli/templates/frontend/native/app.json index 1ea6c32..8b4dc14 100644 --- a/apps/cli/templates/frontend/native/app.json +++ b/apps/cli/templates/frontend/native/app.json @@ -11,7 +11,8 @@ }, "plugins": [ "expo-router", - "expo-secure-store" + "expo-secure-store", + "expo-web-browser" ], "experiments": { "typedRoutes": true, @@ -26,7 +27,9 @@ "resizeMode": "contain", "backgroundColor": "#ffffff" }, - "assetBundlePatterns": ["**/*"], + "assetBundlePatterns": [ + "**/*" + ], "ios": { "supportsTablet": true, "bundleIdentifier": "com.amanvarshney01.mybettertapp" diff --git a/apps/cli/templates/frontend/native/app/+html.tsx b/apps/cli/templates/frontend/native/app/+html.tsx index 2fe2848..7dfb933 100644 --- a/apps/cli/templates/frontend/native/app/+html.tsx +++ b/apps/cli/templates/frontend/native/app/+html.tsx @@ -1,15 +1,16 @@ import { ScrollViewStyleReset } from 'expo-router/html'; +import { ReactNode } from 'react'; // This file is web-only and used to configure the root HTML for every // web page during static rendering. // The contents of this function only run in Node.js environments and // do not have access to the DOM or browser APIs. -export default function Root({ children }: { children: React.ReactNode }) { +export default function Root({ children }: { children: ReactNode }) { return ( - + {/* This viewport disables scaling which makes the mobile website act more like a native app. @@ -17,8 +18,8 @@ export default function Root({ children }: { children: React.ReactNode }) { */} {/* Disable body scrolling on web. This makes ScrollView components work closer to how they do on native. diff --git a/apps/cli/templates/frontend/native/app/_layout.tsx.hbs b/apps/cli/templates/frontend/native/app/_layout.tsx.hbs index 3bac15e..41b5e2f 100644 --- a/apps/cli/templates/frontend/native/app/_layout.tsx.hbs +++ b/apps/cli/templates/frontend/native/app/_layout.tsx.hbs @@ -35,7 +35,6 @@ const DARK_THEME: Theme = { }; export const unstable_settings = { - // Ensure that reloading on `/modal` keeps a back button present. initialRouteName: "(drawer)", }; @@ -56,7 +55,6 @@ export default function RootLayout() { } if (Platform.OS === "web") { - // Adds the background color to the html element to prevent white background on overscroll. document.documentElement.classList.add("bg-background"); } setAndroidNavigationBar(colorScheme); diff --git a/apps/cli/templates/frontend/native/babel.config.js b/apps/cli/templates/frontend/native/babel.config.js index ef804fc..41f1cc0 100644 --- a/apps/cli/templates/frontend/native/babel.config.js +++ b/apps/cli/templates/frontend/native/babel.config.js @@ -1,4 +1,4 @@ -module.exports = function (api) { +export default function (api) { api.cache(true); const plugins = []; @@ -6,7 +6,6 @@ module.exports = function (api) { return { presets: [['babel-preset-expo', { jsxImportSource: 'nativewind' }], 'nativewind/babel'], - plugins, }; }; diff --git a/apps/cli/templates/frontend/native/package.json b/apps/cli/templates/frontend/native/package.json index d6edcbf..b78bc3f 100644 --- a/apps/cli/templates/frontend/native/package.json +++ b/apps/cli/templates/frontend/native/package.json @@ -16,28 +16,28 @@ "@react-navigation/native": "^7.0.14", "@tanstack/react-form": "^1.0.5", "@tanstack/react-query": "^5.69.2", - "expo": "^52.0.44", - "expo-constants": "~17.0.8", - "expo-linking": "~7.0.5", - "expo-navigation-bar": "~4.0.8", - "expo-router": "~4.0.19", - "expo-secure-store": "~14.0.1", - "expo-status-bar": "~2.0.1", - "expo-system-ui": "~4.0.8", - "expo-web-browser": "~14.0.2", - "nativewind": "^4.1.23", - "react": "18.3.1", - "react-dom": "18.3.1", - "react-native": "0.76.9", - "react-native-gesture-handler": "~2.20.2", - "react-native-reanimated": "3.16.2", - "react-native-safe-area-context": "4.12.0", - "react-native-screens": "~4.4.0", - "react-native-web": "~0.19.13" + "expo": "^53.0.4", + "expo-constants": "~17.1.4", + "expo-linking": "~7.1.4", + "expo-navigation-bar": "~4.2.3", + "expo-router": "~5.0.3", + "expo-secure-store": "~14.2.3", + "expo-status-bar": "~2.2.3", + "expo-system-ui": "~5.0.6", + "expo-web-browser": "~14.1.6", + "nativewind": "latest", + "react": "19.0.0", + "react-dom": "19.0.0", + "react-native": "0.79.1", + "react-native-gesture-handler": "~2.24.0", + "react-native-reanimated": "~3.17.4", + "react-native-safe-area-context": "5.3.0", + "react-native-screens": "~4.10.0", + "react-native-web": "^0.20.0" }, "devDependencies": { "@babel/core": "^7.26.10", - "@types/react": "~18.3.12", + "@types/react": "~19.0.10", "tailwindcss": "^3.4.17", "typescript": "~5.8.2" }, diff --git a/apps/web/src/app/(home)/_components/Testimonials.tsx b/apps/web/src/app/(home)/_components/Testimonials.tsx index b5d7d44..79a008f 100644 --- a/apps/web/src/app/(home)/_components/Testimonials.tsx +++ b/apps/web/src/app/(home)/_components/Testimonials.tsx @@ -12,12 +12,15 @@ const TWEET_IDS = [ "1912836377365905496", "1907817662215757853", "1904228496144269699", + "1917815700980391964", + "1917640304758514093", "1912924558522524039", "1911490975173607495", "1913773945523953713", "1904241046898556970", "1913834145471672652", "1904144343125860404", + "1917610656477348229", "1904215768272654825", "1913833079342522779", "1907723601731530820", diff --git a/bun.lock b/bun.lock index 7166bd0..7786d21 100644 --- a/bun.lock +++ b/bun.lock @@ -14,7 +14,7 @@ }, "apps/cli": { "name": "create-better-t-stack", - "version": "2.2.4", + "version": "2.5.1", "bin": { "create-better-t-stack": "dist/index.js", },