Bug#942200: [Pkg-javascript-devel] Bug#942200: Bug#942200: rollup 1.0 transition: node-d3 built with rollup 1.0 gives error in test

2019-10-14 Thread Pirate Praveen



On Sun, Oct 13, 2019 at 19:13, Xavier  wrote:

Thanks a lot for your work !



You are welcome :)
We'll need to update node-rollup-pluginutils to 2.6 and drop 
src_babel generation as tsc can consume ES module directly. I'm 
going to try this tomorrow.


After updating node-rollup-pluginutils, I get

../../../../../../../usr/share/nodejs/rollup-pluginutils/src/createFilter.ts:1:16 
- error TS2307: Cannot find module 'micromatch'.


1 import mm from 'micromatch';


../../../../../../../usr/share/nodejs/rollup-pluginutils/src/extractAssignedNames.ts:1:22 
- error TS2307: Cannot find module 'estree-walker'.


1 import { Node } from 'estree-walker';
  ~~~

I think we'll need to include the type definitions in these two 
packages (or add them to node-typescript-types). I will try this now.




Bug#942200: [Pkg-javascript-devel] Bug#942200: Bug#942200: rollup 1.0 transition: node-d3 built with rollup 1.0 gives error in test

2019-10-13 Thread Xavier
Thanks a lot for your work !

Le 13 octobre 2019 17:02:20 GMT+02:00, Pirate Praveen 
 a écrit :
>
>
>On Sun, Oct 13, 2019 at 20:15, Pirate Praveen 
> wrote:
>> This seems like a bug in rollup 1.0.2. Using with rollup 1.0.2 in 
>> package.json, npm i; npm run test also fails. Works fine with rollup 
>> 1.8.
>
>Now trying to update to 1.10.1 (which also works).
>
>Found debian/nodejs/./build
>   cd ./. && sh -e debian/nodejs/./build
>src/Module.ts:5:34 - error TS2307: Cannot find module 
>'rollup-pluginutils/src/extractAssignedNames'.
>
>5 import extractAssignedNames from 
>'rollup-pluginutils/src/extractAssignedNames';
>   
>~
>
>src/watch/index.ts:4:26 - error TS2307: Cannot find module 
>'rollup-pluginutils/src/createFilter'.
>
>4 import createFilter from 'rollup-pluginutils/src/createFilter';
>   ~
>
>
>Found 4 errors.
>
>We'll need to update node-rollup-pluginutils to 2.6 and drop src_babel 
>generation as tsc can consume ES module directly. I'm going to try this
>
>tomorrow.

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma 
brièveté.