Skip to content

Module refactor#4

Merged
hun756 merged 117 commits intodevfrom
module-refactor
Apr 11, 2026
Merged

Module refactor#4
hun756 merged 117 commits intodevfrom
module-refactor

Conversation

@hun756
Copy link
Copy Markdown
Owner

@hun756 hun756 commented Apr 10, 2026

No description provided.

hun756 added 30 commits April 9, 2026 15:10
hun756 added 29 commits April 10, 2026 16:12
Route core compatibility through official ecs entrypoints, add explicit subpath exports, and harden the boundary tests.
Move the glTF asset runtime out of core, introduce a dedicated package boundary, and update callers, tests, and build wiring to the new surface.
Split general-purpose eventing, observer primitives, and tween orchestration into dedicated packages. Tighten core barrels, move consumers to public package entries, and lock the ownership boundaries with architecture tests.
Move shared physics contracts into @axrone/physics-core and extract runtime/component ownership into @axrone/physics-2d and @axrone/physics-3d.

Keep @axrone/physics as a thin public bridge for the split packages plus raycast utilities, and update workspace wiring and ownership tests so the new package boundaries build cleanly.
Shift examples and playground compatibility flows away from @axrone/core where bounded-context packages already own the runtime surface.

This keeps @axrone/core closer to a real compatibility facade while making ECS and asset ownership explicit in direct consumers.
Drop random, input, physics, and game-loop compatibility surfaces from @axrone/core now that those domains have real owner packages.

This also rewires the remaining core internals to stop depending on the removed facades, so core behaves more like a true compatibility layer instead of a second runtime entrypoint.
Restore internal random-dependent code to @axrone/random instead of keeping a one-off local generator.

This keeps the core facade slim without bypassing the shared random package we already own.
Delete the old @axrone/ecs package and core component-system re-exports, then migrate consumers to @axrone/ecs-runtime.
Relocate the shared core test corpus into package-local __tests__ folders, keep cross-package architecture coverage at the workspace root, and update browser test execution for one-shot validation.
Remove the obsolete @axrone/core workspace, migrate remaining consumers to owner packages, and keep only the compatibility diagnostics needed for stale imports.
@hun756 hun756 merged commit fe93ed2 into dev Apr 11, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant