Skip to content

Commit 11d6efa

Browse files
committed
Fix Astro builds on Deno 2.9
Deno 2.9 no longer resolves Astro's transitive dependencies from the pnpm-managed node_modules tree under the workspace's default mode. Run the Astro Deno tasks in manual mode and keep the CLI on the supported Astro 7 release line. https://github.com/fedify-dev/fedify/actions/runs/32862370078/job/97849255127 Changelog: none Assisted-by: Codex:gpt-5.6-sol
1 parent bff3927 commit 11d6efa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎examples/astro/deno.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"@deno/astro-adapter": "npm:@deno/astro-adapter@^0.6.0"
77
},
88
"tasks": {
9-
"dev": "deno run -A npm:astro dev --config astro.config.deno.ts",
10-
"build": "deno run -A npm:astro build --config astro.config.deno.ts",
11-
"preview": "deno run -A npm:astro preview --config astro.config.deno.ts"
9+
"dev": "deno run -A --node-modules-dir=manual npm:astro@7 dev --config astro.config.deno.ts",
10+
"build": "deno run -A --node-modules-dir=manual npm:astro@7 build --config astro.config.deno.ts",
11+
"preview": "deno run -A --node-modules-dir=manual npm:astro@7 preview --config astro.config.deno.ts"
1212
},
1313
"exclude": [
1414
".astro",

0 commit comments

Comments
 (0)