From 62e7b67a20ea796d7387c8dda4e097f09f0476ca Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Thu, 9 Jul 2015 10:17:29 -0700 Subject: [PATCH] 0.2.2 --- CHANGELOG.md | 4 ++ lib/src/cli_app.dart | 2 +- pubspec.yaml | 2 +- templates/angularapp/.gitignore | 8 ---- templates/angularapp/CHANGELOG.md | 5 -- templates/angularapp/LICENSE | 24 ---------- templates/angularapp/README.md | 3 -- templates/angularapp/lib/main_app.css | 14 ------ templates/angularapp/lib/main_app.dart | 16 ------- templates/angularapp/lib/main_app.html | 10 ---- templates/angularapp/pubspec.yaml | 15 ------ .../web/apple-touch-icon-precomposed.png | Bin 2408 -> 0 bytes templates/angularapp/web/favicon.ico | Bin 4286 -> 0 bytes .../touch/chrome-touch-icon-192x192.png | Bin 1668 -> 0 bytes .../ms-touch-icon-144x144-precomposed.png | Bin 1093 -> 0 bytes templates/angularapp/web/index.html | 44 ------------------ templates/angularapp/web/main.dart | 18 ------- templates/angularapp/web/robots.txt | 5 -- templates/angularapp/web/styles.css | 6 --- 19 files changed, 6 insertions(+), 170 deletions(-) delete mode 100644 templates/angularapp/.gitignore delete mode 100644 templates/angularapp/CHANGELOG.md delete mode 100644 templates/angularapp/LICENSE delete mode 100644 templates/angularapp/README.md delete mode 100644 templates/angularapp/lib/main_app.css delete mode 100644 templates/angularapp/lib/main_app.dart delete mode 100644 templates/angularapp/lib/main_app.html delete mode 100644 templates/angularapp/pubspec.yaml delete mode 100644 templates/angularapp/web/apple-touch-icon-precomposed.png delete mode 100644 templates/angularapp/web/favicon.ico delete mode 100644 templates/angularapp/web/images/touch/chrome-touch-icon-192x192.png delete mode 100644 templates/angularapp/web/images/touch/ms-touch-icon-144x144-precomposed.png delete mode 100644 templates/angularapp/web/index.html delete mode 100644 templates/angularapp/web/main.dart delete mode 100644 templates/angularapp/web/robots.txt delete mode 100644 templates/angularapp/web/styles.css diff --git a/CHANGELOG.md b/CHANGELOG.md index 176eb6fe..26f4d87e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 0.2.2 +- 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/src/cli_app.dart b/lib/src/cli_app.dart index 71f5d0c2..14f13f25 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.1'; +const String APP_VERSION = '0.2.2'; const String APP_PUB_INFO = 'https://pub.dartlang.org/packages/${APP_NAME}.json'; diff --git a/pubspec.yaml b/pubspec.yaml index a03060c7..425774b2 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.1 +version: 0.2.2 description: > A scaffolding generator for your Dart projects. Stagehand helps you get set up! diff --git a/templates/angularapp/.gitignore b/templates/angularapp/.gitignore deleted file mode 100644 index 8afd37e0..00000000 --- a/templates/angularapp/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.buildlog -.DS_Store -.idea -.packages -.pub/ -build/ -packages -pubspec.lock diff --git a/templates/angularapp/CHANGELOG.md b/templates/angularapp/CHANGELOG.md deleted file mode 100644 index 806939fc..00000000 --- a/templates/angularapp/CHANGELOG.md +++ /dev/null @@ -1,5 +0,0 @@ -# CHANGELOG - -## 0.0.1 - -- Initial version, created by Stagehand diff --git a/templates/angularapp/LICENSE b/templates/angularapp/LICENSE deleted file mode 100644 index 01c8232d..00000000 --- a/templates/angularapp/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright (c) {{year}}, {{author}}. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/templates/angularapp/README.md b/templates/angularapp/README.md deleted file mode 100644 index d3e408d7..00000000 --- a/templates/angularapp/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# {{ projectName }} - -A starter template for an angular web app. diff --git a/templates/angularapp/lib/main_app.css b/templates/angularapp/lib/main_app.css deleted file mode 100644 index 9d064d6b..00000000 --- a/templates/angularapp/lib/main_app.css +++ /dev/null @@ -1,14 +0,0 @@ -/* Copyright (c) {{year}}, {{author}}. All rights reserved. Use of this source code */ -/* is governed by a BSD-style license that can be found in the LICENSE file. */ - -.block { - display: block; - font-family: RobotoDraft, sans-serif; - color: #333; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -webkit-touch-callout: none; -} diff --git a/templates/angularapp/lib/main_app.dart b/templates/angularapp/lib/main_app.dart deleted file mode 100644 index 27585c0e..00000000 --- a/templates/angularapp/lib/main_app.dart +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) {{year}}, {{author}}. All rights reserved. Use of this source code -// is governed by a BSD-style license that can be found in the LICENSE file. - -import 'package:angular/angular.dart'; - -/// An angular `` element. -@Component( - selector : 'main-app', - templateUrl : 'packages/{{projectName}}/main_app.html', - cssUrl : 'packages/{{projectName}}/main_app.css' -) -class MainApp { - String input = ''; - - String get reversed => input.split('').reversed.join(''); -} diff --git a/templates/angularapp/lib/main_app.html b/templates/angularapp/lib/main_app.html deleted file mode 100644 index fbfcf7da..00000000 --- a/templates/angularapp/lib/main_app.html +++ /dev/null @@ -1,10 +0,0 @@ - - -
- - -

