@springernature/util-package-diff
v0.0.3
Published
visual diff between two elements packages on a local server
Downloads
6
Readme
Visual Package Diff
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 [email protected]
npx @springernature/util-package-diff -p [email protected] -s @some-other-scope
npx @springernature/util-package-diff -p [email protected] -s @some-other-scope -t 5000
Example
$ npx @springernature/util-package-diff -p [email protected] -t 5000
License
MIT License © 2019, Springer Nature