Skip to content

pub tool: support adding a dependency as a dev dependency #77

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

Open
kenzieschmoll opened this issue Apr 22, 2025 · 1 comment
Open

pub tool: support adding a dependency as a dev dependency #77

kenzieschmoll opened this issue Apr 22, 2025 · 1 comment

Comments

@kenzieschmoll
Copy link
Contributor

dart pub add dev:foo will add package foo to dev_dependencies instead of dependencies.

@jakemac53
Copy link
Contributor

note there is also the --dev flag which will implicitly do that for all the listed packages.

@kenzieschmoll kenzieschmoll added the dart_tooling_mcp_server: pub tools Issues related to Pub MCP server tools label Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants