Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Upgrade tamagui
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvicenti committed Oct 20, 2023
1 parent 3970008 commit 26cd193
Show file tree
Hide file tree
Showing 12 changed files with 971 additions and 1,691 deletions.
6 changes: 3 additions & 3 deletions frontend/apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@electron-forge/shared-types": "6.4.2",
"@mintter/prettier": "*",
"@playwright/test": "1.37.1",
"@tamagui/vite-plugin": "1.69.3",
"@tamagui/vite-plugin": "1.74.21",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"@vitejs/plugin-react": "4.0.4",
Expand All @@ -65,8 +65,8 @@
"eslint-config-custom": "*",
"react-devtools": "4.28.0",
"react-error-boundary": "4.0.11",
"react-native-web-lite": "1.69.3",
"tamagui": "1.69.3",
"react-native-web-lite": "1.74.21",
"tamagui": "1.74.21",
"vite": "4.4.9",
"vite-tsconfig-paths": "4.2.0",
"xvfb-maybe": "0.2.1"
Expand Down
4 changes: 4 additions & 0 deletions frontend/apps/desktop/tamagui.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ type Conf = typeof config

declare module 'tamagui' {
interface TamaguiCustomConfig extends Conf {}

interface TypeOverride {
groupNames(): 'header' | 'item'
}
}

