[Pkg-javascript-devel] pkg-js-tools roadmap

Yadd yadd at debian.org
Thu Oct 21 14:01:20 BST 2021


Le 21/10/2021 à 13:20, Jérémy Lal a écrit :
> 
> 
> Le jeu. 21 oct. 2021 à 11:13, Yadd <yadd at debian.org
> <mailto:yadd at debian.org>> a écrit :
> 
>     Hi all,
> 
>     little proposition for pkg-js-tools 0.10 (experimental):
>      * transform package.json:
>        + remove unneeded fields (scripts, files, devDependencies,
>          keywords,...)
> 
> 
> Do not be tempted to whitelist needed fields...
> Fields needed by node:
> https://nodejs.org/api/packages.html#nodejs-packagejson-field-definitions <https://nodejs.org/api/packages.html#nodejs-packagejson-field-definitions>
> However these non-standard fields are used in the wild: module,
> jsnext:main, style...

Of course, it will be based on a blacklist

>        + add field 'pkgjsVersion' to be able to produce auto_pkg-js-tools
>          transitions
>        + serialize (to minimize size)
> 
> 
> it's good to have a pretty-printed package.json, though.
> 
> Jérémy
> 



More information about the Pkg-javascript-devel mailing list