brew_dart 0.2.0 copy "brew_dart: ^0.2.0" to clipboard
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.

60/ 160
pub points
15.9k
downloads

We analyzed this package 3 days ago, and awarded it 60 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
0
likes
60
points
15.9k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#homebrew #cli #package-manager #macos #linux

License

Apache-2.0 (license)

Dependencies

async, freezed_annotation, json_annotation, meta

More

Packages that depend on brew_dart