Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NX Monorepo support #91

Open
2 tasks
rkreienbuehl opened this issue Sep 24, 2024 · 0 comments
Open
2 tasks

NX Monorepo support #91

rkreienbuehl opened this issue Sep 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rkreienbuehl
Copy link

Feature request

I am using a tsx to run apps in a nx monorepo with cross-env NODE_ENV=local tsx watch --tsconfig apps/xyz/tsconfig.app.json apps/xyz/src/main.ts. This works fine without any problems.

Now I try to build the same app with pkgroll as suggested in the tsx docs. The command I use is pkgroll --tsconfig apps/xyz/tsconfig.app.json --sourcemap --env.NODE_ENV=production apps/xyz/src/main.ts. Now I am always getting the error Error: No export entries found in package.json. What do I have to put into the package.jsons exports that this works in a nx monorepo?

Would be nice to have an nx plugin for pkgroll.

Motivations

tsx works fine with nx monorepos, would be nice to also use pkgroll easily with nx monorepos

Alternatives

No response

Additional context

No response

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

  • I'm willing to offer financial support
@rkreienbuehl rkreienbuehl added the enhancement New feature or request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant