-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for lerna.json #11
Comments
Nice idea, thanks. I am away for a few days but maybe sketch up a proposal for the CLI options how you'd like it to work? Thanks |
All cli tools I know use their related configuration file even if no cli options are given. So imho the correct behaviour would be to pick up the settings from lerna.json by default. lerna-update-wizard (also a third party cli for lerna) is already following this approach: |
Sure 👍 just want to be clear we're thinking of the same thing before we go ahead. |
Thanks @JamieMason 👍 |
You're welcome Jan |
It's taken me a while to work out the cause but I've realised this change is behind some slightly undesirable behaviour @jantimon. In my project I have Would you mind please letting me know a bit more behind your usage of syncpack that led to this issue? I don't want to undo anything you were asking for when trying to improve my own workflow. Thanks. |
Actually it would be nice to include the base ./package.json as well. Usually my base package.json does not contain many dependencies but some linters I use syncpack to reduce module duplication in lernas hoist mode. |
Thanks a lot @jantimon, that should be a pretty easy fix 👍 |
Thanks for your work! :) |
Oh, this landed in 3.4.0 😊 https://github.com/JamieMason/syncpack/blob/master/CHANGELOG.md#340-2018-10-28 |
Usually people set different globs in the lerna.json.
For example the official lerna git repository:
https://github.com/lerna/lerna/blob/901e6d54a47151dfed3d6ed2912804b97d05c6b5/lerna.json#L2-L6
Would it be possible to use that data instead of a default glob?
The text was updated successfully, but these errors were encountered: