A build system for Dart written in Dart

Overview

Build Status

These packages provide libraries for generating, compiling and serving Dart code.

Getting started with build_runner

General FAQ

Windows FAQ

FAQ for Builder authors.

Additional Docs

build

Defines the interfaces for creating a Builder which is a way of doing codegen that is compatible across build systems (pub, bazel, standalone runner).

For packages doing code generation this should generally be the only package against which there is a public dependency. Packages may have a dev_dependency on one or more of the other packages.

build_config

Support for parsing build.yaml files. Used by build_runner.

build_modules

Support for discovering the sub-modules within packages and creating summaries of those modules. Used by build_web_compilers but should not be used directly by most users.

build_resolvers

An implementation of the Resolver interface to use the analyzer during build steps.

build_runner

Provides utilities to enact builds and a way to automatically run builds based on configuration.

This package should generally be a dev_dependency as it is used to run standalone builds. The only exception would be wrapping the build and watch methods with some other package.

build_test

Stub implementations for classes in Build and some utilities for running instances of builds and checking their outputs.

This package generally only be a dev_dependency as it introduces a dependency on package:test. The exception to that would be if you were creating another testing-only package that wraps this one.

build_web_compilers

Provides the dart2js and dartdevc support for your package. To use this package you should add it as a dev_dependency.

If you are using the automated build scripts, your project will automatically start being compiled with dartdevc, and you can start developing with chrome without any configuration.

Examples

The example directory has an example of a build with custom builders which generate outputs into both the source tree and a hidden generated directory. Try a build with dart run build_runner build -o web:deploy to see what the output looks like.

Most projects should not need custom builders.

