This repository was archived by the owner on May 1, 2024. It is now read-only.
Publishing of dependent package in workspaces project #751
Unanswered
kristiannotari
asked this question in
CLI
Replies: 1 comment 3 replies
-
|
@kristiannotari I'm here looking for an answer that you might have, I'm so sorry for OOT-ly replying this thread. I was curious about you
How to do that? I was trying to install A from C but some sort of weird error happened. Do you just directly use the package? Or do you install it in some sort of way? If possible please show me the dependencies version entry after the install. https://stackoverflow.com/questions/74412570/cross-reference-npm-install-package-inside-workspace |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement
I have a npm v8 monorepo where I'm using npm workspaces. So I have 3 packages A, B, C. I want to publish package C which has packages A and B as dependencies.
From an in code import perspective, having a single node_modules let me import A and B from C code easily. But what if I want to publish C? How could the publish process work in order to "bundle" my non published package A and B respecting their respective dependencies too?
Potential Solution
I don't have one and I'm looking to find answers on how it is done generally as I can't find any docs on how to approach a similar problem.
Beta Was this translation helpful? Give feedback.
All reactions