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

Bastien ROUCARIES roucaries.bastien at gmail.com
Sun Mar 1 23:15:06 GMT 2020


On Sun, Mar 1, 2020 at 4:53 PM Jonas Smedegaard <jonas at jones.dk> wrote:
>
> Quoting Bastien ROUCARIES (2020-03-01 16:26:23)
> > On Tue, Feb 25, 2020 at 5:43 AM Xavier <yadd at 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.
>
> Yes, I fully agree with you, Bastien!
>
> I think the way to kill that horrible package is to add the types to the
> respective node-* package.

exactly and pkg-js-tools + components is the best way to do. Could you
propose a wording for javascript policy ?

Bastien

>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private



More information about the Pkg-javascript-devel mailing list