Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
harrytran998 committed Jul 1, 2024
1 parent 33ea6d6 commit c9e981d
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 57 deletions.
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@techmely/usage-limit": "2.0.2",
"@techmely/utils": "^3.2.0",
"jose": "5.6.2",
"hono": "^4.4.9",
"hono": "^4.4.10",
"kysely": "0.27.3",
"pg": "^8.12.0",
"nanoid": "^5.0.7",
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function Index() {
alignItems: "center",
}}
>
<Text>Trung Yusaki</Text>
<Text>Trung Yusaki an cut</Text>
</View>
);
}
25 changes: 13 additions & 12 deletions apps/mobile/components/Collapsible.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
import Ionicons from '@expo/vector-icons/Ionicons';
import { PropsWithChildren, useState } from 'react';
import { StyleSheet, TouchableOpacity, useColorScheme } from 'react-native';
import Ionicons from "@expo/vector-icons/Ionicons";
import { type PropsWithChildren, useState } from "react";
import { StyleSheet, TouchableOpacity, useColorScheme } from "react-native";

import { ThemedText } from '@/components/ThemedText';
import { ThemedView } from '@/components/ThemedView';
import { Colors } from '@/constants/Colors';
import { ThemedText } from "@/components/ThemedText";
import { ThemedView } from "@/components/ThemedView";
import { Colors } from "@/constants/Colors";

