packageName/bin/packageName.dart
instead of packageName/bin/main.dart
.gitignore
files to match current pubspec.lock
guidance: https://dart.dev/guides/libraries/private-files#pubspeclockconsole-simple
.flutter-web-preview
, because you can now use the Flutter SDK to build a web application with Flutter.Updated minimum Dart SDK to 2.5.
Updated dependency versions across all templates.
Updated minimum Dart SDK to 2.4, except flutter-web-preview
.
Updated dependency versions across all templates.
server-shelf
template updated to make it easy to use with Cloud RunPORT
environment variableAdded flutter-web-preview
template.
Include templates categories
in the --machine
output.
All templates:
web-*
templates: Upgraded build_web_compilers
to ^1.0.0
.
web-angular
template: Upgraded to latest releases of angular
, angular_components
, and angular_test
.
All templates:
new
and unnecessary const
.web-*
templates: Upgraded build_runner
to ^1.1.2
.
web-angular
template: Upgraded to latest releases of angular
and angular_components
packages.
README.md
.All templates: Set min SDK version to 2.0.0.
web-*
templates: Upgraded build_runner
to ^0.10.0
.
web-angular
template: Upgraded to stable releases of angular
packages.
web-angular
template: Disabled the Angular analyzer plugin. To re-enable the plugin, edit analysis_options.yaml
and uncomment the two lines plugins: ... angular
.strong-mode: true
from all analysis_options.yaml
files.All templates:
test
to ^1.0.0
..gitignore
.web-angular
template:
angular_components
import directives.-beta
versions of angular
, angular_components
, and angular_test
build_runner ^0.9.0
lib/src
. Importing them directly is no longer supported.pubspec.yaml
.web-angular
template:-alpha+13
versions of angular
and angular_components
packages.Project and template file changes:
In pubspec.yaml
files:
web-angular
template:
-alpha+12
versions of angular
and angular_components
packages.web-
templates:package:build_web_compilers
.web-angular
template:angular_compiler
to ensure compatibility.Project and template file changes:
pubspec.yaml
files:browser
package dependency.test
0.12.30, which supports running tests under headless chrome.version
to 1.0.0 for all templates, and commented it out.JSON
, PI
, etc. to json
, pi
, etc.Server-shelf template changes:
int.parse()
to int.tryParse()
.async
/await
and proper pattern from exiting a binary on error.Web-angular template changes:
analysis_options.yaml
:uri_has_not_been_generated: ignore
.pubspec.yaml
changes:dev_dependencies
for build_runner
, build_test
, and build_web_compilers
.pageloader
.web/index.html
:<script defer src="packages/browser/dart.js"></script>
.<script defer src="main.dart" type="application/dart"></script>
by<script defer src="main.dart.js"></script>
.web/main.dart
:import 'package:__projectName__/app_component.template.dart' as ng;
.bootstrap(AppComponent)
by runApp(ng.AppComponentNgFactory);
.test/app_test.dart
:@Tags(const ['aot'])
.@AngularEntrypoint()
.import 'package:angular/angular.dart'
.import 'app_test.template.dart' as ng;
.ng.initReflector();
at the start of main()
.CORE_DIRECTIVES
→ coreDirectives
.const
qualifier from literals used used in metadata annotations.ClassProvider
.Web-simple template changes:
pubspec.yaml
changes:dev_dependencies
for build_runner
and build_web_compilers
.web/index.html
:<script defer src="packages/browser/dart.js"></script>
.<script defer src="main.dart" type="application/dart"></script>
by<script defer src="main.dart.js"></script>
.Web-stagexl template changes:
pubspec.yaml
changes:browser
and dart_to_js_script_rewriter
packages.dev_dependencies
for build_runner
and build_web_compilers
..dart_tool
to .gitignore
files.web-angular
to angular_components
0.8.0.web-angular
template pubspec: using angular_components
0.7.0.close_sinks
lint from all analysis options files.dart-lang
GitHub org.web-angular
to angular
4 and angular_components
0.6.0.sdk
dependency so that Stagehand can work with 2.0.0-dev.* releases.web-angular
to use lib/src
for everything but the main app.web-angular
and web-simple
templates, demonstrating how to make pub serve
use dartdevc.web-angular
and web-simple
templates.web-angular
template.web-simple
template.server-shelf
from “Shelf Web Server” to “Web Server”.platform_*
options from web-angular
.web-angular-simple
and console-simple
templates:web-angular-simple
now uses https://github.com/angular-examples/quickstart.web-angular
template:angular_test
based tests to web-angular-simple.web-angular-*
templates:angular2_components
to angular_components
.pubspec.yaml
:angular
to 3.0.0angular_components
to 0.5.0index.html
<base href>
initialization script.web-stagexl
template.analysis_options.yaml
for all templates.pubspec.yaml
for all templates.^
notation for versions.1.20.1
..gitginore
for all templates.packages
directory. They are not not generated with SDK 1.20.1+.build
directory, which is already ignored..gitignore
.web-angular-simple
to have copyrights and various project support files such as LICENSE
.web-angular
to use global styles.css
. Also tweaked hello_dialog.dart
, and added project support files like LICENSE
..analysis_options
files to analysis_options.yaml
.web-angular*/web/index.html
to generate a base href.web-angular-quickstart
to web-angular-simple
.web-angular
to use angular2_components
and to follow best practices.web-angular-quickstart
, a copy of the Angular docs' first example.web-polymer
.web-angular
to ^2.2.0
.web-angular
pubspec.web-angular
to ^2.0.0
.dart_to_js_script_rewriter
dependency to a dev_dependency..analysis_options
files for all templates.Console Application
to Simple Console Application
.Uber Simple Web Application
to Simple Web Application
.App Engine Application
sample.web-angular
to 2.0.0-beta.21
..analysis_options
file to all templates.web-angular
.web-angular
to 2.0.0-beta.20
.web-angular
to 2.0.0-beta.18
.web-angular
to 2.0.0-beta.17
.web-angular
to 2.0.0-beta.16
.web-angular
to 2.0.0-beta.15
.web-angular
to 2.0.0-beta.13.1
.web-angular
to 2.0.0-beta.12
. Also changed imports:angular2.dart
-> core.dart
bootstrap.dart
-> platform/browser.dart
web-polymer
template, which was broken in 1.0.2.library
directives almost everywhere.web-angular
to 2.0.0-beta.9
.web-angular
to 2.0.0-beta.6
. Also added a description and dart_to_js_script_rewriter to the pubspec.web-angular
to 2.0.0-beta.3
.web-simple
to use <script defer...>
instead of <script async...>
.web-angular
to 2.0.0-beta.0
.web-polymer
app bindings.console-full
.web-angular
template for an Angular2 (alpha) app.server-appengine
to use shelf
..gitignore
files.1.0.0-rc.1
).console-simple
template.web-simple
and web-full
templates.test
package.web-full
sample now reverses the text on page load.web-
: web-simple
, web-full
, and web-polymer
.usage
.usage
.usage
library for Google Analytics.ubersimplewebapp
template.appengineapp
template (thanks @wibling!).label
attribute to the templates and to the --machine
output.shelfapp
template to shelfserver
.--version
command-line option.webapp
template optional; added instructions in the template about how to enable it.-o
option; we now generate the selected template into the current directory.webapp
template.polymer
template was renamed to polymerapp
.helloworld
to consoleapp
.polymer
template.shelfapp
template.