fix(@typegpu/gl): Pin an exact patch version of typegpu - #3016
Conversation
|
pkg.pr.new packages benchmark commit |
Bundle size comparison (
|
| 🟢 Decreased | ➖ Unchanged | 🔴 Increased | ❔ Unknown |
|---|---|---|---|
| 0 | 325 | 0 | 0 |
No notable changes.
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.
Resolution Time Benchmark---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Random Branching (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.62, 1.32, 2.97, 4.21, 5.44, 7.89, 16.62, 16.07]
line [0.67, 1.35, 2.68, 4.33, 4.83, 9.02, 16.68, 16.93]
line [0.69, 1.32, 2.89, 4.27, 4.79, 8.73, 15.39, 17.10]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Linear Recursion (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.23, 0.33, 0.45, 0.56, 0.75, 0.80, 0.97, 1.07]
line [0.24, 0.38, 0.47, 0.54, 0.74, 0.76, 0.90, 1.04]
line [0.23, 0.38, 0.48, 0.61, 0.80, 0.82, 0.95, 1.05]
---
config:
themeVariables:
xyChart:
plotColorPalette: "#E63946, #3B82F6, #059669"
---
xychart
title "Full Tree (🔴 PR | 🔵 main | 🟢 release)"
x-axis "max depth" [1, 2, 3, 4, 5, 6, 7, 8]
y-axis "time (ms)"
line [0.66, 1.71, 2.71, 5.15, 8.74, 18.49, 39.12, 76.90]
line [0.64, 1.47, 2.83, 5.08, 8.43, 18.00, 37.69, 75.97]
line [0.63, 1.64, 3.01, 4.80, 8.45, 18.12, 37.30, 76.24]
|
There was a problem hiding this comment.
🟢 Approval recommended
The dependency update is focused and has no unresolved review issues.
Pull request overview
Pins typegpu to an exact workspace version for @typegpu/gl.
Changes:
- Replaces the caret workspace range with an exact workspace reference.
File summaries
| File | Description |
|---|---|
packages/typegpu-gl/package.json |
Pins the typegpu peer dependency to the exact workspace version. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
@typegpu/glpeer dependency pinned to an exact version:peerDependencies.typegpuinpackages/typegpu-gl/package.jsonchanged fromworkspace:^to bareworkspace:.
pnpm resolves a bare workspace: to the exact workspace version when packing (identical to workspace:*), so the published manifest will carry the exact typegpu version instead of a caret range. Verified on the repo-pinned pnpm 11.1.2. Note this intentionally differs from the eight sibling packages that keep workspace:^; the consumer-visible effect only lands after @typegpu/gl is version-bumped and released.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
4dcb81b to
6b9d7d5
Compare
6b9d7d5 to
cd37b7d
Compare

Right now, pretty much every
typegpuupdate changes the internals, in particular,WgslGenerator, causing@typegpu/glto go out of sync. This change pins an exact typegpu patch version as a peer dependency.