antfu / antfu/node-modules-inspector
Detect the package manager before starting the dev server
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 90
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 9
Description
Package manager detection (and possibly other preflight stuff) runs after the dev server is spun up.
This might be unwanted because pre-checks like package manager detection can throw and instantly terminate the dev server, and open a new tab for nothing.
In my opinion, every possible throwing pre-check operation should be run before the server starts; only the actual analysis can happen after.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the dev-server startup flow and locate where package manager detection and other preflight operations run. Confirm which checks can throw before changing their ordering. Done means throwing prechecks complete before the server starts, so failures do not open a new tab or leave a running server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100