Skip to main content

xPack xpm v0.20.1 released

· 2 min read

Version 0.20.1 is a new release; it clarifies the use of bundleDependencies and switches to xpack.executables instead of xpack.bin.

xpm is a Node.js CLI application to automate builds and to manage xPacks dependencies.

Prerequisites

The xPack Project Manager is a portable Node.js project, to install and use it, the only requirement is a recent Node.js (>= 18).

Install

For installation instructions, please refer to the Install Guide page.

Source code

Bug fixes

  • [#208] the use of bundledDependencies was deprecated by *npm several versions ago; in certain conditions, xpm was still using it; fixed, now bundleDependencies is always preferred.

Enhancements

  • [#209] for readability reasons, the xpack.bin was renamed xpack.executables; for compatibility reasons, the old definition will be kept as backup.

Known problems

  • [#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.

Documentation

The program interprets --help and displays a top help page:

% xpm --help

The xPack project 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 xpm@0.20.1 '/Users/ilg/.nvm/versions/node/v18.20.4/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 details, the project documentation is available online from the web site.

Supported platforms

npm is a portable application that can run on Windows, macOS and GNU/Linux, both Intel and Arm.

CI tests

Before publishing, a set of tests were performed . The results are available from:

Download analytics

  • npmjs.com xpm
    • last week npm
    • all time npm

Credit to Shields IO for the badges.

caution

The xpm tool is currently work in progress and should be used with caution.