pkgjs(1p)

pkgjs1p

Wrapper to pkgjs-* commands, used to replace yarn during debian packages build.

Overview

pkgjs is a wrapper to pkgjs-* commands. For example "pkgjs ln yargs" launches "pkgjs-ln yargs". For some commands, it launches yarnpkg(1) or npm(1) if available.

•

Ignored commands (do nothing): cache, config, dedupe

•

Commands passed to yarnpkg/npm: explain, info, init

•

Direct mappings (launches the corresponding "pkgjs-*" command): depends, easy-to-update, install-minimal, lerna, ln, ls, main, pjson, run, utils

•

More complex mappings:

•

bin: launches which(1)

•

exec: launches nodejs(1)

•

install:

•

if "PKGJS_INSTALL_OPTS" environment variable is set, launches pkgjs-install(1) with "PKGJS_INSTALL_OPTS" and given arguments

•

else launches pkgjs-install-minimal(1)

All other commands will fail.

Author

Yadd <[email protected]>

From dh-nodejs 0.15.23 in Debian 13 (Trixie). Parsed by carta from the page's man source.