PKGJS(1p)

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

DESCRIPTION
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 <yadd@debian.org>

COPYRIGHT AND LICENSE
Copyright (C) 2021 by Yadd <yadd@debian.org>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'