-
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
[Feature request] Make dart run
support remote package
#4052
Comments
Yeah - we have played with this idea quite some. Nice to hear a request for it. We want to do something in this direction (Maybe it will be We cannot currently promise any timeline. |
@sigurdm @bkonyi Is this something that could be explored soon? I'd be happy to help with the implementation if there is a preferred direction. Whether a I'd like to publish some tools to use to simplify various instructions in the Dart and Flutter docs, such as configuring lints, and not requiring a separate activation/installation step would be helpful. |
cc @jonasfj |
I think we'd be happy to discuss this more. Though why don't you install those tools as dev-dependencies of the dart-docs (i guess site-www) package? That way they'll be versioned along with the package. We have |
I think our biggest worry currently is, that without a prior installation step, there is really no way of validating that you are running what you think you are - making it easier to inject bad behavior. |
Oh sorry, I meant for developers reading/referencing the docs. So they can copy and run a single command from the docs to complete the relevant steps. Similar to how |
Ah - gotcha! sorry I completely misread that. |
I think one option would be to submit lockfiles with packages and run with those lock-files. This is what cargo does (at least can do) https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile Or there could be a way to pulish lock-files alone, and then point pub to them. |
Make
dart run
support remote package like thenpx
tool in frontend community.Currently,
dart run <package>
only support package in project (dev) dependencies.It's inconvenient for template creating tool as one does not want to install the tool globally.
The text was updated successfully, but these errors were encountered: