loading...

re: What do you use for private package hosting? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: a monorepo counts for your definition of private packages?
 

Hmm it could? I'm not sure what that looks like, mind sharing some details?

 

for example in a node app, you will have a structure like this in the same git repo:

app1
app2
package1
package2

in the package.json from app1 you can reference the dependency with "package1": "../package1" and "package2": "../package2". And app2 can reference or not some common package in its package.json

that way your package is private because is part of your own repo, and you can have multiple apps sharing the packages you create.

Cool idea and totally viable! Thanks for sharing.

Code of Conduct Report abuse