[Pkg-javascript-devel] Tracking status of js transitions for bullseye

Pirate Praveen praveen at onenetbeyond.org
Thu Oct 17 18:49:44 BST 2019



On Wed, Oct 16, 2019 at 21:22, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> 
> 
> On Tue, Oct 15, 2019 at 22:05, Pirate Praveen 
> <praveen at onenetbeyond.org> wrote:
>> The major challenge I see with Webpack 4.30 is addition of large 
>> number of webassembly dependencies. Any ideas? I have not looked 
>> close enough yet (last time I chose 4.7 to avoid running into these 
>> dependencies).
> 
> I first tried adding @webassemblyjs/ast as component using 
> add-node-component from pkg-js-tool, but it downloaded the whole 
> webassemblyjs repo and build failed with upstream changes error. Then 
> I tried to add component manually using npm registry tarballs and it 
> is prebuilt files. So I guess we need to package those separately. I 
> will have webassemblyjs binary package that uses packages/* as 
> debian/nodejs/additional_components and probably provide each of the 
> component.

This turned out to be easier than I initially estimated, thanks to the 
excellent work by yadd on pkg-js-tools which helped automate a lot of 
work in packaging multi module repos.

So webassemblyjs is mostly ready for upload, we just need to fix one 
lintian error. Asking upstream about missing source 
https://github.com/xtuc/webassemblyjs/issues/668 Since I patched out 
array.prototype.flatMap polyfill in favor of using nodejs 12 from 
experimental, we will have to wait for nodejs 12 to upload this to 
unstable.

Once we fix this error, we can upload this and once it clears NEW, 
webpack from master-4.30 branch can be uplpoaded to experimental. I 
tested webpack 4.30 build for node-turbolinks and node-timeago.js, both 
succeeded. node-dagre-layout failed, but I don't think that is related 
to webpack (but some packages moving to /usr/share). Since 4.7 to 4.30 
update is not expected to break anything, I think we won't need much 
work to upload it to unstable.

So acorn 6, rollup 1, webpack 4.30 and nodejs 12 will need to go to 
unstable together.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191017/a6ed8dd6/attachment.html>


More information about the Pkg-javascript-devel mailing list