angel_migration_runner 2.0.0
angel_migration_runner: ^2.0.0 copied to clipboard
Command-line based database migration runner for Angel's ORM.
We analyzed this package on Feb 25, 2021, and awarded it 80 pub points (of a possible 110):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Package has an example
- Found example at:
example/main.dart
0/10 points: 20% or more of the public API has dartdoc comments
- 1 out of 47 API elements (2.1 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
20/20 points: Supports 2 of 2 possible platforms (native, js)
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 30 issues. Showing the first 2:
INFO: Unnecessary new keyword.
lib/src/cli.dart:7:13
╷
7 │ var cmd = new CommandRunner('migration_runner', 'Executes Angel migrations.')
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/cli.dart
INFO: Unnecessary new keyword.
lib/src/cli.dart:8:18
╷
8 │ ..addCommand(new _UpCommand(migrationRunner))
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run dartanalyzer lib/src/cli.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
angel_migration | ^2.0.0-alpha | 2.0.0 | 2.0.0 |
angel_orm | ^2.0.0-dev.2 | 2.0.2 | 2.0.2 |
args | ^1.0.0 | 1.6.0 | 2.0.0 |
charcode | ^1.0.0 | 1.1.3 | 1.2.0 |
postgres | >=0.9.5 <2.0.0 | 1.0.2 | 2.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection | - | 1.14.13 | 1.15.0 |
convert | - | 2.1.1 | 3.0.0 |
crypto | - | 2.1.5 | 3.0.0 |
intl | - | 0.15.8 | 0.17.0 |
meta | - | 1.2.4 | 1.3.0 |
path | - | 1.7.0 | 1.8.0 |
source_span | - | 1.7.0 | 1.8.1 |
string_scanner | - | 1.0.5 | 1.1.0 |
term_glyph | - | 1.1.0 | 1.2.0 |
typed_data | - | 1.2.0 | 1.3.0 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` on args does not support the latest published version `2.0.0`
pubspec.yaml:11:9
╷
11 │ args: ^1.0.0
│ ^^^^^^
╵
The constraint `>=0.9.5 <2.0.0` on postgres does not support the latest published version `2.2.0`
pubspec.yaml:13:13
╷
13 │ postgres: ">=0.9.5 <2.0.0"
│ ^^^^^^^^^^^^^^^^
╵
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analysed with
Pana 0.14.10
,
Dart 2.10.5
.