Comments
  • [build_runner 1.10.3] Bad state: Unable to generate package graph

    [build_runner 1.10.3] Bad state: Unable to generate package graph

    build_runner: ^1.10.3 flutter packages pub run build_runner build:

    Unhandled exception:
    Bad state: Unable to generate package graph, no `/home/aliyazdi75/Documents/AndroidStudioProjects/koja_beram_app/.dart_tool/flutter_gen/pubspec.yaml` found.
    #0      _pubspecForPath (package:build_runner_core/src/package_graph/package_graph.dart:235:5)
    #1      _parsePackageDependencies (package:build_runner_core/src/package_graph/package_graph.dart:208:21)
    #2      PackageGraph.forPath (package:build_runner_core/src/package_graph/package_graph.dart:97:33)
    <asynchronous suspension>
    #3      PackageGraph.forThisPackage (package:build_runner_core/src/package_graph/package_graph.dart:110:20)
    #4      main (file:///home/aliyazdi75/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner-1.10.3/bin/build_runner.dart:27:49)
    #5      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
    #6      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
    pub finished with exit code 255
    

    flutter doctor -v:

    [✓] Flutter (Channel master, 1.22.0-10.0.pre.317, on Linux, locale en_US.UTF-8)
        • Flutter version 1.22.0-10.0.pre.317 at /home/aliyazdi75/snap/flutter/common/flutter
        • Framework revision 10febea877 (7 hours ago), 2020-09-23 07:22:10 +0200
        • Engine revision 57ee3d4b32
        • Dart version 2.10.0 (build 2.10.0-156.0.dev)
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
        • Android SDK at /home/aliyazdi75/Android/Sdk
        • Platform android-30, build-tools 29.0.3
        • Java binary at: /home/aliyazdi75/Application/android-studio/jre/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
        • All Android licenses accepted.
    
    [✓] Chrome - develop for the web
        • Chrome at google-chrome
    
    [✓] Linux toolchain - develop for Linux desktop
        • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
        • cmake version 3.10.2
        • ninja version 1.8.2
        • pkg-config version 0.29.1
    
    [✓] Android Studio (version 4.0)
        • Android Studio at /home/aliyazdi75/Application/android-studio
        • Flutter plugin version 49.0.2
        • Dart plugin version 193.7547
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    
    [✓] Connected device (3 available)
        • Linux (desktop)  • linux      • linux-x64      • Linux
        • Web Server (web) • web-server • web-javascript • Flutter Tools
        • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.12
    
    opened by aliyazdi75 68
  • DDC build time regression on Dart 2.8.1

    DDC build time regression on Dart 2.8.1

    We've been trying out Dart 2.8.1 in several of our packages and unfortunately have noticed a significant regression in build times (both with DDC and dart2js) compared to Dart 2.7.2.

    Here are some rough data points we've collected so far for a few different packages when running clean DDC builds:

    Package size | Dart 2.7.2 | Dart 2.8.1 ------------- | ---------- | --------- small | 1 min 17s | 2 min 11s huge | ~2.5 mins | ~7 mins also huge | ~3.5 mins | ~6 mins


    For one of the tests I ran locally, the only difference in build dependencies between 2.7 and 2.8 are:

    > build_modules 2.9.0 (was 2.8.1)
    > build_web_compilers 2.10.0 (was 2.9.0)
    

    Additionally, our main application dart2js build time increased a bit from ~13.3 mins to ~16.9 mins. Since it's dart2js it's probably out-of-scope here and warrants its own issue in dart-lang/sdk, I just thought I'd include it in case its helpful.

    opened by evanweible-wf 65
  • NullSafety

    NullSafety "flutter pub run build_runner build" problem

    I'm using new null-safety feature with dart and had a problem with build_runner.

     Error: Operator '[]' cannot be called on 'ArgResults?' because it is potentially null.
     - 'ArgResults' is from 'package:args/src/arg_results.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/args-2.0.0/lib/src/arg_results.dart').
        var verbose = parsedArgs.command['verbose'] as bool ?? false;
    

    and

    Failed to precompile build_runner:build_runner:
    /c:/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner-1.12.1/bin/build_runner.dart:101:9: Warning: Operand of null-aware operation '?.' has type 'StreamSubscription<dynamic>' which excludes null.
     - 'StreamSubscription' is from 'dart:async'.
      await logListener?.cancel();
    

    Fixed both of them, hence PR. But of course I still got

    Error: Cannot run with sound null safety, because the following dependencies
    don't support null safety:
    
     - package:build_runner_core
     - package:io
     - package:build_runner
     - package:build_config
     - package:build_daemon
     - package:timing
     - package:code_builder
     - package:dart_style
     - package:http_multi_server
     - package:shelf_web_socket
     - package:web_socket_channel
    

    Tried to run flutter pub run build_runner build --no-sound-null-safety, it had no effect.

    Solution!!! The only thing that helped is manually insert // @dart=2.9 at the beginning of bin/build_runner.dart, after that builder is working.

    Should we just include // @dart=2.9 at the beginning of bin/build_runner.dart, so you at least don't see this problem untill null-safety is fully supported?

    - Flutter version 2.0.2 at C:\flutter
    - Framework revision 8962f6dc68 (2 days ago), 2021-03-11 13:22:20 -0800
    - Engine revision 5d8bf811b3
    - Dart version 2.12.1
    - What package(s) from this repo you are using: **build_runner 1.11.5**, **build_runner 1.12.1** and master
    - What builder(s) you are using: **freezed 0.14.0+1**, but without any builders it fails the same
    - Whether you are using? Windows
    
    opened by yfer 43
  • FileSystemException: Directory watcher closed unexpectedly

    FileSystemException: Directory watcher closed unexpectedly

    FileSystemException: Directory watcher closed unexpectedly

    • Dart SDK Version 2.12.4
    • Whether you are using Windows / Linux
    • Whether you are using Chrome
    pubspec.yaml
    name: cmpop_browser
    description: A web app that uses AngularDart Components
    
    environment:
      sdk: ">=2.7.1 <3.0.0"
    
    dependencies:
      angular: ^6.0.0
      angular_components: ^1.0.2
      angular_router: ^2.0.0
      angular_forms: ^3.0.0
      sembast_web: ^1.2.0
      angular_recaptcha: ^0.1.5
      stream_transform: #^0.0.19
      sass_builder: ^2.1.3
      intl: ^0.16.1
      uuid: ^2.2.2
      crossplat_objectid: ^2.1.4  
      http: ^0.12.2
      quiver: ^2.1.5
    
    dev_dependencies: 
      angular_test: ^3.0.0                                                                                                 
      build_runner: ^1.10.4                                                                                                   
      build_test: ^1.3.0                                                                                              
      build_web_compilers: ^2.12.0                                                                                
      pedantic: ^1.9.2                                                                                               
      test: ^1.15.4
    
    
    webdev build
    [INFO] Reading cached asset graph completed, took 722ms
    [INFO] Checking for updates since last build completed, took 1.1s
    [INFO] Running build completed, took 437ms
    [INFO] Caching finalized dependency graph completed, took 581ms
    [SEVERE]
    [SEVERE]
    [SEVERE] You have hit a bug in build_runner
    [SEVERE] Please file an issue with reproduction steps at https://github.com/dart-lang/build/issues
    [SEVERE]
    [SEVERE]
    [SEVERE] FileSystemException: Directory watcher closed unexpectedly, path = 'd:\mydartprojects\cmpop\cmpop_browser'
    [SEVERE] dart:isolate  _RawReceivePortImpl._handleMessage
    [SEVERE]
    
    opened by insinfo 38
  • build_resolvers error with latest analyzer + next flutter stable

    build_resolvers error with latest analyzer + next flutter stable

    The flutter SDK has // @dart=2.9 comments in it, meant to opt it in, but the latest analyzer now requires language version 2.10 (regardless of the current sdk version).

    I don't know the best way to resolve this, soon flutter will presumably have the // @dart=2.10 comments (it will have to), but all old flutter sdks would be broken with build_runner if users get the latest analyzer.

    cc @scheglov @leafpetersen @natebosch

    P1 high 
    opened by jakemac53 32
  • NoSuchMethodError: The getter 'inputs' was called on null.

    NoSuchMethodError: The getter 'inputs' was called on null.

    I get this message :

    You have hit a bug in build_runner Please file an issue with reproduction steps at https://github.com/dart-lang/build/issues

    so, my build environment:

    • [2.0.0-edge.be6309690fd60284a87f3258a740c7c30efb1092 ] Dart SDK Version (dart --version)

    • [build_runner ^0.10.0 ] What package(s) from this repo you are using, and the version (i.e. build_runner 0.7.12)

    • [Just demo at https://flutter.io/json/ ] What builder(s) you are using (or writing yourself). Try to give a short summary of what they do.

    • [ MacOS] Whether you are using Windows, MacOSX, or Linux (if applicable)

    • [ iOS Simulator] Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

    • [dependencies:
      cupertino_icons: ^0.1.2 transparent_image: ^0.1.0 pull_to_refresh: ^1.1.5 json_annotation: ^1.0.0

    dev_dependencies: flutter_test: sdk: flutter build_runner: ^0.10.0 json_serializable: ^1.0.0 ] Any other packages or constraints we should know about

    error message:

    NoSuchMethodError: The getter 'inputs' was called on null. Receiver: null Tried calling: inputs dart:core Object.noSuchMethod /Users/zhangxianqiangmacbook/.pub-cache/hosted/pub.flutter-io.cn/build_runner_core-0.3.1+5/lib/src/asset_graph/serialization.dart 58:20 _AssetGraphDeserializer.deserialize package:build_runner_core/src/asset_graph/graph.dart 42:48 new AssetGraph.deserialize package:build_runner_core/src/generate/build_definition.dart 209:38 _Loader._tryReadCachedAssetGraph. package:build_runner_core/src/logging/logging.dart 25:30 logTimedAsync package:build_runner_core/src/generate/build_definition.dart 207:12 _Loader._tryReadCachedAssetGraph package:build_runner_core/src/generate/build_definition.dart 79:28 _Loader.prepareWorkspace package:build_runner_core/src/generate/build_definition.dart 64:50 BuildDefinition.prepareWorkspace package:build_runner_core/src/generate/build_impl.dart 106:49 BuildImpl.create package:build_runner_core/src/generate/build_runner.dart 31:37 BuildRunner.create package:build_runner/src/generate/build.dart 105:35 build package:build_runner/src/entrypoint/build.dart 28:24 BuildCommand.run package:args/command_runner.dart 194:27 CommandRunner.runCommand package:args/command_runner.dart 109:29 CommandRunner.run. dart:async new Future.sync package:args/command_runner.dart 109:11 CommandRunner.run package:build_runner/src/entrypoint/run.dart 22:31 run .dart_tool/build/entrypoint/build.dart 18:22 main

    pub finished with exit code 1

    type: bug needs-info package: build_runner_core 
    opened by qiang437587687 32
  • Allow configuring DDC module type

    Allow configuring DDC module type

    Looking at the source code I see that build_web_compilers has hardcoded amd module type when building for web.

    Is there a way to override this default behavior?

    I'm working on some packages which are designed for NodeJS and this requires common module type.

    type: enhancement needs-info package: build_web_compilers 
    opened by pulyaevskiy 31
  • How to generate one output from many inputs (aggregate builder)?

    How to generate one output from many inputs (aggregate builder)?

    It's not clear to me how to generate one output file that depends on many input files.

    Let's say I want to generate a file that includes names of all subclasses of class X in a directory. *) These subclasses can live in various files in my /lib but I only want to build one JSON file.

    It's not clear how to do this. BuildStep has only one inputId and while there's hasInputs, there is no way to get all of them (or a subset). Builder only ever gets one BuildStep.

    In Transformer world, there's AggregateTransformer. If there's a similar thing in Build then it's not well documented.


    *) Why would I want to do this? For easier testing, for example. When I implement a new subclass I want to make sure it's used in every place where it should be used as soon as I run unit tests (or sooner, via static errors). I use this in Python and it's really, really effective.

    opened by filiph 30
  • Building more than one target causes `InconsistentAnalysisException`

    Building more than one target causes `InconsistentAnalysisException`

    Working on package reflectable, I performed a pub upgrade which changed versions of build related packages as follows:

      build 1.2.2
    > build_config 0.4.2 (was 0.4.1+1)
      build_daemon 2.1.3
    > build_resolvers 1.3.3 (was 1.3.1)
    > build_runner 1.7.4 (was 1.7.3)
    > build_runner_core 4.4.0 (was 4.3.0)
    > build_test 0.10.12+1 (was 0.10.12)
    

    The package test_reflectable contains a set of tests that are used to test reflectable. After the above changes they are all failing, for instance:

    [SEVERE] reflectable:reflectable on test/invoke_test.dart.vm_test.dart:
    
    InconsistentAnalysisException: Requested result might be inconsistent with previously returned results
    

    However, if I edit the file build.yaml such that it only specifies a generate_for: property matching a single entry point library then code generation succeeds, and the test runs as expected.

    This behavior might be associated with AnalysisDriver.changeFile being invoked by the getter BuildStepImpl.inputLibrary that the Builder in reflectable is using to get access to the input library, and subsequently to all other entities from the analyzer.

    Did one of the build packages change recently (build_runner?) in such a way that it is not possible to build more than one target? Or in such a way that it is now required to do something extra in the case where multiple targets are given, in order to avoid InconsistentAnalysisException?

    Here is a scenario that gives rise to the failures:

    > git clone 'https://github.com/dart-lang/test_reflectable.git'
    > cd test_reflectable
    > cd tool
    > make
    

    The make command runs pub get, pub run build_runner build test, as make -n shows.

    opened by eernstg 29
  • Add command pub run build_runner run

    Add command pub run build_runner run

    Resolves #1159.

    (virtualenv_py3) Tobes-MacBook-Air:example thosakwe$ pbr run --help
    [INFO] Generating build script completed, took 692ms
    Performs a single build on the specified targets, and executes a Dart script with the given arguments.
    
    Usage: build_runner run [arguments]
    -h, --help                          Print this usage information.
        --[no-]assume-tty               Enables colors and interactive input when the script does not appear to be running directly in a terminal, for instance when it is a subprocess
        --delete-conflicting-outputs    By default, the user will be prompted to delete any files which already exist but were not known to be generated by this specific build script.
                                        
                                        Enabling this option skips the prompt and deletes the files. This should typically be used in continues integration servers and tests, but not otherwise.
    
        --low-resources-mode            Reduce the amount of memory consumed by the build process. This will slow down builds but allow them to progress in resource constrained environments.
    -c, --config                        Read `build.<name>.yaml` instead of the default `build.yaml`
        --[no-]track-performance        Enables performance tracking and the /$perf page.
        --log-performance               A directory to write performance logs to, must be in the current package. Implies `--track-performance`.
    -o, --output                        A directory to copy the fully built package to. Or a mapping from a top-level directory in the package to the directory to write a filtered build output to. For example "web:deploy".
    -v, --verbose                       Enables verbose logging.
    -r, --[no-]release                  Build with release mode defaults for builders.
        --define                        Sets the global `options` config for a builder by key.
    
    Run "build_runner help" to see global options.
    
    cla: yes 
    opened by thosakwe 29
  • How should we deal with flutter and

    How should we deal with flutter and "dart:ui" in generators?

    Running the built_value generator on flutter code currently spits out a severe error:

    [SEVERE] Instance of 'PartBuilder' on dartsugar|lib/models/module_data.dart: Unable to resolve asset ID for "dart:ui"

    It still works, but I wonder if 1) there is potential for things to break down the line, in which case we should make sure this doesn't happen; and 2) there's a way to do it without getting the warning. Any ideas please?

    See: https://github.com/google/built_value.dart/issues/282

    type: bug P2 medium 
    opened by davidmorgan 29
  • Move SDK summary generation to a separate library

    Move SDK summary generation to a separate library

    The details of finding or generating the SDK summary are different internally, so this code gets patched. The patch file ends up needing frequent maintenance to keep up with unrelated other changes in this file. Separate the SDK summary related code into it's own library which will have a patch so that it is more isolated from other changes.

    Move isFlutter to sdk_summary.dart since it is used there, and it is related to the SDK. Update the test which imports from src.

    Move packagePath to build_asset_uri_generator so it can be used in both resolver.dart and sdk_summary.dart.

    opened by natebosch 0
  • build_config errors test text has changed on 3.0 dev

    build_config errors test text has changed on 3.0 dev

    The test is test/errors_test.dart: for null exclude globs, error looks like below. Skipping for now, ideally we just fix the message and unskip.

     ACTUAL
      r'''
      line 7, column 11 of build.yaml: Unsupported value for "exclude". type 'Null' is not a subtype of type 'String' of ' in type cast'
        ╷
      7 │           -
        │           ^
        ╵'''
      Expected: throws <Instance of 'ArgumentError'> with `message`: 'line 7, column 11 of build.yaml: Unsupported value for "exclude". type \'Null\' is not a subtype of type \'String\' in type cast\n'
                  '  ╷\n'
                  '7 │           -\n'
                  '  │           ^\n'
                  '  ╵'
        Actual: <Closure: () => BuildConfig>
         Which: threw ArgumentError:<Invalid argument(s): line 7, column 11 of build.yaml: Unsupported value for "exclude". type 'Null' is not a subtype of type 'String' of ' in type cast'
                        ╷
                      7 │           -
                        │           ^
                        ╵>
    
    opened by jakemac53 1
  • Drop support for unsound null safety in Dart 3

    Drop support for unsound null safety in Dart 3

    Note: This will be broken until the ddc resources move https://github.com/dart-lang/sdk/issues/50700

    Remove entirely the build_vm_compilers package, this should be marked discontinued on pub.

    Drop all code relating to sound/unsound null safety.

    Update build_web_compilers, build_vm_compilers, and build_runner to only support 3.x sdks.

    Point at the new DDC resources in the SDK based on https://github.com/dart-lang/sdk/issues/50700.

    opened by jakemac53 4
  • `build_runner test` vm integration test failing on windows with github actions

    `build_runner test` vm integration test failing on windows with github actions

    In the _test directory, the command dart run build_runner test -- -p vm test/configurable_uri_test.dart is failing on github windows CI. The failure looks like this:

    Failed to load "test/configurable_uri_test.dart":
      Unable to spawn isolate: Crash when compiling file:///D:/C:/Users/RUNNER~1/AppData/Local/Temp/build_runner_testc8873[38](https://github.com/dart-lang/build/actions/runs/3677992076/jobs/6220731377#step:6:39)9/test/configurable_uri_test.dart.vm_test.dart:
      Unsupported operation: Illegal character in path: C:
    

    Looks related to multiple drives and paths. For now the test is just disabled for windows in the mono_repo.yaml

    opened by jakemac53 1
  • Add option to delay file system writes

    Add option to delay file system writes

    This adds a --delay-writes option to the build, watch, serve and daemon commands. When enabled, file system writes will only happen once at the end of a build.

    We can determine the impact of this option on larger builds (in terms of how the analyzer reacts, memory used by the build system, ...). If it turns out that some refinements are needed (like only doing this for Dart files or source assets), we can improve the option in subsequent releases. Once everything works, we might want to make this the default mode (at least if not using the low resource mode).

    This probably needs more integration tests, but I'm not sure what the place best to add them would be.

    Closes https://github.com/dart-lang/build/issues/3321

    opened by simolus3 7
  • build_runner: Failed to precompile build script .dart_tool/build/entrypoint/build.dart.

    build_runner: Failed to precompile build script .dart_tool/build/entrypoint/build.dart.

    Dart SDK version: 2.19.0-374.1.beta (beta) (Tue Nov 15 07:44:30 2022 -0800) on "windows_x64"

    PS ...\angular\ngforms> dart run build_runner build --fail-on-severe
    Building package executable...
    Built build_runner:build_runner.
    [INFO] Generating build script completed, took 470ms
    [WARNING] .../Pub/Cache/hosted/pub.dev/build_modules-4.0.6/lib/src/module_cache.dart:21:70: Error: The method 'toJson' isn't defined for the class 'Object?'.
     - 'Object' is from 'dart:core'.
    Try correcting the name to the name of an existing method, or defining a method named 'toJson'.
        (m) => MetaModule.fromJson(_deserialize(m)), (m) => _serialize(m.toJson()));
                                                                         ^^^^^^
    .../Pub/Cache/hosted/pub.dev/build_modules-4.0.6/lib/src/module_cache.dart:24:66: Error: The method 'toJson' isn't defined for the class 'Object?'.
     - 'Object' is from 'dart:core'.
    Try correcting the name to the name of an existing method, or defining a method named 'toJson'.
        (m) => Module.fromJson(_deserialize(m)), (m) => _serialize(m.toJson()));
                                                                     ^^^^^^
    [INFO] Precompiling build script... completed, took 1.4s
    [SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
    This is likely caused by a misconfigured builder definition.
    

    After adding generic types here, the errors have been fixed:

    // ...\Pub\Cache\hosted\pub.dev\build_modules-4.0.6\lib\src\module_cache.dart
    
    final metaModuleCache = DecodingCache.resource</* here */ MetaModule>(
        (m) => MetaModule.fromJson(_deserialize(m)), (m) => _serialize(m.toJson()));
    
    final moduleCache = DecodingCache.resource</* here */ Module>(
        (m) => Module.fromJson(_deserialize(m)), (m) => _serialize(m.toJson()));
    
    pubspec.lock
    # Generated by pub
    # See https://dart.dev/tools/pub/glossary#lockfile
    packages:
      _fe_analyzer_shared:
        dependency: transitive
        description:
          name: _fe_analyzer_shared
          sha256: "4897882604d919befd350648c7f91926a9d5de99e67b455bf0917cc2362f4bb8"
          url: "https://pub.dev"
        source: hosted
        version: "47.0.0"
      analyzer:
        dependency: "direct dev"
        description:
          name: analyzer
          sha256: "690e335554a8385bc9d787117d9eb52c0c03ee207a607e593de3c9d71b1cfe80"
          url: "https://pub.dev"
        source: hosted
        version: "4.7.0"
      archive:
        dependency: transitive
        description:
          name: archive
          sha256: ed7cc591a948744994714375caf9a2ce89e1d82e8243997c8a2994d57181c212
          url: "https://pub.dev"
        source: hosted
        version: "3.3.5"
      args:
        dependency: transitive
        description:
          name: args
          sha256: b003c3098049a51720352d219b0bb5f219b60fbfb68e7a4748139a06a5676515
          url: "https://pub.dev"
        source: hosted
        version: "2.3.1"
      async:
        dependency: transitive
        description:
          name: async
          sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
          url: "https://pub.dev"
        source: hosted
        version: "2.10.0"
      bazel_worker:
        dependency: transitive
        description:
          name: bazel_worker
          sha256: "500584fdb80bcb70a2990a5838338a757cc24bbf27d88bf791cbe9461c57cd5a"
          url: "https://pub.dev"
        source: hosted
        version: "1.0.2"
      boolean_selector:
        dependency: transitive
        description:
          name: boolean_selector
          sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.1"
      build:
        dependency: transitive
        description:
          name: build
          sha256: "3fbda25365741f8251b39f3917fb3c8e286a96fd068a5a242e11c2012d495777"
          url: "https://pub.dev"
        source: hosted
        version: "2.3.1"
      build_config:
        dependency: transitive
        description:
          name: build_config
          sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
          url: "https://pub.dev"
        source: hosted
        version: "1.1.1"
      build_daemon:
        dependency: transitive
        description:
          name: build_daemon
          sha256: "6bc5544ea6ce4428266e7ea680e945c68806c4aae2da0eb5e9ccf38df8d6acbf"
          url: "https://pub.dev"
        source: hosted
        version: "3.1.0"
      build_modules:
        dependency: transitive
        description:
          name: build_modules
          sha256: "48946ee056939d50a9466babe24333c738526310e744a2498f02f86f084f24d8"
          url: "https://pub.dev"
        source: hosted
        version: "4.0.5"
      build_resolvers:
        dependency: transitive
        description:
          name: build_resolvers
          sha256: "687cf90a3951affac1bd5f9ecb5e3e90b60487f3d9cdc359bb310f8876bb02a6"
          url: "https://pub.dev"
        source: hosted
        version: "2.0.10"
      build_runner:
        dependency: "direct dev"
        description:
          name: build_runner
          sha256: "6f48c61a9dcd2c3a9e62d3dcdab1ba382790e2f31026288cbabe55d6003c9c23"
          url: "https://pub.dev"
        source: hosted
        version: "2.3.2"
      build_runner_core:
        dependency: transitive
        description:
          name: build_runner_core
          sha256: "14febe0f5bac5ae474117a36099b4de6f1dbc52df6c5e55534b3da9591bf4292"
          url: "https://pub.dev"
        source: hosted
        version: "7.2.7"
      build_test:
        dependency: "direct dev"
        description:
          name: build_test
          sha256: b8165c422fab3f04622f44942ba0d85c7a0a1dd8195badce6862b24d19acd945
          url: "https://pub.dev"
        source: hosted
        version: "2.1.5"
      build_web_compilers:
        dependency: "direct dev"
        description:
          name: build_web_compilers
          sha256: "9c29514fcdcd225bf3b5c771fc033f1d37a7bc59dfe4d44f066ef0dbad8c0466"
          url: "https://pub.dev"
        source: hosted
        version: "3.2.6"
      built_collection:
        dependency: transitive
        description:
          name: built_collection
          sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
          url: "https://pub.dev"
        source: hosted
        version: "5.1.1"
      built_value:
        dependency: transitive
        description:
          name: built_value
          sha256: "59e08b0079bb75f7e27392498e26339387c1089c6bd58525a14eb8508637277b"
          url: "https://pub.dev"
        source: hosted
        version: "8.4.2"
      charcode:
        dependency: transitive
        description:
          name: charcode
          sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306
          url: "https://pub.dev"
        source: hosted
        version: "1.3.1"
      checked_yaml:
        dependency: transitive
        description:
          name: checked_yaml
          sha256: dd007e4fb8270916820a0d66e24f619266b60773cddd082c6439341645af2659
          url: "https://pub.dev"
        source: hosted
        version: "2.0.1"
      clock:
        dependency: transitive
        description:
          name: clock
          sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
          url: "https://pub.dev"
        source: hosted
        version: "1.1.1"
      code_builder:
        dependency: transitive
        description:
          name: code_builder
          sha256: "02ce3596b459c666530f045ad6f96209474e8fee6e4855940a3cee65fb872ec5"
          url: "https://pub.dev"
        source: hosted
        version: "4.3.0"
      collection:
        dependency: transitive
        description:
          name: collection
          sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
          url: "https://pub.dev"
        source: hosted
        version: "1.17.0"
      convert:
        dependency: transitive
        description:
          name: convert
          sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
          url: "https://pub.dev"
        source: hosted
        version: "3.1.1"
      coverage:
        dependency: transitive
        description:
          name: coverage
          sha256: d2494157c32b303f47dedee955b1479f2979c4ff66934eb7c0def44fd9e0267a
          url: "https://pub.dev"
        source: hosted
        version: "1.6.1"
      crypto:
        dependency: transitive
        description:
          name: crypto
          sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67
          url: "https://pub.dev"
        source: hosted
        version: "3.0.2"
      csslib:
        dependency: transitive
        description:
          name: csslib
          sha256: b36c7f7e24c0bdf1bf9a3da461c837d1de64b9f8beb190c9011d8c72a3dfd745
          url: "https://pub.dev"
        source: hosted
        version: "0.17.2"
      dart_style:
        dependency: transitive
        description:
          name: dart_style
          sha256: "7a03456c3490394c8e7665890333e91ae8a49be43542b616e414449ac358acd4"
          url: "https://pub.dev"
        source: hosted
        version: "2.2.4"
      file:
        dependency: transitive
        description:
          name: file
          sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
          url: "https://pub.dev"
        source: hosted
        version: "6.1.4"
      fixnum:
        dependency: transitive
        description:
          name: fixnum
          sha256: "04be3e934c52e082558cc9ee21f42f5c1cd7a1262f4c63cd0357c08d5bba81ec"
          url: "https://pub.dev"
        source: hosted
        version: "1.0.1"
      frontend_server_client:
        dependency: transitive
        description:
          name: frontend_server_client
          sha256: "82715f8041a85a534a7bf64400b2ee0bb3d594ccf695d97c0bb017259657ff5d"
          url: "https://pub.dev"
        source: hosted
        version: "3.1.0"
      glob:
        dependency: transitive
        description:
          name: glob
          sha256: "4515b5b6ddb505ebdd242a5f2cc5d22d3d6a80013789debfbda7777f47ea308c"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.1"
      graphs:
        dependency: transitive
        description:
          name: graphs
          sha256: f9e130f3259f52d26f0cfc0e964513796dafed572fa52e45d2f8d6ca14db39b2
          url: "https://pub.dev"
        source: hosted
        version: "2.2.0"
      html:
        dependency: transitive
        description:
          name: html
          sha256: d9793e10dbe0e6c364f4c59bf3e01fb33a9b2a674bc7a1081693dba0614b6269
          url: "https://pub.dev"
        source: hosted
        version: "0.15.1"
      http_multi_server:
        dependency: transitive
        description:
          name: http_multi_server
          sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
          url: "https://pub.dev"
        source: hosted
        version: "3.2.1"
      http_parser:
        dependency: transitive
        description:
          name: http_parser
          sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
          url: "https://pub.dev"
        source: hosted
        version: "4.0.2"
      intl:
        dependency: transitive
        description:
          name: intl
          sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91"
          url: "https://pub.dev"
        source: hosted
        version: "0.17.0"
      io:
        dependency: transitive
        description:
          name: io
          sha256: "0d4c73c3653ab85bf696d51a9657604c900a370549196a91f33e4c39af760852"
          url: "https://pub.dev"
        source: hosted
        version: "1.0.3"
      js:
        dependency: transitive
        description:
          name: js
          sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
          url: "https://pub.dev"
        source: hosted
        version: "0.6.5"
      json_annotation:
        dependency: transitive
        description:
          name: json_annotation
          sha256: "3520fa844009431b5d4491a5a778603520cdc399ab3406332dcc50f93547258c"
          url: "https://pub.dev"
        source: hosted
        version: "4.7.0"
      lints:
        dependency: "direct dev"
        description:
          name: lints
          sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593"
          url: "https://pub.dev"
        source: hosted
        version: "2.0.1"
      logging:
        dependency: transitive
        description:
          name: logging
          sha256: c0bbfe94d46aedf9b8b3e695cf3bd48c8e14b35e3b2c639e0aa7755d589ba946
          url: "https://pub.dev"
        source: hosted
        version: "1.1.0"
      matcher:
        dependency: transitive
        description:
          name: matcher
          sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
          url: "https://pub.dev"
        source: hosted
        version: "0.12.13"
      meta:
        dependency: "direct main"
        description:
          name: meta
          sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
          url: "https://pub.dev"
        source: hosted
        version: "1.8.0"
      mime:
        dependency: transitive
        description:
          name: mime
          sha256: dab22e92b41aa1255ea90ddc4bc2feaf35544fd0728e209638cad041a6e3928a
          url: "https://pub.dev"
        source: hosted
        version: "1.0.2"
      mockito:
        dependency: "direct dev"
        description:
          name: mockito
          sha256: "2a8a17b82b1bde04d514e75d90d634a0ac23f6cb4991f6098009dd56836aeafe"
          url: "https://pub.dev"
        source: hosted
        version: "5.3.2"
      ngast:
        dependency: "direct overridden"
        description:
          path: "../ngast"
          relative: true
        source: path
        version: "2.1.4"
      ngcompiler:
        dependency: "direct overridden"
        description:
          path: "../ngcompiler"
          relative: true
        source: path
        version: "2.1.4-dev"
      ngdart:
        dependency: "direct main"
        description:
          path: "../ngdart"
          relative: true
        source: path
        version: "7.1.1"
      ngtest:
        dependency: "direct dev"
        description:
          path: "../ngtest"
          relative: true
        source: path
        version: "4.1.1"
      node_preamble:
        dependency: transitive
        description:
          name: node_preamble
          sha256: "8ebdbaa3b96d5285d068f80772390d27c21e1fa10fb2df6627b1b9415043608d"
          url: "https://pub.dev"
        source: hosted
        version: "2.0.1"
      package_config:
        dependency: transitive
        description:
          name: package_config
          sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.0"
      path:
        dependency: transitive
        description:
          name: path
          sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
          url: "https://pub.dev"
        source: hosted
        version: "1.8.2"
      pointycastle:
        dependency: transitive
        description:
          name: pointycastle
          sha256: db7306cf0249f838d1a24af52b5a5887c5bf7f31d8bb4e827d071dc0939ad346
          url: "https://pub.dev"
        source: hosted
        version: "3.6.2"
      pool:
        dependency: transitive
        description:
          name: pool
          sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
          url: "https://pub.dev"
        source: hosted
        version: "1.5.1"
      protobuf:
        dependency: transitive
        description:
          name: protobuf
          sha256: "01dd9bd0fa02548bf2ceee13545d4a0ec6046459d847b6b061d8a27237108a08"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.0"
      pub_semver:
        dependency: transitive
        description:
          name: pub_semver
          sha256: "307de764d305289ff24ad257ad5c5793ce56d04947599ad68b3baa124105fc17"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.3"
      pubspec_parse:
        dependency: transitive
        description:
          name: pubspec_parse
          sha256: "75f6614d6dde2dc68948dffbaa4fe5dae32cd700eb9fb763fe11dfb45a3c4d0a"
          url: "https://pub.dev"
        source: hosted
        version: "1.2.1"
      quiver:
        dependency: transitive
        description:
          name: quiver
          sha256: "93982981971e812c94d4a6fa3a57b89f9ec12b38b6380cd3c1370c3b01e4580e"
          url: "https://pub.dev"
        source: hosted
        version: "3.1.0"
      scratch_space:
        dependency: transitive
        description:
          name: scratch_space
          sha256: a469a9642a4d7ee406d6224a85446eb8baa9dd6d81e2f0b76770deae7bd32aab
          url: "https://pub.dev"
        source: hosted
        version: "1.0.1"
      shelf:
        dependency: transitive
        description:
          name: shelf
          sha256: c24a96135a2ccd62c64b69315a14adc5c3419df63b4d7c05832a346fdb73682c
          url: "https://pub.dev"
        source: hosted
        version: "1.4.0"
      shelf_packages_handler:
        dependency: transitive
        description:
          name: shelf_packages_handler
          sha256: aef74dc9195746a384843102142ab65b6a4735bb3beea791e63527b88cc83306
          url: "https://pub.dev"
        source: hosted
        version: "3.0.1"
      shelf_static:
        dependency: transitive
        description:
          name: shelf_static
          sha256: e792b76b96a36d4a41b819da593aff4bdd413576b3ba6150df5d8d9996d2e74c
          url: "https://pub.dev"
        source: hosted
        version: "1.1.1"
      shelf_web_socket:
        dependency: transitive
        description:
          name: shelf_web_socket
          sha256: a988c0e8d8ffbdb8a28aa7ec8e449c260f3deb808781fe1284d22c5bba7156e8
          url: "https://pub.dev"
        source: hosted
        version: "1.0.3"
      source_gen:
        dependency: transitive
        description:
          name: source_gen
          sha256: "2d79738b6bbf38a43920e2b8d189e9a3ce6cc201f4b8fc76be5e4fe377b1c38d"
          url: "https://pub.dev"
        source: hosted
        version: "1.2.6"
      source_map_stack_trace:
        dependency: transitive
        description:
          name: source_map_stack_trace
          sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.1"
      source_maps:
        dependency: transitive
        description:
          name: source_maps
          sha256: "490098075234dcedb83c5d949b4c93dad5e6b7702748de000be2b57b8e6b2427"
          url: "https://pub.dev"
        source: hosted
        version: "0.10.11"
      source_span:
        dependency: transitive
        description:
          name: source_span
          sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
          url: "https://pub.dev"
        source: hosted
        version: "1.9.1"
      stack_trace:
        dependency: transitive
        description:
          name: stack_trace
          sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
          url: "https://pub.dev"
        source: hosted
        version: "1.11.0"
      stream_channel:
        dependency: transitive
        description:
          name: stream_channel
          sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.1"
      stream_transform:
        dependency: transitive
        description:
          name: stream_transform
          sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
          url: "https://pub.dev"
        source: hosted
        version: "2.1.0"
      string_scanner:
        dependency: transitive
        description:
          name: string_scanner
          sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
          url: "https://pub.dev"
        source: hosted
        version: "1.2.0"
      term_glyph:
        dependency: transitive
        description:
          name: term_glyph
          sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
          url: "https://pub.dev"
        source: hosted
        version: "1.2.1"
      test:
        dependency: "direct dev"
        description:
          name: test
          sha256: a5fcd2d25eeadbb6589e80198a47d6a464ba3e2049da473943b8af9797900c2d
          url: "https://pub.dev"
        source: hosted
        version: "1.22.0"
      test_api:
        dependency: transitive
        description:
          name: test_api
          sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
          url: "https://pub.dev"
        source: hosted
        version: "0.4.16"
      test_core:
        dependency: transitive
        description:
          name: test_core
          sha256: "0ef9755ec6d746951ba0aabe62f874b707690b5ede0fecc818b138fcc9b14888"
          url: "https://pub.dev"
        source: hosted
        version: "0.4.20"
      timing:
        dependency: transitive
        description:
          name: timing
          sha256: c386d07d7f5efc613479a7c4d9d64b03710b03cfaa7e8ad5f2bfb295a1f0dfad
          url: "https://pub.dev"
        source: hosted
        version: "1.0.0"
      typed_data:
        dependency: transitive
        description:
          name: typed_data
          sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5"
          url: "https://pub.dev"
        source: hosted
        version: "1.3.1"
      vm_service:
        dependency: transitive
        description:
          name: vm_service
          sha256: e7fb6c2282f7631712b69c19d1bff82f3767eea33a2321c14fa59ad67ea391c7
          url: "https://pub.dev"
        source: hosted
        version: "9.4.0"
      watcher:
        dependency: transitive
        description:
          name: watcher
          sha256: "6a7f46926b01ce81bfc339da6a7f20afbe7733eff9846f6d6a5466aa4c6667c0"
          url: "https://pub.dev"
        source: hosted
        version: "1.0.2"
      web_socket_channel:
        dependency: transitive
        description:
          name: web_socket_channel
          sha256: "3a969ddcc204a3e34e863d204b29c0752716f78b6f9cc8235083208d268a4ccd"
          url: "https://pub.dev"
        source: hosted
        version: "2.2.0"
      webkit_inspection_protocol:
        dependency: transitive
        description:
          name: webkit_inspection_protocol
          sha256: "67d3a8b6c79e1987d19d848b0892e582dbb0c66c57cc1fef58a177dd2aa2823d"
          url: "https://pub.dev"
        source: hosted
        version: "1.2.0"
      yaml:
        dependency: transitive
        description:
          name: yaml
          sha256: "23812a9b125b48d4007117254bca50abb6c712352927eece9e155207b1db2370"
          url: "https://pub.dev"
        source: hosted
        version: "3.1.1"
    sdks:
      dart: ">=2.18.0 <4.0.0"    
      
    opened by ykmnkmi 4
Releases(build_runner-v1.3.5)
  • build_runner-v1.3.5(Apr 25, 2019)

  • build_barback-v0.3.0(Jul 18, 2017)

  • build_runner-v0.3.0(Jan 31, 2017)

    Bug Fixes

    • Fixed a race condition bug 175 that could cause invalid output errors.

    Breaking Changes

    • RunnerAssetWriter now requires an additional field, onDelete which is a callback that must be called synchronously within delete.
    Source code(tar.gz)
    Source code(zip)
  • build_test-v0.4.0(Jan 27, 2017)

    Updates to work with build version 0.7.0.

    New Features

    • The testBuilder method now accepts List<int> values for both sourceAssets and outputs.
    • The checkOutputs method is now public.

    Breaking Changes

    • The testBuilder method now requires a RecordingAssetWriter instead of just an AssetWriter for the writer parameter.
    • If a Matcher is provided as a value in outputs, then it will match against the same value that was written. For example if your builder uses writeAsString then it will match against that string. If you use writeAsBytes then it will match against those bytes. It will not automatically convert to/from bytes and strings.
    • Deleted the makeAsset and makeAssets methods. There is no more Asset class so these don't really have any value any more.
    • The signature of addAssets has changed to void addAssets(Map<AssetId, dynamic> assets, InMemoryAssetWriter writer). Values of the map may be either String or List<int>.
    • InMemoryAssetReader#assets and InMemoryAssetWriter#assets have changed to a type of Map<AssetId, DatedValue> from a type of Map<AssetId, DatedString>. DatedValue has both a stringValue and bytesValue getter.
    • InMemoryAssetReader and InMemoryAssetWriter have been updated to implement the new AssetReader and AssetWriter interfaces (see the build package CHANGELOG for more details).
    • InMemoryAssetReader#cacheAsset has been changed to two separate methods, void cacheStringAsset(AssetId id, String contents) and void cacheBytesAsset(AssetId id, List<int> bytes).
    • The equalsAsset matcher has been removed, since there is no more Asset class.
    Source code(tar.gz)
    Source code(zip)
  • build_runner-v0.2.0(Jan 27, 2017)

    Add support for the new bytes apis in build.

    New Features

    • FileBasedAssetReader and FileBasedAssetWriter now support reading/writing as bytes.
    Source code(tar.gz)
    Source code(zip)
  • build_barback-v0.1.0(Jan 27, 2017)

    Updated to reflect the new support for reading/writing as bytes in the build package, and the removal of the Asset class.

    New Features

    • BuilderTransformer now supports wrapping transformers that read or write their inputs as bytes.
    • The Resolver implementation now has isLibrary to check whether an Asset is a Library and throws an exception rather than returns null on getLibrary when it isn't

    Breaking Changes

    • Stopped exporting lib/src/util/barback.dart which contains internal only utilities. Specifically, the following items are no longer public (some are deleted entirely or had breaking changes as well):
      • toBarbackAsset
      • toBarbackAssetId
      • toBarbackTransform
      • toBuildAsset
      • toBuildAssetId
      • toTransformLogger
      • BuildStepTransform
    Source code(tar.gz)
    Source code(zip)
  • build-v0.7.0(Jan 27, 2017)

    A number of changes to the apis, primarily to support reading/writing as bytes, as this is going to inevitably be a required feature. This will hopefully be the last breaking change before the 1.0 release, but it is a fairly large one.

    New Features

    • The AssetWriter class now has a Future writeAsBytes(AssetId id, List<int> bytes) method.
    • The AssetReader class now has a Future<List<int>> readAsBytes(AssetId id) method.
    • You no longer need to call Resolver#release on any resolvers you get from a BuildStep (in fact, the Resolver interface no longer has this method).
    • There is now a BuildStep#resolver getter, which resolves the primary input, and returns a Future<Resolver>. This replaces the BuildStep#resolve method.
    • Resolver has a new isLibrary method to check whether an asset is a Dart library source file before trying to resolve it's LibraryElement

    Breaking Changes

    • The Asset class has been removed entirely.
    • The AssetWriter#writeAsString signature has changed to Future writeAsString(AssetId id, String contents, {Encoding encoding}).
    • The type of the AssetWriterSpy#assetsWritten getter has changed from an Iterable<Asset> to an Iterable<AssetId>.
    • BuildStep#input has been changed to BuildStep#inputId, and its type has changed from Asset to AssetId. This means you must now use BuildStep#readAsString or BuildStep#readAsBytes to read the primary input, instead of it already being read in for you.
    • Resolver no longer has a release method (they are released for you).
    • BuildStep#resolve no longer exists, and has been replaced with the BuildStep#resolver getter.
    • Resolver.getLibrary will now throw a NonLibraryAssetException instead of return null if it is asked to resolve an impossible library.

    Note: The changes to AssetReader and AssetWriter also affect BuildStep and other classes that implement those interfaces.

    Source code(tar.gz)
    Source code(zip)
  • v0.5.0(Nov 10, 2016)

    • BREAKING BuilderTransformer must be constructed with a single Builder. Use the MultiplexingBuilder to cover cases with a list of builders
    • When using a MultiplexingBuilder if multiple Builders have overlapping outputs the entire step will not run rather than running builders up to the point where there is an overlap
    Source code(tar.gz)
    Source code(zip)
  • v0.4.1+3(Oct 28, 2016)

    • With the default logger, print exceptions with a terse stack trace.
    • Provide a better error when an inputSet package cannot be found.
    • Fix dev_dependencies so tests run.
    Source code(tar.gz)
    Source code(zip)
  • v0.4.1+1(Oct 28, 2016)

  • build_test-v0.1.2(Aug 22, 2016)

  • v0.3.0+6(Jun 21, 2016)

  • v0.3.0+5(Jun 6, 2016)

  • v0.3.0+4(Jun 3, 2016)

  • v0.3.0+3(May 31, 2016)

  • v0.3.0+2(May 10, 2016)

  • v0.2.1(Mar 15, 2016)

    • Added the deleteFilesByDefault option to all top level methods. This will skip the prompt to delete files, and instead act as if you responded y.
      • Also by default in a non-console environment the prompt no longer exists and it will instead just exit with an error.
    • Added support for multiple build scripts. Each script now has its own asset graph based on a hash of the script uri.
      • You need to be careful here, as you can get in an infinite loop if two separate build scripts keep triggering updates for each other.
      • There is no explicit link between multiple scripts, so they operate as if all changes from other scripts were user edits. This will usually just do the "right thing", but may result in undesired behavior in some circumstances.
    • Improved logging for non-posix consoles.
    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Mar 10, 2016)

    • Updated the top level classes to take a PhaseGroup instead of a List<List<Phase>>.
    • Added logic to handle nested package directories.
    • Basic windows support added, although it may still be unstable.
    • Significantly increased the resolving speed by using the same sources cache.
    • Added a basic README.
    • Moved the .build folder to .dart_tool/build. Other packages in the future may also use this folder.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.4(Feb 23, 2016)

    • Added top level serve function.
      • Just like watch, but it provides a server which blocks on any ongoing builds before responding to requests.
    • Minor bug fixes.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.3(Feb 19, 2016)

    • Builds are now fully incremental, even on startup.
      • Builds will be invalidated if the build script or any of its dependencies are updated since there is no way of knowing how that would affect things.
    • Added lastModified to AssetReader (only matters if you implement it).
    Source code(tar.gz)
    Source code(zip)
  • v0.1.2(Feb 16, 2016)

    • Exposed the top level watch function. This can be used to watch the file system and run incremental rebuilds on changes.
      • Initial build is still non-incremental.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.1(Feb 9, 2016)

    This release enables non-incremental builds, outside of the pub build/serve infrastructure.

    • Exposed the top level build function. This can be used to run builds.
      • For this release all builds are non-incremental, and delete all previous build outputs when they start up.
      • Creates a .build directory which should be added to your .gitignore.
    • Added resolve method to BuildStep which can give you a Resolver for an AssetId.
      • This is experimental and may get moved out to a separate package.
      • Resolves the full dart sdk so this is slow, first call will take multiple seconds. Subsequent calls are much faster though.
      • Will end up marking all transitive deps as dependencies, so your files may end up being recompiled often when not entirely necessary (once we have incremental builds).
    • Added listAssetIds to AssetReader (only matters if you implement it).
    • Added delete to AssetWriter (also only matters if you implement it).
    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Jan 29, 2016)

