[Pkg-javascript-devel] babel 7.9.6 notes
Xavier
yadd at debian.org
Mon May 4 08:53:20 BST 2020
Le 04/05/2020 à 09:52, Xavier a écrit :
> # COMPONENTS
>
> Add component: gensync
> + authorize beta release in debian/watch ([\w\.\-]+)
> + add it in debian/nodejs/submodules
> Add components:
> * babel-plugin-dynamic-import-node (patch it to build with babel 7)
> * @babel/plugin-syntax-async-generators
> * @babel/plugin-syntax-dynamic-import
> * @babel/plugin-syntax-export-namespace-from
> * @babel/plugin-syntax-json-strings
> * @babel/plugin-syntax-nullish-coalescing-operator
> * @babel/plugin-syntax-object-rest-spread
> * @babel/plugin-syntax-optional-catch-binding
> * @babel/plugin-syntax-optional-chaining
> * @babel/preset-modules
> * levenary
> + add them in debian/nodejs/submodules (component name, not real name)
>
> # BUILD MODULES
> Additional needed build modules:
> * @rollup/plugin-json
> * @rollup/
> * browserify-fs
> * buffer-es6
> * jest-worker
> * process-es6
> * rollup-plugin-node-builtins
> * rollup-plugin-node-globals
> * rollup-plugin-terser
> * 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`
>
> 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)
> 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)
NB: Error during rebuild with generated package
More information about the Pkg-javascript-devel
mailing list