-
Notifications
You must be signed in to change notification settings - Fork 229
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
Symbolic link to test pub packages locally before deploying them #4402
Comments
What is the use case? Does https://dart.dev/tools/pub/dependencies#dependency-overrides solve the problem? It allows to use a local dependency instead of a hosted one. We also are launching |
It's use case is that after creating a pub package, the developer can then link the package locally and test it in another project |
Does https://dart.dev/tools/pub/dependencies#dependency-overrides solve the problem? It allows to use a local dependency instead of a hosted one. |
It wouldn't hurt to have a CLI option |
Generally we try to avoid having implicit configuration. Having overrides explicit in the local project is IMO preferable as it makes it more clear what is going (harder to forget to turn it off). If you want to have an override that is not seen by To do it from the cli: $ echo 'dependency_overrides: {foo: {path: path/to/foo}}' > pubspec_overrides.yaml |
Perhaps we should have a command
For updating the overrides from the command line... |
A symbolic link similar to npm link in npm that developers can use to test their packages locally before deploying them
The text was updated successfully, but these errors were encountered: