diff --git a/astro.config.mjs b/astro.config.mjs index 7959354..d9390d4 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -13,6 +13,8 @@ import rehypeKatex from "rehype-katex"; import partytown from '@astrojs/partytown'; import {remarkModifiedTime} from "./src/plugins/remark/modified-time.mjs"; +import node from '@astrojs/node'; + export default defineConfig({ site: 'https://terminal-blog.example.com', base: '/', @@ -42,5 +44,7 @@ export default defineConfig({ integrations: [sitemap(), mdx(), partytown()], - adapter: cloudflare() + adapter: node({ + mode: 'standalone' + }) }); \ No newline at end of file diff --git a/package.json b/package.json index 8c0394d..b70cf8f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/cloudflare": "^12.5.4", "@astrojs/mdx": "^4.2.6", - "@astrojs/node": "^9.2.2", + "@astrojs/node": "^9.4.0", "@astrojs/partytown": "^2.1.4", "@astrojs/rss": "^4.0.1", "@astrojs/sitemap": "^3.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49939d2..6a5413e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^4.2.6 version: 4.2.6(astro@5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1)) '@astrojs/node': - specifier: ^9.2.2 - version: 9.2.2(astro@5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1)) + specifier: ^9.4.0 + version: 9.4.0(astro@5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1)) '@astrojs/partytown': specifier: ^2.1.4 version: 2.1.4 @@ -92,6 +92,9 @@ packages: '@astrojs/internal-helpers@0.6.1': resolution: {integrity: sha512-l5Pqf6uZu31aG+3Lv8nl/3s4DbUzdlxTWDof4pEpto6GUJNhhCbelVi9dEyurOVyqaelwmS9oSyOWOENSfgo9A==} + '@astrojs/internal-helpers@0.7.1': + resolution: {integrity: sha512-7dwEVigz9vUWDw3nRwLQ/yH/xYovlUA0ZD86xoeKEBmkz9O6iELG1yri67PgAPW6VLL/xInA4t7H0CK6VmtkKQ==} + '@astrojs/markdown-remark@6.3.1': resolution: {integrity: sha512-c5F5gGrkczUaTVgmMW9g1YMJGzOtRvjjhw6IfGuxarM6ct09MpwysP10US729dy07gg8y+ofVifezvP3BNsWZg==} @@ -101,8 +104,8 @@ packages: peerDependencies: astro: ^5.0.0 - '@astrojs/node@9.2.2': - resolution: {integrity: sha512-PtLPuuojmcl9O3CEvXqL/D+wB4x5DlbrGOvP0MeTAh/VfKFprYAzgw1+45xsnTO+QvPWb26l1cT+ZQvvohmvMw==} + '@astrojs/node@9.4.0': + resolution: {integrity: sha512-Gxs0iVUvOmQmK+H1DBoabcgvdSDg277SwbujRv2cUBlnpcOTJQDFRhRvyJ7G+Zkd06/jhRphsTTmmrBY0PqI4g==} peerDependencies: astro: ^5.3.0 @@ -3528,6 +3531,8 @@ snapshots: '@astrojs/internal-helpers@0.6.1': {} + '@astrojs/internal-helpers@0.7.1': {} + '@astrojs/markdown-remark@6.3.1': dependencies: '@astrojs/internal-helpers': 0.6.1 @@ -3573,9 +3578,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/node@9.2.2(astro@5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1))': + '@astrojs/node@9.4.0(astro@5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1))': dependencies: - '@astrojs/internal-helpers': 0.6.1 + '@astrojs/internal-helpers': 0.7.1 astro: 5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1) send: 1.2.0 server-destroy: 1.0.1