Skip to content

Commit ecbf4bc

Browse files
authored
Update example to latest publish packages (#130)
1 parent 1169ddb commit ecbf4bc

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

example/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ dependencies to your `pubspec.yaml`.
88

99
```yaml
1010
dependencies:
11-
json_annotation: ^0.2.2
11+
json_annotation: ^0.2.3
1212

1313
dev_dependencies:
14-
build_runner: ^0.7.6
15-
json_serializable: ^0.4.0
14+
build_runner: ^0.8.0
15+
json_serializable: ^0.5.0
1616
```
1717
1818
Annotate your code with classes defined in

example/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: example
22
author: Dart Team <misc@dartlang.org>
33

44
environment:
5-
sdk: '>=2.0.0-dev.9 <2.0.0'
5+
sdk: '>=2.0.0-dev.32 <2.0.0'
66

77
dependencies:
8-
json_annotation: ^0.2.2
8+
json_annotation: ^0.2.3
99

1010
dev_dependencies:
11-
build_runner: ^0.7.6
12-
json_serializable: ^0.4.0
11+
build_runner: ^0.8.0
12+
json_serializable: ^0.5.0
1313

1414
# Used by tests. Not required to use `json_serializable`.
1515
path: ^1.5.1

example/test/readme_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ void _expect(String fileName) {
2020

2121
final _pubspecContent = r'''
2222
dependencies:
23-
json_annotation: ^0.2.2
23+
json_annotation: ^0.2.3
2424
2525
dev_dependencies:
26-
build_runner: ^0.7.6
27-
json_serializable: ^0.4.0
26+
build_runner: ^0.8.0
27+
json_serializable: ^0.5.0
2828
''';

0 commit comments

Comments
 (0)