ember-cli / ember-twiddle

JSFiddle type thing for ember-cli style code
https://ember-twiddle.com
MIT License
267 stars 89 forks source link

Support for any / latest addon version #651

Open lifeart opened 5 years ago

lifeart commented 5 years ago
{
  "addons": {
    "ember-data": "3.4.2",
    "ember-flatpickr": "*"
  }
}

produce error with unknown version - *

Gaurav0 commented 5 years ago

I don't know how to do this without breaking caching.

lifeart commented 5 years ago

@Gaurav0 or it can be an typehead option. like input for addon name + available addon versions.

lifeart commented 5 years ago

main idea is drop exact version manual lookup. For example, I need ember-cli-bootstrap but I don't remember any valid version number. Now I need to find repo / npm page and copy version. so manual path(

Gaurav0 commented 5 years ago

Again, how do you cache version "*" so you don't have to rebuild it? We don't have the resources to rebuild the addon every time it is requested.

lifeart commented 5 years ago

@Gaurav0 I understand, i'm just jumping from idea to idea, sorry for mental mess. I understand * problems in config file.

Possible solution - is show users typeahead dropdown with cached, version of addons, to allow users immediantly use cached version or valid latest.