export default config
10 changes: 5 additions & 5 deletions frontend/apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"@mintter/shared": "*",
"@mintter/ui": "*",
"@sentry/nextjs": "latest",
"@tamagui/lucide-icons": "1.69.3",
"@tamagui/next-theme": "1.69.3",
"@tamagui/lucide-icons": "1.74.21",
"@tamagui/next-theme": "1.74.21",
"@tanstack/react-query": "4.33.0",
"@trpc/client": "10.40.0",
"@trpc/next": "10.40.0",
Expand All @@ -42,19 +42,19 @@
"react-dom": "18.2.0",
"react-hot-toast": "2.4.1",
"react-native-web": "~0.19.6",
"react-native-web-lite": "1.69.3",
"react-native-web-lite": "1.74.21",
"react-qr-code": "2.0.11",
"satori": "^0.10.9",
"shiki-es": "0.2.0",
"svg2img": "^1.0.0-beta.2",
"tamagui": "1.69.3",
"tamagui": "1.74.21",
"typescript": "5.1.6",
"unist-util-visit": "4.1.2",
"zod": "3.22.2"
},
"devDependencies": {
"@mintter/prettier": "*",
"@tamagui/next-plugin": "1.69.3",
"@tamagui/next-plugin": "1.74.21",
"@tanstack/react-query-devtools": "4.33.0",
"@types/node": "^20.6.5",
"@types/react": "18.2.20",
Expand Down
4 changes: 4 additions & 0 deletions frontend/apps/site/tamagui.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ type Conf = typeof config

declare module 'tamagui' {
interface TamaguiCustomConfig extends Conf {}

interface TypeOverride {
groupNames(): 'header' | 'item'
}
}

export default config
4 changes: 4 additions & 0 deletions frontend/apps/storybook/tamagui.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ export type Conf = typeof config;

declare module "tamagui" {
interface TamaguiCustomConfig extends Conf {}

interface TypeOverride {
groupNames(): "header" | "item";
}
}
export default config;
4 changes: 2 additions & 2 deletions frontend/packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@mintter/shared": "*",
"@mintter/ui": "*",
"@radix-ui/react-dropdown-menu": "2.0.5",
"@tamagui/lucide-icons": "1.69.3",
"@tamagui/lucide-icons": "1.74.21",
"@tanstack/react-query": "4.33.0",
"@tanstack/react-query-devtools": "4.33.0",
"@tiptap/core": "2.0.3",
Expand All @@ -42,7 +42,7 @@
"devDependencies": {
"@mintter/prettier": "*",
"@radix-ui/react-navigation-menu": "1.1.3",
"@tamagui/vite-plugin": "1.69.3",
"@tamagui/vite-plugin": "1.74.21",
"@types/node": "^20.6.5",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
Expand Down
4 changes: 4 additions & 0 deletions frontend/packages/app/tamagui.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ export type Conf = typeof config

declare module 'tamagui' {
interface TamaguiCustomConfig extends Conf {}

interface TypeOverride {
groupNames(): 'header' | 'item'
}
}

export default config
2 changes: 1 addition & 1 deletion frontend/packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@mintter/ui": "*",
"@radix-ui/colors": "0.1.9",
"@sentry/tracing": "7.49.0",
"@tamagui/lucide-icons": "1.69.3",
"@tamagui/lucide-icons": "1.74.21",
"@tippyjs/react": "4.2.6",
"@tiptap/core": "2.0.3",
"@tiptap/extension-bold": "2.0.3",
Expand Down
32 changes: 16 additions & 16 deletions frontend/packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@
"dependencies": {
"@hookform/resolvers": "3.3.1",
"@mintter/shared": "*",
"@tamagui/animations-moti": "1.69.3",
"@tamagui/animations-react-native": "1.69.3",
"@tamagui/cli": "1.69.3",
"@tamagui/config": "1.69.3",
"@tamagui/create-theme": "1.69.3",
"@tamagui/font-inter": "1.69.3",
"@tamagui/helpers-icon": "1.69.3",
"@tamagui/lucide-icons": "1.69.3",
"@tamagui/react-native-media-driver": "1.69.3",
"@tamagui/shorthands": "1.69.3",
"@tamagui/theme-builder": "1.69.3",
"@tamagui/themes": "1.69.3",
"@tamagui/toast": "1.69.3",
"@tamagui/web": "1.69.3",
"tamagui": "1.69.3"
"@tamagui/animations-moti": "1.74.21",
"@tamagui/animations-react-native": "1.74.21",
"@tamagui/cli": "1.74.21",
"@tamagui/config": "1.74.21",
"@tamagui/create-theme": "1.74.21",
"@tamagui/font-inter": "1.74.21",
"@tamagui/helpers-icon": "1.74.21",
"@tamagui/lucide-icons": "1.74.21",
"@tamagui/react-native-media-driver": "1.74.21",
"@tamagui/shorthands": "1.74.21",
"@tamagui/theme-builder": "1.74.21",
"@tamagui/themes": "1.74.21",
"@tamagui/toast": "1.74.21",
"@tamagui/web": "1.74.21",
"tamagui": "1.74.21"
},
"devDependencies": {
"@mintter/prettier": "*",
"@tamagui/build": "1.69.3",
"@tamagui/build": "1.74.21",
"eslint-config-custom": "*"
}
}
4 changes: 4 additions & 0 deletions frontend/packages/ui/src/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export type Conf = typeof config

declare module 'tamagui' {
interface TamaguiCustomConfig extends Conf {}

interface TypeOverride {
groupNames(): 'header' | 'item'
}
}

export default config
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@connectrpc/protoc-gen-connect-es": "^1.1.2",
"@manypkg/cli": "0.19.2",
"@nderscore/tamagui-typescript-plugin": "0.5.4",
"@tamagui/cli": "1.69.3",
"@tamagui/cli": "1.74.21",
"check-dependency-version-consistency": "4.1.0",
"cross-env": "7.0.3",
"electron-squirrel-startup": "1.0.0",
Expand All @@ -56,7 +56,7 @@
"prettier": "3.0.2",
"sort-package-json": "2.5.1",
"superjson": "^1.13.3",
"tamagui": "1.69.3",
"tamagui": "1.74.21",
"ts-node": "10.9.1",
"turbo": "1.10.14",
"typescript": "5.1.6"
Expand Down
Loading

0 comments on commit 26cd193

Please sign in to comment.