Reversed: {{ reversed }}

-
diff --git a/templates/angularapp/pubspec.yaml b/templates/angularapp/pubspec.yaml deleted file mode 100644 index 262fe02e..00000000 --- a/templates/angularapp/pubspec.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: '{{projectName}}' -version: 0.0.1 -description: > - A starter template for an angular web app. -#author: {{author}} -#homepage: https://www.example.com -environment: - sdk: '>=1.0.0 <2.0.0' -dependencies: - angular: '>=1.0.0 <2.0.0' - browser: '>=0.10.0 <0.11.0' - web_components: '>=0.9.0 <0.11.0' - -transformers: -- angular diff --git a/templates/angularapp/web/apple-touch-icon-precomposed.png b/templates/angularapp/web/apple-touch-icon-precomposed.png deleted file mode 100644 index 76c482b49d4e2af89734bc267681df56f312ab84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2408 zcmV-u377VXP)0{{R3FC5Sl0001BP)t-s|NsBA z%kvsx++vgGD{bB&W!*1u-!pRGG;`o4YTZJ7;yQTY_4xivgX65m@{zOdRf*;0?fZnP z?C$gZz0vi1r0V+o|8t({$JqAY>H65@`J%t^&fWNHndn`Q=9;5`)`4gg>Qwk2ck`{w=Ma%*c+GZ;jI(;-#6)!*MRJxb(5K7jvKzkdDt_3Kxj zczF}_Qb`zny8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3FFr7It`ZK3SsRXe0PP6bCv>;ZBNWG`qC z^bB&BJOSr0x54KuC4w;rh2e zMpwV+qQtrHC=&}?Ad3c=6Paj`{y95LkT@%{c#qSUPE+JlH))*@8M)FCwO~)p7;8?$xez|EiDpKB#+I2e?PAVyUhus#rYys@ zmi@&3#l4F8zotgPwa&y&V2(@>$IGKD$c)o&j4VIFpiC1=dn0fbj&IF3GI5`>=AzX9t!K8 zZT)h;rDVju%sAlU3_1aN4)5kZ)(78vT81{{@x8Ay2I2f_hOfx;8^?g_$k9*=Q`W&p z?7!j;(hu3ZH$h&)x$^7NT0&%Ka{<5IwVHDxt`TuVp!4314?0*sAIJT^=#GMTasM_j z!u!@+!7;jaxL3wsXU~s2<-FhB?r$Fh`$fhNVs2kQI$$B&z0kND+jCSi2KIW!uYm8Y z2CGyoFyE;Fm%qXOQaP&8VNN#z-(3-v*x#$c{y)d&H;-S4&YU4~Y$x5J^duGKk+`DN yX^K(P>&eDi+?K!@+gXvNz41!2rhgK@;GZV9;ZqkCs}B21^)|#4(~4j diff --git a/templates/angularapp/web/images/touch/chrome-touch-icon-192x192.png b/templates/angularapp/web/images/touch/chrome-touch-icon-192x192.png deleted file mode 100644 index f6ba515101d3aed9289c2cfb93374548cb60f07a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1668 zcmV-~27CF5P)l>6ao#a--7#_AGjiYm|NpVc^HGN6>+$@LvF*^__i~--cTM+D00008 zbW%=J0Hf*{JIP>!j`I|!000I1Nkl>ma|WDSwQ;@1nQqTvXJGB;O{12pXRzi z;HQN4Md0={mjwdH&n&kH+@9u|K%l&x<+fl;U`upXi)p)<<_>|twJ;joAjtF>7ak-a z{O35j6q|Hn+RmrBGJpPhn!vVuAnZxY>%t=hys-GgB;+n7mSMX>petE!EdGGIGb_7r zCQnlYf)i>4Do7}U5J#abH?%VlSOqC%@En1eb_N`)ph+2oGzVq55P?G{JaO;Pas8g_C+a3D}$8g^emTlPtAY%(ZBbX2tbH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Y1f66y3^s28ka>*aJ-Z=`$eseTp~78Vx%75oLQplz&$rPpx) O0000QK7vNbSWYj;+ZpkPU4@06Du`W(&Gidy; zP;YfYM$q9Z`;FRtGi!Ic;x{)Za5CRSyG(dNLPFiE4k6pmURqenkVE`Zo23gf=44^+cj%@az>S1Ct6A#D`e9s**HnaCVy|&SV&1iyz6K| z*-9+o*j7Ti=_L?n&m`O`j@1bvEbkbN{F^U@3CvD9CcQr*BqY?kAg4VeC`FtrgviiN z&pM_s@{OXvcl}uIc5zBO21D@@A+iVgxaA$|FbcXWiqip}RUCVg$sc+v9uCm6s$(b< z@|BBM07{K%Iw%8VQYfZ-h47ST1IJJ%0zx28;91Erl!-tB5GU}gIS1@}xTbsR#+P^eav24M-uvO+bK2BC?9Am-K*(&WoCrQ(ys z7084urCy#rIR*7(L`Fy;6g@uDLv`yLD}v*>u)a`Z_mEF)T3s3xiWavIx&1T1&%tc-I0$Uu@3vT?-7ql3F50wT=KEXmJ)}*kl$7RGbR7?Hb8Ec^k`~k*slGY_vbt z1C96Lq`INa3Vr_?pMF=OQ;{TDU1a!#+4G>FJ_@Ws$Am~Wd19uF-iXPva3vx05axEV>pu57jiEV_K63A<|9 zCfIqvG)>r*&bFfuSCW+2d`iO+1O__E9(m9 - - - - - - - - - - {{projectName}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/angularapp/web/main.dart b/templates/angularapp/web/main.dart deleted file mode 100644 index 8fb9116a..00000000 --- a/templates/angularapp/web/main.dart +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) {{year}}, {{author}}. All rights reserved. Use of this source code -// is governed by a BSD-style license that can be found in the LICENSE file. - -import 'package:angular/angular.dart'; -import 'package:angular/application_factory.dart'; -import 'package:{{projectName}}/main_app.dart'; - -class MyAppModule extends Module { - MyAppModule() { - bind(MainApp); - } -} - -void main() { - applicationFactory() - .addModule(new MyAppModule()) - .run(); -} diff --git a/templates/angularapp/web/robots.txt b/templates/angularapp/web/robots.txt deleted file mode 100644 index d0e5f1be..00000000 --- a/templates/angularapp/web/robots.txt +++ /dev/null @@ -1,5 +0,0 @@ -# www.robotstxt.org/ - -# Allow crawling of all content -User-agent: * -Disallow: diff --git a/templates/angularapp/web/styles.css b/templates/angularapp/web/styles.css deleted file mode 100644 index 88f67bc2..00000000 --- a/templates/angularapp/web/styles.css +++ /dev/null @@ -1,6 +0,0 @@ -/* Copyright (c) {{year}}, {{author}}. All rights reserved. Use of this source code */ -/* is governed by a BSD-style license that can be found in the LICENSE file. */ - -.ng-cloak { - display: none !important; -}