If I'm using monorepo with AdonisJS and don't want to publish my packages to npm, what's the best way to handle it? #4076
Unanswered
bosens-China
asked this question in
Help
Replies: 3 comments 8 replies
-
Hey @bosens-China! 👋🏻 I don't understand your issue. I recommend reading more about the monorepo tool you are using. You will find your answer in their documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Did you ever find a solution for this? I'm trying to import TS files directly from a local package, but Adonis barfs on it. |
Beta Was this translation helpful? Give feedback.
2 replies
-
use yalc or npm link as @wswawan mention |
Beta Was this translation helpful? Give feedback.
5 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.
-
I have several packages, but I don't want to publish them on npm.
In Webpack, I can use "build" to combine files, but with AdonisJS, I need to use something like tsc to package the modules, which can result in the built resources still referencing the packages, such as "require('xxx/xxx')".
Is there a good solution for my situation?
Beta Was this translation helpful? Give feedback.
All reactions