Code Monkey home page Code Monkey logo

stagehand's Introduction

DISCONTINUED -- Stagehand - A Dart project generator

This package has been discontinued.

Its replacement is the dart create command available in all Dart SDKs since Dart 2.10. See dart-lang/sdk#46100 for details.

stagehand's People

Contributors

a14n avatar andresaraujo avatar argentiapparatus avatar benasocj avatar chalin avatar dantup avatar devoncarew avatar domesticmouse avatar fedy2 avatar filiph avatar fox32 avatar guillermooo avatar jakemac53 avatar jwren avatar kevmoo avatar kleak avatar kunaldeo avatar kwalrath avatar mit-mit avatar natebosch avatar nbros avatar pd4d10 avatar sethladd avatar sfshaza2 avatar sh4869 avatar spd-asia avatar sunglim avatar thso avatar tomucha avatar wibling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stagehand's Issues

rename `publib` to `package`?

I think this would scan better:

  • helloworld - the most basic command line app
  • webapp - a basic HTML app
  • publib - a library, with tests

with publib as package.

@sethladd

Dart + Paper

Would be great to have a Dart + Paper generator :)

more analytics work

  • give the users notice about analytics tracking
  • and give them the option to opt out of tracking

make it easy to maintain the WSK template going forward

An idea:

a tool (tool/upgrade_wsk.dart) that:

  • git clones wsk into lib/generators/...
  • patches an html file
  • adds a dart entrypoint file

but the net-net is that we'll want to be able to track new versions of the WSK with minimal manual effort.

Refactor the Generator instance from the Generator descriptor

There's a tension now, as an instance of Generator is serving two roles:

  • Descriptor of a particular generator
  • The doer of the work of generating

This manifests itself when trying to use the projectName when creating files. Currently, the constructor is created at the beginning of the app, but the constructor is also where the files are declared. And we need to set a file name based on a particular run of a generator.

Rename helloworld

Hi @devoncarew

Was thinking about names, and helloworld isn't that obvious to me. I think this is intended to be the template for command-line apps, so how about console or console-app ?

Generate a Dart library

For the library generator, we need to make pub.dartlang.org happy. To make pub.dartlang.org happy, we need:

homepage
authors

Perhaps others.

Refactor common files into super class

Adding the same boilerplate files into each generator subclass isn't great. Example: I had to add LICENSE to both helloworld and webapp.

Shouldn't Generator take care of that?

Wipe filesystem paths from analytics exceptions

For example:

Unhandled exception:
The null object does not have a getter 'bar'.

NoSuchMethodError: method not found: 'bar'
Receiver: null
Arguments: []
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#1      main (file:///Users/sethladd/tmp/error.dart:3:13)
#2      _startIsolate.isolateStartHandler (dart:isolate-patch/isolate_patch.dart:214)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:122)

Should at least be:

Unhandled exception:
The null object does not have a getter 'bar'.

NoSuchMethodError: method not found: 'bar'
Receiver: null
Arguments: []
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#1      main (error.dart:3:13)
#2      _startIsolate.isolateStartHandler (dart:isolate-patch/isolate_patch.dart:214)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:122)

Note that in line #1 that most of the file: path was removed.

API: prompt to ask the user a Y/N question

To turn on analytics, we need a way to prompt the user and ask questions such as:

May stagehand anonymously report usage statistics to improve the tool over time?

It would be nice if stagehand could provide generators a way to ask for some info.

minimize the size of WSK?

Is there anything we can do short term to remove some of the WSK size overhead? Drop a few fonts? Ideally it would be something that chops off a large percentage of the size w/o negatively impacting the template.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.