[Pkg-javascript-devel] Bug#958780: Bug#958780: do we really want to do this ?

Xavier yadd at debian.org
Sun Apr 26 19:08:10 BST 2020


Le 26/04/2020 à 17:36, Pirate Praveen a écrit :
> 
> 
> On Sun, Apr 26, 2020 at 4:33 pm, Paolo Greppi <paolo.greppi at libpf.com>
> wrote:
>> My understanding is that node-gulp-babel v8 should be used with babel7.
>> Same goes for node-babel-loader, you need v8 for babel7, but we only
>> have node-babel-loader 7 in Debian.
>>
>> If we want babel6 to co-exist with babel7, then we don't want to just
>> update node-gulp-babel and node-babel-loader to v8.
>> We want to keep node-gulp-babel and node-babel-loader at v7 for
>> compatibility with babel6, and upload new node-gulp-babel8 and
>> node-babel-loader8 for babel7.
> 
> My suggestion,
> 
> 1. node-rollup-plugin-babel: Plan A, update all packages build depending
> on node-rollup-plugin-babel to build with babel 7 (psl.js updated
> already and seems pretty straight forward). Plan B, embed
> rollup-plugin-babel 4 in node-babel7 if plan A becomes too difficult.
> 2. node-gulp-babel: Plan A, update all packages build depending on
> node-gulp-babel to babel 7. Plan B: embed gulp-babel 8 in node-babel 7
> as it seems a simple module unlike rollup-plugin-babel.
> 3. babel-loader: This is not a blocker as node-babel7 build depends on
> node-rollup-plugin-babel and node-gulp-babel only.

And what about plan C: embed old libs in babel6 (already done for core-js) ?


> Lets use https://wiki.debian.org/Javascript/Nodejs/Transitions/Babel7 to
> track the status.

+1

>> Back to the topic of this bug, do we really want to upgrade the yarn
>> build system from babel6 to babel7 ?
>> Here is some indication that upstream is not interested:
>> https://github.com/yarnpkg/yarn/pull/6322
>> But I have raised the issue anyway:
>> https://github.com/yarnpkg/yarn/issues/8083
> 
> Ideally we should have only one version of babel in bullseye and we
> should try to get rid of babel 6 by bullseye freeze. Even if upstream is
> not interested, we will have to maintain the patch.
> 



More information about the Pkg-javascript-devel mailing list