typescript-transform-paths icon indicating copy to clipboard operation
typescript-transform-paths copied to clipboard

feat: provide transformer for NX

Open zyf0330 opened this issue 3 years ago • 8 comments

zyf0330 avatar Apr 12 '22 08:04 zyf0330

@nonara Hello, do you have any time to see this?

zyf0330 avatar Apr 19 '22 08:04 zyf0330

Hi @zyf0330 - I apologize for not getting to this on the weekend. I didn't realize that it was Easter, so I'm playing catch up. I am wrapping up another PR review right now and will be going over this one immediately after.

nonara avatar Apr 19 '22 18:04 nonara

This looks pretty good. Thanks for the nice work!

I'd like to see an end-to-end test to make sure that we can track it actually working with nx. That way, in case nx ever changes anything, it will fail out and we can catch it.

Can you add a very basic test project in test/projects and make the test do a simple transform test using nx? I would likely build it with child_process.execSync.

For an example, have a look at the test/projects/extras project and test/tests/extras.test.ts test file.

nonara avatar Apr 20 '22 00:04 nonara

This looks pretty good. Thanks for the nice work!

I'd like to see an end-to-end test to make sure that we can track it actually working with nx. That way, in case nx ever changes anything, it will fail out and we can catch it.

Can you add a very basic test project in test/projects and make the test do a simple transform test using nx? I would likely build it with child_process.execSync.

For an example, have a look at the test/projects/extras project and test/tests/extras.test.ts test file.

Ok, I will try

zyf0330 avatar Apr 20 '22 01:04 zyf0330

@nonara Hello, please review my e2e test. I just test declaration emit, because this is my only need.

zyf0330 avatar Apr 27 '22 09:04 zyf0330

@nonara Do you have any time to review this rencently?

zyf0330 avatar May 07 '22 07:05 zyf0330

@nonara Hello, do you have time to see this?

zyf0330 avatar May 23 '22 10:05 zyf0330

Hi @zyf0330 . Sorry for the delay. I've been out for a few months. I will review this shortly!

nonara avatar Aug 10 '22 01:08 nonara

@zyf0330 First off, sorry that this took so long! I started a new development firm a year ago and ended up having no time for OSS.

Thank you for your work on this! I made a few changes to stay with the direction of the library as a whole, but it is mostly the same.

Let me know if you have any questions or comments.

nonara avatar Oct 20 '22 20:10 nonara

Looks like I don't have write access here, so I pushed to master. Here's the commit:

  • https://github.com/LeDDGroup/typescript-transform-paths/commit/66191641bcd023464198b1974a6c351c831dc803

nonara avatar Oct 20 '22 20:10 nonara

OK, I am glad you come back finally!

zyf0330 avatar Oct 21 '22 02:10 zyf0330