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.00, 4.37, 6.27, 7.81, 12.18, 22.84, 23.83]
line [0.99, 2.12, 4.46, 6.83, 8.15, 10.87, 21.34, 22.94]
line [1.04, 2.05, 4.44, 6.56, 8.04, 10.35, 22.78, 23.87]
---
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.30, 0.53, 0.71, 0.91, 1.16, 1.25, 1.48, 1.62]
line [0.36, 0.55, 0.69, 0.86, 1.15, 1.26, 1.49, 1.64]
line [0.34, 0.54, 0.73, 0.94, 1.21, 1.23, 1.47, 1.70]
---
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.01, 2.32, 4.97, 8.40, 13.75, 27.19, 57.26, 118.90]
line [0.95, 2.21, 3.73, 6.45, 13.09, 26.61, 58.24, 117.80]
line [0.92, 2.12, 4.39, 6.66, 12.88, 27.14, 58.59, 118.08]
|
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.12 kB ( |
| tgpu_initFromDevice.ts | 255.61 kB ( |
| tgpu_resolve.ts | 161.53 kB ( |
| tgpu_resolveWithContext.ts | 161.47 kB ( |
| tgpu_bindGroupLayout.ts | 69.02 kB ( |
| tgpu_mutableAccessor.ts | 66.00 kB ( |
| tgpu_accessor.ts | 65.98 kB ( |
| tgpu_privateVar.ts | 65.32 kB ( |
| tgpu_workgroupVar.ts | 65.32 kB ( |
| tgpu_const.ts | 64.54 kB ( |
| tgpu_fn.ts | 37.99 kB ( |
| tgpu_fragmentFn.ts | 37.92 kB ( |
| tgpu_vertexFn.ts | 37.74 kB ( |
| tgpu_computeFn.ts | 37.44 kB ( |
| tgpu_vertexLayout.ts | 26.63 kB ( |
| tgpu_comptime.ts | 14.43 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.