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 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