Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcalexiei/node-package-exports-checker
Utility to check that all field in package.json exports have a corresponding file
https://github.com/marcalexiei/node-package-exports-checker
Last synced: 16 days ago
JSON representation
Utility to check that all field in package.json exports have a corresponding file
- Host: GitHub
- URL: https://github.com/marcalexiei/node-package-exports-checker
- Owner: marcalexiei
- License: mit
- Created: 2024-03-31T07:44:55.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T18:31:34.000Z (7 months ago)
- Last Synced: 2024-10-10T16:26:05.948Z (29 days ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-package-exports-checker
Utility to check that all field in package.json exports have a corresponding file
## Why?
I want to create something very simple to start learning Rust
## TODO
- [ ] write code for the utility
- [x] 1. read a package.json
- [x] 2. check if there is an exports key
- [ ] 3. Add strong types to json
- [ ] 4. recursively navigate exports key
- [ ] 5. when a string is found check that the file specified in it exists
- [ ] add format (check rust fmt package for this)
- [ ] setup this project as a monorepo (see `vercel/turbo` or `biomejs` as example)
- [ ] add unit test
- [ ] add Github Actions
- [ ] add documentation