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

Xavier yadd at debian.org
Mon Mar 2 17:23:57 GMT 2020


Le 02/03/2020 à 00:15, Bastien ROUCARIES a écrit :
> 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 ?

Hi,


so let's plan this:

* @types/backbone => node-backbone
* @types/chai => node-chai
* @types/estree => node-estree
* @types/expect.js => node-expect.js
* @types/fs-extra => node-fs-extra
* @types/glob => node-glob
* @types/handlebars => node-handlebars
* @types/jquery => node-jquery (to be grouped)
* @types/jsdom => to be removed (node-jsdom removed with libjs-jquery)
* @types/lodash => node-lodash
* @types/marked => node-marked
* @types/mathjax => node-mathjax
* @types/micromatch => node-micromatch
* @types/minimist => node-minimist
* @types/mocha => node-mocha
* @types/node => typescript or nodejs ?
* @types/requirejs => node-requirejs
* @types/sax => node-sax
* @types/semver => node-semver
* @types/shelljs => node-shelljs
* @types/sinon => node-sinon
* @types/sizzle => libjs-sizzle ?
* @types/underscore => node-underscore

* In these packages, add 'Breaks: node-typescript-types (< 20190219)'

* During a short delay:
  * publish these packages in unstable
  * update dependencies for package that (build-)depends on
    node-typescript and publish them:
    - node-base64url
    - node-css-what
    - node-domhandler
    - node-domutils
    - node-entities
    - node-htmlparser2
    - node-path-to-regexp
    - node-rollup
    - node-xterm
    - node-ytdl-core
    - ipywidgets     (coordination with Debian Python Modules Team)

* After full migration to testing, ROM-RM node-typescript-types

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list