@springernature/util-package-diff

0.0.3 • Public • Published

Visual Package Diff

NPM version Node version MIT License

Visually compare two versions of an Elements component package. Pass the name and version of a package and the demo is retrieved from NPM. A local server is created and the NPM package demo is displayed side-by-side with the current local demo of the component package.

Can be used to test the affect of brand-context or other updates on a component package.

Usage

$ npx @springernature/util-package-diff --help                                  

  visual diff between two elements packages on a local server

  Usage
        npx @springernature/util-package-diff [options]

  Options
        --package, -p        Name and version of package
        --scope, -s          NPM scope, default: @springernature
        --port, -t           Port for local server, default: 3000

  Examples
        npx @springernature/util-package-diff -p package-name@1.0.0
        npx @springernature/util-package-diff -p package-name@1.0.0 -s @some-other-scope
        npx @springernature/util-package-diff -p package-name@1.0.0 -s @some-other-scope -t 5000

Example

$ npx @springernature/util-package-diff -p global-corporate-footer@4.0.0 -t 5000

License

MIT License © 2019, Springer Nature

Package Sidebar

Install

npm i @springernature/util-package-diff

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

10.9 kB

Total Files

7

Last publish

Collaborators

  • ndv3997
  • sndigital
  • rseidelsohn
  • testingsabrina
  • roshandeorukhkar-sn
  • benjclark
  • sonniesedge
  • rlau
  • dotcode
  • joseluisbolos
  • hollsk
  • moddular
  • jpw
  • nickcall
  • howlingmad
  • davidpauljunior
  • morgaan