use-init / generator-init Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED - A Yeoman generator for INIT
License: MIT License
DEPRECATED - A Yeoman generator for INIT
License: MIT License
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
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
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.
@sergiovilar do you want to take this as well?
If you choose SCSS as preprocessor sass-mixins isn't included in package.json.
Running grunt
after generating init yields an error
Warning: Task "sass:dev" not found. Use --force to continue.
Aborted due to warnings.
In fact getting that error for anything related to sass
Any ideas what could be causing this?
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.
Awesome sub-generator for modules. There are some things we might want to update though:
define
callbacktest/spec.js
describe('modulename', function () {})
);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 :)
The generator should ask which server config (apache / nginx) to use in the setup wizard.
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.
A list of changes that need to be done can be found in this blog post: http://yeoman.io/blog/cleanup.html
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.