- Add
--version-info
option. This is off by default. - Require Dart 3.5
- Support build wasm option for Flutter web.
- Require Dart 3.0
- Now chooses the "mode" (
build_runner
or Flutter) based on if the detected package is a Flutter package.
- Require Dart 2.18.0
- Widen supported
package:build_web_compilers
supported version range.
- Added
auto
option to--web-renderer
. This is now the default.
- Require Dart 2.17.0
- Stop deleting output directory after Flutter builds.
- Improve
README.md
.
- Drop usage of
pub
command. Move to usingdart run
,dart pub
, etc. - Fail if configuration is provided that is not supported by the package's platform.
- Added
--extra-args
option. - Require Dart 2.14.0
- Fixed a bad cast.
- Migrate implementation to null-safety.
- DROPPED
canvas-kit
option. Replaced it with... - ADDED
web-renderer
option. Aligns with the (current) defaults in the Flutter CLI.
- Support Flutter Version Manager (FVM) installations.
- Improve help text.
- Require Dart 2.10.5
canvas-kit
is now a supported configuration inpeanut.yaml
.- The
canvas-kit
option now passes--web-renderer canvaskit
tobuild web
. (Previously it used--dart-define=FLUTTER_WEB_USE_SKIA=true
.)
- Added
.dart_tool/**
to the default exclude set. - Require Dart SDK
>=2.6.0 <3.0.0
.
- Added
--canvas-kit
flag for Flutter web.
- Fixes for running with Flutter.
- Provide a helpful message when using the Dart SDK with a Flutter package.
- Fix
--version
.
- Flutter apps are now built if peanut is enabled using
flutter pub global activate
. Runningflutter pub global run peanut:peanut
will use the flutter CLI instead ofbuild_runner
- Parse command line arguments when a
peaunut.yaml
configuration file exists and merge the values, with a preference for the command line arguments. (Before, the configuration file values were ignored.) - Added
verbose
option. For now, it prints out all of the files deleted in the output directory. - Added
--dry-run
command-line flag which verifies the configuration and prints commands that would be executed, but does not do any work.
- Added examples to README.
- If
post-build-dart-script
is provided, pass a second command line argument after the build directory. A JSON map between the source directory relative to the working directory and the corresponding build directory.
- Print a more helpful error when configuration is invalid.
- Support configuring builder options.
- Require Dart SDK
>=2.3.0-dev.0.1 <3.0.0
.
- Improve printed output while running.
- Updated dependencies.
- Improve printed output while running.
- Fix height of generated
index.html
page. - Include
package:peanut
version info in commit message. - Avoid creating commit messages with a first line longer than 72 characters.
- BREAKING renamed
diretory
option todirectories
. - Added
--[no-]source-branch-info
flag. - Added
--post-build-dart-script
option. - Add support for
peanut.yaml
configuration. - Exclude
*.md
and*.yaml
from output directory. - Require Dart SDK
>=2.2.0
.
- Support the latest
package:build_web_compilers
and friends.
- Support the latest
package:build_runner
and friends.
- Improve
--help
output.
- Support the latest
package:build_runner
.
- Support Dart 2 stable.
- Updates to support latest
package:build_runner
.
-
Require Dart
>=2.0.0-dev.56
. -
Other updates to support running on Dart 2.
- Support the latest version of
package:build_web_compilers
.
-
BREAKING Now only works with the latest
package:build_runner
and friends. -
Removed manual file management that likely caused problems on Windows.
-
The public library has been removed. This package is meant to be an executable only.
- Moved non-executable file out of
/bin
so it's not activated duringpub global activate
.
-
Run
pub
from the SDK invokingpeanut
. Also fixes the case wherepub
is not in the user's PATH. -
Send all output to
stdout
. -
Improve exit codes and error messages on failure.
- Added
**.dart.js.deps
,**.dart.js.tar.gz
,**.ng_placeholder
to the set of files to exclude.
-
Only warn if the
directory
does not exist. Build could still work. -
Update dependency on
pkg:git
. Allows runningpeanut
in a subdirectory of a Git repository.
- Support the latest
pkg:git
.
-
Improve sub-process management.
-
Print error/warnings in red – where supported.
-
Initial support for
build_runner
via--build_tool
option. -
Updated Dart SDK lower-bound to
2.0.0-dev.22
. UsingIterable.whereType<T>
– introduced in this release.
- Set exit code correctly on errors.
- Tweak some things.
- Update readme.
- Add mode options, to allow
pub build
to run in debug mode.
- Run
pub
withrunInShell
to make things work on Windows.
- Added instructions to
README.md
.
- Initial version, created by Stagehand