github withastro/astro @astrojs/ts-plugin@1.10.11

latest releases: @astrojs/preact@6.0.3, @astrojs/markdown-satteri@0.3.6, @astrojs/cloudflare@14.2.2...
3 hours ago

Patch Changes

  • #17668 bef9db5 Thanks @lazerg! - Fixes Astro's ambient types leaking into unrelated TypeScript projects. In a monorepo with hoisted node_modules, the plugin found the shared astro install from any project and injected env.d.ts and astro-jsx.d.ts into it, which pulled @types/node into projects that never asked for it. The plugin now only injects those types when the project actually depends on astro or has an astro.config.* file.

Don't miss a new astro release

NewReleases is sending notifications on new releases.