Skip to content

Commit e69dbae

Browse files
committed
Stabilize Astro compatibility tests
Pin the generated compatibility fixture's transitive WASM runtime to 1.1.6. Version 1.2.0 expects prerelease @emnapi/* 2 dependencies while Astro's bindings still provide 1.x, causing strict peer installation to fail before the compatibility checks can run. https://github.com/fedify-dev/fedify/actions/runs/30436576135/job/90525615340 Changelog: none Assisted-by: Codex:gpt-5.6-sol
1 parent 550166d commit e69dbae

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

packages/astro/compat/run.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,14 @@ async function testCompatibility(testCase: CompatibilityCase): Promise<void> {
8282
"@fedify/vocab": tarballs.get("@fedify/vocab"),
8383
astro: testCase.astro,
8484
},
85-
pnpm: { overrides: Object.fromEntries(tarballs) },
85+
pnpm: {
86+
overrides: {
87+
...Object.fromEntries(tarballs),
88+
// Version 1.2.0 requires @emnapi/* 2.0 prereleases, while its
89+
// consumers still provide @emnapi/* 1.x.
90+
"@napi-rs/wasm-runtime@^1.1.6": "1.1.6",
91+
},
92+
},
8693
},
8794
null,
8895
2,

0 commit comments

Comments
 (0)