Compare commits
5 Commits
e0543f2a58
...
c7a982e508
Author | SHA1 | Date | |
---|---|---|---|
|
c7a982e508 | ||
|
4e815206c9 | ||
|
b8c1581f5a | ||
|
712c6fe11e | ||
|
8bd21a9a23 |
15
.github/workflows/default.yaml
vendored
15
.github/workflows/default.yaml
vendored
@ -51,10 +51,21 @@ jobs:
|
||||
- name: 🔄 Pull Git LFS files
|
||||
run: git lfs pull
|
||||
|
||||
- name: 🔧 Increase file descriptor limits
|
||||
run: |
|
||||
echo "Current file descriptor limits:"
|
||||
ulimit -n
|
||||
echo "Increasing file descriptor limits..."
|
||||
ulimit -n 65536
|
||||
echo "New file descriptor limits:"
|
||||
ulimit -n
|
||||
|
||||
- name: 🏗️ Build site
|
||||
run: |
|
||||
# Install dependencies, build, and generate site output
|
||||
pnpm i && pnpm build
|
||||
# Build with NODE_OPTIONS to increase memory limits and avoid watching files
|
||||
export NODE_OPTIONS="--max-old-space-size=4096 --no-warnings"
|
||||
# Astro-specific optimizations to avoid file watching
|
||||
pnpm i && NODE_ENV=production ASTRO_DISABLE_HMR=true pnpm build
|
||||
|
||||
- name: 🔑 Configure rclone
|
||||
run: |
|
||||
|
@ -38,6 +38,13 @@ export default defineConfig({
|
||||
compiler: 'svelte',
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
watch: {
|
||||
// Customize watch behavior to reduce file watchers
|
||||
ignored: ['**/node_modules/**', '**/dist/**', '**/.git/**'],
|
||||
usePolling: process.env.NODE_ENV === 'production',
|
||||
},
|
||||
},
|
||||
},
|
||||
markdown: {
|
||||
remarkPlugins: [setDefaultLayout]
|
||||
|
38
package.json
38
package.json
@ -11,32 +11,32 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.9.4",
|
||||
"@astrojs/mdx": "^4.0.8",
|
||||
"@astrojs/svelte": "^7.0.4",
|
||||
"@astrojs/tailwind": "^6.0.0",
|
||||
"astro": "^5.3.0",
|
||||
"@astrojs/mdx": "^4.2.6",
|
||||
"@astrojs/svelte": "^7.0.13",
|
||||
"@astrojs/tailwind": "^6.0.2",
|
||||
"astro": "^5.7.13",
|
||||
"astro-i18n-aut": "^0.7.3",
|
||||
"exifreader": "^4.26.1",
|
||||
"svelte": "^5.20.1",
|
||||
"svelte-gestures": "^5.1.3",
|
||||
"tailwindcss": "^4.0.6",
|
||||
"exifreader": "^4.30.1",
|
||||
"svelte": "^5.28.6",
|
||||
"svelte-gestures": "^5.1.4",
|
||||
"tailwindcss": "^4.1.6",
|
||||
"thumbhash": "^0.1.1",
|
||||
"typescript": "^5.7.3"
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/sitemap": "^3.2.1",
|
||||
"@iconify-json/tabler": "^1.2.16",
|
||||
"@astrojs/sitemap": "^3.4.0",
|
||||
"@iconify-json/tabler": "^1.2.17",
|
||||
"@types/markdown-it": "^14.1.2",
|
||||
"@unocss/preset-icons": "^65.5.0",
|
||||
"@unocss/reset": "^65.5.0",
|
||||
"astro-font": "^1.0.0",
|
||||
"@unocss/preset-icons": "^66.1.1",
|
||||
"@unocss/reset": "^66.1.1",
|
||||
"astro-font": "^1.1.0",
|
||||
"markdown-it": "^14.1.0",
|
||||
"ogl": "^1.0.11",
|
||||
"prettier": "^3.5.1",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"sharp": "^0.33.5",
|
||||
"unocss": "^65.5.0",
|
||||
"unplugin-icons": "^22.0.0",
|
||||
"vite-plugin-glsl": "^1.3.1"
|
||||
"sharp": "^0.34.1",
|
||||
"unocss": "^66.1.1",
|
||||
"unplugin-icons": "^22.1.0",
|
||||
"vite-plugin-glsl": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
2668
pnpm-lock.yaml
generated
2668
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -31,7 +31,14 @@ const link = translatePath(`/${collection}/${id.split("/")[0]}`);
|
||||
classes={`grid gradient border-1 border-neutral overflow-hidden ${cover ? "grid-rows-[200px_1fr] xs:grid-rows-none xs:grid-cols-[1fr_200px]" : ""}`}>
|
||||
<Card.Content classes="px-8 py-7 order-last xs:order-first">
|
||||
<Card.Title classes="text-4xl flex items-center gap-2">
|
||||
{icon && <img src={icon} class="h-6 w-6" />}
|
||||
{
|
||||
icon &&
|
||||
(
|
||||
icon?.length > 5
|
||||
? <img class="h-6 w-6" src={icon} />
|
||||
: <span class="p-r-4 text-md">{icon}</span>
|
||||
)
|
||||
}
|
||||
{title}
|
||||
</Card.Title>
|
||||
<Card.Description>
|
||||
|
@ -1,10 +1,10 @@
|
||||
// uno.config.ts
|
||||
import { defineConfig, presetUno } from 'unocss'
|
||||
import { defineConfig, presetWind3 } from 'unocss'
|
||||
import presetIcons from '@unocss/preset-icons'
|
||||
|
||||
export default defineConfig({
|
||||
presets: [
|
||||
presetUno(),
|
||||
presetWind3(),
|
||||
presetIcons(),
|
||||
],
|
||||
shortcuts: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user