build_modules 0.2.2+6

  • Installing
  • Versions
  • 46

build_modules #

Module builders for web, used by package:build_web_compilers.
Build Status Issues related to build_modules Pub Package Version Latest Dartdocs Join the chat on Gitter

This package provides generic module builders which can be used to create custom web compilation pipelines. It is used by build_web_compilers package which provides standard builders for DDC and dart2js.

Usage #

There should be no need to import this package directly unless you are developing a custom builder for web. See documentation in build_web_compilers for more details on building your Dart code with DDC and dart2js.

0.2.2+6 #

  • Support the latest package:build_config.

0.2.2+5 #

  • Updated the missing modules message to highlight that the error is likely due to a missing dependency.

0.2.2+4 #

  • Support package:analyzer 0.32.0.

0.2.2+3 #

  • Fix a race condition where we could fail to find the modules for some dependencies.

0.2.2+2 #

  • Fix an issue where modules were unnecessarily being built with DDC. #1375.

0.2.2+1 #

  • Fix an issue with new files causing subsequent build failures #1358.
  • Expose MetaModuleCleanBuilder and metaModuleCleanExtension publicly for usage in tests and manual build scripts.

0.2.2 #

  • Clean up .module and summary files from the output and server.

  • Add new ModuleBuilder strategies. By default the coarse strategy is used for all non-root packages and will create a minimum number of modules. This strategy can not be overridden. However, for the root package, the fine strategy will be used which creates a module for each strongly connected component. You can override this behavior by providing coarse to the strategy option.

    Example configuration:

              strategy: coarse

0.2.1 #

  • Give a guaranteed reverse dependency order for Module.computeTransitiveDependencies

0.2.0+2 #

0.2.0+1 #

0.2.0 #

  • computeTransitiveDependencies now throws a MissingModulesException instead of logging a warning if it discovers a missing module.

0.1.0+2 #

  • Fix a bug with the dart2js workers where the worker could hang if you try to re-use it after calling terminateWorkers. This only really surfaces in test environments.

0.1.0+1 #

  • Fix a bug with imports to libraries that have names starting with dart.

0.1.0 #

  • Split from build_web_compilers.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  build_modules: ^0.2.2+6

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:build_modules/build_modules.dart';
Version Uploaded Documentation Archive
2.1.0 Apr 18, 2019 Go to the documentation of build_modules 2.1.0 Download build_modules 2.1.0 archive
2.0.0 Apr 12, 2019 Go to the documentation of build_modules 2.0.0 Download build_modules 2.0.0 archive
1.0.10 Apr 1, 2019 Go to the documentation of build_modules 1.0.10 Download build_modules 1.0.10 archive
1.0.9 Mar 4, 2019 Go to the documentation of build_modules 1.0.9 Download build_modules 1.0.9 archive
1.0.8 Feb 22, 2019 Go to the documentation of build_modules 1.0.8 Download build_modules 1.0.8 archive
1.0.7+2 Feb 14, 2019 Go to the documentation of build_modules 1.0.7+2 Download build_modules 1.0.7+2 archive
1.0.7+1 Feb 14, 2019 Go to the documentation of build_modules 1.0.7+1 Download build_modules 1.0.7+1 archive
1.0.7 Feb 13, 2019 Go to the documentation of build_modules 1.0.7 Download build_modules 1.0.7 archive
1.0.6 Feb 1, 2019 Go to the documentation of build_modules 1.0.6 Download build_modules 1.0.6 archive
1.0.5 Jan 31, 2019 Go to the documentation of build_modules 1.0.5 Download build_modules 1.0.5 archive

All 35 versions...

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.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see

Maintenance issues and suggestions

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

Dependencies were not resolved.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.48 <2.0.0