Code Monkey home page Code Monkey logo

generator-dyno's Introduction

Hello!

I'm Jake and I write code. A lot. Also other stuff, like architecture and steaks.

Github stats

generator-dyno's People

Contributors

iduuck avatar jhendley25 avatar mentorkadriu 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-dyno's Issues

Better asset management with bower

Currently it's possible to use bower through the project, but there is nothing in the gulpfile to at least copy those files to the dist folder.

update dependencies

since i am deep into work at the moment, please can someone update the dependencies, so they are up-to-date again? perhaps @jhendley25?

new logo

hey i have done a new logo mockup
what do you think about it?

gulp task failed

..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/q/q.js:126
                    throw e;
                          ^
SyntaxError: Unexpected token ,
    at Object.parse (native)
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-json/lib/json.js:41:29
    at fs.js:334:14
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-json/node_modules/graceful-fs/graceful-fs.js:104:5
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-registry-client/node_modules/graceful-fs/graceful-fs.js:104:5
    at /..EXAMPLE/node_modules/debowerify/node_modules/bower/node_modules/bower-config/node_modules/graceful-fs/graceful-fs.js:104:5
    at FSReqWrap.oncomplete (fs.js:95:15)

Steps to reproduce:

  • Run yo dyno
  • Uncheck underscore
  • Check JQuery
  • Install

Then you can see that the bower.json has a syntax error

{
  "name": "EXAMPLE",
  "version": "0.0.0",
  "dependencies": {,
    "jquery": "*"
    },
  "devDependencies": {  }
}

Run gulp to see error message above. Thanks

Change Livereload with BrowserSync!

Hello! First of all I want to congrat you for this awesome yo generator.
I think it's better if you would include BrowserSync rather than LiveReload. BrowserSync has more features and it opens browser when you hit gulp.

[Concept] Config file for this special generator

What about just creating a .genconfig and then just saving the user input of the generator 'survey' into a json document.

Pro's

  • User has the ability to change settings after the generator has run
  • The user doesn't have to change the gulpfile to have a specific kind of configuration
  • No f*cked-up gulpfile in the source
  • Easier testing of generator-dyno

Con's

  • The gulpfile is just blown up

Edit: The concept isn't all new, but I really like the idea of doing this, so there could be plenty of options without a f*cked up _gulpfile.js: http://yeoman.io/authoring/storage.html

Optional extended settings

I am currently working on a project, where I need to deploy an application (only frontend). I added gulp-rsync. But it also would be nice to have as much options as possible, if this is possible.

I am thinking of something like conditional prompts. When the user is answering that he wants extended options, he will be asked them, otherwise they will not be asked and all set to undefined.

How does that sounds?

Fix gulp 'js' task

Something wrong with gulp js task:
When i tried to create .js file with name that starts with letters 't','z','d','y','o' and maybe some others -task won't work as expected

Roadmap for v2.0.0

I just wanted to bring this project "back to life" with some things I would love to see in upcoming version

Enhancements

  • Make a better readable index.js (#14)
  • Integrate better testing (#29)
  • Use run-sequence for sequential running of tasks

Features:

  • Ability to include fonts into the project with less self-effort (#34)
  • Using wiredep and builder to include files into HTML (and minify & concat them)
  • Possibility to either use babel or coffeeify for CoffeeScript support
  • Ability to use gulp-postcss instead of SCSS
  • Updated default-page
  • Dynamic jade templates (#10)
  • jshint/jslint support (#37)
  • Add testing framework (#41)

Optionals:

  • Create dyno generator for other services (Slush, Brunch, ...)
  • Deployment procedure (#42)

Jade not compiles to HTML

Jade compiles to html only when I run "gulp templates" command.
If I am running "gulp" or "gulp serve" jade not compiles.

Browserify Modules installed with Bower cannot be found.

Hello,
when using the generator and installing things over bower it's not possible to require them in my JS files.

[13:15:27] Plumber found unhandled error:
 Error in plugin 'gulp-browserify'
module "jquery" not found from "/path/to/project/src/scripts/fake_5089a368.js"

What's the matter with this?

Dynamic Jade templates

The jade templates are currently precompiled during the build process. It would be nice to have the templates compile dynamically at runtime. I've done this with grunt before but not with gulp.

I think it would be best to use JST style templates. Jade has the option of either compiling directly to html, or compiling to functions that return strings of html. This would let us do stuff like:

var template = JST["path/to/template"]
var data = { name: "Bob", age: 27 }
$("body").append(template({data: data}))

Update dependencies

I will work on this later if there is no one that creates a faster update.

TypeError: Cannot read property 'camelize' of undefined

Don't have that much time to dig into this. Is anyone able to find the solution?

? What's the name of the project? (personal)
(!) #_ is deprecated. Require your own version of Lodash or underscore.string


/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:579
    throw e;
          ^
TypeError: Cannot read property 'camelize' of undefined
    at Object.prompts.filter (/usr/local/lib/node_modules/generator-dyno/app/index.js:29:22)
    at Object.utils.runAsync (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/utils/utils.js:29:22)
    at Prompt.filter (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/prompts/base.js:184:9)
    at Prompt.onEnd (/usr/local/lib/node_modules/yo/node_modules/inquirer/lib/prompts/input.js:81:8)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.next (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:1962:12)
    at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:1894:35)
    at AnonymousObserver.tryCatcher (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:5018:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:1894:35)
    at AnonymousObserver._onNext (/usr/local/lib/node_modules/yo/node_modules/inquirer/node_modules/rx/dist/rx.js:4826:13)

Also. Switch to underscore.string, if this is related to an issue with generator-dyno

Make bower optional

I know I won't use bower for my project, so I'll just remove the bower related files for now.

Could you do to bower as you did to coffescript; make it optional?

Add a testing framework

There are a lot of good ones out there. Jasmine, Karma, Mocha, Nightwatch, Intern. I'm not a huge fan of unit testing the front end, but that probably makes me the minority.

Add/Fix source maps

The source map urls seem to be injected properly, but are not really working.

Update logo

@iduuck can you update the generator logo and replace "coffeescript" with "javascript"?

gulp build error

I ran the gulp build after I installed the generator. here is the error message:

[21:38:19] Plumber found unhandled error:
Error in plugin 'gulp-compass'
Message:
You need to have Ruby and Compass installed and in your system PATH for this task to work.

Deployment procedure

Possibilities:

  • gh-pages
  • S3
  • Heroku

A good place to start would be a simple gh-pages deployment. We could add support for S3 and Heroku later

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.