Closed szymonrw closed 10 years ago
Hey @brainshave
Is it ok to have the main script as lib/index.js instead of a standalone browserified release (dist/ancient-oak-x.x.x.js)?
Yup this is ok and the "component way".
How do you "publish" component's component? (In case of bower you need to register it for example)
There is no publish step because Github is used as the "central registry". The only step we should take after is run component crawl brainshave
which will index all your components so that they are searchable under component search ...
etc. But the main point is that with component.json
in the repo this will work: component install brainshave/ancient-oak
.
Just caught myself on thinking these are the same: http://componentjs.com and https://github.com/component/component . Obviously they're not. Confusing!
Haha yeah, not the same.
There used to be http://component.io but that has since gone down https://github.com/component/component/issues/587. A community member did whip up http://component.xmojmr.cz/ though (pretty rough aesthetics...). I prefer component search
though.
@jasonkuhrt Could you please review this?
As I know little (close to nothing) about component I've just monkeyed a script that generates the
component.json
you've (@jasonkuhrt) provided (c9ddbde).Some things I'm not sure of is for example:
main
script aslib/index.js
instead of a standalone browserified release (dist/ancient-oak-x.x.x.js
)?