JoshuaKGoldberg / JoshuaKGoldberg/debug-for-file
🚀 Feature: use node:module's native findPackageJson
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 5
- Avg merge
- 15m
- Merged PRs (30d)
- 34
Description
### Feature Request Checklist
- [x] I have looked at the latest version of the project.
- [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/debug-for-file/issues?q=is%3Aissue) and found none that matched my issue.
### Overview
I'm backing up my computer before I return it to the school and noticed I have a patch sitting around locally to drop readPackageJson in favor of the native `findPackageJson` method. It'd be a large min version bump though, which I think is why I didn't send it in.
Not expecting this to be a now thing, but whenever we release the next majory version, worth considering?
### Additional Info
https://nodejs.org/docs/latest/api/module.html#modulefindpackagejsonspecifier-base
Contributor guide
Research direction
Start with the existing readPackageJson implementation and the linked Node.js module.findPackageJson documentation. Determine the required minimum Node.js version and the scope of the next major release; done means the project uses the native method instead of readPackageJson.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100