anvil 0.1.1 copy "anvil: ^0.1.1" to clipboard
anvil: ^0.1.1 copied to clipboard

Static site generator for Dart with Jinja and SASS support

1
likes
100/ 140
pub points
0%
popularity

We analyzed this package 40 hours ago, and awarded it 100 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.

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

OK
Provide documentation
20 / 20trigger folding of the section

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

44 out of 150 API elements (29.3 %) have documentation comments.

Some symbols that are missing documentation: anvil, anvil.Anvil.call, anvil.Anvil.runner, anvil.AnvilError, anvil.AnvilError.AnvilError.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:anvil/anvil.dart that imports:
  • package:anvil/src/taxonomy.dart that imports:
  • package:anvil/src/content/page.dart that imports:
  • package:anvil/src/git_util.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:anvil/anvil.dart that imports:
  • package:anvil/src/taxonomy.dart that imports:
  • package:anvil/src/content/page.dart that imports:
  • package:anvil/src/git_util.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:anvil/anvil.dart that imports:
  • package:anvil/src/taxonomy.dart that imports:
  • package:anvil/src/content/page.dart that imports:
  • package:anvil/src/git_util.dart that imports:
  • package:dcli/dcli.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:anvil/anvil.dart that imports:
  • package:anvil/src/taxonomy.dart that imports:
  • package:anvil/src/content/page.dart that imports:
  • package:anvil/src/git_util.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:anvil/anvil.dart that imports:
  • package:anvil/src/taxonomy.dart that imports:
  • package:anvil/src/content/page.dart that imports:
  • package:anvil/src/git_util.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
Pass static analysis
30 / 50trigger folding of the section

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

Found 48 issues. Showing the first 2:

WARNING: Unused import: 'package:ansicolor/ansicolor.dart'.

lib/anvil.dart:1:8

  ╷
1 │ import 'package:ansicolor/ansicolor.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Duplicate export.

lib/anvil.dart:14:8

   ╷
14 │ export 'src/content/content.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/anvil.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
ansicolor ^2.0.1 2.0.2 2.0.2
args ^2.1.1 2.4.2 2.4.2
dcli ^1.5.7 1.36.2 3.4.0
file ^6.1.0 6.1.4 7.0.0
glob ^2.0.1 2.1.2 2.1.2
html ^0.15.0 0.15.4 0.15.4
jinja ^0.3.1 0.3.4 0.5.0
markdown ^4.0.0 4.0.1 7.2.2
meta ^1.3.0 1.12.0 1.12.0
mime ^1.0.0 1.0.5 1.0.5
path ^1.8.0 1.9.0 1.9.0
petitparser ^4.1.0 4.4.0 6.0.2
process_run ^0.12.1 0.12.5+3 0.14.2
sass ^1.35.1 1.65.1 1.72.0
watcher ^1.0.0 1.1.0 1.1.0
xml ^5.1.0 5.3.1 6.5.0
yaml ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.4.10 3.4.10
async - 2.11.0 2.11.0
basic_utils - 3.9.4 5.7.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.11.0
cli_repl - 0.2.3 0.2.3
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
csv - 5.1.1 6.0.0
dart_console2 - 2.0.1 3.0.0
dcli_core - 1.36.2 3.4.0
equatable - 2.0.5 2.0.5
ffi - 2.1.2 2.1.2
file_utils - 1.0.1 1.0.1
fixnum - 1.1.0 1.1.0
functional_data - 1.1.1 1.1.1
globbing - 1.0.0 1.0.0
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
ini - 2.1.0 2.1.0
intl - 0.17.0 0.19.0
js - 0.6.7 0.7.1
json2yaml - 3.0.1 3.0.1
json_annotation - 4.8.1 4.8.1
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
node_interop - 2.1.0 2.1.0
package_config - 2.1.0 2.1.0
pointycastle - 3.7.4 3.7.4
pool - 1.5.1 1.5.1
posix - 4.1.0 6.0.1
protobuf - 3.1.0 3.1.0
pub_semver - 2.1.4 2.1.4
pubspec2 - 2.4.2 4.0.0
pubspec_lock - 3.0.2 3.0.2
quiver - 3.2.1 3.2.1
random_string - 2.3.1 2.3.1
scope - 3.0.0 4.1.0
settings_yaml - 4.0.1 8.0.1
source_maps - 0.10.12 0.10.12
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stacktrace_impl - 2.3.0 2.3.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
sum_types - 0.3.5 0.3.5
synchronized - 3.1.0+1 3.1.0+1
system_info2 - 2.0.4 4.0.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.0
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.3.3
validators2 - 3.0.0 5.0.0
vin_decoder - 0.2.1-nullsafety 0.2.1-nullsafety
win32 - 3.1.4 5.3.0

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

Found 7 issues. Showing the first 2:

The constraint `^1.5.7` on dcli does not support the stable version `2.0.1`.

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

The constraint `^6.1.0` on file does not support the stable version `7.0.0`.

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

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

Analyzed with Pana 0.22.2, Dart 3.3.0.

Check the analysis log for details.