Giter Site home page Giter Site logo

generator-init's People

Contributors

drublic avatar kahlil avatar sergiopvilar avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

generator-init's Issues

A plugin system via sub-generators

This is the bug to continue the discussion from use-init/init#67.

I wrote up an outline on how we can achieve the goal:


I think a decent way would be to clone the plugin to install in a directory, move all the things around and delete the rest of the repo. This would mean that we only need a convention for

  1. repo URLs
  2. file names
  3. directories

Most of this is given:

1. Repos for files can be matched as "use-init/init-" at GitHub. We could later extend this to make it customizable and stuff.

__ 2.__ I've outlined this above: We need to copy the {taskname}.js file into the folder grunt/plugins, we need to run npm install --save-dev {pluginname} and lastly add necessary config options to main project's config.js which are stored in a plugin specific config.js file.

3. We need a temporary folder to place the repos in. I'd suggest to name it .init-cache. Everything else is stated in 2..


cc: @distilledhype @sergiovilar

Update to latest yeoman-generator

It needs to happen one day :) I guess it will be kind of a rewrite more than a quick version bump though. On the while be sure to update the init version this uses too.

cc @drublic @distilledhype It's a little sad to see this generator kind of dying. Would you be in me doing a total rewrite of it one day? Won't get to it in the upcoming weeks but would be interested in doing it one day.

grunt-concat-sass not included in package.json

If you choose SCSS as preprocessor grunt-concat-sass isn't included in package.json.
That's bad because you get a warning when compiling: Task "sass" not found. This might be an easy fix :) Thanks.

Make sub-generator `module` better

Awesome sub-generator for modules. There are some things we might want to update though:

  • Use the generated module's name as argument in test-spec define callback
  • Add test-spec in test/spec.js
  • Name the suite after the module (describe('modulename', function () {}));
  • Don't include any tests in test spec
  • Don't add content of example module in new JS file
  • Add current date and author name in header

It would be fantastic if we could include any of these. I've prioritized them from top to bottom.

Thanks so much for your work @kahlil and @sergiovilar :)

Initial alpha release

@drublic @anselmh

The first alpha of the generator is on npm.

To check it out do:

npm install -g yo
npm install -g generator-init
yo init

For now it asks you a bunch of stuff and then just copies files and fills in your name and project name where it makes sense.

Just put in bugs and feature request in the issues here so we can discuss them and work them off.

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.