[Pkg-javascript-devel] The (long) way to update rollup

Pirate Praveen praveen at onenetbeyond.org
Wed Jul 24 09:04:06 BST 2019



On 2019, ജൂലൈ 24 4:22:28 AM IST, Xavier <yadd at debian.org> wrote:
>Final results:
>
>0.50.0 can build until 0.53.3
>0.51.7 can build until 0.56.3
>0.56.1 can build until 0.65.2
>0.58.1 can build until 0.67.2
>0.59.1 can build until 1.12.0
>1.12.0 can build until 1.17.0
>
>So 6 steps needed (4 breaking changes), at least 4 to update node-buble
>(2 little breaking changes)

Last time we broke the loop by manually converting ES module to Commonjs with a patch. We could go straight to 1.17 if we follow this approach as it does not involve any build.

https://salsa.debian.org/js-team/node-rollup/blob/4fecc91f85423688acdc6d7342fe2f15c2404599/debian/patches/cjs.diff

Alternative approach is to use type: module in package.json and the node --experimental-modules  to build rollup 1.17 with itself or just patch bin/rollup to add --experimental-modules  in shebang line.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-javascript-devel mailing list