Skip to content
This repository has been archived by the owner. It is now read-only.

Publish to npm #14

Open
vesparny opened this issue Jan 7, 2015 · 4 comments
Labels

Comments

@vesparny
Copy link
Owner

@vesparny vesparny commented Jan 7, 2015

No description provided.

@vesparny vesparny added the enhancement label Jan 7, 2015
@mcollina

This comment has been minimized.

Copy link

@mcollina mcollina commented Jan 12, 2015

This is really important. Also git rid of that checkout, and make it usable with both generators and a module.

You might want to use yeoman, in case check out bespoke.js for insight on how to do that. You might want to do something simpler like building a command system with commist, help-me and generify.

@vesparny

This comment has been minimized.

Copy link
Owner Author

@vesparny vesparny commented Jan 12, 2015

@mcollina I really like the idea of the yo generator, I'll start tomorrow thanks.

I'd also like to split the monolith app in some semantic npm modules like stated in #13.
Any thought on which is the best way to separate the current structure?

I would also love to give end-user the ability to install themes via npm.
the problem here is that in Morpheus the theme is the hearth of the app logic as for the React's nature, and I'm a bit scared that separate it from the core would lead to have an untestable component.

@mcollina

This comment has been minimized.

Copy link

@mcollina mcollina commented Jan 13, 2015

I have not enough experience in React to get to the best solution here.
For what it seems, a morpheus theme can only be a CSS thing, like bespoke themes. It is no ideal (others allows to specify HTML), but that's the only option given the scope of the project: in order to hook the handlers on the static HTML, you need to know how the HTML is composed.

You need to take care in how you embed stuff, e.g. a nice usecase for this might be plugging it within another website.

@vesparny

This comment has been minimized.

Copy link
Owner Author

@vesparny vesparny commented Jan 13, 2015

well, what you are saying is true, but it seems a bit complicated to achieve since react couples logic and templates by nature.
I'll think about it, after having created the yo generator, and published it.
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.