Does the command jspm install . update the packages to the latest version?
JSPM provides a module CDN and package management for import maps, allowing. any package from npm to be loaded directly in the browser fully optimized without further tooling.
jspm install
installs the latest versions of packages listed in the package.json respecting semver ranges defined in it. Once installed, exact versions numbers(not ranges) are stored in jspm's config.js. The subsequent jspm install
s will install specific versions stored in the config.js. To update packages to the latest version (but still within semver ranges defined in the package.json) one has to run jspm update
.
See also:
yes jspm install
installs the latest versions of packages defined in the jspm
property of the package.json file.
But it exists a command that updates all packages: jspm update
, or only one package: jspm update <package>
.
See the documentation here: https://github.com/jspm/jspm-cli/blob/master/docs/installing-packages.md#updating-packages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With