From e586de18907565f37a672308f5effcea2853bf1d Mon Sep 17 00:00:00 2001 From: Pavel <14926950+prichodko@users.noreply.github.com> Date: Tue, 11 Apr 2023 20:52:18 +0200 Subject: [PATCH] Upgrade TypeScript, Vite, Storybook, Tamagui (#373) * upgrade deps * update storybook configs * add required tamagui token :/ --- apps/desktop/package.json | 8 +- apps/mobile/package.json | 4 +- apps/web/index.html | 2 +- apps/web/package.json | 10 +- package.json | 30 +- packages/components/.storybook/main.ts | 9 +- packages/components/.storybook/preview.tsx | 43 +- packages/components/package.json | 42 +- packages/components/src/tamagui.config.ts | 2 + packages/components/tsconfig.json | 2 +- packages/components/vite.config.ts | 6 +- yarn.lock | 4111 +++++++++++--------- 12 files changed, 2250 insertions(+), 2019 deletions(-) diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 74a60a5d..52fd014e 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -17,11 +17,11 @@ }, "devDependencies": { "@tauri-apps/cli": "^1.2.2", - "@types/node": "^18.15.2", - "@types/react": "^18.0.28", + "@types/node": "^18.15.11", + "@types/react": "^18.0.33", "@types/react-dom": "^18.0.11", "@vitejs/plugin-react": "^3.1.0", - "typescript": "^4.9.5", - "vite": "^4.1.4" + "typescript": "^5.0.3", + "vite": "^4.2.1" } } diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 5708d41c..54966df6 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -34,10 +34,10 @@ "devDependencies": { "@babel/core": "^7.17.9", "@expo/metro-config": "^0.3.21", - "@tamagui/babel-plugin": "1.7.7", + "@tamagui/babel-plugin": "1.11.1", "@types/react-native": "~0.70.6", "babel-plugin-module-resolver": "^4.1.0", "babel-plugin-transform-inline-environment-variables": "^0.4.4", - "typescript": "^4.9.5" + "typescript": "^5.0.3" } } diff --git a/apps/web/index.html b/apps/web/index.html index 29366175..22553ce0 100644 --- a/apps/web/index.html +++ b/apps/web/index.html @@ -12,6 +12,6 @@
- +