-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update peer dependency from rest-ts-express to rest-ts-core #2
Comments
Same for axios:
|
This seems to be intended: lerna/lerna#1575 |
Yes, I think I will do that. |
Thanks for binging this up! |
It's the first time I'm using lerna and I have to say I'm pretty disappointed. I've used Makefiles so far and I think I'll just go back to that because lerna is not helping at all, it's just adding useless overhead. Now, for the problem in this issue. I will keep the dependency as a "peerDependency" with the caret range because it suits the use case of this module quite well. Then the release script should take care to update the actual version in the peerDependencies block. |
I think lerna is great for managing dependencies between different packages in a monorepo. Do you think it's worth it to implement the functionality of lerna manually, e.g. the creation of symlinks for dependencies? Also what is the reasoning for using peerDependencies across different parts of the same project? |
In this repo I'm not sharing code across the projects, so it doesn't really matter if I have a symlink or not. A simple Besides, even for projects that share code, I've use a different system based on a combination of Maybe lerna reduces the boilerplate and makes publishing easier, but at the same time it requires prior knowledge of the tool. Like here, if I want to know how to update the cross-dependencies of my project, it'll require hours of googling. I'm better off rolling my own system and this way I can tweak it at ease.
By using |
Hey @erikhofer , I made a bunch of modifications over the week-end, including a lot of bug fixes. I also changed the way you create the express router to use a builder instead of a plain object hash. It's supposed to help provide better auto-completion than the previous solution. If you are still using this library, please check out the latest version and let me know what you think! |
rest.ts/packages/rest-ts-express/package.json
Line 19 in 2740846
It still works but npm shows a warning:
Can lerna do this automatically?
The text was updated successfully, but these errors were encountered: