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.
Copyright and license
Copyright (C) 2021 by Yadd <[email protected]>
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'