sidekick_core 2.1.3 copy "sidekick_core: ^2.1.3" to clipboard
sidekick_core: ^2.1.3 copied to clipboard

Shared sidekick commands, plugin engine, migrations, templates and utilities for sidekick CLIs

9
likes
140/ 160
pub points
2.95k
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/phntmxyz/sidekick/labels/sidekick_core was unreachable. Make sure that the website is reachable via HEAD requests.

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: Apache-2.0.

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

1407 out of 1787 API elements (78.7 %) have documentation comments.

Some symbols that are missing documentation: sidekick_core.ArgParser.getDefault, sidekick_core.Ask.defaultPrompt, sidekick_core.ComparableBetweenExtension, sidekick_core.ComparableBiggerEqualsExtension, sidekick_core.ComparableBiggerEqualsExtension.operator >=.

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

Because:

  • package:sidekick_core/sidekick_core.dart that imports:
  • package:sidekick_core/src/flutter.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:sidekick_core/sidekick_core.dart that imports:
  • package:sidekick_core/src/flutter.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:sidekick_core/sidekick_core.dart that imports:
  • package:sidekick_core/src/flutter.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:sidekick_core/sidekick_core.dart that imports:
  • package:sidekick_core/src/flutter.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:sidekick_core/sidekick_core.dart that imports:
  • package:sidekick_core/src/flutter.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/wait_for_ex.dart that imports:
  • package:dcli_core/dcli_core.dart that imports:
  • package:dcli_core/src/util/truepath.dart that imports:
  • package:dcli_core/src/functions/pwd.dart that imports:
  • dart:io

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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

lib/src/pub/pub.dart:148:102

    ╷
148 │ /// The directory name is then used to download packages from that pub server to ~/.pub-cache/hosted/<directory-name>
    │                                                                                                      ^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/pub/pub.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
args ^2.1.0 2.6.0 2.6.0
cli_completion ^0.3.0 0.3.0 0.5.1
dart_console2 >=3.0.0 <3.1.0 3.0.0 3.1.1
dartx ^1.1.0 1.2.0 1.2.0
dcli >=2.2.0 <=2.2.3 2.2.3 7.0.1
glob ^2.0.2 2.1.3 2.1.3
http >=0.13.5 <2.0.0 0.13.6 1.3.0
meta ^1.5.0 1.16.0 1.16.0
path ^1.8.1 1.9.1 1.9.1
pub_semver ^2.1.1 2.1.5 2.1.5
pubspec2 >=2.0.0 <2.5.0 2.4.2 4.0.0
pubspec_parse ^1.2.0 1.5.0 1.5.0
recase ^4.1.0 4.1.0 4.1.0
yaml ^3.1.0 3.1.3 3.1.3
yaml_edit ^2.0.3 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 60.0.0 80.0.0
analyzer - 5.12.0 7.3.0
archive - 3.6.1 4.0.2
async - 2.13.0 2.13.0
basic_utils - 5.5.4 5.8.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.0
charcode - 1.3.1 1.4.0
checked_yaml - 2.0.3 2.0.3
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.12.0
cli_util - 0.4.2 0.4.2
clock - 1.1.1 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.6.4 1.11.1
crypto - 3.0.6 3.0.6
csv - 5.1.1 6.0.0
dcli_core - 2.3.0 7.0.1
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 6.1.4 7.0.1
frontend_server_client - 3.2.0 4.0.0
functional_data - 1.0.0 1.2.0
globbing - 1.0.0 1.0.0
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
ini - 2.1.0 2.1.0
intl - 0.18.1 0.20.2
io - 1.0.5 1.0.5
js - 0.6.7 0.7.2
json2yaml - 3.0.1 3.0.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
mason_logger - 0.2.8 0.3.2
matcher - 0.12.15 0.12.17
mime - 1.0.6 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.1.1 2.1.1
pointycastle - 3.9.1 4.0.0
pool - 1.5.1 1.5.1
posix - 5.0.0 6.0.1
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 - 6.0.0 8.2.0
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 1.0.4 3.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
sum_types - 0.3.5 0.4.0
system_info2 - 4.0.0 4.0.0
term_glyph - 1.2.2 1.2.2
test_api - 0.5.2 0.7.4
test_core - 0.5.2 0.6.8
time - 2.1.5 2.1.5
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
uuid - 3.0.7 4.5.1
validators2 - 5.0.0 5.0.0
vm_service - 11.10.0 15.0.0
watcher - 1.1.1 1.1.1
web - 0.5.1 1.1.0
web_socket_channel - 2.4.5 3.0.2
webkit_inspection_protocol - 1.2.1 1.2.1
win32 - 4.1.4 5.11.0

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

Found 4 issues. Showing the first 2:

The constraint `^0.3.0` on cli_completion does not support the stable version `0.4.0`.

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

The constraint `>=3.0.0 <3.1.0` on dart_console2 does not support the stable version `3.1.0`.

Try running dart pub upgrade --major-versions dart_console2 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.18, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
9
likes
140
points
2.95k
downloads

Publisher

verified publisherphntm.xyz

Weekly Downloads

Shared sidekick commands, plugin engine, migrations, templates and utilities for sidekick CLIs

Repository (GitHub)
View/report issues

Topics

#sidekick #cli

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, cli_completion, dart_console2, dartx, dcli, glob, http, meta, path, pub_semver, pubspec2, pubspec_parse, recase, yaml, yaml_edit

More

Packages that depend on sidekick_core