From 9a62f867f1655611b3406e48162bee2f46b56f9d Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 13 Mar 2026 01:34:02 -0500 Subject: [PATCH 1/5] ci: minor tweaks to args and env --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90178a5..1b9d42a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,10 @@ FROM ${REGISTRY}/bun:1.3.10-alpine3.22 AS runtime WORKDIR /app COPY --from=prod-deps /app/node_modules /app/node_modules COPY --from=build /app/dist /app/dist -COPY --from=builder /app/package.json ./ ARG APP_VERSION=latest -ARG APP_VERSION +ENV NODE_ENV=production ENV HOST=0.0.0.0 ENV PORT=4321 From 54c82a7f79a335f8dfbe41cbaed7e784a0d80aa7 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 13 Mar 2026 01:34:32 -0500 Subject: [PATCH 2/5] fix: function needing paranthensis --- src/components/sections/WeatherSection.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/sections/WeatherSection.astro b/src/components/sections/WeatherSection.astro index 8f03b05..fb3bb2c 100644 --- a/src/components/sections/WeatherSection.astro +++ b/src/components/sections/WeatherSection.astro @@ -20,7 +20,7 @@ const { forecastDays, error } = await getFiveDayForecast(latitude, longitude, ti {error ? (
- Sorry, {error.toLowerCase} + Sorry, {error.toLowerCase()}
) : (
From 805cb281853edff06adaf4c62b7ae256a00bea3f Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 13 Mar 2026 01:35:14 -0500 Subject: [PATCH 3/5] feat: add scripts to clear and run from scratch --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 46f8ee3..ee46cda 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,10 @@ }, "scripts": { "dev": "astro dev", + "full-dev": "rm -rf dist node_modules .astro && bun install && astro build && astro dev", "build": "astro build", "preview": "astro preview", + "full-preview": "rm -rf dist node_modules .astro && bun install && astro build && astro preview", "astro": "astro", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx,astro}\"", "lint": "eslint \"src/**/*.{js,ts,jsx,tsx,astro}\"", From eab6e0c31dbd24470fa55409326d830a374f86cf Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 13 Mar 2026 09:25:52 -0500 Subject: [PATCH 4/5] feat: disable prerender pending resoltuion of server island fix --- src/pages/index.astro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/index.astro b/src/pages/index.astro index 69011db..7b9cfef 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -11,6 +11,10 @@ import GiteaSection from '@components/sections/GiteaSection.astro'; import BaseLayout from '@layouts/BaseLayout.astro'; import directus from '@lib/directus'; +// Weather section server island does not seem to load under Astro 6, setting the whole page for server +// side rendering for now. +export const prerender = false + const global = await directus.request(readSingleton('site_global')); const weather = await directus.request(readSingleton('site_weather')); const posts = await directus.request( From 43f0f7b3248cead38e8f9a6ff0d9e411483e440c Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 13 Mar 2026 09:26:45 -0500 Subject: [PATCH 5/5] feat: test placing weather section below posts --- src/pages/index.astro | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 7b9cfef..ace85a5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -59,6 +59,12 @@ const recentPosts = posts + + - -