chore (@typegpu/cli): Bump deps of expo template#2674
Conversation
|
pkg.pr.new packages benchmark commit |
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.98, 2.10, 4.82, 6.92, 8.66, 12.43, 24.51, 23.41]
line [0.99, 1.99, 4.49, 6.80, 7.90, 13.49, 22.81, 24.63]
line [0.95, 1.95, 4.32, 6.68, 8.60, 11.34, 22.38, 23.36]
---
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.32, 0.57, 0.80, 0.88, 1.18, 1.26, 1.50, 1.69]
line [0.36, 0.57, 0.76, 0.89, 1.16, 1.27, 1.53, 1.71]
line [0.31, 0.54, 0.73, 0.84, 1.10, 1.22, 1.45, 1.59]
---
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 [1.08, 2.42, 5.13, 7.72, 13.61, 27.04, 57.41, 119.93]
line [0.93, 2.25, 3.86, 6.98, 13.18, 27.50, 58.72, 118.50]
line [1.08, 2.22, 4.92, 6.79, 13.33, 26.72, 57.44, 119.04]
|
Bundle size comparison (
|
| 🟢 Decreased | ➖ Unchanged | 🔴 Increased | ❔ Unknown |
|---|---|---|---|
| 0 | 321 | 0 | 0 |
import { ... } in PR vs import * as ... in PR (is the library tree-Shakeable?):
| Test | tsdown |
|---|---|
| tgpu_init.ts | 256.41 kB ( |
| tgpu_initFromDevice.ts | 255.90 kB ( |
| tgpu_resolve.ts | 187.13 kB ( |
| tgpu_resolveWithContext.ts | 187.07 kB ( |
| tgpu_bindGroupLayout.ts | 69.01 kB ( |
| tgpu_mutableAccessor.ts | 65.98 kB ( |
| tgpu_accessor.ts | 65.97 kB ( |
| tgpu_privateVar.ts | 65.30 kB ( |
| tgpu_workgroupVar.ts | 65.30 kB ( |
| tgpu_const.ts | 64.53 kB ( |
| tgpu_fn.ts | 37.94 kB ( |
| tgpu_fragmentFn.ts | 37.87 kB ( |
| tgpu_vertexFn.ts | 37.69 kB ( |
| tgpu_computeFn.ts | 37.39 kB ( |
| tgpu_vertexLayout.ts | 26.61 kB ( |
| tgpu_comptime.ts | 14.41 kB ( |
| tgpu_unroll.ts | 2.60 kB ( |
| tgpu_slot.ts | 1.57 kB ( |
| tgpu_lazy.ts | 1.22 kB ( |
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — bumped the Expo bare template to SDK 56 with matching React Native and React versions and aligned TypeGPU packages and the CLI prebuild command.
- Bumped Expo SDK 56 dependencies in
packages/typegpu-cli/templates/template-expo-bare/_package.json(expo,react-native,react,react-dom,babel-preset-expo, etc.). - Added SDK 56 required packages (
expo-build-properties,expo-splash-screen, andreact-native-worklets). - Updated
app.jsonto use theexpo-splash-screenconfig plugin and stripped the legacy top-levelsplash/newArchEnabledfields, keeping the template close to the current Expo bare-minimum template. - Bumped TypeGPU packages (
@typegpu/react,typegpu,unplugin-typegpu) andtsoverto6.0.2acrossdependencies,resolutions,overrides, andpnpm.overrides. - Changed
create.tsto resolve the post-install prebuild command throughpackage-manager-detector(resolveCommand(pm, 'execute', ['expo', 'prebuild'])), consistent with the existingpmExecutility.
Kimi K2 (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
Pull request overview
Updates the @typegpu/cli Expo bare template to align with newer Expo SDK dependencies and associated configuration expectations, plus adjusts the post-create “next steps” command hinting.
Changes:
- Bump Expo bare template dependencies (Expo SDK, React/React Native, TypeGPU packages, TypeScript via
tsover). - Migrate splash/build configuration in
app.jsonto config plugins (expo-splash-screen,expo-build-properties). - Print the Expo prebuild step using the detected package manager’s exec/execute command instead of
npx.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/typegpu-cli/templates/template-expo-bare/app.json | Moves splash/minSdk config to plugins; removes some previously explicit Expo config flags. |
| packages/typegpu-cli/templates/template-expo-bare/_package.json | Bumps template dependency versions; adds Expo plugin deps and expo.install.exclude. |
| packages/typegpu-cli/src/create.ts | Changes the suggested Expo prebuild command to use package-manager execute. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
audit yes, speaking of uuid, I believe it is not dependency that I put in expo template
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — the latest commits bump the Expo bare template from SDK 56 to SDK 57 and drop react-native-worklets from the expo.install.exclude list.
- Bumped Expo SDK 57 dependencies in
packages/typegpu-cli/templates/template-expo-bare/_package.json(expo~57.0.4,expo-build-properties~57.0.3,expo-splash-screen~57.0.2,babel-preset-expo~57.0.2). - Aligned React Native / React versions with the SDK 57 matrix:
react-native0.86.0,react/react-dom19.2.3,react-native-safe-area-context~5.7.0,react-native-web^0.21.0. - Removed
react-native-workletsfromexpo.install.excludesince it is now a direct dependency, while keepingtypescriptexcluded sotsoverremains in control. - Verified compatibility: Expo SDK 57 targets React Native 0.86 and React 19.2.3;
react-native-webgpu ^0.5.11peer-requiresreact-native >=0.81.0and optionallyreact-native-worklets >=0.7.2;react-native-worklets 0.10.0supports React Native 0.83–0.86.
Kimi K2 (free via Pullfrog for OSS) | 𝕏


No description provided.