serverpod_relic 0.9.8 copy "serverpod_relic: ^0.9.8" to clipboard
serverpod_relic: ^0.9.8 copied to clipboard

Web server for Serverpod (still experimental, but working).

0
likes
60/ 140
pub points
21%
popularity

We analyzed this package 4 days 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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

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

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

25 out of 52 API elements (48.1 %) have documentation comments.

Some symbols that are missing documentation: serverpod_relic.AbstractWidget, serverpod_relic.AbstractWidget.AbstractWidget, serverpod_relic.Route, serverpod_relic.Route.Route, serverpod_relic.Route.getBody.

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 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:serverpod_relic/serverpod_relic.dart that imports:
  • package:serverpod_relic/src/routes/static_directory.dart that imports:
  • package:serverpod_relic/src/web_server.dart that imports:
  • package:serverpod_relic/src/web_widget.dart that imports:
  • package:serverpod_relic/src/templates.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

ERROR: The name 'Route' is defined in the libraries 'package:serverpod/src/relic/web_server.dart' and 'package:serverpod_relic/src/web_server.dart'.

lib/src/routes/static_directory.dart:9:36

  ╷
9 │ class RouteStaticDirectory extends Route {
  │                                    ^^^^^
  ╵

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

ERROR: Classes can only extend other classes.

lib/src/routes/static_directory.dart:9:36

  ╷
9 │ class RouteStaticDirectory extends Route {
  │                                    ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/routes/static_directory.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
mustache_template ^2.0.0 2.0.0 2.0.0
path ^1.8.0 1.9.0 1.9.0
serverpod ^0.9.8 0.9.22 1.2.6
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
buffer - 1.2.3 1.2.3
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
executor - 2.2.3 2.2.3
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
meta - 1.14.0 1.14.0
pedantic - 1.11.1 1.11.1
pool - 1.5.1 1.5.1
postgres - 2.6.4 3.2.0
postgres_pool - 2.1.6+1 2.1.6+1
redis - 3.1.0 4.0.0
retry - 3.1.2 3.1.2
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.2 1.0.2
serverpod_client - 0.9.22 1.2.6
serverpod_serialization - 0.9.22 1.2.6
serverpod_service_client - 0.9.22 1.2.6
serverpod_shared - 0.9.22 1.2.6
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
system_resources - 1.6.0 1.6.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.0 0.3.0
vm_service - 9.4.0 14.2.1
web - 0.5.1 0.5.1
web_socket_channel - 2.4.5 2.4.5

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

The constraint `^0.9.8` on serverpod does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
60
pub points
21%
popularity

Publisher

unverified uploader

Web server for Serverpod (still experimental, but working).

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

mustache_template, path, serverpod, yaml

More

Packages that depend on serverpod_relic