marcalexiei / node-package-exports-checker

Utility to check that all field in package.json exports have a corresponding file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
    • 1. read a package.json
    • 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

About

Utility to check that all field in package.json exports have a corresponding file

License:MIT License


Languages

Language:Rust 97.1%Language:JavaScript 2.9%