assemble / generator-assemble

Yeoman generator for Assemble, the static site generator built on Grunt.js. Kickstart new Assemble projects in just a few seconds, including templates, data, layouts, and a theme.
http://assemble.io/docs/Resources.html
114 stars 23 forks source link

Generator Assemble 1.0 #1

Open hariadi opened 11 years ago

hariadi commented 11 years ago

Generator

this.remote('assemble', 'awesome-boilerplate', function(err, remote) {
  remote.copy('.', 'vendors/user-repo');
});

Default template (need discussion)

See generator template

Generated:

  .
  ├── .bowerrc
  ├── .editorconfig
  ├── .gitignore
  ├── .yo-rc.json
  ├── AUTHORS
  ├── CHANGELOG
  ├── Gruntfile.js
  ├── LICENSE-MIT
  ├── package.json
  ├── README.md
  ├── dist
  │   └── assets
  │       ├── css
  │       │   ├── bootstrap-theme.css
  │       │   ├── bootstrap-theme.css.map
  │       │   ├── bootstrap-theme.min.css
  │       │   ├── bootstrap.css
  │       │   ├── bootstrap.css.map
  │       │   └── bootstrap.min.css
  │       ├── fonts
  │       │   ├── glyphicons-halflings-regular.eot
  │       │   ├── glyphicons-halflings-regular.svg
  │       │   ├── glyphicons-halflings-regular.ttf
  │       │   ├── glyphicons-halflings-regular.woff
  │       │   └── glyphicons-halflings-regular.woff
  │       └── js
  │           ├── bootstrap.js
  │           └── bootstrap.min.js
  ├── src
  │   ├── content
  │   │   └── markdown.md
  │   ├── data
  │   │   └── site.yml
  │   └── templates
  │       ├── layouts
  │       │   └── default.hbs
  │       ├── pages
  │       │   ├── index.hbs
  │       │   └── blog.hbs
  │       └── partials
  │           └── navbar-fixed-top.hbs
  └── node_modules
jonschlinkert commented 11 years ago

@hariadi would you have any interest in moving this (or any of your generators/boilerplates) to assemble and maintaining it? I won't be offended if you're not interested. thanks a lot for all of these great resourced!

hariadi commented 11 years ago

Yesss! That would be great!

What the best way? Should I open PR to existing forked version of generator-assemble? Update all link point to new repo? or just start new project in assemble org?

jonschlinkert commented 11 years ago

Awesome! no, just go to the settings in whichever repo(s) you want to transfer, and scroll to the bottom. You'll see a transfer button.

Once complete, GitHub automatically transfers everything. issues, stars, etc. In addition, GitHub also forwards from the "old" address as well. So you literally don't need to think about anything when you do it.

If it helps, I recently transferred Less.js from cloudhead/less.js to less/less.js and I was a little nervous while I was doing it lol, but try going to cloudhead/less.js and see where it takes you ;-)

hariadi commented 11 years ago

I never tried github transfer features. So, for example generator-assemble, the new owner should be assemble right?

hariadi commented 11 years ago

Already doing, but I get:

You don't have admin rights to assemble

Conflict with existing generator-assemble?

jonschlinkert commented 11 years ago

I removed the fork... maybe try adding me to this repo first? then I can transfer it?

hariadi commented 11 years ago

Added!

jonschlinkert commented 11 years ago

there we go!

hariadi commented 11 years ago

:+1: thanks @jonschlinkert

jonschlinkert commented 11 years ago

no, thank you @hariadi

hariadi commented 11 years ago

Add you to NPM maintainers.

jonschlinkert commented 11 years ago

cool, thanks!

hariadi commented 11 years ago

npm owner add jonschlinkert hang on my Windows 7. Do you know why?

npm

jonschlinkert commented 11 years ago

It happened to you too? That keeps happening to me and @doowb and we don't know why. I'll log an issue with npm to see if they can help

jonschlinkert commented 11 years ago

btw, I'm thinking of creating more "converters" for assemble, like the markdown helper. do you use sass/less, jade, haml, etc? I think it would be fun to have converters for those, I'll probably start with LESS

hariadi commented 11 years ago

:shipit:

doowb commented 11 years ago

@hariadi @jonschlinkert I was having that same npm owner issue and I re-installed node (which gave me a new version of npm) and everything is working fine now.

hariadi commented 11 years ago

Re-install node and npm owner issue gone. Add @jonschlinkert and @doowb to npm (generator-assemble)

Thank you @doowb