knightedcodemonkey / duel

TypeScript dual packages.
MIT License
20 stars 4 forks source link

2.0.0-rc.0 copies files from dependencies within pnpm monorepo #46

Closed gsong closed 3 months ago

gsong commented 3 months ago

I have packages within a pnpm monorepo, and duel is copying files from dependency packages when compiling.

E.g. package1 depends on package2, files from package2 are copied into pacakge1 upon compilation.

knightedcodemonkey commented 3 months ago

Thank you for reporting this. If you don't mind providing a general outline of your project structure, that would help. You can use an online tool like https://tree.nathanfriend.io/ to help with that.

Also, what options if any did you pass to duel, i.e how did you run your build?

knightedcodemonkey commented 3 months ago

@gsong I've released v2.0.0-rc.1 which should fix this issue.

gsong commented 3 months ago

@gsong I've released v2.0.0-rc.1 which should fix this issue.

I’ll test it out soon and let you know.

gsong commented 3 months ago

@gsong I've released v2.0.0-rc.1 which should fix this issue.

Can confirm this fixed my issue. Thank you!