Search code examples
jspm

How to update the JSPM modules to the latest version?


Does the command jspm install . update the packages to the latest version?


Solution

  • 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 installs 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: