Skip to content

Commit

Permalink
Fixed phrasing per @parlough
Browse files Browse the repository at this point in the history
  • Loading branch information
atsansone committed Feb 20, 2024
1 parent 5406874 commit 9a4c39e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/content/tools/pub/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,13 @@ use [`dart pub outdated`][].
### Tighten version constraints for dev dependencies

A dev dependency defines a package that you need only when developing.
A finished app won't need these packages. Examples include tests or code generation tooling.
A finished app won't need these packages.
Examples of these packages include tests or code generation tooling.
Set the version constraints of packages in [`dev_dependencies`][dev-dep]
to have a lower bound of the latest version on which your package depends.

An example of how to set versions for dependencies would resemble the
following `pubspec.yaml` example.
Tightening the version constraints of your dev dependencies might
resemble the following:

```yaml
dev_dependencies:
Expand Down

0 comments on commit 9a4c39e

Please sign in to comment.