1.0.7 • Published 6 months ago

dependex v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Reads the package.json from the root of the project directory and outputs that into a separate file DEPENDENCIES.md in a tabular format which will include, 2 sections DEVDEPENDENCIES and DEPENDENCIES tables with following columns.

Package nameLink (GitHub/GitLab / npm)AuthorDescriptionInstalled VersionLatest version available (minor as semver)SizeTags
reactnpm.io/reactFacebook IncFront-end library18.0.218.0.34.03MiBreact, ui, ux

Once could sort based on gzip size from the CLI command.

Steps:

  • Running dpx should read all the dependencies from package.json with versions currently installed and latest available version.

APIs to use:

  1. https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md - https://registry.npmjs.org/
  2. Reference: https://www.edoardoscibona.com/exploring-the-npm-registry-api

Make use of:

  1. https://github.com/changesets/changesets -- to manage changelogs either manually or using CI

References:

  1. Read package.json from file-system: https://heynode.com/tutorial/readwrite-json-files-nodejs/
  2. Changeset: https://www.youtube.com/watch?v=puQYAhpfpkA
  3. Version and changelog: https://www.youtube.com/watch?v=BbdFfvZNWNw

Feature list:

  1. Show table in terminal
  2. Column, upgrade available? ✅ or ❌
  3. Sortby upgrade availablity
  4. Output HTML to be open as live server: https://codesandbox.io/s/serverless-dew-yc4mp5?file=/src/App.js using markedjs
1.0.7

6 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago