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
130/ 160
pub points
65
downloads

We analyzed this package 6 hours ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

44 out of 160 API elements (27.5 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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/wait_for_ex.dart that imports:
  • dart:cli

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 52 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 report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
ansicolor ^2.0.1 2.0.3 2.0.3
args ^2.1.1 2.7.0 2.7.0
dcli ^1.5.7 1.36.2 7.0.2
file ^6.1.0 6.1.4 7.0.1
glob ^2.0.1 2.1.3 2.1.3
html ^0.15.0 0.15.5+1 0.15.5+1
jinja ^0.3.1 0.3.4 0.6.2
markdown ^4.0.0 4.0.1 7.3.0
meta ^1.3.0 1.16.0 1.16.0
mime ^1.0.0 1.0.6 2.0.0
path ^1.8.0 1.9.1 1.9.1
petitparser ^4.1.0 4.4.0 6.1.0
process_run ^0.12.1 0.12.5+3 1.2.4
sass ^1.35.1 1.65.1 1.86.3
watcher ^1.0.0 1.1.1 1.1.1
xml ^5.1.0 5.3.1 6.5.0
yaml ^3.1.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.6
async - 2.13.0 2.13.0
basic_utils - 3.9.4 5.8.2
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
charcode - 1.4.0 1.4.0
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.12.0
cli_repl - 0.2.3 0.2.3
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
csv - 5.1.1 6.0.0
dart_console2 - 2.0.1 3.1.1 Discontinued
dcli_core - 1.36.2 7.0.2
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file_utils - 1.0.1 1.0.1 Discontinued
fixnum - 1.1.1 1.1.1
functional_data - 1.2.0 1.2.0
globbing - 1.0.0 1.0.0 Discontinued
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
ini - 2.1.0 2.1.0
intl - 0.17.0 0.20.2
js - 0.6.7 0.7.2 Discontinued
json2yaml - 3.0.1 3.0.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
node_interop - 2.2.0 2.2.0
package_config - 2.2.0 2.2.0
pointycastle - 3.9.1 4.0.0
pool - 1.5.1 1.5.1
posix - 4.1.0 6.0.2
protobuf - 3.1.0 4.0.0
pub_semver - 2.2.0 2.2.0
pubspec2 - 2.4.2 4.0.0 Discontinued
pubspec_lock - 3.0.2 3.0.2
quiver - 3.2.2 3.2.2
random_string - 2.3.1 2.3.1
scope - 3.0.0 5.1.0
settings_yaml - 4.0.1 8.2.0
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stacktrace_impl - 2.3.0 2.3.0 Discontinued
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
sum_types - 0.3.5 0.4.0
synchronized - 3.3.1 3.3.1
system_info2 - 2.0.4 4.0.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
validators2 - 3.0.0 5.0.0
vin_decoder - 0.2.1-nullsafety 0.2.1-nullsafety
win32 - 3.1.4 5.12.0

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

Found 8 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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
65
downloads

Publisher

verified publisherethanblake.xyz

Weekly Downloads

Static site generator for Dart with Jinja and SASS support

Repository (GitHub)

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

ansicolor, args, dcli, file, glob, html, jinja, markdown, meta, mime, path, petitparser, process_run, sass, watcher, xml, yaml

More

Packages that depend on anvil