Owner
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Dart
Provide powerfull tools to help you build your Flutter design system.

Provide powerfull tools to help you build your design system. About flutter_design contains packages to help you bootstrap your design system with a w

Min Zhao 23 Dec 3, 2022
Build a system that recommends jobs based on resume.

Job Findr Problem Statement: Build a system that recommends jobs based on resume. Problem Description: The problem statement suggests to build a syste

null 2 Jul 8, 2022
Easily build your Widgets, Avoid parenthesis nesting, easy to build UI, A little like swift-ui.

tenon_mortise Easily build your Widgets, Avoid parenthesis nesting, easy to build UI, A little like swift-ui. Getting Started Usage To use this plugin

JieLiu 4 Dec 15, 2022
A Dart client for the NATS messaging system. Design to use with Dart and Flutter.

Dart-NATS A Dart client for the NATS messaging system. Design to use with Dart and flutter. Flutter Web Support by WebSocket client.connect(Uri.parse(

Chart Chongcharoen 32 Nov 18, 2022
Mysql.dart - MySQL client for Dart written in Dart

Native MySQL client written in Dart for Dart See example directory for examples

null 48 Dec 29, 2022
An alternative UI for the Human Resources Management System.

Human Resources Management System Frontend with Flutter An alternative UI for the Human Resources Management System that uses Flutter Framework and pr

Bulent Baris Kilic 18 Sep 7, 2022
Implements Microsoft's Fluent Design System in Flutter.

fluent_ui Design beautiful native windows apps using Flutter Unofficial implementation of Fluent UI for Flutter. It's written based on the official do

Bruno D'Luka 1.8k Dec 29, 2022
A grid-based layout system for Flutter, inspired by CSS Grid Layout

Flutter Layout Grid A powerful grid layout system for Flutter, optimized for complex user interface design. Click images to see their code ✨ Featuring

Felt 307 Dec 24, 2022
RelativeScale is a simple custom sizing system for flutter widgets to achieve the same physical sizes across different devices.

RelativeScale is a simple custom sizing system for flutter widgets to achieve the same physical sizes across different devices. Usage It is VERY easy

xamantra 19 Nov 25, 2022
The company's design system

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them. Features TODO: List w

Adby Santos 2 Nov 23, 2021
Flutter UI library based on IBM's Carbon Design System 💎

Flutter Carbon ‌Carbon is IBM’s open-source design system for products and experiences. With the IBM Design Language as its foundation, the system con

Nour El-Din Shobier 89 Jan 5, 2023
Flutter control system widgets, like on-off controller.

control_system Flutter control system widgets, like on-off controller. Introduction A control system manages, commands, directs, or regulates the beha

Amirreza Madani 0 Jan 9, 2022
Sales representative and sales management system to manage sales representatives, goods, and sales.

Sales Rep and Sales Management app. This mobile app is used to manage daily activities of a wholesale business. Getting Started This project is a star

Imesh Gunathilake 6 Jul 1, 2022
Fluent System Icons are a collection of familiar, friendly and modern icons from Microsoft.

Fluent UI System Icons Fluent UI System Icons are a collection of familiar, friendly and modern icons from Microsoft. Icon List View the full list of

Microsoft 4.3k Dec 29, 2022
Run your MIT App Inventor projects on (nearly) any operating system!

xaif Run your MIT App Inventor projects on (nearly) any operating system! This tool is in an early development phase, see the disclaimer below. Prereq

null 14 Oct 17, 2022
A grid-based layout system for Flutter, inspired by CSS Grid Layout

Flutter Layout Grid A powerful grid layout system for Flutter, optimized for complex user interface design. Click images to see their code ✨ Featuring

Felt 307 Dec 24, 2022
Implementing file system in flutter app.

file_system_practice A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you sta

null 0 Dec 27, 2021
Stacked UI design system built for Flutter.

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them. Features TODO: List w

Lewis Eccles 0 Jan 2, 2022
Venni partner app - A flutter ride-sharing driver app supporting bank transfer, balance history, trip rating system, and trip history,

partner_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

Abrantes 3 Sep 24, 2022