[Pkg-javascript-devel] Bug#977670: Bug#977670: jest: should explicitly (build-)depend on needed babel modules
Jonas Smedegaard
dr at jones.dk
Fri Dec 18 18:05:25 GMT 2020
Quoting Pirate Praveen (2020-12-18 18:28:40)
>
>
> On Fri, Dec 18, 2020 at 17:28, Jonas Smedegaard <dr at jones.dk> wrote:
> > Package: jest
> > Version: 26.6.3+repack+~cs61.38.31-2
> > Followup-For: Bug #977670
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > Control: reoen -1
> > Control: retitle -1 jest: should explicitly (build-)depend on needed
> > babel modules
> >
> > Thanks for clarifying that this issue is not scenario a).
> >
> > Now, please either...
> >
> > b) if only some embedded modules need babel-related modules at
> > runtime,
> > and jest does not need those at runtime,
> > then move them to a package which itself need babel at runtime,
> > otherwise
> > c) explicitly depend on the (possibly virtual) module packages needed
> >
> >
> > I.e. in any case it is wrong to declare (build-)dependency on
> > "node-babel7" because that package name represents a *bundle* of
> > modules, not explicit modules.
> >
> > In short: please explicitly (build-)depend on needed babel modules
> >
> > Explicitly, not implicitly through bundle-package (which may change
> > content in future!).
>
> This does not work for buster-backports. I had to change dependency to
> node-debbundle-acorn from virtual packages in webpack and rollup for
> packages that build depends on webpack or rollup to work.
Sounds like a change specific to backports, not for official Debian.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201218/e5b4441c/attachment.sig>
More information about the Pkg-javascript-devel
mailing list