-
Notifications
You must be signed in to change notification settings - Fork 0
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
Usage with npm #1
Comments
Hi there. I'm glad you like it!
That's only for contributors, in an own project you're free to use any other package manager 👍
Yes, it should work fine but overall I believe one package manager should be used in the repository, All hypothetical here, since so far I am the only contributor 😂 FYI, so far this cli is not published to the NPM registry yet. If you would have a use of it, I could publish it |
Yes, you're right, that could potentially lead to different dependency resolutions if the two log files are not synced. Until now I only tested it a bit, because we also have the need to build multiple angular libraries in one command. Nevertheless, a few functions are in there I would like to keep.
I will build your CLI and try to use it standalone in our repo, to test if it could work for our use case. |
Yeah I had something similar before, a simple topological sort and sequential build of libraries.
Yes, was thinking of adding this to the |
We don't build at "runtime" only if a new version is created, so it's not that big of a problem for us. But faster builds are always nice ;)
I think changing the builder is something that people rarely do, because if there are some new features from angular itself you have to migrate manually, but it would be definitely a better place. Can you install a yarn workspace with some placeholders? |
💯 yeah. Building libraries during development is just way too slow.
Sorry, I am not sure what exactly do you mean.
I guess we can try already. The heavy lifting is done already, just checking the existing dependencies graph, then only writing into the package.json of the built libraries. |
Ah, so you don't use
I tried to describe it here npm/rfcs#301 (comment) E.g. the dependencies for angular in the demo/package.json use version Currently I don't use workspaces because when we created our repository, npm didn't support it yet. So I managed all dependencies in the main package.json (but I would like to get away from that). But this way npm is not capable to install a workspace because it doesn't know wich versions to use. Wanted to ask if something like this is possible with yarn.
That sound really great :) |
This repository looks nice!
I recognized that in the main package.json one is advised to use
yarn
instead ofnpm
.Should this only be for developers of this repo or also for users of the cli?
I tried this repo with npm and looks like it is working as well, if you use a few other commands.
The text was updated successfully, but these errors were encountered: