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

Addon presents/blueprints #8

Open
allthesignals opened this issue Oct 15, 2018 · 3 comments
Open

Addon presents/blueprints #8

allthesignals opened this issue Oct 15, 2018 · 3 comments

Comments

@allthesignals
Copy link

The addon list is based on a rough selection I did. Though I expect this high subject of change. Open an issue to discuss how this can be populated in a nice way.

Some of my ideas with this: Support presets and blueprints.

This would be great for small teams. I'm not sure what this would look like, though. A few possibilities:

  1. ember-cli-create could look at an environment variable when it installs. This could be a comma-separated list of addon names.
  2. Installing ember-cli-create could allow one to point to a person/team's Github fork of ember-cli-create which prefers that fork's own list of addons to include.
@gossi
Copy link
Owner

gossi commented Oct 15, 2018

The idea is very similar to what vue does: ember-cli-create --preset gossi/my-preset or ember-cli-create --preset gitlab:gossi/my-private-preset. So companies can host their own presets and are good to go. Gists can also be supported.

The hard part would be to set the schema for the preset file. Also vue does a very good job here, which can be taken as inspiration/base work.

PS. I hate environment variables, that's why I create this project :p

@allthesignals
Copy link
Author

The idea is very similar to what vue does: ember-cli-create --preset gossi/my-preset or ember-cli-create --preset gitlab:gossi/my-private-preset. So companies can host their own presets and are good to go. Gists can also be supported.

Beautiful!

The hard part would be to set the schema for the preset file. Also vue does a very good job here, which can be taken as inspiration/base work.

I'd love to take a look. This seems very interesting. Could also inspire a future PR into ember-cli, which I understand does not support this kind of functionality.

PS. I hate environment variables, that's why I create this project :p

Ditto!

@gossi
Copy link
Owner

gossi commented Oct 15, 2018

It also requires a deeper look at blueprints, as they might be extendable. It's more of a research project towards a preset schema.

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

No branches or pull requests

2 participants