hotreloader 2.0.2
hotreloader: ^2.0.2 copied to clipboard

Dart native
Flutter Android iOS Linux macOS Windows

Automatic hot code reloader for Dart projects that monitors the source files of a Dart project for changes and automatically applies them to the running Dart process.

8
likes
90 / 110
pub points
34 %
popularity

We analyzed this package on Mar 4, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

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

  • 11 out of 23 API elements (47.8 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:hotreloader/hotreloader.dart that imports:
  • package:hotreloader/src/util/vm.dart that imports:
  • package:vm_service/vm_service_io.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

Found 43 issues. Showing the first 2:

INFO: Prefer using /// for doc comments.

lib/hotreloader.dart:1:1

  ╷
1 │ ┌ /**
2 │ │  * Copyright 2020 by Vegard IT GmbH (https://vegardit.com) and contributors.
3 │ │  * SPDX-License-Identifier: Apache-2.0
4 │ │  *
5 │ │  * @author Sebastian Thomschke, Vegard IT GmbH
6 │ └  */
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/hotreloader.dart

INFO: Unnecessary new keyword.

lib/hotreloader.dart:25:14

   ╷
25 │ final _LOG = new logging.Logger('hotreloader');
   │              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/hotreloader.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
logging^0.11.3+20.11.41.0.0
path^1.6.31.8.01.8.0
stream_transform^1.0.01.2.02.0.0
vm_service>=4.0.0 <6.0.05.5.06.1.0+1
watcher^0.9.7+100.9.7+151.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.5.02.5.0
collection-1.15.01.15.0
meta-1.3.01.3.0
pedantic-1.11.01.11.0

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

Found 4 issues. Showing the first 2:

The constraint `^0.11.3+2` on logging does not support the stable version `1.0.0`, that was published 26 days ago.

When logging is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^1.0.0` on stream_transform does not support the stable version `2.0.0`, that was published 23 days ago.

When stream_transform is 30 days old, this package will no longer be awarded points in this category.

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

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

Analysed with Pana 0.15.3, Dart 2.12.0.

8
likes
90
pub points
34%
popularity

Publisher

vegardit.com

Automatic hot code reloader for Dart projects that monitors the source files of a Dart project for changes and automatically applies them to the running Dart process.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache 2.0 (LICENSE)

Dependencies

logging, path, stream_transform, vm_service, watcher

More

Packages that depend on hotreloader