[Pkg-javascript-devel] New tool: pkgjs-install

Pirate Praveen praveen at onenetbeyond.org
Sun May 8 12:32:14 BST 2022



2022, മേയ് 8 12:50:35 PM IST, Yadd <yadd at debian.org>ൽ എഴുതി
>Hi all,
>
>pkg-js-tools 0.14.20 provides a new tool: pkgjs-install. It works like `npm install` but downloads only JS modules not available in Debian.
>
>Options:
> -h, --help
> -v, --version
> --install: launch install-command if some Debian packages are missing
> --ignore: ignore missing Debian packages
> --install-command: command to install mising packages. Default:
>                    "--install-command 'sudo apt install'"
> --no-link: don't link JS modules from Debian directories
> --regenerate: force package-lock.json regeneration

I think it'd be good to have a yarn companion if yarn.lock is present instead of package-lock.json

>TODO:
> - --strict mode: download JS module available in Debian if version
>                  mismatch (using semver)
>
>Note: it is not usable with a JS module as argument. To install a Debian JS module into node_modules, use `pkgjs-ln foo`
>
>Feel free to tell me what you think and open BTS if you find any bugs to fix or improvements to make ;-)
>
>Cheers,
>Yadd
>

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-javascript-devel mailing list