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

Commit

Permalink
move todo component under lib/src (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 authored and kwalrath committed Jun 12, 2017
1 parent bb57eee commit a3c1b60
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## 1.1.4

- Update `web-angular` to use `lib/src` for everything but the main app
component.
- Added Enter key support to the `web-angular` template.
- Added commented-out pubspec settings to the `web-angular` and
`web-simple` templates, demonstrating how to make `pub serve`
Expand Down
26 changes: 13 additions & 13 deletions lib/generators/web_angular_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,27 @@ b2YgYSBwYWdlLiAqLwp9Cg==""",
ZC4gVXNlIG9mIHRoaXMgc291cmNlIGNvZGUKLy8gaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUg
bGljZW5zZSB0aGF0IGNhbiBiZSBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlLgoKaW1wb3J0ICdw
YWNrYWdlOmFuZ3VsYXIyL2FuZ3VsYXIyLmRhcnQnOwppbXBvcnQgJ3BhY2thZ2U6YW5ndWxhcl9j
b21wb25lbnRzL2FuZ3VsYXJfY29tcG9uZW50cy5kYXJ0JzsKCmltcG9ydCAndG9kb19saXN0L3Rv
ZG9fbGlzdF9jb21wb25lbnQuZGFydCc7CgovLyBBbmd1bGFyRGFydCBpbmZvOiBodHRwczovL3dl
YmRldi5kYXJ0bGFuZy5vcmcvYW5ndWxhcgovLyBDb21wb25lbnRzIGluZm86IGh0dHBzOi8vd2Vi
ZGV2LmRhcnRsYW5nLm9yZy9jb21wb25lbnRzCgpAQ29tcG9uZW50KAogIHNlbGVjdG9yOiAnbXkt
YXBwJywKICBzdHlsZVVybHM6IGNvbnN0IFsnYXBwX2NvbXBvbmVudC5jc3MnXSwKICB0ZW1wbGF0
ZV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o_list_component.css",
"lib/src/todo_list/todo_list_component.css",
"text",
"""dWwgewogIGxpc3Qtc3R5bGU6IG5vbmU7CiAgcGFkZGluZy1sZWZ0OiAwOwp9CgpsaSB7CiAgbGlu
ZS1oZWlnaHQ6IDNlbTsKfQoKbGk6aG92ZXIgewogIGJhY2tncm91bmQtY29sb3I6ICNFRUVFRUU7
Cn0KCmxpIG1hdGVyaWFsLWNoZWNrYm94IHsKICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlOwp9Cgps
aSBtYXRlcmlhbC1mYWIgewogIGZsb2F0OiByaWdodDsKICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxl
Owp9CgouZG9uZSB7CiAgdGV4dC1kZWNvcmF0aW9uOiBsaW5lLXRocm91Z2g7Cn0K""",
"lib/todo_list/todo_list_component.dart",
"lib/src/todo_list/todo_list_component.dart",
"text",
"""Ly8gQ29weXJpZ2h0IChjKSBfX3llYXJfXywgX19hdXRob3JfXy4gQWxsIHJpZ2h0cyByZXNlcnZl
ZC4gVXNlIG9mIHRoaXMgc291cmNlIGNvZGUKLy8gaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGUg
Expand All @@ -108,7 +108,7 @@ ewogICAgaXRlbXMuYWRkKG5ld1RvZG8pOwogICAgbmV3VG9kbyA9ICcnOwogIH0KICBTdHJpbmcg
cmVtb3ZlKGludCBpbmRleCkgPT4gaXRlbXMucmVtb3ZlQXQoaW5kZXgpOwogIHZvaWQgb25SZW9y
ZGVyKFJlb3JkZXJFdmVudCBlKSA9PgogICAgICBpdGVtcy5pbnNlcnQoZS5kZXN0SW5kZXgsIGl0
ZW1zLnJlbW92ZUF0KGUuc291cmNlSW5kZXgpKTsKfQo=""",
"lib/todo_list/todo_list_component.html",
"lib/src/todo_list/todo_list_component.html",
"text",
"""PCEtLSBDb21wb25lbnRzIGluZm86IGh0dHBzOi8vd2ViZGV2LmRhcnRsYW5nLm9yZy9jb21wb25l
bnRzIC0tPgo8ZGl2PgogIDxtYXRlcmlhbC1pbnB1dCBsYWJlbD0iV2hhdCBkbyB5b3UgbmVlZCB0
Expand All @@ -126,7 +126,7 @@ YXRlcmlhbC1jaGVja2JveD4KICAgICAgICA8c3BhbiBbY2xhc3MuZG9uZV09ImRvbmUuY2hlY2tl
ZCI+e3tpdGVtfX08L3NwYW4+CiAgICAgICAgPG1hdGVyaWFsLWZhYiBtaW5pICh0cmlnZ2VyKT0i
cmVtb3ZlKGkpIj4KICAgICAgICAgIDxnbHlwaCBpY29uPSJkZWxldGUiPjwvZ2x5cGg+CiAgICAg
ICAgPC9tYXRlcmlhbC1mYWI+CiAgICAgIDwvbGk+CiAgPC91bD4KPC9kaXY+Cg==""",
"lib/todo_list/todo_list_service.dart",
"lib/src/todo_list/todo_list_service.dart",
"text",
"""aW1wb3J0ICdkYXJ0OmFzeW5jJzsKCmltcG9ydCAncGFja2FnZTphbmd1bGFyMi9jb3JlLmRhcnQn
OwoKLy8vIE1vY2sgc2VydmljZSBlbXVsYXRpbmcgYWNjZXNzIHRvIGEgdG8tZG8gbGlzdCBzdG9y
Expand Down
2 changes: 1 addition & 1 deletion lib/src/cli_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import 'package:usage/usage_io.dart';
const String APP_NAME = 'stagehand';

// This version must be updated in tandem with the pubspec version.
const String APP_VERSION = '1.1.3';
const String APP_VERSION = '1.1.4';

const String APP_PUB_INFO =
'https://pub.dartlang.org/packages/${APP_NAME}.json';
Expand Down
2 changes: 1 addition & 1 deletion templates/web-angular/lib/app_component.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import 'package:angular2/angular2.dart';
import 'package:angular_components/angular_components.dart';

import 'todo_list/todo_list_component.dart';
import 'src/todo_list/todo_list_component.dart';

// AngularDart info: https://webdev.dartlang.org/angular
// Components info: https://webdev.dartlang.org/components
Expand Down

0 comments on commit a3c1b60

Please sign in to comment.