[Pkg-javascript-devel] Bug#976341: Bug#976341: Bug#976341: node-jest: please provide real (not virtual) package node-jest-worker
Xavier
yadd at debian.org
Fri Dec 4 15:35:31 GMT 2020
Le 04/12/2020 à 15:32, Jonas Smedegaard a écrit :
> Quoting Xavier (2020-12-04 11:48:58)
>> Le 03/12/2020 à 19:05, Jonas Smedegaard a écrit :
>>> Quoting Xavier (2020-12-03 18:30:54)
>>>> Le 03/12/2020 à 18:07, Jonas Smedegaard a écrit :
>>>>> Please provide real (not virtual) package node-jest-worker, and
>>>>> have jest depend on or recommend that, as appropriate.
>
> [...]
>
>> node-babel7 does provide versioned virtual packages (like acorn).
>
> You are right: I failed to check correctly versioning. apt and aptitude
> apparently does *not* show version for virtual packages (I thought so,
> and I thought I had checked that with node-types-uuid).
>
> This works:
>
> apt-cache showpkg node-types-babel-code-frame | grep '^[a-z]'
>
> This also works, and is more flexible to e.g. reveal that 3 node-types-*
> packages do not provide version:
>
> sudo sync-available
> grep-available -FProvides -sProvides node-types- | grep -Po '\bnode-types-[^,]+'
>
> This should also work flexibly and more elegant, but doesn't for me (not
> sure why):
>
> grep-status --field=Provides -sProvides node-types-babel-code-frame
>
>
>> I'll study if node-babel7 can be split into multiple packages. It took
>> me around 4 hours to split jest correctly...
Take a look at https://people.debian.org/~yadd/babel-spaghetti-dish.png
(generated with add-node-component --cmptree). I don't know how to split
node-babel7 for now...
More information about the Pkg-javascript-devel
mailing list