@guardian/package-linter

0.6.3 • Public • Published

actions-npm-dependencies

Validate your NPM dependencies without installing Node (WIP)

Publint

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.

┌─┬┐  ╔═╦╗  ╓─╥╖  ╒═╤╕
│ ││  ║ ║║  ║ ║║  │ ││
├─┼┤  ╠═╬╣  ╟─╫╢  ╞═╪╡
└─┴┘  ╚═╩╝  ╙─╨╜  ╘═╧╛
╭─────────╮
│ ○ △ □ × │
╰─────────╯

Readme

Keywords

none

Package Sidebar

Install

npm i @guardian/package-linter

Weekly Downloads

87

Version

0.6.3

License

Apache-2

Unpacked Size

612 kB

Total Files

285

Last publish

Collaborators

  • joecowton1
  • guardian-developers
  • akash1810
  • reetta
  • sndrs
  • mxdvl