Closed bjoluc closed 1 year ago
Hello!
And thanks for the PR.
Sorry I missed this. Managed to find some time to get some releases out, so let me take a look at this over Christmas.
Cheers, Dave
Just to let you guys know, I finally have the time to check this out and review things!
My utmost apologies that it's taken this long. Shameful! 😬
Hey @davestewart, thanks for coming back to this again! No probs at all if it takes longer than expected, we can always directly install from forks on GitHub :slightly_smiling_face: Let me know if there's anything I can help with!
Hey, any ideia when this issue will be merged?
To avoid hacks, I am currently hacking the hq.get('jest', { format: 'array' })' with a map((x) => x.replace('<rootDir>'))
to include the '../'
after <rootDir>
. So I have used --save-exact, but, hey this ain't the cleanest solution.
Hey @davestewart ! I just noticed this bug. It prevents me from using relative paths in my monorepo if I want Jest to work with alias-hq. Is there anything I can do to help with this pull request?
I think I'll just merge this. It sounds like there has been enough testing on it by people using it, and I'm just getting in the way.
Stand by.
@davestewart In the light of your review comment above, I'm fully confident of this PR, so no obligations from my end!
I've merged everything locally, but have to head out now (on holiday in Malta! 🌞) so will complete when I get in later 👋
Great to hear, enjoy your holiday and don't forget to use sunscreen :zany_face:
OK, published to NPM!
https://www.npmjs.com/package/alias-hq
Thanks again for the PR and sorry it took such a shockingly long time to attend to 🙏
Thanks for the merge @davestewart! :pray:
This is a follow-up on #45 including the fix proposed by @chrissantamaria and adding tests for it. For the tests, I added an
@alias-hq/*
=>../../src
alias to the demo project which resolves to thesrc
directory of thealias-hq
package. The core and all plugins work as expected with the new alias; only thejest
plugin failed due to #45 before applying the fix.EDIT: Needless to say, I checked that jest works with
<rootDir>/../
paths.Closes #45