@guardian/package-linter
v0.6.3
Published
The Guardian package linter that helps you follow our recommendations
Downloads
343
Keywords
Readme
actions-npm-dependencies
Validate your NPM dependencies without installing Node (WIP)
How to get a health report for your package.json
?
With Deno
deno run -A https://deno.land/x/guardian_package_linter@latest/src/cli.ts ./package.json
With Node
npm install @guardian/package-linter;
npx package-linter ./package.json;
Todo
- [x] Make it functional and composable
- [x] Handle peer dependencies
- [ ] Handle lock files? (probably not)
- [x] Great error messaging
- [ ] Investigate direct dependencies of dependencies, which may have peers themselves
- [ ] Give insight into possible resolution steps, including intersects
Shapes
All sourced from Geometric Shapes and Box-drawing characters on Wikipedia.
┌─┬┐ ╔═╦╗ ╓─╥╖ ╒═╤╕
│ ││ ║ ║║ ║ ║║ │ ││
├─┼┤ ╠═╬╣ ╟─╫╢ ╞═╪╡
└─┴┘ ╚═╩╝ ╙─╨╜ ╘═╧╛
╭─────────╮
│ ○ △ □ × │
╰─────────╯