Skip to content
This repository was archived by the owner on Sep 14, 2021. It is now read-only.

Commit 1fc2ec5

Browse files
authored
Update angular dependency to 4.0.0-alpha (#30)
* Fix Material List example. * Update SDK dependencies. * Remove SDK 1.23 from travis matrix.
1 parent 63a7fc0 commit 1fc2ec5

File tree

28 files changed

+74
-57
lines changed

28 files changed

+74
-57
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ sudo: false
33
dart:
44
- dev
55
- stable
6-
- 1.23.0
76
dart_task:
87
- dartanalyzer: --fatal-warnings .
98
- dartfmt
109
cache:
1110
directories:
1211
- $HOME/.pub-cache
12+
matrix:
13+
allow_failures:
14+
- dart: dev
15+
dart_task: dartfmt

analysis_options.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
analyzer:
22
strong-mode: true
33
errors:
4-
unused_element: error
5-
unused_import: error
6-
unused_local_variable: error
7-
dead_code: error
4+
# TODO(nshahan) Make these errors when there is a fix for
5+
# https://github.com/dart-lang/sdk/issues/29713
6+
unused_element: warning
7+
unused_import: warning
8+
unused_local_variable: warning
9+
dead_code: warning
810
linter:
911
rules:
1012
#- always_declare_return_types

lib/app_component.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
4-
import 'package:angular2/angular2.dart';
4+
import 'package:angular/angular.dart';
55
import 'package:angular_components/angular_components.dart';
66

77
import 'src/demo_app/demo_app.dart';

lib/src/demo_app/demo_app.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/glyph_demo/glyph_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_button_demo/material_button_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_checkbox_demo/material_checkbox_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_chips_demo/material_chips_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_dialog_demo/material_dialog_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

lib/src/material_expansionpanel_demo/material_expansionpanel_demo.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'package:angular2/angular2.dart';
5+
import 'package:angular/angular.dart';
66
import 'package:angular_components/angular_components.dart';
77

88
@Component(

0 commit comments

Comments
 (0)