ember-cli-create icon indicating copy to clipboard operation
ember-cli-create copied to clipboard

Addon presents/blueprints

Open allthesignals opened this issue 7 years ago • 3 comments

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.

allthesignals avatar Oct 15 '18 17:10 allthesignals

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

gossi avatar Oct 15 '18 18:10 gossi

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!

allthesignals avatar Oct 15 '18 18:10 allthesignals

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

gossi avatar Oct 15 '18 18:10 gossi