[Pkg-javascript-devel] pkg-js-tools new tool: pkgjs-easy-to-update

Yadd yadd at debian.org
Wed May 18 17:03:43 BST 2022


On 18/05/2022 17:37, Pirate Praveen wrote:
> 
> 
> 2022, മേയ് 18 7:22:41 PM IST, Yadd <yadd at debian.org>ൽ എഴുതി
>> Hi all,
>>
>> I built a new tool to list packages easy to update (no breaking changes reported by npm). If you thinks it can help (and may help beginners to start packaging JS), let me know, I'll include it in pkg-js-tools. Else, I'll keep it for me ;-)
> 
> I think this will greatly help. Please add it to pkg-js-tools. Currently I have do it manually.

Done (0.14.25), maybe improved later (very slow for now and miss 
submodules). I also updated nodepath to find typescript declarations:

# package without types and/or index.d.ts
$ nodepath -t lodash
/usr/share/nodejs/@types/lodash

# package with "types"
$ nodepath -t chalk
/usr/share/nodejs/chalk

# package without "types" but an index.d.ts
$ nodepath -t fastq
/usr/share/nodejs/fastq

# builtin module
$ nodepath -t fs
/usr/share/nodejs/@types/node
$ nodepath -t assert
/usr/share/nodejs/@types/node

# Package without types
$ nodepath -t grunt-webpack
Not found

# Force global search for builtin module that exists separately
$ nodepath -t -B assert
Not found



More information about the Pkg-javascript-devel mailing list