dfat 1.0.7 copy "dfat: ^1.0.7" to clipboard
dfat: ^1.0.7 copied to clipboard

discontinued

Operations and utilities for the DFAT (Dart, Flutter, AWS, Terraform) solution templates.

example/example.md

Operation Examples #

General operation can be discovered running dfat, like:

โฏ dfat

Operations and utilities for the DFAT (Dart, Flutter, AWS, Terraform) solution templates.

Usage: dfat <command> [arguments]

Global options:
-h, --help    Print this usage information.

Available commands:

General
  build       The primary interaction command. This runs an orchestrated build, excluding your app, and produces a .dist
              folder in your workspace root with the outputs for server deployment.
  check       Checks your environment for DFAT required tools.
  install     Installs the required Dockerfile, schema files, and updates the IaC JSON files to use the appropriate
              schemas.
  validate    Validates your solution state and settings for deployment readiness.

Granular
  aggregate   Performs the DFAT deployment aggregation routine.
  docker      Runs a build in a DFAT docker image, building the image first if needed.
  lambda      Builds and packages lambdas for distribution.
  shared      Builds the shared library for the lambdas and app.

Run "dfat help <command>" for more information about a command.

A Typical Build #

A typical build execution should look something like the block below. The docker builder name dfat-lambda-api-builder is derived from your <workspace_dir>-builder and there are options to override this.

โฏ dfat build

๐Ÿณ Running in dfat-lambda-api-builder...............โœ…

๐Ÿค– Processing Checks
   ๐Ÿ‘€ Looking for dart..............................โœ…
   ๐Ÿ‘€ Looking for git...............................โœ…
   ๐Ÿ“‚ Checking for Dockerfile.dfat.al2..............โœ…
   ๐Ÿ“‚ Checking for run.sh...........................โœ…
๐Ÿ Finished Checks

๐Ÿค– Processing Validate
   ๐Ÿง shared schema.................................โœ…
   ๐Ÿง lambdas/meta schema...........................โœ…
   ๐Ÿง lambdas/todos schema..........................โœ…
   ๐Ÿš x-check api routes............................โœ…
๐Ÿ Finished Validate

๐Ÿค– Processing Shared
   ๐Ÿงผ Cleaning shared...............................โœ…
   ๐Ÿ‘‡ Dependencies for shared.......................โœ…
   ๐Ÿƒ Runner build shared...........................โœ…
๐Ÿ Finished Shared

๐Ÿค– Processing Lambdas
   ๐Ÿ”Ž Finding lambdas...............................โœ…
   ฦ›  Handling meta =>
      ๐Ÿงผ Cleaning meta..............................โœ…
      ๐Ÿ‘‡ Dependencies for meta......................โœ…
      ๐Ÿ’ช Compiling meta โ†’ bootstrap.................โœ…
      ๐Ÿ“ฆ Packing bootstrap โ†’ lambda_meta.zip........โœ…
   ฦ›  Handling meta.................................โœ…
   ฦ›  Handling todos =>
      ๐Ÿงผ Cleaning todos.............................โœ…
      ๐Ÿ‘‡ Dependencies for todos.....................โœ…
      ๐Ÿ’ช Compiling todos โ†’ bootstrap................โœ…
      ๐Ÿ“ฆ Packing bootstrap โ†’ lambda_todos.zip.......โœ…
   ฦ›  Handling todos................................โœ…
๐Ÿ Finished Lambdas

๐Ÿค– Processing Aggregate
   ๐Ÿ“ฅ Received lambda_meta.zip, lambda_todos.zip
   ๐Ÿš€ Copying lambda_meta.zip.......................โœ…
   ๐Ÿš€ Copying lambda_todos.zip......................โœ…
   ๐Ÿ”ฉ Merging IaC definitions.......................โœ…
   ๐Ÿ“ Noting IaC Hash...............................โœ…
๐Ÿ Finished Aggregate
1
likes
120
points
32
downloads

Publisher

verified publisherdicatania.me

Weekly Downloads

Operations and utilities for the DFAT (Dart, Flutter, AWS, Terraform) solution templates.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

archive, args, collection, equatable, json_annotation, json_schema2, meta, path, tint

More

Packages that depend on dfat