Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EntrypointProof

Packages often build successfully and publish metadata that points to files or Python callables that do not exist. EntrypointProof catches that before release.

It validates:

  • package.json: main, module, types, typings, browser, bin, and concrete exports targets;
  • pyproject.toml: [project.scripts] and [project.gui-scripts] modules and callables.

No runtime dependencies. Checks run offline.

Install and use

pip install git+https://github.com/ericz218/entrypointproof.git
entrypointproof .
entrypointproof . --json

Run it after building and before publishing so generated dist/ targets exist.

GitHub Action

- uses: ericz218/entrypointproof@v0.1.0
  with:
    path: .

See examples/ci.yml for a complete workflow.

License

MIT

About

Verify JavaScript and Python package entrypoints before publishing

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages