How to ignore installing a single package from workspace. #7844
Unanswered
arthurfiorette
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the https://github.com/kitajs/kitajs monorepo, we have a package called
@kitajs/runtime
. Its a package similar to@prisma/client
where after installing the user generates some code inside thenode_modules/@kitajs/runtime/generated
folder.The problem lives that multiple packages are running this generation step inside the monorepo, and as all uses the @kitajs/runtime linked from the original source, their generation conflicts with each other...
Is there a way to avoid linking a single package in each package's node_modules? I it could copy the
@kitajs/runtime
package, all other packages could generate its own code without conflicts...Reproduction step:
pnpm build
packages/cli/templates/kita
and install & build it.packages/runtime/generated
was changed.packages/cli/templates/kita-jsx
and repeat step 3, thepackages/runtime/generated
was again changed andpackages/cli/templates/kita
does not works anymore.Beta Was this translation helpful? Give feedback.
All reactions