-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luma v9.0.0 alpha.5 #7451
luma v9.0.0 alpha.5 #7451
Conversation
@Pessimistress Having problems even starting tests... Can you verify if
|
Also, JS build log shows lots of type issues that don't show up in luma.gl - wonder if there are different typescript settings that trigger it but haven't found it. |
The reason seems to be that deck.gl sets "strict: true" in tsconfig.json. Doing the same in luma.gl generates about 600 errors. I can start fixing them there while we disable strict here temporarily. |
I've pulled this branch and tried running the tests. I'm on a M1 Mac and using node
Comparing |
OK. I can certainly see us vigorously debating the merits and disadvantages of ESM modules, but trying to dodge that question for a moment to avoid a complete overload of required changes on the luma side. It was a while ago, but as far as I recall this was not an issue when I did a test integration six months back. It could be that recent changes in node.js tooling on the deck.gl side now makes deck requires a more heavily transpiled build? It does seem that |
It would be good to get some debug help with this as I find this system a bit tricky to follow. I did overhaul the luma.gl shadertools module in multiple passes to add strict types, so it is possible that I have introduced a bug on the luma side, though the shader injection tests do pass. Looks like the hooks are "declared" globally here: https://github.com/visgl/deck.gl/blob/luma-v9.0.0-alpha.5/modules/core/src/shaderlib/index.ts#L44. But somehow actual values for those hooks fail to inject. It could help to understand how these hook definitions are supplied and how they flow through to the final shader. Through the shader modules that a shader picks? |
I am also not able to change test files to typescript, is that intentional?
|
Created v9 trackerL #7457. Some of these tasks are very generic and could be done in parallel. |
Some automated formatter is stripping out types casts. Those cases were probably added to make strict mode work, and perhaps they are being stripped now that I disable strict mode. On the other hand those casts and exclamation marks are potentially hiding problems. |
Looks like some examples might be starting to work. Landing as baseline. |
For #7457
Background
Change List