Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PathCaseProof

A web project can work on case-insensitive macOS and fail after deployment to Linux because logo.svg references Logo.svg. PathCaseProof finds those mismatches without running a bundler.

It scans relative imports, require(), HTML src/href, and CSS url() references in HTML, CSS, JavaScript, TypeScript, Vue, and Svelte files.

Missing files are intentionally ignored; this tool reports only paths that exist with different letter case. No runtime dependencies.

Install and use

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

GitHub Action

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

See examples/ci.yml.

License

MIT

About

Catch case-mismatched web imports and asset paths before Linux deploys

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages