dts2hx icon indicating copy to clipboard operation
dts2hx copied to clipboard

Doesn't munge `@lib/sublib` package names in the same way between folder and haxelib

Open 0b1kn00b opened this issue 4 years ago • 3 comments

@jest/globals has the haxelib name @jest/globals which doesn't pass validation, whereas jest-globals the filepath is ok.

0b1kn00b avatar Mar 24 '21 07:03 0b1kn00b

I'm just looking into this – which lib are you converting? I try

npm i jest
dts2hx jest

And I just get nothing but typescript errors (at first glance it looks to be because it's a TS 4 lib and dts2hx is still on 3.7)

haxiomic avatar Mar 25 '21 00:03 haxiomic

It's generating things more or less despite the errors. Should I close this?

0b1kn00b avatar Mar 25 '21 11:03 0b1kn00b

Strangely enough on dts2hx 0.15.3 I don't get any files Let's keep this open so I can check jest all works correctly when I upgrade to TS 4 later this year

haxiomic avatar Mar 25 '21 15:03 haxiomic