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

outdated

Automates the release of a dart package to pub.dev including running dartfmt, creating a git tag, incrementing the packages version no. and pushing the package to pub.dev.

60/ 160
pub points
231
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

Failed to verify repository URL.

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

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.
Documentation URL doesn't exist.

At the time of the analysis https://pubrelease.noojee.dev/ was unreachable. Make sure that the website is reachable via HEAD requests.

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

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

67 out of 162 API elements (41.4 %) have documentation comments.

Some symbols that are missing documentation: pub_release, pub_release.CustomVersion.CustomVersion.new, pub_release.CustomVersion.version, pub_release.Git, pub_release.Git.Git.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

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

Because:

  • package:pub_release/pub_release.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: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: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 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 20 issues. Showing the first 2:

ERROR: The type 'Executables' used in the 'for' loop must implement 'Iterable'.

lib/src/create_release.dart:99:28

   ╷
99 │   for (final executable in executables) {
   │                            ^^^^^^^^^^^
   ╵

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

ERROR: There isn't a setter named 'value' in class 'Version'.

lib/src/multi_release.dart:226:19

    ╷
226 │         ..version.value = version
    │                   ^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
args ^2.3.1 2.7.0 2.7.0
dcli ^3.2.0-alpha.3 3.2.0 8.3.0
github ^9.4.0 9.25.0 9.25.0
meta ^1.3.0 1.17.0 1.17.0
mime ^1.0.0 1.0.6 2.0.0
path ^1.8.3 1.9.1 1.9.1
pub_semver ^2.1.0 2.2.0 2.2.0
pubspec_manager ^1.0.0-alpha.11 1.0.3 3.2.0
settings_yaml ^7.0.0 7.1.0 8.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csv - 5.1.1 6.0.0
dart_console2 - 3.1.1 3.1.1 Discontinued
dcli_core - 3.4.0 8.3.0
equatable - 2.0.8 2.0.8
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
functional_data - 1.2.0 1.2.0
glob - 2.1.3 2.1.3
globbing - 1.0.0 1.0.0 Discontinued
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
ini - 2.1.0 2.1.0
intl - 0.18.1 0.20.2
json2yaml - 3.0.1 3.0.1
json_annotation - 4.9.0 4.9.0
lists - 1.0.1 1.0.1 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
posix - 5.0.0 6.0.3
pubspec_lock - 3.0.2 3.0.2
quiver - 3.2.2 3.2.2
scope - 4.1.1 5.1.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
strings - 3.1.2 4.0.1
sum_types - 0.3.5 0.4.0
system_info2 - 4.1.0 4.1.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.8
uuid - 4.5.2 4.5.2
validators2 - 5.1.0 5.1.0
web - 1.1.1 1.1.1
win32 - 4.1.4 5.15.0
yaml - 3.1.3 3.1.3

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

Found 4 issues. Showing the first 2:

The constraint `^3.2.0-alpha.3` on dcli does not support the stable version `4.0.0`.

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

The constraint `^1.0.0` on mime does not support the stable version `2.0.0`.

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

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 17 errors:

  • FOR_IN_OF_INVALID_TYPE - lib/src/create_release.dart:99:28 - The type 'Executables' used in the 'for' loop must implement 'Iterable'.
  • ASSIGNMENT_TO_FINAL_NO_SETTER - lib/src/multi_release.dart:226:19 - There isn't a setter named 'value' in class 'Version'.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/src/multi_release.dart:249:29 - The name 'PubHostedDependency' isn't defined, so it can't be used in an 'is' expression.

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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
20
likes
60
points
231
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

Automates the release of a dart package to pub.dev including running dartfmt, creating a git tag, incrementing the packages version no. and pushing the package to pub.dev.

Documentation

API reference

License

MIT (license)

Dependencies

args, dcli, github, meta, mime, path, pub_semver, pubspec_manager, settings_yaml

More

Packages that depend on pub_release