Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
update to the latest dart sdk stable version (#680)
Browse files Browse the repository at this point in the history
update to the latest dart sdk stable version; use 'dart analyze' for analysis
  • Loading branch information
devoncarew committed Nov 11, 2020
1 parent 8a6d927 commit d8e4679
Show file tree
Hide file tree
Showing 20 changed files with 41 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dart:
# SDK version to prevent errors when using Stagehand from inside VSCode's
# Dart and Flutter plugins. For more detail, please see:
# https://github.com/dart-lang/stagehand/issues/617
- "2.9.3"
- "2.10.0"
- beta
- dev

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.3.11

- Updated minimum Dart SDK to 2.10.0 in stagehand tool and templates.

## 3.3.10

- Updated dependency versions for `web-angular`.
Expand Down
6 changes: 3 additions & 3 deletions lib/src/generators/console_full.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/src/generators/console_simple.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/src/generators/package_simple.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/src/generators/server_shelf.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions lib/src/generators/web_angular.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/src/generators/web_simple.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/src/generators/web_stagexl.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Generated code. Do not modify.
const packageVersion = '3.3.10';
const packageVersion = '3.3.11';
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >
A scaffolding generator for your Dart projects. Stagehand helps you get set
up!
# After changing the version, run `pub run build_runner build`.
version: 3.3.10
version: 3.3.11
homepage: https://github.com/dart-lang/stagehand

environment:
Expand All @@ -17,7 +17,7 @@ environment:
# https://github.com/dart-lang/stagehand/issues/617
#
# Also make sure this minimum sdk version is reflected in `.travis.yml`.
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

# Add the bin/stagehand.dart script to the scripts pub installs.
executables:
Expand Down
2 changes: 1 addition & 1 deletion templates/console-full/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A sample command-line application.
# homepage: https://www.example.com

environment:
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

#dependencies:
# path: ^1.7.0
Expand Down
2 changes: 1 addition & 1 deletion templates/console-simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A simple command-line application.
# homepage: https://www.example.com

environment:
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

#dependencies:
# path: ^1.7.0
Expand Down
2 changes: 1 addition & 1 deletion templates/package-simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A starting point for Dart libraries or applications.
# homepage: https://www.example.com

environment:
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

#dependencies:
# path: ^1.7.0
Expand Down
2 changes: 1 addition & 1 deletion templates/server-shelf/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A web server built using the shelf package.
# homepage: https://www.example.com

environment:
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

dependencies:
args: ^1.6.0
Expand Down
2 changes: 1 addition & 1 deletion templates/web-angular/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A web app that uses AngularDart Components
# homepage: https://www.example.com

environment:
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

dependencies:
angular: ^6.0.0
Expand Down
2 changes: 1 addition & 1 deletion templates/web-simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: An absolute bare-bones web app.
#homepage: https://www.example.com

environment:
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

#dependencies:
# path: ^1.7.0
Expand Down
2 changes: 1 addition & 1 deletion templates/web-stagexl/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A simple StageXL web app.
#homepage: https://www.example.com

environment:
sdk: '>=2.9.3 <3.0.0'
sdk: '>=2.10.0 <3.0.0'

dependencies:
stagexl: ^1.4.4
Expand Down
2 changes: 1 addition & 1 deletion test/validate_templates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void _testGenerator(stagehand.Generator generator, Directory tempDir) {

expect(
pubspecContent,
containsPair('environment', {'sdk': '>=2.9.3 <3.0.0'}),
containsPair('environment', {'sdk': '>=2.10.0 <3.0.0'}),
);

// Run package tests, if `test` is included.
Expand Down
4 changes: 2 additions & 2 deletions tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -e
source ./tool/env-set.sh

# Verify that the libraries are error free.
dartanalyzer --fatal-warnings .
dart analyze

travis_fold start check_templates
for d in templates/*; do
Expand All @@ -20,7 +20,7 @@ for d in templates/*; do
pushd $d >> /dev/null
PUB_ALLOW_PRERELEASE_SDK=quiet pub get
dartfmt --set-exit-if-changed -w . | grep -Ev "Formatting directory|Skipping|Unchanged" | cat -
dartanalyzer --fatal-warnings .
dart analyze
popd >> /dev/null
done
travis_fold start check_templates
Expand Down

0 comments on commit d8e4679

Please sign in to comment.