chore: update packages version

This commit is contained in:
dependabot[bot] 2025-02-03 19:04:46 +00:00 committed by Guoqi Sun
parent 8717b53ba8
commit 3c3a8cf887
8 changed files with 1765 additions and 32 deletions

View file

@ -1,8 +1,9 @@
{
"biome.enabled": false,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[astro]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "astro-build.astro-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",

View file

@ -1,9 +1,9 @@
import mdx from "@astrojs/mdx"
import react from "@astrojs/react"
import sitemap from "@astrojs/sitemap"
import tailwind from "@astrojs/tailwind"
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections"
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers"
import tailwindcss from "@tailwindcss/vite"
import expressiveCode from "astro-expressive-code"
import { defineConfig } from "astro/config"
@ -15,13 +15,10 @@ export default defineConfig({
prefetch: true,
site: "https://astro-air.guoqi.dev",
vite: {
worker: {
plugins: () => [],
},
plugins: [tailwindcss()],
},
integrations: [
react(),
tailwind(),
sitemap(),
expressiveCode({
plugins: [pluginCollapsibleSections(), pluginLineNumbers()],

1726
bun.lock Normal file

File diff suppressed because it is too large Load diff

BIN
bun.lockb

Binary file not shown.

View file

@ -11,41 +11,41 @@
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.3",
"@astrojs/react": "^4.1.2",
"@astrojs/rss": "^4.0.10",
"@astrojs/mdx": "^4.0.7",
"@astrojs/react": "^4.2.0",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/tailwind": "^5.1.4",
"@expressive-code/plugin-collapsible-sections": "^0.40.0",
"@expressive-code/plugin-line-numbers": "^0.40.0",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"astro": "^5.1.1",
"astro-expressive-code": "^0.40.0",
"@expressive-code/plugin-collapsible-sections": "^0.40.1",
"@expressive-code/plugin-line-numbers": "^0.40.1",
"@tailwindcss/vite": "^4.0.3",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"astro": "^5.2.3",
"astro-expressive-code": "^0.40.1",
"astro-google-analytics": "^1.0.3",
"astro-og-canvas": "^0.5.5",
"astro-og-canvas": "^0.5.6",
"astro-robots-txt": "^1.0.0",
"canvaskit-wasm": "^0.39.1",
"lefthook": "^1.10.1",
"lucide-react": "^0.471.1",
"lefthook": "^1.10.10",
"lucide-react": "^0.474.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwindcss": "^3.4.17",
"twikoo": "^1.6.40",
"typescript": "^5.7.2"
"tailwindcss": "^4.0.3",
"twikoo": "^1.6.41",
"typescript": "^5.7.3"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.15",
"@tailwindcss/typography": "^0.5.16",
"@types/dom-view-transitions": "^1.0.5",
"@types/node": "^22.10.3",
"@types/node": "^22.13.1",
"@types/sanitize-html": "^2.13.0",
"@typescript-eslint/parser": "^8.19.0",
"eslint": "^9.17.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint": "^9.19.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.9",
"sass": "^1.83.0"
"prettier-plugin-tailwindcss": "^0.6.11",
"sass": "^1.83.4"
}
}

View file

@ -79,9 +79,9 @@ const config = lang === "zh" ? zh : en
</script>
<script
defer
is:inline
src="https://umami.guoqi.dev/script.js"
data-website-id="3cd55e92-cb53-4254-a97d-24441b08d7c3"
data-website-id="759e9e56-20d3-463b-8d6e-abba5c53128b"
data-domains="astro-air.guoqi.dev"></script>
{
@ -92,7 +92,7 @@ const config = lang === "zh" ? zh : en
<ClientRouter />
</head>
<body
class="flex min-h-screen w-full justify-center px-6 dark:bg-[#121212] dark:text-white md:px-0"
class="flex min-h-screen w-full justify-center px-6 md:px-0 dark:bg-[#121212] dark:text-white"
>
<slot />
<NoiseBackground />

View file

@ -1,3 +1,5 @@
@import "tailwindcss";
/* Theme toggle effect */
/* https://theme-toggle.rdsx.dev/ */
/* https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API */

View file

@ -1,5 +1,12 @@
article code {
@apply rounded bg-orange-500/50 px-1 dark:bg-orange-500/80;
border-radius: 0.25rem;
background-color: rgba(249, 115, 22, 0.5);
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.dark article code {
background-color: rgba(249, 115, 22, 0.8);
}
article code::before,