Name:
diff --git a/templates/web-simple/web/index.html b/templates/web-simple/web/index.html
index 3dc3778f..a72b0c79 100644
--- a/templates/web-simple/web/index.html
+++ b/templates/web-simple/web/index.html
@@ -13,7 +13,7 @@
diff --git a/.gitignore b/.gitignore index f55c4fd1..7300f7ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .idea .DS_Store cache/ +.packages packages pubspec.lock build diff --git a/CHANGELOG.md b/CHANGELOG.md index 26f4d87e..b9cc79c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ # CHANGELOG +## 0.2.2+1 +- Moved the script tags for the web templates into the head section + ## 0.2.2 -- added a `console-simple` template -- updated the `web-simple` and `web-full` templates +- Added a `console-simple` template +- Updated the `web-simple` and `web-full` templates ## 0.2.1 - All templates updated to use the latest `test` package diff --git a/lib/generators/web_full_data.dart b/lib/generators/web_full_data.dart index 8651dca7..a07af43a 100644 --- a/lib/generators/web_full_data.dart +++ b/lib/generators/web_full_data.dart @@ -334,8 +334,8 @@ CiAgPCEtLSBUT0RPOiBUbyB1c2UgU2Fzcywgc3dhcCB0aGUgdHdvIHN0eWxlc2hlZXQgcmVmZXJl bmNlcyBhbmQKICAgICAgIHVuY29tbWVudCB0aGUgc2FzcyB0cmFuc2Zvcm1lciBpbiB0aGUgcHVi c3BlYy55YW1sIGZpbGUuIC0tPgogIDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgaHJlZj0ic3R5bGVz L21haW5fZ2VuLmNzcyI+CiAgPCEtLSBsaW5rIHJlbD0ic3R5bGVzaGVldCIgaHJlZj0ic3R5bGVz -L21haW4uY3NzIiAtLT4KCiAgPHNjcmlwdCBhc3luYyB0eXBlPSJhcHBsaWNhdGlvbi9kYXJ0IiBz -cmM9Im1haW4uZGFydCI+PC9zY3JpcHQ+CiAgPHNjcmlwdCBhc3luYyBzcmM9InBhY2thZ2VzL2Jy +L21haW4uY3NzIiAtLT4KCiAgPHNjcmlwdCBhc3luYyB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sYXk6bm9uZSI+CiAgICAgIDxwPgog +ICAgICAgIFRoaXMgaXMgYSBiYXNpYyBkZW1vIEhUTUwgYXBwIGJ1aWx0IHdpdGggRGFydC4gRm9y +IGRldmVsb3BlcnMgdGhhdCBkbwogICAgICAgIG5vdCB3YW50IHRvLCBvciBjYW5ub3QsIHVzZSBw +b2x5bWVyLmRhcnQsIHRoaXMgaXMgYW4gb3B0aW9uYWwgc3RhcnRpbmcKICAgICAgICBwb2ludC4K +ICAgICAgPC9wPgogICAgICA8cD4KICAgICAgICBUaGlzIGFwcCB3YXMgZ2VuZXJhdGVkIGJ5IDxh +IGhyZWY9Imh0dHA6Ly9zdGFnZWhhbmQucHViIj5TdGFnZWhhbmQ8L2E+LgogICAgICA8L3A+CiAg +ICA8L2Rpdj4KCiAgICA8ZGl2IGNsYXNzPSJzYXNzLWhpZGRlbiI+CiAgICAgIDxwPgogICAgICAg +IE5vdGU6IFRvIHVzZSBTYXNzIHdpdGggdGhpcyBhcHBsaWNhdGlvbiwgc3dpdGNoIHRoZSBzdHls +ZXNoZWV0CiAgICAgICAgcmVmZXJlbmNlcyBpbiB0aGUgJmx0O2hlYWQmZ3Q7IHNlY3Rpb24gYW5k +IHVuY29tbWVudCB0aGUgc2FzcwogICAgICAgIHRyYW5zZm9ybWVyIGluIHRoZSBwdWJzcGVjLnlh +bWwgZmlsZS4KICAgICAgPC9wPgogICAgPC9kaXY+CiAgPC9tYWluPgo8L2JvZHk+CjwvaHRtbD4K""", "web/main.dart", "text", """Ly8gQ29weXJpZ2h0IChjKSB7e3llYXJ9fSwge3thdXRob3J9fS4gQWxsIHJpZ2h0cyByZXNlcnZl diff --git a/lib/generators/web_simple_data.dart b/lib/generators/web_simple_data.dart index afbec04d..b3e9085e 100644 --- a/lib/generators/web_simple_data.dart +++ b/lib/generators/web_simple_data.dart @@ -63,8 +63,8 @@ ICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGlu aXRpYWwtc2NhbGU9MS4wIj4KICAgIDxtZXRhIG5hbWU9InNjYWZmb2xkZWQtYnkiIGNvbnRlbnQ9 Imh0dHBzOi8vZ2l0aHViLmNvbS9nb29nbGUvc3RhZ2VoYW5kIj4KICAgIDx0aXRsZT57e3Byb2pl Y3ROYW1lfX08L3RpdGxlPgogICAgPGxpbmsgcmVsPSJzdHlsZXNoZWV0IiBocmVmPSJzdHlsZXMu -Y3NzIj4KICAgIDxzY3JpcHQgYXN5bmMgdHlwZT0iYXBwbGljYXRpb24vZGFydCIgc3JjPSJtYWlu -LmRhcnQiPjwvc2NyaXB0PgogICAgPHNjcmlwdCBhc3luYyBzcmM9InBhY2thZ2VzL2Jyb3dzZXIv +Y3NzIj4KICAgIDxzY3JpcHQgYXN5bmMgc3JjPSJtYWluLmRhcnQiIHR5cGU9ImFwcGxpY2F0aW9u +L2RhcnQiPjwvc2NyaXB0PgogICAgPHNjcmlwdCBhc3luYyBzcmM9InBhY2thZ2VzL2Jyb3dzZXIv ZGFydC5qcyI+PC9zY3JpcHQ+CjwvaGVhZD4KCjxib2R5PgoKICA8ZGl2IGlkPSJvdXRwdXQiPjwv ZGl2PgoKPC9ib2R5Pgo8L2h0bWw+Cg==""", "web/main.dart", diff --git a/lib/src/cli_app.dart b/lib/src/cli_app.dart index 14f13f25..95744d96 100644 --- a/lib/src/cli_app.dart +++ b/lib/src/cli_app.dart @@ -19,7 +19,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 = '0.2.2'; +const String APP_VERSION = '0.2.2+1'; const String APP_PUB_INFO = 'https://pub.dartlang.org/packages/${APP_NAME}.json'; diff --git a/pubspec.yaml b/pubspec.yaml index 425774b2..aa1b1d5a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ name: stagehand # When changing this version, change the lib/src/cli_app.dart version as well. -version: 0.2.2 +version: 0.2.2+1 description: > A scaffolding generator for your Dart projects. Stagehand helps you get set up! diff --git a/templates/web-full/web/index.html b/templates/web-full/web/index.html index abaa07d1..e6f9fd4b 100644 --- a/templates/web-full/web/index.html +++ b/templates/web-full/web/index.html @@ -32,7 +32,7 @@ - + @@ -62,7 +62,6 @@
Name:
diff --git a/templates/web-simple/web/index.html b/templates/web-simple/web/index.html
index 3dc3778f..a72b0c79 100644
--- a/templates/web-simple/web/index.html
+++ b/templates/web-simple/web/index.html
@@ -13,7 +13,7 @@