Hello!
I'm Jake and I write code. A lot. Also other stuff, like architecture and steaks.
Yeoman Generator that gives ya ES6-ready Javascript, Browserify, Gulp, Jade, and Compass/Sass.
Hey,
please upload the latest update of dyno to npm.
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.
yeoman-generator
needs to be updated. But be careful: https://github.com/yeoman/generator/releases/tag/v0.20.0.
Let's face this before #30
since i am deep into work at the moment, please can someone update the dependencies, so they are up-to-date again? perhaps @jhendley25?
Otherwise the files will not be compressed.
..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:
yo dyno
underscore
JQuery
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
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.
What about just creating a .genconfig
and then just saving the user input of the generator 'survey' into a json document.
generator-dyno
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
This generator uses technologies that do not have as large of a following as angular, but it could always be better: https://github.com/yeoman/generator-angular/blob/master/app/index.js
@iduuck it looks like a recent commit broke the final step
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?
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
I just wanted to bring this project "back to life" with some things I would love to see in upcoming version
index.js
(#14)wiredep
and builder to include files into HTML (and minify & concat them)coffeeify
for CoffeeScript supportgulp-postcss
instead of SCSSJade compiles to html only when I run "gulp templates" command.
If I am running "gulp" or "gulp serve" jade not compiles.
Any feedback on this?
Sometimes I just want to write vanilla HTML. So, what about the integration of normal HTML?
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?
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}))
I will work on this later if there is no one that creates a faster update.
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
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?
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.
I need this on some projects. Would be nice to have it included here!
The source map urls seem to be injected properly, but are not really working.
@iduuck can you update the generator logo and replace "coffeescript" with "javascript"?
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.
Possibilities:
A good place to start would be a simple gh-pages deployment. We could add support for S3 and Heroku later
What about offering optional switching from SCSS to Sass?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.