Skip to content

Commit

Permalink
upgrade tamagui
Browse files Browse the repository at this point in the history
  • Loading branch information
natew committed Oct 8, 2024
1 parent 7c05ffb commit 3346037
Show file tree
Hide file tree
Showing 26 changed files with 1,125 additions and 1,127 deletions.
12 changes: 6 additions & 6 deletions examples/one-fullstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"dependencies": {
"@supabase/ssr": "0.4.0",
"@supabase/supabase-js": "^2.44.4",
"@tamagui/image-next": "^1.113.0",
"@tamagui/lucide-icons": "^1.113.0",
"@tamagui/mdx": "^1.113.0",
"@tamagui/one-theme": "^1.113.0",
"@tamagui/image-next": "^1.113.1",
"@tamagui/lucide-icons": "^1.113.1",
"@tamagui/mdx": "^1.113.1",
"@tamagui/one-theme": "^1.113.1",
"jsonwebtoken": "^9.0.2",
"mdx-bundler": "^10.0.2",
"one": "1.1.298",
Expand All @@ -30,12 +30,12 @@
"react-native-reanimated": "~3.10.1",
"react-native-svg": "15.2.0",
"swr": "^2.2.5",
"tamagui": "^1.113.0",
"tamagui": "^1.113.1",
"vite": "6.0.0-beta.1",
"vite-plugin-inspect": "^0.8.7"
},
"devDependencies": {
"@tamagui/vite-plugin": "^1.113.0",
"@tamagui/vite-plugin": "^1.113.1",
"h3": "1.11.1",
"supabase": "1.127.4"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/one-recommended/app/(feed)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function FeedPage() {
<PageContainer>
<ScrollView maxHeight="100%">
<RefreshControl refreshing={false} />
{feed.map((item) => (
{feed.slice(0, 1).map((item) => (
<FeedCard key={item.id} {...item} />
))}
</ScrollView>
Expand Down
10 changes: 4 additions & 6 deletions examples/one-recommended/app/(feed)/post/[id]+ssr.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { eq, sql } from 'drizzle-orm'
import { useLoader, useNavigation, useParams } from 'one'
import { useEffect } from 'react'
import { YStack } from 'tamagui'
import { useLoader, useNavigation, useParams } from 'one'
import { db } from '~/code/db/connection'
import { likes, posts, replies, reposts, users } from '~/code/db/schema'
import { FeedCard } from '~/code/feed/FeedCard'
import { PageContainer } from '~/code/ui/PageContainer'
import { db } from '~/code/db/connection'
import { posts, users, likes, replies, reposts } from '~/code/db/schema'
import { eq, sql } from 'drizzle-orm'

export async function loader({ params }) {
const id = params.id
Expand Down Expand Up @@ -68,8 +68,6 @@ export async function loader({ params }) {
}
}

export default () => <PostPage />

export function PostPage() {
const data = useLoader(loader)

Expand Down
2 changes: 1 addition & 1 deletion examples/one-recommended/code/feed/FeedCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const FeedCard = (props: FeedItem) => {
<Card tag="a">
<Image width={32} height={32} br={100} mt="$2" src={props.user.avatar} />
<YStack f={1} gap="$2">
<Paragraph size="$5" fow="bold">
<Paragraph debug="verbose" size="$5" fow="bold">
{props.user.name}
</Paragraph>

Expand Down
10 changes: 5 additions & 5 deletions examples/one-recommended/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^1.12.1",
"@tamagui/config": "^1.113.0",
"@tamagui/image-next": "^1.113.0",
"@tamagui/lucide-icons": "^1.113.0",
"@tamagui/config": "^1.113.1",
"@tamagui/image-next": "^1.113.1",
"@tamagui/lucide-icons": "^1.113.1",
"@vxrn/color-scheme": "1.1.298",
"better-sqlite3": "^11.2.1",
"dotenv": "^16.4.5",
Expand All @@ -43,12 +43,12 @@
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-web": "^0.19.12",
"tamagui": "^1.113.0"
"tamagui": "^1.113.1"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@faker-js/faker": "next",
"@tamagui/vite-plugin": "^1.113.0",
"@tamagui/vite-plugin": "^1.113.1",
"tsx": "^4.19.0",
"vite": "6.0.0-beta.1"
}
Expand Down
14 changes: 7 additions & 7 deletions examples/one-tamagui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"hoistingLimits": "workspaces"
},
"dependencies": {
"@tamagui/animations-moti": "^1.113.0",
"@tamagui/colors": "^1.113.0",
"@tamagui/image-next": "^1.113.0",
"@tamagui/lucide-icons": "^1.113.0",
"@tamagui/react-native-media-driver": "^1.113.0",
"@tamagui/animations-moti": "^1.113.1",
"@tamagui/colors": "^1.113.1",
"@tamagui/image-next": "^1.113.1",
"@tamagui/lucide-icons": "^1.113.1",
"@tamagui/react-native-media-driver": "^1.113.1",
"@vxrn/color-scheme": "1.1.298",
"expo": "~51.0.28",
"expo-modules-core": "^1.12.24",
Expand All @@ -33,11 +33,11 @@
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-web": "^0.19.12",
"tamagui": "^1.113.0"
"tamagui": "^1.113.1"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tamagui/vite-plugin": "^1.113.0",
"@tamagui/vite-plugin": "^1.113.1",
"vite": "6.0.0-beta.1"
}
}
12 changes: 6 additions & 6 deletions examples/one-zero/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^1.12.1",
"@tamagui/config": "^1.113.0",
"@tamagui/image-next": "^1.113.0",
"@tamagui/lucide-icons": "^1.113.0",
"@tamagui/vite-plugin": "^1.113.0",
"@tamagui/config": "^1.113.1",
"@tamagui/image-next": "^1.113.1",
"@tamagui/lucide-icons": "^1.113.1",
"@tamagui/vite-plugin": "^1.113.1",
"@vxrn/color-scheme": "1.1.298",
"better-sqlite3": "^11.2.1",
"dotenv": "^16.4.5",
Expand All @@ -42,12 +42,12 @@
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-web": "^0.19.12",
"tamagui": "^1.113.0"
"tamagui": "^1.113.1"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@faker-js/faker": "next",
"@tamagui/vite-plugin": "^1.113.0",
"@tamagui/vite-plugin": "^1.113.1",
"tsx": "^4.19.0",
"vite": "6.0.0-alpha.18"
}
Expand Down
10 changes: 5 additions & 5 deletions examples/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^1.12.1",
"@tamagui/config": "^1.113.0",
"@tamagui/image-next": "^1.113.0",
"@tamagui/lucide-icons": "^1.113.0",
"@tamagui/vite-plugin": "^1.113.0",
"@tamagui/config": "^1.113.1",
"@tamagui/image-next": "^1.113.1",
"@tamagui/lucide-icons": "^1.113.1",
"@tamagui/vite-plugin": "^1.113.1",
"@vercel/og": "^0.6.3",
"@vxrn/color-scheme": "1.1.298",
"better-sqlite3": "^11.2.1",
Expand All @@ -37,7 +37,7 @@
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-web": "^0.19.12",
"tamagui": "^1.113.0"
"tamagui": "^1.113.1"
},
"devDependencies": {
"@faker-js/faker": "next",
Expand Down
4 changes: 2 additions & 2 deletions examples/weird-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"dependencies": {
"@react-native-masked-view/masked-view": "^0.3.1",
"@sentry/react-native": "^5.30.0",
"@tamagui/config": "^1.113.0",
"@tamagui/config": "^1.113.1",
"moti": "^0.29.0",
"one": "1.1.298",
"react": "^18.3.1",
"react-native": "0.74.1",
"react-native-reanimated": "~3.10.1",
"react-native-svg": "15.2.0",
"react-native-webview": "^13.11.1",
"tamagui": "^1.113.0",
"tamagui": "^1.113.1",
"uuid": "9.0.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/color-scheme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"clean:build": "tamagui-build clean:build"
},
"dependencies": {
"@tamagui/use-did-finish-ssr": "^1.113.0",
"@tamagui/use-did-finish-ssr": "^1.113.1",
"@vxrn/universal-color-scheme": "1.1.298",
"@vxrn/use-isomorphic-layout-effect": "1.1.298"
},
"devDependencies": {
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"react": "^18.2.0 || ^19.0.0",
"react-native": "0.74.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vxrn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
},
"dependencies": {
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"@types/validate-npm-package-name": "^4.0.2",
"ansis": "^3.1.0",
"async-retry": "1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/drizzle-to-zero/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"drizzle-orm": "*"
},
"devDependencies": {
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"vitest": "^2.1.1"
},
"publishConfig": {
Expand Down
10 changes: 5 additions & 5 deletions packages/one-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"serve": "one serve"
},
"dependencies": {
"@tamagui/config": "^1.113.0",
"@tamagui/image-next": "^1.113.0",
"@tamagui/lucide-icons": "^1.113.0",
"@tamagui/vite-plugin": "^1.113.0",
"@tamagui/config": "^1.113.1",
"@tamagui/image-next": "^1.113.1",
"@tamagui/lucide-icons": "^1.113.1",
"@tamagui/vite-plugin": "^1.113.1",
"@vxrn/color-scheme": "1.1.298",
"one": "1.1.298",
"react": "^18.3.1",
Expand All @@ -25,7 +25,7 @@
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-web": "^0.19.12",
"tamagui": "^1.113.0"
"tamagui": "^1.113.1"
},
"devDependencies": {
"@tauri-apps/cli": "^1",
Expand Down
2 changes: 1 addition & 1 deletion packages/one/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"react-native": "*"
},
"devDependencies": {
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"@types/node": "^22.1.0",
"@types/react-dom": "^18.2.25",
"@types/url-parse": "^1.4.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/query-string/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"query-string": "^9.1.0"
},
"devDependencies": {
"@tamagui/build": "^1.113.0"
"@tamagui/build": "^1.113.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-prebuilt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"dependencies": {
"@vxrn/vite-flow": "1.1.298",
"@vxrn/vite-native-hmr": "1.1.298",
"esbuild": "^0.23.1",
"esbuild": "^0.24.0",
"fs-extra": "^11.2.0",
"import-meta-resolve": "^4.1.0"
},
"devDependencies": {
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0",
"react-native": "0.74.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/safe-area/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tamagui/build": "^1.113.0"
"@tamagui/build": "^1.113.1"
}
}
2 changes: 1 addition & 1 deletion packages/universal-color-scheme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"react-native": "*"
},
"devDependencies": {
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"react-native": "0.74.1"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/url-parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url-parse": "^1.5.10"
},
"devDependencies": {
"@tamagui/build": "^1.113.0"
"@tamagui/build": "^1.113.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/use-isomorphic-layout-effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"react": "^18.2.0 || ^19.0.0"
},
"devDependencies": {
"@tamagui/build": "^1.113.0"
"@tamagui/build": "^1.113.1"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"vite": "6.0.0-beta.1"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-native-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"react-native": "0.74.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-native-hmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"pretty-format": "^28.1.0"
},
"devDependencies": {
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"react-native": "0.74.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-native-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"react-native": "0.74.1"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/vxrn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@expo/config-plugins": "^8.0.8",
"@hono/node-server": "^1.12.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@tamagui/react-native-svg": "^1.113.0",
"@tamagui/react-native-svg": "^1.113.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vxrn/query-string": "1.1.298",
"@vxrn/react-native-prebuilt": "1.1.298",
Expand All @@ -60,7 +60,7 @@
"dotenv": "^16.4.5",
"env-editor": "^1.1.0",
"es-module-lexer": "^1.3.0",
"esbuild": "^0.23.1",
"esbuild": "^0.24.0",
"fast-glob": "^3.2.11",
"find-node-modules": "^2.1.3",
"fs-extra": "^11.2.0",
Expand All @@ -83,7 +83,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tamagui/build": "^1.113.0",
"@tamagui/build": "^1.113.1",
"@types/find-node-modules": "^2.1.2",
"@types/node": "^22.1.0",
"@types/qrcode-terminal": "^0",
Expand Down
Loading

0 comments on commit 3346037

Please sign in to comment.