[Pkg-javascript-devel] node-typescript-types should die

Xavier yadd at debian.org
Tue Feb 25 04:43:09 GMT 2020


Le 24/02/2020 à 23:28, Bastien ROUCARIES a écrit :
> Hi,
> 
> This package should die.
> With newer pkg-js-tools we must embded the types is not supplied by
> the main package as a compoent of the main package.
> 
> I was burned because acorn now supply a type.
> 
> It is better to do the work in the main package than in a meta package

Hi,

I don't agree: many @types/foo files are requires by many packages
during build (examples with @types/node, @types/mocha,...). So I think
we should keep a virtual package.

See my previous mail:

- --- forwarded mail --- -
Subject: Typescript fix in node-entities

Hi all,

I'd like to share this patch:
https://salsa.debian.org/js-team/node-entities/blob/master/debian/patches/use-global-typescript-files.diff

I understood what was wrong in node-entities and succeeds to fix RC bug
with it:
 * when "typeRoots" is set, typescript loads all files in this
   directories unless "types" is set

I could then remove all embedded @types files

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list