Skip to content

feat(#11): Add SvelteKit, Remix, and Nuxt stack detection - #45

Merged
admarble merged 1 commit into
mainfrom
feature/11-add-sveltekit-remix-and-nuxt-stack-detection
Jan 10, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/11-add-sveltekit-remix-and-nuxt-stack-detection

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Add stack detection for SvelteKit, Remix, and Nuxt meta-frameworks
  • Refactor detectStack() to read package.json only once for all JS framework dependency checks
  • Add new framework choices to interactive init (including Astro which was missing)
  • Add comprehensive unit tests for config, detection, and priority

Implementation Details

Stack Config Files Package Dep Dev URL
SvelteKit svelte.config.js/.ts @sveltejs/kit localhost:5173
Remix remix.config.js/.ts @remix-run/react localhost:5173
Nuxt nuxt.config.ts/.js nuxt localhost:3000

Detection Priority: Next.js > Astro > SvelteKit > Remix > Nuxt > Rust > Go > Python

Test Plan

  • Unit tests for each new stack configuration
  • Unit tests for file-based detection (all config file variants)
  • Unit tests for package.json dependency detection
  • Unit tests for priority ordering
  • All 188 tests pass
  • Build succeeds

Closes #11

🤖 Generated with Claude Code

Add support for detecting and configuring three popular meta-frameworks:
- SvelteKit (svelte.config.js/.ts, @sveltejs/kit)
- Remix (remix.config.js/.ts, @remix-run/react)
- Nuxt (nuxt.config.ts/.js, nuxt)

Also refactored detectStack() to read package.json only once when
checking all JS framework dependencies, improving detection performance.

- Add stack configs with appropriate devUrl ports (5173 for Vite-based, 3000 for Nuxt)
- Update init.ts choices to include all frameworks including Astro
- Add comprehensive unit tests for detection and configuration

Closes #11

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SvelteKit, Remix, and Nuxt stack detection

1 participant