Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customizations #17

Open
8 tasks
jonschlinkert opened this issue Jul 9, 2016 · 2 comments
Open
8 tasks

customizations #17

jonschlinkert opened this issue Jul 9, 2016 · 2 comments
Labels

Comments

@jonschlinkert
Copy link
Member

We are planning on implementing some features to give implementors and end-users more control over the experience. This issue will be used for tracking.

  • ~/generate: by default, user customizations, overrides, config, templates, etc will be in a generate folder in user home.
  • make the folder path customizable
  • generators will be in sub-directories in the ~/generate folder
  • users can define a ~/generate/config.js file with any custom code to be used when running generate. This file will work like any other generator.js file, so when running generate, the CLI will do something like app.use(require('~/generate/config.js')); before loading any generators
  • users can define a ~/generate/config.json file, with any global options/preferences. the path to this file will be customizable
  • users can define a ~/generate/generate-foo/config.js file for every generator, which would be lazily loaded directly prior to running generate-foo
  • users can define a ~/generate/generate-foo/config.json file, with options/preferences to be used every time generate-foo is run
  • users can define custom templates for generate-foo in the ~/generate/generate-foo/templates directory

also discussed here: generate/generate-dest#1 (comment)

@tunnckoCore
Copy link

configurate generate with generate, that sounds like a freakin cool thing lol

@jonschlinkert
Copy link
Member Author

lol yeah it's getting more fun now that we're finally actually "using" the stuff we've been creating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants