[Pkg-javascript-devel] babel 7.9.6 notes

Pirate Praveen praveen at onenetbeyond.org
Mon May 4 09:19:05 BST 2020



On Mon, May 4, 2020 at 9:52 am, Xavier <yadd at debian.org> wrote:
> # BUILD MODULES
> Additional needed build modules:
>  * @rollup/plugin-json
>  * @rollup/

Why? Can't we use the packaged versions and adapt rollup.config.js?

>  * browserify-fs
>  * buffer-es6
>  * jest-worker
>  * process-es6
>  * rollup-plugin-node-builtins
>  * rollup-plugin-node-globals
>  * rollup-plugin-terser

We can skip this, patch rollup.config.js and run uglifyjs.terser in 
rules. Eventually we need to package this as we have to patch a lot of 
modules because of this. I have started work on it in salsa, but 
stopped because of issues with node-jest.

>  * serialize-javascript
> 
> # CHANGES
> debian/control:
>  * add build dependency to node-rollup-plugin-commonjs
>  * add dependency to node-leven
> 
> debian/rules: replace make `build-dist` by `make build build-dist`
> 

Why? build-dist depends on build.

> patches:
>  * remove remove-trim-right.patch and remove-gulp-watch-task.diff
>  * refresh patches
>  * in Makefile, replace `NODE := $(YARN) node` by `NODE := node`
> 
> 
> # REMAINING ERROR:
> cd babel-plugin-dynamic-import-node && babeljs-7 src --out-dir lib
> TypeError: glob pattern string required
>     at new Minimatch (/usr/share/nodejs/minimatch/minimatch.js:116:11)

Incompatible version of minimatch? Just guessing. Verify version in 
package.json

>     at setopts (/usr/share/nodejs/glob/common.js:118:20)
>     at new GlobSync (/usr/share/nodejs/glob/sync.js:40:3)
>     at Function.globSync [as sync] 
> (/usr/share/nodejs/glob/sync.js:26:10)
>     at /usr/share/nodejs/@babel/cli/lib/babel/options.js:150:33
>     at Array.reduce (<anonymous>)
>     at parseArgv 
> (/usr/share/nodejs/@babel/cli/lib/babel/options.js:149:45)
>     at Object.<anonymous>
> (/usr/share/nodejs/@babel/cli/lib/babel/index.js:12:35)
>     at Module._compile (internal/modules/cjs/loader.js:778:30)
>     at Object.Module._extensions..js 
> (internal/modules/cjs/loader.js:789:10)
> 
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel





More information about the Pkg-javascript-devel mailing list