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

Please provide better instructions on how to add/install custom flavor #89

Open
kristianmandrup opened this issue Mar 19, 2017 · 7 comments

Comments

@kristianmandrup
Copy link

It is not really clear how to add/install a custom flavor. I asked same question here and looked at create-cycle-app-flavors and cycle-scripts but still not clear...

I wonder if your script can somehow find it by package.json keyword entry (like I've seen in Ember CLI f.ex) or if I have to install my flavor as a global module or what!?

Please make it more clear. Thanks

@nickbalestra
Copy link
Collaborator

nickbalestra commented Mar 20, 2017

In the documentation there is a section dedicated on custom flavors.

where it says:

  • Flavors can be published to npm, or being used locally via the create-cycle-app CLI.
  • When creating a project, you can inform which flavor you want to use with the --flavor flag

and some example are given:

$ create-cycle-app my-app --flavor cycle-scripts-es-webpack

$ create-cycle-app my-app --flavor [email protected]

$ create-cycle-app my-app --flavor ./relative/path/to/cycle-scripts-es-webpack

I guess this is not clear enough, what from that section was not clear for you @kristianmandrup ?

@nickbalestra
Copy link
Collaborator

One thing I'm noticing is also that those example of custom flavors are not supported anymore, so it should perhaps use cycle-scripts-one-fits-all instead

@kristianmandrup
Copy link
Author

Yes, unfortunately it is all quite a mess... As usual. Web dev moves too fast.
My attempt at writing a clearer description can be seen here

But nowhere have I seen any docs on how to fine-tune the scripts, such as babel compile options etc. I'm so exhausted from having to spend 80% of my dev time trying to figure things out instead of getting things done. Maybe I have overlooked, hard to read through 10s-100s of docs pages, repos/code etc. every day in order to make a step forward. Easy to miss sth. when you are frustrated.

Also unfortunate that most of the resources on awesome-cycle are outdated and pretty useless except as ideas/reference points. We need more curation of which things are up to date...
Cheers!

@kristianmandrup
Copy link
Author

Better remove the flavors that are obsolete ;) Too many dead ends...

@geovanisouza92
Copy link
Member

@kristianmandrup You are welcome to suggest anything on any Cycle.js-related repo/project. Everyone on the community accept suggestions and discussion.

However, it's a small community, and we need help from everyone that is available to help.

Feel free to propose content curation to the community. :)

@kristianmandrup
Copy link
Author

@geovanisouza92 My main concern is that it is impossible to see which projects are recent, popular or outdated... would be nice with some form of better structuring than simply by category.
Perhaps we need a new site/app to better facilitate that?

@geovanisouza92
Copy link
Member

Perhaps. Try to share your thoughts on gitter. I'm sure that we all will find a way :)

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

3 participants