Closed alshakero closed 6 years ago
I'd keep "private": true
.
Speaking of the process, I used to keep devDependencies
separated from dependencies
to track packages needes by our elements, from packages needed for example to run web-component-tester in ghpages - but maybe that's not worth it.
Other than that process LGTM
I used to keep devDependencies separated from dependencies to track packages needes by our elements, from packages needed for example to run web-component-tester in ghpages - but maybe that's not worth it.
Did you ever run web-component-tester
in gh-pages
? If not, let's apply YAGNI.
Did you ever run web-component-tester in gh-pages? If not, let's apply YAGNI.
I use it a lot! http://juicy.github.io/imported-template/test/ Thanks to travis they should pass anyway, but they are easier to debug, to track some behavior. For example when I encounter a strange behavior on real use case. I Go back to those tests put a breakpoint here or there and fiddle.
I believe it's good explanation/showcase of a behavior of the element for newcomers, and sanity check that it works
Please merge if you think it's a good idea.
(I was gonna ask if I could merge, and thought then you'll answer, then I will merge. Three trips. So I decided to give you the wheel and save a trip 😄 )
I still have two questions to @warpech and @alshakero:
dependencies
and devDependencies
to diff packages needed by the element from the packages needed to render demo pages and ghpages?If yes, do you think it's worth keeping separate list of dependencies and devDependencies to diff packages needed by the element from the packages needed to render demo pages and ghpages?
This isn't a strong opinion but I don't think it's worth it. I don't look at these repo as a source of truth for what our components need. And it's very hard to maintain it as so. Should we update it everytime we add/remove deps from every juicy-* repo? I guess this is impractical.
Do you think it's worth to keep web-components-tester `(/test) results on gh-pages (as in http://juicy.github.io/imported-template/test)?
You just wrote that you are using it, so sure!
If yes, do you think it's worth keeping separate list of dependencies and devDependencies to diff packages needed by the element from the packages needed to render demo pages and ghpages?
Sure. Basically, what you're doing here is aggregating devDependencies
from all components into a common devDependencies
. I think it is fine. It's a pity Bower can't do it with some flag bower install --deep
, etc.
This will be impossible to review. So I'll explain what I did and you can maybe review my process:
dependancies
names inbower.json
. IncludingdevDependancies
.bower.json
(leave only{}
).bower install --save dep1 dep2 dep3
.Now
bower.json
is fresh and is automatically generated. So it can be a good place to review.Here is the diff of bower.json, very hard to dig.
Fixes: https://github.com/Juicy/juicy.github.io/issues/7