Skip to content

Commit 2f55a75

Browse files
fix: force single luma.gl@9.3 via resolutions, update lockfile
deck.gl@9.2.x ships luma@9.2.x as a dep causing two luma instances at runtime. Add yarn resolutions to force all @luma.gl/* to 9.3.0-alpha.2 so deck.gl and community modules share a single luma instance. All 61 node tests passing with deck.gl@9.2.10 + luma.gl@9.3.0-alpha.2. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent dfdb6e4 commit 2f55a75

File tree

2 files changed

+273
-320
lines changed

2 files changed

+273
-320
lines changed

package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@
6767
"vitest": "^4.0.18",
6868
"vitest-browser-react": "^2.0.5"
6969
},
70+
"resolutions": {
71+
"@luma.gl/constants": "~9.3.0-alpha.2",
72+
"@luma.gl/core": "~9.3.0-alpha.2",
73+
"@luma.gl/engine": "~9.3.0-alpha.2",
74+
"@luma.gl/shadertools": "~9.3.0-alpha.2",
75+
"@luma.gl/webgl": "~9.3.0-alpha.2",
76+
"@luma.gl/webgpu": "~9.3.0-alpha.2"
77+
},
7078
"packageExtensions": {
7179
"deck.gl@*": {
7280
"peerDependenciesMeta": {
@@ -75,6 +83,16 @@
7583
}
7684
}
7785
},
86+
"@deck.gl/*@*": {
87+
"peerDependencies": {
88+
"@luma.gl/constants": ">=9.2.6",
89+
"@luma.gl/core": ">=9.2.6",
90+
"@luma.gl/engine": ">=9.2.6",
91+
"@luma.gl/shadertools": ">=9.2.6",
92+
"@luma.gl/webgl": ">=9.2.6",
93+
"@luma.gl/webgpu": ">=9.2.6"
94+
}
95+
},
7896
"zod-to-json-schema@*": {
7997
"peerDependencies": {
8098
"zod": "^4.0.0"

0 commit comments

Comments
 (0)