brew_dart 0.2.0
brew_dart: ^0.2.0 copied to clipboard
Full programmatic access to Homebrew on macOS and Linux. Wraps the brew CLI with strongly-typed freezed models, JSON v2 parsing, streaming output, batch operations, and a unified Brew facade.
We analyzed this package 3 days ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
181 out of 267 API elements (67.8 %) have documentation comments.
Some symbols that are missing documentation: brew_dart.BatchResult.BatchResult.new, brew_dart.Brew.Brew.new, brew_dart.BrewCli.BrewCli.new, brew_dart.BrewCommandException.BrewCommandException.fromExitCode, brew_dart.BrewCommandException.BrewCommandException.fromResult.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 76 issues. Showing the first 2:
ERROR: The getter 'name' isn't defined for the type 'OutdatedPackage'.
lib/src/brew.dart:435:40
╷
435 │ final result = await upgrade(pkg.name, cask: pkg.isCask);
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/brew.dart
ERROR: The getter 'isCask' isn't defined for the type 'OutdatedPackage'.
lib/src/brew.dart:435:56
╷
435 │ final result = await upgrade(pkg.name, cask: pkg.isCask);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/brew.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
^2.12.0 |
2.13.1 | 2.13.1 | |
freezed_annotation |
^3.0.0 |
3.1.0 | 3.1.0 | |
json_annotation |
^4.11.0 |
4.12.0 | 4.12.0 | |
meta |
^1.16.0 |
1.19.0 | 1.19.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 76 errors:
UNDEFINED_GETTER-lib/src/brew.dart:435:40- The getter 'name' isn't defined for the type 'OutdatedPackage'.UNDEFINED_GETTER-lib/src/brew.dart:435:56- The getter 'isCask' isn't defined for the type 'OutdatedPackage'.UNDEFINED_GETTER-lib/src/brew.dart:437:24- The getter 'name' isn't defined for the type 'OutdatedPackage'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.18, Dart 3.13.1.
Check the analysis log for details.