emerald-web-framework icon indicating copy to clipboard operation
emerald-web-framework copied to clipboard

[Sling-framework] Better npm run publish-packages

Open caiomdias opened this issue 6 years ago • 0 comments

I'm submitting a:

[ ] bug report [x] feature request [ ] support request

Current behavior:

When running npm run publish-packages, the script tries to publish all packages one by one and, if a package wasn't updated, publishing fails and then process goes on to the next package.

Expected behavior:

Instead, Lerna should first identify which packages have changed and publish only these. It works with lerna publish but not with lerna exec, that we have to use.

A possible solution would be creating a bash script with lerna updated and use this information to run npm publish on each changed package.

caiomdias avatar Oct 03 '18 21:10 caiomdias