You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ecs and network client types import editor-lib, an optional peer dependency #530
The published client type declarations of @nanoforge-dev/ecs and @nanoforge-dev/network 3.0.0 import @nanoforge-dev/editor-lib, which both packages list only as an optional peer dependency. A project without the editor library (every nf new project made without --editor) fails tsc --noEmit with TS2307 from node_modules.
Steps: nf new --name solo --language ts --strict --no-server, install, then tsc --noEmit -p ..
Expected: the public types of ecs and network type-check without editor-lib installed (keep editor types out of the public declarations, or make editor-lib a regular dependency).
Activity