-
-
Notifications
You must be signed in to change notification settings - Fork 255
Updated registry for golden-layout to point to version 1.0.8 and github #365
base: master
Are you sure you want to change the base?
Conversation
@nkoterba can you confirm what the reason is for switching to the GitHub version? The CSS files do seem to be in the The |
@guybedford I was hoping the 'golden-layout' jspm and/or npm registry entry was correct. However, when I run: jspm install golden-layout This is what the console outputs: nk-mbp:webclient nkoterba$ jspm install golden-layout
Updating registry cache...
Looking up npm:golden-layout
warn Main entry point not found for npm:golden-layout@1.0.8.
Adjust this property in the package.json or with an override, setting "main": false if this is the intention.
Looking up github:components/jquery
ok Installed golden-layout as npm:golden-layout@^1.0.8 (1.0.8)
Bold versions are linked. To unlink use jspm install --unlink [name].
ok Install tree has no forks.
ok Install complete. Then, when I check what was actually installed under my What's really odd, is if I do: npm install golden-layout I get these directory contents in my I am not sure why installing via npm from jspm downloads so little when Thus, I submitted my updates above. I don't really want to manage Golden Layout's jspm registry entries, overrides, etc, so I'm open to @jedd-ahyoung, @hoxton-one, @WolframHempel correcting the situation but I would like to use golden-layout with jspm vs npm. |
As a follow-up, I need the css files for the UI widget in addition to the javascript. My understanding is that by including |
Hi @nkoterba , I'd really love to help, but I haven't used jspm yet and I know very little about it. I'm happy to accept any solution that works. |
@nkoterba the reason golden-layout has so little is because it already has an override at https://github.com/jspm/registry/blob/master/package-overrides/npm/golden-layout%401.0.6.json. The problem comes in this line - https://github.com/jspm/registry/blob/master/package-overrides/npm/golden-layout%401.0.6.json#L3, where the entire package is collapsed to just be the Ideally we would change that override by just removing the @2fd or @jedd-ahyoung are either of you relying on this override currently? It would be a breaking change at this point to alter the override, although we can get away with considering it as the override is already broken. @hoxton-one thanks for showing interest in supporting jspm - the jspm configuration in the override is exactly what needs to be put into the package.json to take ownership of this config instead of it being managed here, although it is entirely up to you if and when you want to support this. |
@guybedford, @hoxton-one Golden-Layout already has a So I see two solutions/fixes here:
This would require updating golden-layout's We would then remove the overrides and info in the @hoxton-one I can do this a pull request to golden-layout...just let me know.
|
Hi @nkoterba, thank you very much for your effort, much appreciated. I think a pull request to GoldenLayout and a subsequent new version release might be less intrusive, shall we go with that? |
@hoxton-one I think that's the most "ideal" situation. I will work a pull request for GL now... |
This sounds like a good approach. As soon as that lands, we can clear out the override here to be an empty JSON file so that the package one takes preference. |
Left old npm/[email protected] file in npm overrides. Needed version 1.0.8 of golden layout via jspm. In addition, the npm/[email protected] file was using the frowned upon
files
entry, and not including things like the css source files, etc.