Skip to content

Comments

Fix build failures and package exports#437

Closed
Copilot wants to merge 3 commits intocreate-new-ecs-systemfrom
copilot/sub-pr-432-again
Closed

Fix build failures and package exports#437
Copilot wants to merge 3 commits intocreate-new-ecs-systemfrom
copilot/sub-pr-432-again

Conversation

Copy link
Contributor

Copilot AI commented Jan 11, 2026

Build was failing with TypeScript module resolution errors for howler, matter-js, and seedrandom after the ECS rewrite. Additionally, npm run check-exports was failing due to mismatched directory names and missing exports configuration.

Changes

  • Added npm install step to ensure dependencies are available before build
  • Fixed import formatting in demo and documentation files to comply with prettier rules
  • Renamed src/new-ecs/ to src/ecs/ to match package.json exports
  • Updated all imports throughout the codebase from new-ecs to ecs
  • Removed pooling export from package.json since the directory doesn't exist

The TypeScript compiler now correctly resolves type definitions from @types/howler, @types/matter-js, and @types/seedrandom packages, and all package exports are properly configured and validated.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Jan 11, 2026
…tting

Co-authored-by: stormmuller <17644200+stormmuller@users.noreply.github.com>
Copilot AI changed the title [WIP] Create new ECS system with data-oriented architecture Fix build failures from missing dependencies Jan 11, 2026
Copilot AI requested a review from stormmuller January 11, 2026 19:02
Copy link
Member

@stormmuller stormmuller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run check-exports still fails

…orts

Co-authored-by: stormmuller <17644200+stormmuller@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 11, 2026

npm run check-exports still fails

Fixed. The issue was that src/new-ecs directory needed to be renamed to src/ecs to match the package.json exports, and the pooling export needed to be removed since that directory doesn't exist. All package exports now resolve correctly. (09cc74f)

Copilot AI changed the title Fix build failures from missing dependencies Fix build failures and package exports Jan 11, 2026
Copilot AI requested a review from stormmuller January 11, 2026 19:14
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.

2 participants