gg_project_root 1.0.4 copy "gg_project_root: ^1.0.4" to clipboard
gg_project_root: ^1.0.4 copied to clipboard

Returns the dart project root for a given folder by looking for pubspec_yaml.dart

1
likes
150/ 160
pub points
770
downloads

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

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

0/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/inlavigo/gg_project_root.git was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: gg_project_root,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

27 out of 28 API elements (96.4 %) have documentation comments.

Some symbols that are missing documentation: gg_project_root.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:gg_project_root/gg_project_root.dart that imports:
  • package:gg_project_root/src/gg_project_root.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:gg_project_root/gg_project_root.dart that imports:
  • package:gg_project_root/src/gg_project_root.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
args ^2.4.2 2.6.0 2.6.0
colorize ^3.0.0 3.0.0 3.0.0
gg_args ^2.0.1 2.0.4 2.0.4
gg_log ^1.0.0 1.0.6 1.0.6
gg_process ^1.0.1 1.1.6 1.1.6
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
gg_capture_print - 1.0.9 1.0.9
gg_console_colors - 2.1.4 2.1.4
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.0
mocktail - 1.0.4 1.0.4
recase - 4.1.0 4.1.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

1
likes
150
points
770
downloads

Publisher

verified publisherinlavigo.com

Weekly Downloads

Returns the dart project root for a given folder by looking for pubspec_yaml.dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, colorize, gg_args, gg_log, gg_process, path

More

Packages that depend on gg_project_root