pub_release 6.4.0 copy "pub_release: ^6.4.0" to clipboard
pub_release: ^6.4.0 copied to clipboard

outdated

Automates the release of a dart package to pub-web.flutter-io.cn including running dartfmt, creating a git tag, incrementing the packages version no. and pushing the package to pub-web.flutter-io.cn.

19
likes
60/ 140
pub points
46%
popularity

We analyzed this package 16 hours ago, and awarded it 60 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

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: pub_release,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/bsutton/pub_release but got https://github.com/onepub-dev/pub_release.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

46 out of 87 API elements (52.9 %) have documentation comments.

Some symbols that are missing documentation: pub_release, pub_release.Git, pub_release.Git.Git, pub_release.Git.addGitTag, pub_release.Git.commit.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:pub_release/pub_release.dart that imports:
  • package:pub_release/src/version/version.dart that imports:
  • package:pub_release/src/pubspec_helper.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:pub_release/pub_release.dart that imports:
  • package:pub_release/src/version/version.dart that imports:
  • package:pub_release/src/pubspec_helper.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:pub_release/pub_release.dart that imports:
  • package:pub_release/src/version/version.dart that imports:
  • package:pub_release/src/pubspec_helper.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Linux`.

Because:

  • package:pub_release/pub_release.dart that imports:
  • package:pub_release/src/version/version.dart that imports:
  • package:pub_release/src/pubspec_helper.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/terminal.dart that imports:
  • package:dart_console2/dart_console2.dart that imports:
  • package:dart_console2/src/console.dart that imports:
  • package:dart_console2/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:pub_release/pub_release.dart that imports:
  • package:pub_release/src/version/version.dart that imports:
  • package:pub_release/src/pubspec_helper.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/terminal.dart that imports:
  • package:dart_console2/dart_console2.dart that imports:
  • package:dart_console2/src/console.dart that imports:
  • package:dart_console2/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

ERROR: Undefined name 'Script'.

bin/pub_release.dart:47:12

   ╷
47 │   print('${Script.current.exeName} $packageVersion');
   │            ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/pub_release.dart

ERROR: Undefined name 'Script'.

lib/src/create_release.dart:114:3

    ╷
114 │   Script.fromFile(script).compile(overwrite: true);
    │   ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/create_release.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
dcli ^1.0.0 1.35.5 4.0.1
github ^8.0.1 8.5.0 9.24.0
meta ^1.3.0 1.15.0 1.15.0
mime ^1.0.0 1.0.5 1.0.5
pub_semver ^2.0.0 2.1.4 2.1.4
pubspec ^2.0.1 2.3.0 2.3.0
settings_yaml ^3.0.1 3.5.1 8.1.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
basic_utils - 3.9.4 5.7.0
boolean_selector - 2.1.1 2.1.1
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.11.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
csv - 5.1.1 6.0.0
dart_console2 - 2.0.0 3.1.1
dcli_core - 1.36.2 4.0.0
equatable - 2.0.5 2.0.5
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
file_utils - 1.0.1 1.0.1
glob - 2.1.2 2.1.2
globbing - 1.0.0 1.0.0
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
ini - 2.1.0 2.1.0
intl - 0.17.0 0.19.0
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
pointycastle - 3.9.1 3.9.1
posix - 4.1.0 6.0.1
pubspec2 - 2.4.2 4.0.0
quiver - 3.2.1 3.2.1
random_string - 2.3.1 2.3.1
scope - 3.0.0 4.1.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stacktrace_impl - 2.3.0 2.3.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
system_info2 - 2.0.4 4.0.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.4.0
validators2 - 3.0.0 5.0.0
vin_decoder - 0.2.1-nullsafety 0.2.1-nullsafety
win32 - 2.7.0 5.5.1
yaml - 3.1.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^1.0.0` on dcli does not support the stable version `2.0.1`.

Try running dart pub upgrade --major-versions dcli to update the constraint.

The constraint `^8.0.1` on github does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions github to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.4.1.

Check the analysis log for details.

19
likes
60
pub points
46%
popularity

Publisher

verified publisheronepub-web.flutter-io.cn

Automates the release of a dart package to pub-web.flutter-io.cn including running dartfmt, creating a git tag, incrementing the packages version no. and pushing the package to pub-web.flutter-io.cn.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dcli, github, meta, mime, pub_semver, pubspec, settings_yaml

More

Packages that depend on pub_release