xpm is a Node.js module that can be installed with
For the prerequisites, since it is recommended to use a version manager or to customize the npm install location, please read the Install page for more details.
To install the latest stable version available, use:
npm uninstall --global xpm npm install --global xpm@latest
To install this specific version, use:
xpm install --global firstname.lastname@example.org
The 0.9.0 release is generally compatible with previous releases.
The main change over the previous release is support for multiple configurations, usually build configurations, which are intended to support development for applications using multiple build folders (like debug/release, but also multi-platform builds).
The main enhancement is the addition of
--config for most commands.
- [#94] - add
- [#95] - add
- [#96] - update
xpm listto show configurations dependencies
- [#90] - iterate all configurations on
- [#88] - add support for configurations & actions
Another important enhancement is the addition of
properties and of a
template engine to process substitutions in actions/scripts.
- [#91] - fix use of properties in substitutions
- [#92] - Add
os.archto substitution map
- [#91] - add template
--configis used, the configuration properties take precedence over package properties.
- [#35] - to better accomodate future enhancements, and spot cases
when an old xpm is used to process a
package.jsonwhich includes new content, the
xpack.checkMinimumXpmRequiredproperty was added
- [#93] - processing for
--dry-runwas implemented for
- [#89] - prefer run & run-action
xpm installcommand now sets all installed packages as read-only
- the validation code returns CliExitCodes.ERROR.INPUT for errors
related to the content of
- the warnings triggered by third party dependencies during install; fixed in v0.10.2
- [#57] when multiple versions of the same package are referenced via different dependencies paths, the program fails; version mitigation will be implemented in a future release.
The program interprets
--help and displays a top help page:
$ xpm --help The xPack package manager command line tool Usage: xpm <command> [<subcommand>...] [<options> ...] [<args>...] where <command> is one of: init, install, link, list, run, uninstall Common options: --loglevel <level> Set log level (silent|warn|info|verbose|debug|trace) -s|--silent Disable all messages (--loglevel silent) -q|--quiet Mostly quiet, warnings and errors (--loglevel warn) --informative Informative (--loglevel info) -v|--verbose Verbose (--loglevel verbose) -d|--debug Debug messages (--loglevel debug) -dd|--trace Trace messages (--loglevel trace, -d -d) --no-update-notifier Skip check for a more recent version -C <folder> Set current folder xpm -h|--help Quick help xpm <command> -h|--help Quick help on command xpm --version Show version xpm -i|--interactive Enter interactive mode npm email@example.com '/Users/ilg/.nvm/versions/node/v14.16.0/lib/node_modules/xpm' Home page: <https://xpack.github.io/xpm/> Bug reports: <https://github.com/xpack/xpm-js/issues/>
Similar pages are available for each command.
For more detials, the project documentation is available online from the web site.
npm is a portable application that can run on Windows, macOS and GNU/Linux (Intel and Arm).
Continuous integration tests are done via GitHub actions.
- npmjs.com xpm
Credit to Shields IO for the badges.