mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #410] [CLOSED] Move 3D module to separate @opentui/3d package #1293
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/410
Author: @remorses
Created: 12/12/2025
Status: ❌ Closed
Base:
main← Head:move-3d-to-separate-package📝 Commits (10+)
be652e9create 3d packagee48f864pin node typesf471742add build and publish scripts for @opentui/3d5779db5move 3D examples and benchmark to @opentui/3d packagedf292caremove 3D examples from core examples index8e396e4move assets from core to 3d package (git rename)15b803dformate9c8d59align 3d package.json with repo conventionsabdb5e1remove unnecessary @types/node from 3d package42c8186simplify 3d build: publish TS source directly (152KB vs 1.1MB)📊 Changes
39 files changed (+403 additions, -135 deletions)
View changed files
📝
.github/workflows/build-core.yml(+6 -1)📝
bun.lock(+77 -61)📝
package.json(+3 -2)📝
packages/3d/benchmark/renderer-benchmark.ts(+7 -7)➕
packages/3d/package.json(+41 -0)➕
packages/3d/scripts/build.ts(+126 -0)➕
packages/3d/scripts/publish.ts(+44 -0)📝
packages/3d/src/SpriteResourceManager.ts(+0 -0)📝
packages/3d/src/SpriteUtils.ts(+0 -0)📝
packages/3d/src/TextureUtils.ts(+0 -0)📝
packages/3d/src/WGPURenderer.ts(+1 -3)📝
packages/3d/src/animation/ExplodingSpriteEffect.ts(+0 -0)📝
packages/3d/src/animation/PhysicsExplodingSpriteEffect.ts(+0 -0)📝
packages/3d/src/animation/SpriteAnimator.ts(+0 -0)📝
packages/3d/src/animation/SpriteParticleGenerator.ts(+0 -0)📝
packages/3d/src/canvas.ts(+1 -2)📝
packages/3d/src/index.ts(+1 -0)📝
packages/3d/src/physics/PlanckPhysicsAdapter.ts(+0 -0)📝
packages/3d/src/physics/RapierPhysicsAdapter.ts(+0 -0)📝
packages/3d/src/physics/physics-interface.ts(+0 -0)...and 19 more files
📄 Description
Extracts the 3D rendering module from @opentui/core into a separate @opentui/3d package. This keeps the core package lightweight - users who don't need 3D features won't have three, planck, rapier, and bun-webgpu installed as optional dependencies.
Note: build and publish scripts were copied from other packages. These could be simplified in a future PR for all packages.
Fix #408
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.