flutterweb_yaml 1.0.2

  • Readme
  • Changelog
  • Installing
  • 48

flutterweb_yaml #

A command-line application to generate CI/CD yaml templates for Flutter web project.

Installation #

You can install it using pub :

pub global activate flutterweb_yaml

To update flutterweb_yaml, use the same command.

Usage #

flutterweb_yaml generates the YAML file you need to build and deploy your Flutter app (or package example on the web).

Always run the command from the root of the project.

flutterweb_yaml generate

This will generate the YAML file for your Flutter app.

If you want to show off your example app for your Flutter package : (assuming your app is in a folder named example)

flutterweb_yaml generate --package

Or if your app folder has a custom path within your repository :

flutterweb_yaml generate --path ./path_to_my_app

Note : For now the only available provider is GitHub, so you don't have to specify the provider in parameters.

Contribution #

If you want to add a new provider, you can make a pull request.

If you find a bug, please fill an issue.

1.0.2 #

  • Added allow_empty_commit: true to GitHub yaml workflow.

1.0.1 #

  • Fixed version command.

1.0.0 #

  • Initial version, generate yaml template for Github provider.

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate flutterweb_yaml

2. Use it

The package has the following executables:

$ flutterweb_yaml
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 14, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.15

Analysis suggestions

Binary only

Cannot assign flutter SDK tag because it is binary only

Binary only

Cannot assign flutter platform tags, it is a binary only package

Health suggestions

Fix lib/src/modules/generate/command.dart. (-0.50 points)

Analysis of lib/src/modules/generate/command.dart reported 1 hint:

line 10 col 1: 'package:resource/resource.dart' is deprecated and shouldn't be used. This package has been discontinued. See library documentation of README.md for more infomration.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: Documenting flutterweb_yaml... Initialized dartdoc with 37 libraries in 34.3 seconds Validating docs... no issues found Documented 0 public libraries in 7.1 seconds stderr: Unhandled exception: dartdoc could not find any libraries to document #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:218:9)


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
args ^1.5.2 1.6.0
mustache ^1.1.1 1.1.1
path ^1.7.0 1.7.0
resource ^2.1.6 2.1.7
yaml ^2.2.1 2.2.1
Transitive dependencies
charcode 1.1.3
collection 1.14.13 1.15.0-nullsafety
meta 1.2.2 1.3.0-nullsafety
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.2.0 1.3.0-nullsafety