You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: framework detection for deno compile (#33164)
## Summary
- Adds framework detection to `deno compile` so that `deno compile .`
(or `deno compile ./myapp`) automatically detects web frameworks and
generates the appropriate entrypoint
- Supported frameworks: Next.js, Astro, Fresh (1.x/2.x), Remix,
SvelteKit, Nuxt, SolidStart, TanStack Start, Vite SSR
- Runs `deno task build` before compilation to ensure fresh build output
- Uses `import.meta.dirname` in entrypoints so paths resolve against the
VFS in compiled binaries
Based on framework detection work by @littledivy in the desktop branch.
## Test plan
- [x] 39 unit tests for framework detection logic (detection, priority,
version parsing, helpers)
- [x] 4 spec tests: Vite SSR (with build step), Fresh 1.x (no build),
error case (no framework), explicit directory path
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments