prisma_cli 1.0.5 copy "prisma_cli: ^1.0.5" to clipboard
prisma_cli: ^1.0.5 copied to clipboard

discontinuedreplaced by: orm

◭ Prisma is a modern DB toolkit to query, migrate and model your database

1
likes
60/ 160
pub points
0%
popularity

We analyzed this package 6 days ago, and awarded it 60 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

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

Repository has no matching pubspec.yaml with name: prisma_cli.

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: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

3 out of 4 API elements (75.0 %) have documentation comments.

Some symbols that are missing documentation: prisma_cli.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:prisma_cli/prisma_cli.dart that imports:
  • package:prisma_cli/src/prisma_cli.dart that imports:
  • package:prisma_cli/src/commands/init_command.dart that imports:
  • package:prisma_cli/src/utils/ansi_progress.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: '../dmmf/dmmf.dart'.

bin/src/commands/generate_command.dart:7:8

  ╷
7 │ import '../dmmf/dmmf.dart';
  │        ^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Target of URI doesn't exist: '../logger.dart'.

bin/src/commands/generate_command.dart:8:8

  ╷
8 │ import '../logger.dart';
  │        ^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
archive ^3.3.1 3.6.1 3.6.1
args ^2.3.1 2.6.0 2.6.0
http ^0.13.4 0.13.6 1.2.2
json_annotation ^4.6.0 4.9.0 4.9.0
path any 1.9.1 1.9.1
yaml any 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0

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

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 13 errors:

  • URI_DOES_NOT_EXIST - bin/src/commands/generate_command.dart:7:8 - Target of URI doesn't exist: '../dmmf/dmmf.dart'.
  • URI_DOES_NOT_EXIST - bin/src/commands/generate_command.dart:8:8 - Target of URI doesn't exist: '../logger.dart'.
  • UNDEFINED_CLASS - bin/src/commands/generate_command.dart:33:11 - Undefined class 'EngineOptions'.

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.22.15, Dart 3.5.4.

Check the analysis log for details.

1
likes
60
pub points
0%
popularity

Publisher

verified publisherprisma.pub

◭ Prisma is a modern DB toolkit to query, migrate and model your database

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

archive, args, http, json_annotation, path, yaml

More

Packages that depend on prisma_cli