updated dependencies

This commit is contained in:
liyunze 2026-08-03 19:30:32 +10:00
parent 235a764bff
commit 36f6572cea
5 changed files with 421 additions and 263 deletions

View file

@ -10,20 +10,20 @@ import react from "@astrojs/react";
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
integrations: [mdx(), svelte(), react()], integrations: [mdx(), svelte({ extensions: [".svelte"] }), react()],
server: { server: {
port: 8008, port: 8008,
hostname: "RythonDev", hostname: "RythonDev",
}, },
site: "https://rython.dev", site: "https://rython.dev",
vite: { vite: {
plugins: [tailwindcss()], plugins: [tailwindcss()],
}, },
image: { image: {
service: passthroughImageService(), service: passthroughImageService(),
}, },
}); });

639
bun.lock

File diff suppressed because it is too large Load diff

View file

@ -10,14 +10,14 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/mdx": "4.3.13", "@astrojs/mdx": "7.0.5",
"@astrojs/react": "4.4.2", "@astrojs/react": "6.0.2",
"@astrojs/svelte": "7.2.5", "@astrojs/svelte": "^9.0.1",
"@radix-ui/react-tabs": "^1.1.13", "@radix-ui/react-tabs": "^1.1.13",
"@tailwindcss/vite": "^4.1.8", "@tailwindcss/vite": "^4.1.8",
"@types/react": "^19.1.9", "@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7", "@types/react-dom": "^19.1.7",
"astro": "5.16.8", "astro": "7.1.6",
"caniuse-lite": "^1.0.30001698", "caniuse-lite": "^1.0.30001698",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"hamburger-react": "^2.5.2", "hamburger-react": "^2.5.2",
@ -26,10 +26,10 @@
"motion": "^12.23.12", "motion": "^12.23.12",
"react": "^19.1.1", "react": "^19.1.1",
"react-dom": "^19.1.1", "react-dom": "^19.1.1",
"svelte": "^5.33.16", "svelte": "^5.56.8",
"tailwind-merge": "^3.3.1", "tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.8", "tailwindcss": "^4.1.8",
"typescript": "^5.8.3" "typescript": "^6.0.3"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^3.5.3", "prettier": "^3.5.3",

View file

@ -21,7 +21,7 @@
tags = [], tags = [],
}: Props = $props(); }: Props = $props();
const positionLeft = position == "left"; const positionLeft: boolean = $state(position == "left");
onMount(() => { onMount(() => {
const videos = document.querySelectorAll<HTMLVideoElement>(".playable"); const videos = document.querySelectorAll<HTMLVideoElement>(".playable");

View file

@ -3,9 +3,10 @@
"compilerOptions": { "compilerOptions": {
"jsx": "react-jsx", "jsx": "react-jsx",
"jsxImportSource": "react", "jsxImportSource": "react",
"baseUrl": "./",
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": [
"./src/*"
]
} }
} }
} }