js_cli 0.1.2 copy "js_cli: ^0.1.2" to clipboard
js_cli: ^0.1.2 copied to clipboard

This project is one CLI for integrate Flutter and Dart with Clean Architecture

18
likes
100/ 160
pub points
74
downloads

We analyzed this package 5 days ago, and awarded it 100 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 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: js_cli,
    • contains a version property, and,
    • does not contain a publish_to property.

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

Missing or invalid executable file: `bin/js_cli.dart`.

Update executable field in pubspec.yaml or fix the missing or invalid file in the bin/ directory.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
0 / 20trigger folding of the section

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

0 out of 286 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: app_module, app_module.AppModule, app_module.AppModule.AppModule, app_module.AppModule.argParser, app_module.AppModule.argResults.

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 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:js_cli/controller/microfrontend/base_app_controller.dart that imports:
  • package:js_cli/core/utils/dialog_utils.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:js_cli/controller/microfrontend/base_app_controller.dart that imports:
  • package:js_cli/core/utils/dialog_utils.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that declares support for platforms: Windows, Linux, macOS.
Package not compatible with platform Web

Because:

  • package:js_cli/controller/design_pattern/design_pattern_controller.dart that imports:
  • package:js_cli/models/entities/design_pattern/design_pattern.dart that imports:
  • package:js_cli/core/utils/directory_utils.dart that imports:
  • dart:io

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:js_cli/controller/microfrontend/base_app_controller.dart that imports:
  • package:js_cli/core/utils/dialog_utils.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/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:js_cli/controller/microfrontend/base_app_controller.dart that imports:
  • package:js_cli/core/utils/dialog_utils.dart that imports:
  • package:cli_dialog/cli_dialog.dart that imports:
  • package:cli_dialog/src/services.dart that imports:
  • package:cli_dialog/src/stdin_service.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:js_cli/controller/design_pattern/design_pattern_controller.dart that imports:
  • package:js_cli/models/entities/design_pattern/design_pattern.dart that imports:
  • package:js_cli/core/utils/directory_utils.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/core/utils/validate_arguments.dart:72:38

   ╷
72 │             .contains(arguments[i])) return false;
   │                                      ^^^^^^^^^^^^^
   ╵

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

/tmp/pana_TAHHRX/lib/app_module.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger 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.3 2.0.3
args ^2.3.0 2.6.0 2.6.0
cli_dialog ^0.5.0 0.5.0 0.5.0
get_it ^7.2.0 7.7.0 8.0.3
path ^1.8.0 1.9.1 1.9.1
process_run ^0.12.2 0.12.5+3 1.2.2+1
recase ^4.0.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.4.0 1.4.0
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
dart_console - 1.2.0 4.1.1
ffi - 2.1.3 2.1.3
intl - 0.18.1 0.20.1
meta - 1.16.0 1.16.0
pub_semver - 2.1.5 2.1.5
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
win32 - 5.9.0 5.9.0
yaml - 3.1.3 3.1.3

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

The constraint `^7.2.0` on get_it does not support the stable version `8.0.0`.

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

The constraint `^0.12.2` on process_run does not support the stable version `0.13.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

18
likes
100
points
74
downloads

Publisher

unverified uploader

Weekly Downloads

This project is one CLI for integrate Flutter and Dart with Clean Architecture

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

ansicolor, args, cli_dialog, get_it, path, process_run, recase

More

Packages that depend on js_cli