On Tue, Feb 25, 2020 at 5:43 AM Xavier <y...@debian.org> wrote: > > 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.
I means that main package should have a component that create a @types/node (virtual?) pacakge But a meta package is worst because we have an out of sync between main package and types. Thanks Bastien > > 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 > > -- > Pkg-javascript-devel mailing list > Pkg-javascript-devel@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel