cljsjs

currentoor 2016-03-04T04:49:37.000202Z

is there a reason the name react-input-autosize is being used here?

currentoor 2016-03-04T05:11:54.000203Z

So when a package, like react-grid-layout only has the minified version available from github, do we only put it in the development folder? Or only the production folder?

juhoteperi 2016-03-04T05:56:19.000204Z

@currentoor: Yeah, that's a wrong folder but it shouldn't cause any problems.

juhoteperi 2016-03-04T05:57:33.000205Z

@currentoor: Some packages with only non-minified file but it in common folder. development is also okay.

currentoor 2016-03-04T05:58:27.000206Z

@juhoteperi: this package has only minified files, development is still ok?

currentoor 2016-03-04T05:58:41.000207Z

It will still work in advanced compilation?

juhoteperi 2016-03-04T06:01:34.000208Z

@currentoor: Yes. Minified file is not required.

juhoteperi 2016-03-04T06:02:28.000209Z

The path doesn't really matter. It is only a convention.

juhoteperi 2016-03-04T06:03:11.000210Z

deps-cljs uses file extension to select files for deps.cljs

currentoor 2016-03-04T06:41:15.000211Z

@juhoteperi: Ah I see, thanks.

currentoor 2016-03-04T06:43:00.000212Z

I was able to successfully bump the version of react-grid-layout to the latest (0.10.8). I’ll verify the new externs are correct in about a week. Should have a PR after that.

flyboarder 2016-03-04T18:31:12.000228Z

@juhoteperi: Im refactoring the webcomponents PR that I have, just wondering if I should have two packages for the lite and full versions?

juhoteperi 2016-03-04T18:42:07.000232Z

@flyboarder: What difference there is with lite and full versions? How user selects which to use?

flyboarder 2016-03-04T18:42:40.000233Z

@juhoteperi: it’s based on which polyfills they want

juhoteperi 2016-03-04T18:44:49.000234Z

Would be easiest if it was just webcomponents + webcomponents.shadow-dom :S

juhoteperi 2016-03-04T18:45:04.000235Z

But damn JS people are trying to make things difficult for us

flyboarder 2016-03-04T18:45:21.000236Z

i know right 😕 maybe i should do each polyfill separately?

juhoteperi 2016-03-04T18:45:59.000238Z

Looks like gulp file has separate build task for shadow-dom polyfill

juhoteperi 2016-03-04T18:46:11.000239Z

and the difference between lite and full should be only the shadow-dom polyfill

juhoteperi 2016-03-04T18:47:39.000240Z

At least that's what they say on readme, but I'm not sure by looking at their build scripts

flyboarder 2016-03-04T18:48:19.000244Z

looks like they got one for each

juhoteperi 2016-03-04T18:48:45.000245Z

Yeah. I was checking difference between build.json and build-lite.json but I'm not sure how they work.

juhoteperi 2016-03-04T18:50:07.000246Z

If possible, lite + shadow-dom would be best for packaging purposes. Could be exposed as two namespaces. You would need to call gulp from Boot but there should be plenty of example for that now.

juhoteperi 2016-03-04T18:51:02.000247Z

But if there are problems with that, I'm okay with anything that works :simple_smile:

flyboarder 2016-03-04T18:52:21.000248Z

ok, ill give it a go with the build tasks

juhoteperi 2016-03-04T19:01:09.000250Z

Oh, no need for calling gulp then,

flyboarder 2016-03-04T19:01:40.000251Z

yeah, im just wondering if it’s worth doing all the smaller packages as well?

flyboarder 2016-03-04T19:02:13.000252Z

shadow DOM on it’s own would probably be nice for people, but then might as well do them all?

juhoteperi 2016-03-04T19:03:49.000253Z

Yeah. Also depends on what full package includes. Looks like it's 20KB more than just ShadowDOM.js and lite.js

flyboarder 2016-03-04T19:10:02.000254Z

i think it’s the mutation observer, shadow dom also has weakmaps

flyboarder 2016-03-04T19:50:11.000255Z

@juhoteperi: is there a way I can have cljsjs depend on another projects externs?

juhoteperi 2016-03-04T19:57:18.000256Z

@flyboarder: No

flyboarder 2016-03-04T19:59:02.000257Z

ok, hey I was wondering what your thoughts are on a self updating cljsjs, I was thinking about ways that CI could run and update packages when upstream tags are pushed

juhoteperi 2016-03-04T20:02:53.000258Z

Would be cool but I'm not sure if it's worth the effort and problems

flyboarder 2016-03-04T20:03:55.000259Z

fair enough, my thought was that most package updates are simple version and hash changes

juhoteperi 2016-03-04T20:04:19.000260Z

I guess that's true

flyboarder 2016-03-04T20:05:06.000261Z

im not sure how the cljsjs site actually works tho so im just throwing ideas around

juhoteperi 2016-03-04T20:05:49.000262Z

Site is just updated once an hour by checking versions from clojars. Packages repo is the one that matters.

flyboarder 2016-03-04T20:06:48.000264Z

ah i see, so the site doesnt rely on the packages repo directly, cool!