export function Collapsible({ children, title }: PropsWithChildren & { title: string }) {
const [isOpen, setIsOpen] = useState(false);
const theme = useColorScheme() ?? 'light';
const theme = useColorScheme() ?? "light";

return (
<ThemedView>
<TouchableOpacity
style={styles.heading}
onPress={() => setIsOpen((value) => !value)}
activeOpacity={0.8}>
activeOpacity={0.8}
>
<Ionicons
name={isOpen ? 'chevron-down' : 'chevron-forward-outline'}
name={isOpen ? "chevron-down" : "chevron-forward-outline"}
size={18}
color={theme === 'light' ? Colors.light.icon : Colors.dark.icon}
color={theme === "light" ? Colors.light.icon : Colors.dark.icon}
/>
<ThemedText type="defaultSemiBold">{title}</ThemedText>
</TouchableOpacity>
Expand All @@ -30,8 +31,8 @@ export function Collapsible({ children, title }: PropsWithChildren & { title: st

const styles = StyleSheet.create({
heading: {
flexDirection: 'row',
alignItems: 'center',
flexDirection: "row",
alignItems: "center",
gap: 6,
},
content: {
Expand Down
12 changes: 6 additions & 6 deletions apps/mobile/components/ExternalLink.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Link } from 'expo-router';
import { openBrowserAsync } from 'expo-web-browser';
import { type ComponentProps } from 'react';
import { Platform } from 'react-native';
import { Link } from "expo-router";
import { openBrowserAsync } from "expo-web-browser";
import type { ComponentProps } from "react";
import { Platform } from "react-native";

type Props = Omit<ComponentProps<typeof Link>, 'href'> & { href: string };
type Props = Omit<ComponentProps<typeof Link>, "href"> & { href: string };

export function ExternalLink({ href, ...rest }: Props) {
return (
Expand All @@ -12,7 +12,7 @@ export function ExternalLink({ href, ...rest }: Props) {
{...rest}
href={href}
onPress={async (event) => {
if (Platform.OS !== 'web') {
if (Platform.OS !== "web") {
// Prevent the default behavior of linking to the default browser on native.
event.preventDefault();
// Open the link in an in-app browser.
Expand Down
6 changes: 3 additions & 3 deletions apps/mobile/components/ThemedView.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { View, type ViewProps } from 'react-native';
import { View, type ViewProps } from "react-native";

import { useThemeColor } from '@/hooks/useThemeColor';
import { useThemeColor } from "@/hooks/useThemeColor";

export type ThemedViewProps = ViewProps & {
lightColor?: string;
darkColor?: string;
};

export function ThemedView({ style, lightColor, darkColor, ...otherProps }: ThemedViewProps) {
const backgroundColor = useThemeColor({ light: lightColor, dark: darkColor }, 'background');
const backgroundColor = useThemeColor({ light: lightColor, dark: darkColor }, "background");

return <View style={[{ backgroundColor }, style]} {...otherProps} />;
}
30 changes: 15 additions & 15 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,35 @@
"lint": "expo lint"
},
"dependencies": {
"@babel/runtime": "^7.24.6",
"@expo/config-plugins": "~8.0.4",
"@babel/runtime": "^7.24.7",
"@expo/config-plugins": "~8.0.6",
"babel-plugin-module-resolver": "^5.0.2",
"burnt": "^0.12.2",
"expo": "^51.0.9",
"expo": "^51.0.17",
"expo-constants": "~16.0.2",
"expo-dev-client": "~4.0.15",
"expo-font": "~12.0.6",
"expo-dev-client": "~4.0.19",
"expo-font": "~12.0.7",
"expo-linear-gradient": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-router": "3.5.15",
"expo-splash-screen": "0.27.4",
"expo-router": "3.5.17",
"expo-splash-screen": "0.27.5",
"expo-status-bar": "~1.12.1",
"expo-updates": "~0.25.15",
"expo-updates": "~0.25.18",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-native": "0.74.2",
"react-native-gesture-handler": "~2.16.2",
"react-native-safe-area-context": "4.10.4",
"react-native-screens": "~3.31.1",
"react-native-gesture-handler": "~2.17.1",
"react-native-safe-area-context": "4.10.7",
"react-native-screens": "~3.32.0",
"react-native-svg": "15.3.0",
"react-native-web": "~0.19.12"
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@expo/metro-config": "~0.18.4",
"@tamagui/babel-plugin": "^1.101.4",
"@babel/core": "^7.24.7",
"@expo/metro-config": "~0.18.8",
"@tamagui/babel-plugin": "^1.101.5",
"metro-minify-terser": "^0.80.9",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
},
"trustedDependencies": ["@sentry/cli"],
"resolutions": {
Expand Down
20 changes: 10 additions & 10 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"@lukemorales/query-key-factory": "1.3.4",
"@sentry/browser": "8.13.0",
"@stripe/stripe-js": "4.0.0",
"@tanstack/query-persist-client-core": "5.48.0",
"@tanstack/query-sync-storage-persister": "5.48.0",
"@tanstack/react-query": "5.48.0",
"@tanstack/react-query-devtools": "5.48.0",
"@tanstack/react-table": "8.17.3",
"@tanstack/query-persist-client-core": "5.49.1",
"@tanstack/query-sync-storage-persister": "5.49.1",
"@tanstack/react-query": "5.49.2",
"@tanstack/react-query-devtools": "5.49.2",
"@tanstack/react-table": "8.19.2",
"@techmely/cache": "1.0.9",
"@techmely/design-system": "workspace:*",
"@techmely/hono": "workspace:*",
Expand All @@ -38,7 +38,7 @@
"framer-motion": "11.2.12",
"fuse.js": "7.0.0",
"gsap": "3.12.5",
"hono": "^4.4.9",
"hono": "^4.4.10",
"valibot": "^0.35.0",
"jose": "5.6.2",
"kysely": "0.27.3",
Expand Down Expand Up @@ -82,19 +82,19 @@
"dotenv": "16.4.5",
"fast-glob": "3.3.2",
"fontaine": "0.5.0",
"postcss": "8.4.38",
"postcss": "8.4.39",
"scss": "0.2.4",
"tailwindcss": "3.4.4",
"ts-essentials": "10.0.1",
"ts-node": "10.9.2",
"tsx": "4.15.9",
"typescript": "^5.4.5",
"tsx": "4.16.0",
"typescript": "^5.5.2",
"unocss": "0.61.0",
"unocss-preset-scrollbar": "0.3.1",
"unplugin-auto-import": "0.17.6",
"vike": "0.4.177",
"vite": "5.3.2",
"vite-plugin-compression2": "1.1.1",
"vite-plugin-compression2": "1.1.2",
"vite-plugin-pwa": "0.20.0"
}
}
Binary file modified bun.lockb
Binary file not shown.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.6",
"@changesets/cli": "2.27.7",
"@cucumber/cucumber": "10.8.0",
"@deploysentinel/playwright": "0.3.4",
"@playwright/test": "^1.45.0",
Expand All @@ -22,12 +22,12 @@
"@vitest/coverage-v8": "1.6.0",
"app-root-path": "^3.1.0",
"concurrently": "8.2.2",
"dependency-cruiser": "16.3.3",
"dependency-cruiser": "16.3.5",
"dotenv": "16.4.5",
"fast-glob": "3.3.2",
"fs-extra": "11.2.0",
"happy-dom": "14.12.3",
"knip": "5.23.1",
"knip": "5.23.3",
"linkinator": "6.0.6",
"madge": "7.0.0",
"multiple-cucumber-html-reporter": "3.6.2",
Expand All @@ -40,8 +40,8 @@
"tsarch": "5.4.0",
"tslib": "2.6.3",
"tsup": "8.1.0",
"tsx": "4.15.9",
"typescript": "^5.4.5",
"tsx": "4.16.0",
"typescript": "^5.5.2",
"vite": "5.3.2",
"vitest": "1.6.0",
"vitest-axe": "^0.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"types": "dist/index.d.ts",
"files": ["dist", "README.md", "CHANGELOG.md"],
"dependencies": {
"@tamagui/toast": "^1.101.4",
"tamagui": "^1.101.4",
"@tamagui/toast": "^1.101.5",
"tamagui": "^1.101.5",
"clsx": "2.1.1"
},
"peerDependencies": {
Expand All @@ -26,7 +26,7 @@
"react-hook-form": "^7.52.0"
},
"devDependencies": {
"@tamagui/build": "^1.101.4",
"@tamagui/build": "^1.101.5",
"tsup": "8.1.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@techmely/auth": "^1.0.1",
"valibot": "^0.35.0",
"jose": "^5.6.2",
"hono": "^4.4.9",
"hono": "^4.4.10",
"toucan-js": "^3.4.0"
},
"peerDependenciesMeta": {},
Expand Down

0 comments on commit c9e981d

Please sign in to comment.