[Pkg-javascript-devel] node-babel7 migrtion to unstable

Xavier yadd at debian.org
Sat Apr 25 10:23:31 BST 2020


Le 25/04/2020 à 10:11, Pirate Praveen a écrit :
> 
> 
> On Thu, Apr 23, 2020 at 7:32 pm, Pirate Praveen
> <praveen at onenetbeyond.org> wrote:
>> Whoever doing such major version updates should take responsibility to
>> run autopkgtest and rebuild tests and filing bugs when packages fail.
>> Also sufficient time should be given to fix the breakages before
>> uploading to unstable. This is standard procedure when doing C library
>> transitions and we should follow it too.
>>
>> Filing bugs also helps later to troubleshoot and fix the failures easily.
> 
> Hi yadd,
> 
> I saw the bugs you filed today. It appears node-rollup-plugin-babel
> should be dependending on node-babel instead of all these packages
> adding a build depends on node-babel.
> 
> It has a peer dependency on babel.
> 
>   "peerDependencies": {
>                "@babel/core": "7 || ^7.0.0-rc.2",
>                "rollup": ">=0.60.0 <3"
> 
> I think we should either make all the packages depending on
> rollup-plugin-babel or gulp-babel or babel-loader to work with babel 7.
> 
> Another way would be creating node-rollup-plugin-babel4,
> node-gulp-babel8 etc.

The main error (with babel7 7.4.5-3) is:

  Plugin/Preset files are not allowed to export objects, only functions.
    In /usr/share/nodejs/babel-preset-stage-0/lib/index.js



More information about the Pkg-javascript-devel mailing list