jspm 0.9.0
Highlighted Features:
- Full source maps and minification for bundles with
jspm bundle app/main -m
. - Injected bundles can be removed easily with
jspm unbundle
. config.js
now contains exact version resolutions only, upgrades will occur gracefully, but the config file is not backwards-compatible with former jspm versions so be careful committingconfig.js
when upgrading.jspm install
will now act as a reproducible install, like npm shrinkwrap, and will never alter the existing config resolutions.jspm install jquery --lock
will act as a stable install, not altering any existing config resolutions.jspm install npm:underscore
will install into the nameunderscore
by default - this is to discourage code containing requires likerequire('npm:underscore')
and ensure all requires are always portable.jspm update
will update all dependencies as defined in the package.jsonjspm clean
will remove orhpaned dependencies, and clear ununsed packages fromjspm_packages
.jspm uninstall
updated to applyjspm clean
by default.jspm inspect
will show a nice list of all packages and versions.jspm inspect --forks
will show the current forks.jspm inspect github:some/package
will show the version resolution constraints for a given package.jspm link
andjspm install --link
have been refined and optimized.jspm run moduleName
can be used to execute on the server,jspm install nodelibs
supports NodeJS server libs withimport fs from 'nodelibs/fs
.
A massive thanks to the Client Platform team at Workiva for sponsoring these key features for this release.
Credit to @crisptrutski for help with source maps, @OliverJAsh for pushing for server support and @subesokun for help testing the linking workflow.
For the full change PR, see from the interface changes https://github.com/jspm/jspm-cli/pull/240/files#diff-2cce40143051e25f811b56c79d619bf5L45.
The resolution algorithm itself now has much better handling of version fork resolutions. The code is relatively well commented, and can be read from around https://github.com/jspm/jspm-cli/blob/master/lib/install.js#L110.