Closed FelixSchuSi closed 4 years ago
This is weird. The last commit contains the same changes as the first commit (except for a space), however the tests failed only for the first commit.
I couldnt find out why the tests failed, because all tests pass on my machine an the pipelines logs show an opaque node error.
First of all, thank you so much for this PR! I look forwarding taking a closer look at the code later today when I get some more time. I expect to merge into 1.2.0 shortly thereafter :-)
It would be nice if you add some tests to test/parser/parse-dependencies.ts
, but I can also add some tests afterwards :+1:
Unfortunately, currently package-locks are not used when installing package dependencies through Lerna, so the CI could be using minor/patch versions with potential bugs. It seems like a bug was introduced in ava
yesterday that was fixed within a couple of hours with version 3.10.1
.
I just added two commits on top of your work :-)
(1) I added some more tests to parse-dependencies.ts
.
(2) I would prefer the parameters "SourceFile" and "TsModule" to be camel cased and for "TsModule" to be named "ts" instead to follow project conventions, so I changed the names of the parameters.
This PR consists of two small changes: