Re: [Pkg-javascript-devel] Removing babel 6: Call for help
I updated the Rainloop package on Salsa; please take a look at it, and sponsor an upload to the archive if you think it's ready. The previous version became unbuildable as its dependencies were updated (hence the RC bugs), but updating to the latest upstream version was blocked by outdated Webpack and Babel versions until now. This update removes Rainloop's dependencies on node-knockout-transformations and node-babel-plugin-transform-decorators-legacy, which have no other reverse-dependencies and can now be removed from the archive. -- Daniel On 5/14/2020 8:46 PM, Pirate Praveen wrote: On Sun, May 10, 2020 at 12:35 am, Pirate Praveen wrote: More todo: 11 runtime reverse dependencies of node-babel 7 (some of them could be removed). 5 reverse build dependencies of node-babylon and 5 reverse build dependencies for node-babel-plugin-add-module-exports. I think we are just 4 packages away from removing src:node-babel 1. acorn - 960531 - needs to remove node-babel-preset-airbnb 2. libjs-webrtc-adapter - 959798 - fails with browserify-lite but works with webpack 3. node-yarnpkg - 960120 - builds fine but some syntax is not transpiled, probably because we did not specify all the required plugins to babel 4. rainloop - 960021 - it has rc bugs already, not sure what is the plan of Daniel Ring to keep it in shape (copying Daniel). Out of this, node-yarnpkg really needs help from someone who is good at javascript and understands ES6 well, either we find the correct plugin to use or we patch it out manually to a syntax that works in node 10. For acorn, the repo is in a mess, but I will try to ignore git-dpm for now. -- 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] Removing babel 6: Call for help
On 2020, മേയ് 18 5:34:41 PM IST, Pirate Praveen wrote: > > >On Sat, May 16, 2020 at 8:39 pm, Daniel Ring wrote: >> I updated the Rainloop package on Salsa; please take a look at it, >> and sponsor an upload to the archive if you think it's ready. >> > >Thanks for the fix, I have uploaded it. With rainloop also fixed, node-yarnpkg is the last blocker for babel 6 removal (libjs-webrtc and rails have fixes ready for upload). I think babel-plugin-transform-inline-imports-commonjs is the source of the problem (from what I understood trying various babel plugins and options and their permutations and combinations). This plugin is not compatible with babel 7, but there is a fork which has updated parts of it to use babel 7, but it still uses babel-plugin-transform-strict-mode from babel 6 (when trying to use @babel/pluging-transform-strict-mode from babel 7 node-yarnpkg build fails). So one possible solution could be to update this plugin to use @babel/pluging-transform-strict-mode and then try again. There is @babel/transform-modules-commonjs which is supposed to do the same thing in babel 7 but that does not work as documented. If we can get this plugin to work, that could also be one possible solution. Last resort, if we can avoid the circular dependencies by patching, that could work as well. lazy loading allows circular dependency but somehow it is failing to properly transpile the lazy loading and fails with circular dependencies. Another option is to jump to yarn 2.x branch, though it is still a release candidate. I think this would be the easiest option from a JS skill point of view, but may involve updating some dependencies and can potentially take longer. I hope someone who has better JS skills than me can help here. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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] Removing babel 6: Call for help
On Sat, May 16, 2020 at 8:39 pm, Daniel Ring wrote: I updated the Rainloop package on Salsa; please take a look at it, and sponsor an upload to the archive if you think it's ready. Thanks for the fix, I have uploaded it. The previous version became unbuildable as its dependencies were updated (hence the RC bugs), but updating to the latest upstream version was blocked by outdated Webpack and Babel versions until now. This update removes Rainloop's dependencies on node-knockout-transformations and node-babel-plugin-transform-decorators-legacy, which have no other reverse-dependencies and can now be removed from the archive. I have filed removal request for node-babel-plugin-transform-decorators-legacy. I think we can keep node-knockout-transformations unless there is an rc bug or upstream is dead since getting it back to archive if required for other packages is going to be a long process (js packages take much longer time in NEW than other languages, except uploads by some developers). -- 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] Removing babel 6: Call for help
On Sun, May 10, 2020 at 12:35 am, Pirate Praveen wrote: More todo: 11 runtime reverse dependencies of node-babel 7 (some of them could be removed). 5 reverse build dependencies of node-babylon and 5 reverse build dependencies for node-babel-plugin-add-module-exports. I think we are just 4 packages away from removing src:node-babel 1. acorn - 960531 - needs to remove node-babel-preset-airbnb 2. libjs-webrtc-adapter - 959798 - fails with browserify-lite but works with webpack 3. node-yarnpkg - 960120 - builds fine but some syntax is not transpiled, probably because we did not specify all the required plugins to babel 4. rainloop - 960021 - it has rc bugs already, not sure what is the plan of Daniel Ring to keep it in shape (copying Daniel). Out of this, node-yarnpkg really needs help from someone who is good at javascript and understands ES6 well, either we find the correct plugin to use or we patch it out manually to a syntax that works in node 10. For acorn, the repo is in a mess, but I will try to ignore git-dpm for now. -- 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] Removing babel 6: Call for help
On Tue, May 12, 2020 at 2:25 pm, Xavier wrote: Le 12/05/2020 à 13:06, Pirate Praveen a écrit : On Tue, May 12, 2020 at 10:58 am, Xavier wrote: I fixed it using a simple buffer.js which requires node's "buffer". Now build is OK but simple "require" test warns: I think we will have to tell webpack to use https://www.npmjs.com/package/buffer module here. https://github.com/webpack/node-libs-browser#outdated-versions says they want buffer 4.x and in debian we already have node-buffer 5.x Try embedding buffer 4.x? We may even need to embed this in node-libs-browser. It's a problem with babel/tsc. I added this to fix the problem: perl -i -pe 's/=\s*import\(/= require\(/' lib/matrix.js Great, update the bug report with a link to your repo. -- 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] Removing babel 6: Call for help
Le 12/05/2020 à 13:06, Pirate Praveen a écrit : > > On Tue, May 12, 2020 at 10:58 am, Xavier wrote: >> I fixed it using a simple buffer.js which requires node's "buffer". Now >> build is OK but simple "require" test warns: > > I think we will have to tell webpack to use > https://www.npmjs.com/package/buffer module here. > > https://github.com/webpack/node-libs-browser#outdated-versions says they > want buffer 4.x and in debian we already have node-buffer 5.x > > Try embedding buffer 4.x? We may even need to embed this in > node-libs-browser. It's a problem with babel/tsc. I added this to fix the problem: perl -i -pe 's/=\s*import\(/= require\(/' lib/matrix.js -- 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] Removing babel 6: Call for help
On Tue, May 12, 2020 at 10:58 am, Xavier wrote: I fixed it using a simple buffer.js which requires node's "buffer". Now build is OK but simple "require" test warns: I think we will have to tell webpack to use https://www.npmjs.com/package/buffer module here. https://github.com/webpack/node-libs-browser#outdated-versions says they want buffer 4.x and in debian we already have node-buffer 5.x Try embedding buffer 4.x? We may even need to embed this in node-libs-browser. -- 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] Removing babel 6: Call for help
Le 12/05/2020 à 09:04, Pirate Praveen a écrit : > > > On 2020, മേയ് 12 4:06:33 AM IST, Xavier wrote: >> ERROR in ./src/crypto/aes.js >> Module not found: Error: Can't resolve './../../buffer' in >> '/<>/src/crypto' >> @ ./src/crypto/aes.js 1:0-25 >> @ ./src/crypto/SecretStorage.js >> @ ./src/crypto/index.js >> @ ./src/client.js >> @ ./src/matrix.js >> @ ./src/browser-index.js > > https://webpack.js.org/configuration/node/ > > I think you will need use node: options here > > Or try with target: node option in output., I fixed it using a simple buffer.js which requires node's "buffer". Now build is OK but simple "require" test warns: (node:2533182) UnhandledPromiseRejectionWarning: Error: Not supported at Object. (/usr/share/nodejs/matrix-js-sdk/lib/matrix.js:380:24) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/usr/share/nodejs/matrix-js-sdk/lib/index.js:13:40) at Module._compile (internal/modules/cjs/loader.js:778:30) (node:2533182) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) -- 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] Removing babel 6: Call for help
On 2020, മേയ് 12 4:06:33 AM IST, Xavier wrote: >ERROR in ./src/crypto/aes.js >Module not found: Error: Can't resolve './../../buffer' in >'/<>/src/crypto' > @ ./src/crypto/aes.js 1:0-25 > @ ./src/crypto/SecretStorage.js > @ ./src/crypto/index.js > @ ./src/client.js > @ ./src/matrix.js > @ ./src/browser-index.js https://webpack.js.org/configuration/node/ I think you will need use node: options here Or try with target: node option in output., -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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] Removing babel 6: Call for help
Le 11/05/2020 à 21:48, Xavier a écrit : > Le 11/05/2020 à 14:43, Pirate Praveen a écrit : >> >> >> On Mon, May 11, 2020 at 2:27 pm, Xavier wrote: >>> I fixed partially node-matrix-js-sdk but I failed to configure >>> debian/webpack.config.js. So node-* is ready but not libjs-* >>> Can someone take a look ? >> >> Did you include this patch? >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933662 > > Yes, but the problem is to replace browserify by webpack, build needs a > tsc loader for webpack upstream browser-build: mkdirp dist && browserify -d src/browser-index.js \ -p [ tsify -p ./tsconfig.json ] \ -t [ babelify --sourceMaps=inline \ --presets [ @babel/preset-env @babel/preset-typescript ] ] \ | exorcist dist/browser-matrix.js.map > dist/browser-matrix.js I tried to reproduce this in debian/webpack.config.js but it fails. Anyway I pushed my work to salsa -- 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] Removing babel 6: Call for help
Le 11/05/2020 à 14:43, Pirate Praveen a écrit : > > > On Mon, May 11, 2020 at 2:27 pm, Xavier wrote: >> I fixed partially node-matrix-js-sdk but I failed to configure >> debian/webpack.config.js. So node-* is ready but not libjs-* >> Can someone take a look ? > > Did you include this patch? > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933662 Yes, but the problem is to replace browserify by webpack, build needs a tsc loader for webpack -- 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] Removing babel 6: Call for help
On Mon, May 11, 2020 at 2:27 pm, Xavier wrote: I fixed partially node-matrix-js-sdk but I failed to configure debian/webpack.config.js. So node-* is ready but not libjs-* Can someone take a look ? Did you include this patch? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933662 -- 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] Removing babel 6: Call for help
Le 11/05/2020 à 08:25, Pirate Praveen a écrit : > > > On 2020, മേയ് 11 2:19:01 AM IST, Xavier wrote: >> Le 10/05/2020 à 21:23, Pirate Praveen a écrit : >>> >>> >>> On Sat, May 9, 2020 at 10:54 pm, Xavier wrote: Thanks for your awesome work! >>> >>> Thanks to you, Jonas and Nilesh too for helping. >>> >>> Can somoene check babel7 branch in node-yarnpkg? It builds fine but I >>> probably need to include some specific plugins from stage-0 preset. It >>> builds fine, but when you try to run, it fails with this error. >>> >>> $ yarnpkg >>> /usr/share/nodejs/@babel/runtime/helpers/inherits.js:5 >>> throw new TypeError("Super expression must either be null or a >>> function"); >>> ^ >> >> In `function _inherits(subClass, superClass)`, superClass is "undefined" >> instead of "null". >> >> Adding (in babel7) `if(superClass===undefined) superClass=null;` fixes >> this problem but then: >> >> /usr/share/nodejs/yarn/lib/util/generate-pnp-map-api.tpl.js:28 >> var ignorePattern = $$BLACKLIST ? new RegExp($$BLACKLIST) : null; >>^ >> ReferenceError: $$BLACKLIST is not defined >>at Object. >> (/usr/share/nodejs/yarn/lib/util/generate-pnp-map-api.tpl.js:28:21) >>at Module._compile (internal/modules/cjs/loader.js:778:30) >>at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) >>at Module.load (internal/modules/cjs/loader.js:653:32) >>at tryModuleLoad (internal/modules/cjs/loader.js:593:12) >>at Function.Module._load (internal/modules/cjs/loader.js:585:3) >>at Module.require (internal/modules/cjs/loader.js:692:17) >>at require (internal/modules/cjs/helpers.js:25:18) >>at Object. >> (/usr/share/nodejs/yarn/lib/util/generate-pnp-map.js:22:52) >>at Module._compile (internal/modules/cjs/loader.js:778:30) >> >> So it seems that this is not an error on babel7 side but on yarn build > > With babel 6, they use node-babel-preset-stage-0 which is not available in > babel 7, we need to specify the plugins from that preset explicitly. > > For the webpack error, it does not fail the build and it was there before too. Hi, I fixed partially node-matrix-js-sdk but I failed to configure debian/webpack.config.js. So node-* is ready but not libjs-* Can someone take a look ? Cheers, Xavier -- 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] Removing babel 6: Call for help
On Mon, May 11, 2020 at 5:27 pm, Pirate Praveen wrote: On Mon, May 11, 2020 at 11:55 am, Pirate Praveen wrote: With babel 6, they use node-babel-preset-stage-0 which is not available in babel 7, we need to specify the plugins from that preset explicitly. btw this works with nodejs 12 from experimental oops, this was using the yarnpkg from archive as I was trying in a different chroot, so it fails with nodejs 12 as well. -- 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] Removing babel 6: Call for help
On Mon, May 11, 2020 at 11:55 am, Pirate Praveen wrote: With babel 6, they use node-babel-preset-stage-0 which is not available in babel 7, we need to specify the plugins from that preset explicitly. btw this works with nodejs 12 from experimental -- 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] Removing babel 6: Call for help
On 2020, മേയ് 11 2:19:01 AM IST, Xavier wrote: >Le 10/05/2020 à 21:23, Pirate Praveen a écrit : >> >> >> On Sat, May 9, 2020 at 10:54 pm, Xavier wrote: >>> Thanks for your awesome work! >> >> Thanks to you, Jonas and Nilesh too for helping. >> >> Can somoene check babel7 branch in node-yarnpkg? It builds fine but I >> probably need to include some specific plugins from stage-0 preset. It >> builds fine, but when you try to run, it fails with this error. >> >> $ yarnpkg >> /usr/share/nodejs/@babel/runtime/helpers/inherits.js:5 >> throw new TypeError("Super expression must either be null or a >> function"); >> ^ > >In `function _inherits(subClass, superClass)`, superClass is "undefined" >instead of "null". > >Adding (in babel7) `if(superClass===undefined) superClass=null;` fixes >this problem but then: > >/usr/share/nodejs/yarn/lib/util/generate-pnp-map-api.tpl.js:28 >var ignorePattern = $$BLACKLIST ? new RegExp($$BLACKLIST) : null; >^ >ReferenceError: $$BLACKLIST is not defined >at Object. >(/usr/share/nodejs/yarn/lib/util/generate-pnp-map-api.tpl.js:28:21) >at Module._compile (internal/modules/cjs/loader.js:778:30) >at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) >at Module.load (internal/modules/cjs/loader.js:653:32) >at tryModuleLoad (internal/modules/cjs/loader.js:593:12) >at Function.Module._load (internal/modules/cjs/loader.js:585:3) >at Module.require (internal/modules/cjs/loader.js:692:17) >at require (internal/modules/cjs/helpers.js:25:18) >at Object. >(/usr/share/nodejs/yarn/lib/util/generate-pnp-map.js:22:52) >at Module._compile (internal/modules/cjs/loader.js:778:30) > >So it seems that this is not an error on babel7 side but on yarn build With babel 6, they use node-babel-preset-stage-0 which is not available in babel 7, we need to specify the plugins from that preset explicitly. For the webpack error, it does not fail the build and it was there before too. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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] Removing babel 6: Call for help
Le 10/05/2020 à 21:23, Pirate Praveen a écrit : > > > On Sat, May 9, 2020 at 10:54 pm, Xavier wrote: >> Thanks for your awesome work! > > Thanks to you, Jonas and Nilesh too for helping. > > Can somoene check babel7 branch in node-yarnpkg? It builds fine but I > probably need to include some specific plugins from stage-0 preset. It > builds fine, but when you try to run, it fails with this error. > > $ yarnpkg > /usr/share/nodejs/@babel/runtime/helpers/inherits.js:5 > throw new TypeError("Super expression must either be null or a > function"); > ^ In `function _inherits(subClass, superClass)`, superClass is "undefined" instead of "null". Adding (in babel7) `if(superClass===undefined) superClass=null;` fixes this problem but then: /usr/share/nodejs/yarn/lib/util/generate-pnp-map-api.tpl.js:28 var ignorePattern = $$BLACKLIST ? new RegExp($$BLACKLIST) : null; ^ ReferenceError: $$BLACKLIST is not defined at Object. (/usr/share/nodejs/yarn/lib/util/generate-pnp-map-api.tpl.js:28:21) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/usr/share/nodejs/yarn/lib/util/generate-pnp-map.js:22:52) at Module._compile (internal/modules/cjs/loader.js:778:30) So it seems that this is not an error on babel7 side but on yarn build -- 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] Removing babel 6: Call for help
On Sat, May 9, 2020 at 10:54 pm, Xavier wrote: Thanks for your awesome work! Thanks to you, Jonas and Nilesh too for helping. Can somoene check babel7 branch in node-yarnpkg? It builds fine but I probably need to include some specific plugins from stage-0 preset. It builds fine, but when you try to run, it fails with this error. $ yarnpkg /usr/share/nodejs/@babel/runtime/helpers/inherits.js:5 throw new TypeError("Super expression must either be null or a function"); ^ TypeError: Super expression must either be null or a function at _inherits (/usr/share/nodejs/@babel/runtime/helpers/inherits.js:5:11) at /usr/share/nodejs/yarn/lib/cli/commands/global.js:58:29 at Object. (/usr/share/nodejs/yarn/lib/cli/commands/global.js:107:2) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) -- 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] Removing babel 6: Call for help
Le 09/05/2020 à 21:05, Pirate Praveen a écrit : > > > On Wed, May 6, 2020 at 8:26 pm, Pirate Praveen > wrote: >> You can see the status on migration at >> https://wiki.debian.org/Javascript/Nodejs/Transitions/Babel7 >> >> Roughly 33 of them are reverse build dependencies of >> node-rollup-plugin-babel, node-gulp-babel, node-grunt-babel and >> node-babel-loader (only node-babel-loader and its reverse build >> dependencies is remaining in this list). > > For node-babel-loader, I'm planning to upload 8.x once I fix > node-handlebars, some of the failed packages are not in testing and not > well maintained, I have filed bugs for them. For node-yarnpkg, I think > we can ignore the error (the build is passing anyway). > >> Roughly 50 of them were direct build dependency on src:node-babel and >> 10 of them fixed already. > > This has been reduced to 4 more to be fixed. But we found more packages > to be fixed for complete removal of all babel 6 packages which are now > added to the wiki page. Thanks for your awesome work! -- 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] Removing babel 6: Call for help
On Wed, May 6, 2020 at 8:26 pm, Pirate Praveen wrote: You can see the status on migration at https://wiki.debian.org/Javascript/Nodejs/Transitions/Babel7 Roughly 33 of them are reverse build dependencies of node-rollup-plugin-babel, node-gulp-babel, node-grunt-babel and node-babel-loader (only node-babel-loader and its reverse build dependencies is remaining in this list). For node-babel-loader, I'm planning to upload 8.x once I fix node-handlebars, some of the failed packages are not in testing and not well maintained, I have filed bugs for them. For node-yarnpkg, I think we can ignore the error (the build is passing anyway). Roughly 50 of them were direct build dependency on src:node-babel and 10 of them fixed already. This has been reduced to 4 more to be fixed. But we found more packages to be fixed for complete removal of all babel 6 packages which are now added to the wiki page. More todo: 11 runtime reverse dependencies of node-babel 7 (some of them could be removed). 5 reverse build dependencies of node-babylon and 5 reverse build dependencies for node-babel-plugin-add-module-exports. -- 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] Removing babel 6: Call for help
hi team, We now have babel 7 in bullseye and babel 6 is already unmaintained upstream. So I'd like to remove babel 6 from the archive. For this, we need to port all packages currently build depending on babel 6 to build with babel 7. You can see the status on migration at https://wiki.debian.org/Javascript/Nodejs/Transitions/Babel7 Roughly 33 of them are reverse build dependencies of node-rollup-plugin-babel, node-gulp-babel, node-grunt-babel and node-babel-loader (only node-babel-loader and its reverse build dependencies is remaining in this list). 26 of them fixed already. Roughly 50 of them were direct build dependency on src:node-babel and 10 of them fixed already. It'd be great if you can help port some of them. In most cases, a simple change in build dependencies and plugin name changes in .babelrc/package.json/webpack.config.json/rollup.config.json/gulpfile.js/gruntfile.js is enough (you can see the commits in the fixed packages for references. An example commit is -> https://salsa.debian.org/js-team/node-filesize/-/commit/7e2df0d62e237ee6c3f8214c2e030cccacde07ce ) If you'd like to help, please edit the wiki page and add your name next the module you are working on, to avoid conflicts with other team members. -- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel