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

2019-12-26 Thread Jonas Smedegaard
Hi Praveen,

Quoting Pirate Praveen (2019-10-17 19:49:44)
> So webassemblyjs is mostly ready for upload, [...] 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.

Do I understand the above correctly that Debian packaging of 
webassemblyjs requires Node.js 12, and the only reason for that 
requirement is we omit packaging array.prototype.flatMap?

Please reconsider that approach, or clarify why it is sensible (but no, 
"NEW processing takes time" is *not* a sensible reason).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

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

2019-10-17 Thread Pirate Praveen



On Wed, Oct 16, 2019 at 21:22, Pirate Praveen 
 wrote:



On Tue, Oct 15, 2019 at 22:05, Pirate Praveen 
 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.


-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

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

2019-10-16 Thread Pirate Praveen



On Tue, Oct 15, 2019 at 22:05, Pirate Praveen 
 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.


-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

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

2019-10-15 Thread Pirate Praveen

Hi team,

I have created a wiki page to track the stuatus of all transitions here 
-> 


With the last many days work, rollup 1.10.1 is almost ready (there are 
some packages that needs fixing but nothing major). But we will need to 
wait for Acorn 6 upload to unstable. We need to update webpack to a 
version compatible with Acorn 6 before we can upload Acorn 6 to 
unstable.


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).


Thanks
Praveen

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel