Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

New sub-generator for Chrome App samples #16

Closed
ragingwind opened this issue Oct 25, 2013 · 6 comments
Closed

New sub-generator for Chrome App samples #16

ragingwind opened this issue Oct 25, 2013 · 6 comments

Comments

@ragingwind
Copy link
Contributor

screen shot 2013-10-25 at 8 58 43 pm

This is a new experimental feature. sub generator for chromeapp samples. This sub-generator will do scaffolding new chromeapp copy from GoogleChrome/chrome-app-samples

Check this scenario:

  • Clone and cache the Chrome Apps samples via git command
  • Get list of samples from cached directory
  • Users could select a Chrome Apps sample on list
  • Copy sample to app directory and copy some files in templates of app
  • The sample can using yeoman features with grunt (like build, reload or something)

checkout this https://github.com/ragingwind/generator-chromeapp/tree/samples

To team, Im using rimraf package to try to delete app directory if the directory is already exist in target path. As I know Yeoman base generator using rimraf internally. Could you make a new interface to use rimraf like a shelljs?

cc @mangini

@addyosmani
Copy link
Member

Nice! Would it be possible to create an issue with your question about base on the generator repo?

@addyosmani
Copy link
Member

Otherwise, I think this is a nice addition to the project.

@mangini
Copy link

mangini commented Nov 6, 2013

Nice! We are using app metadata stored in a private location to get the feature set of apps, as you can see in the README.md.

If you think you could use this metadata in the samples sub-generator to allow the user to find the desired sample by filtering the feature, I can expose it in a public repo.

@ragingwind
Copy link
Contributor Author

@addyosmani I will! @mangini I love it. It would be better to use a metadata of apps, not file list

@addyosmani
Copy link
Member

Any updates available on the status of this? Would love to see it land.

@ragingwind
Copy link
Contributor Author

@mangini Any updates about metadata for samples?

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

No branches or pull requests

3 participants