Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
enable-beta-ecosystems: true # support bun
updates:
- package-ecosystem: "npm"
directory: "."
schedule:
interval: "weekly"
timezone: "Asia/Tokyo"
target-branch: "main"
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.2.4"
bun-version: 1.2.5
- run: bun install --frozen-lockfile
- run: bun check
typos:
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.2.4"
bun-version: 1.2.5
- run: bun install --frozen-lockfile
- uses: actions/cache@v4
with:
Expand Down
142 changes: 55 additions & 87 deletions bun.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"homepage": "https://utcode.net",
"description": "website of ut.code();, version 3",
"private": true,
"version": "3.1.1",
"version": "3.1.2",
"keywords": [
"astro",
"ut.code();"
Expand All @@ -15,40 +15,41 @@
"dev": "astro dev",
"check": "bun check:only && bun format:check",
"check:only": "astro check",
"fix": "bun format",
"format": "biome check . --fix --unsafe && bun prettier . --write",
"format:check": "biome check . && bun prettier --check .",
"format:staged": "biome check . --fix && bun prettier --write",
"build": "astro build",
"preview": "astro preview"
},
"dependencies": {
"@astrojs/mdx": "^4.1.0",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/svelte": "^7.0.6",
"@astrojs/mdx": "^4.2.2",
"@astrojs/sitemap": "^3.3.0",
"@astrojs/svelte": "^7.0.8",
"@date-fns/tz": "^1.2.0",
"@iconify-json/feather": "^1.2.1",
"@tailwindcss/typography": "^0.5.16",
"astro": "^5.4.2",
"astro": "^5.5.5",
"astro-icon": "^1.1.5",
"bits-ui": "^1.3.13",
"daisyui": "^5.0.4",
"daisyui": "^5.0.9",
"date-fns": "^4.1.0",
"markdown-to-txt": "^2.0.1",
"sharp": "^0.33.5",
"svelte": "^5.23.1"
"svelte": "^5.25.3"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@biomejs/biome": "^1.9.4",
"@tailwindcss/vite": "^4.0.12",
"@types/bun": "^1.2.4",
"lefthook": "^1.11.3",
"@tailwindcss/vite": "^4.0.17",
"@types/bun": "^1.2.6",
"lefthook": "^1.11.5",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.11",
"rollup-plugin-visualizer": "^5.14.0",
"tailwindcss": "^4.0.12",
"tailwindcss": "^4.0.17",
"typescript": "^5.8.2"
}
}
2 changes: 0 additions & 2 deletions src/components/ArticleList.astro
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ const articlesWithExcerpts = await Promise.all(
const imageWidth = baseW * (isFeatured ? 2 : 1);
const imageHeight = baseW * (3 / 5) * (isFeatured ? 2 : 1);

console.log(article.data.bg_color);

article.data.fit ??= "cover";
article.data.position ??= "center";

Expand Down