ramasilveyra / gitpkg

Publish packages as git tags
MIT License
274 stars 27 forks source link

How can I use gitpkg to publish yarn workspace packages? #14

Open claykohut opened 5 years ago

claykohut commented 5 years ago

I'm trying to figure out how to be able to export a yarn workspace package in order to use within another internal project -- is this possible using gitpkg?

Anyone know the best way to approach this?

Thanks!

micimize commented 4 years ago

is this not as simple as cd packages/my-package && gitpkg publish? Unless you mean publishing and depending on all workspaces at once, which doesn't sound doable (aside from writing a bulk publish/install wrapper script)

appsforartists commented 3 years ago

Sounds like yarn workspaces run gitpkg publish is what you want.