Skip to content

Request: Add @types/ws as dependencies instead of devDependencies #126

Open

Description

@jaller94

@types/ws is a devDependency. It should be a dependency.

That's because its types are exported by gateway-addon.

In the project wot-adapter, I have to add @types/ws as a dependency, even though it is not a direct dependency for TypeScript to build the project.

Activity

  1. benfrancis commented on Feb 10, 2026

    @benfrancis
    Member

    Just FYI the README for gateway-addon-node says "This should NEVER be included as an add-on dependency, as that will cause breakages across gateway versions. The gateway will provide this dependency for every add-on. This package only exists to facilitate building the gateway itself."

    Out of curiosity what happens if you remove that dependency from the add-on?

  2. changed the title [-]Request: Add @types/ws as dependencies instead of devDependencie[/-] [+]Request: Add @types/ws as dependencies instead of devDependencies[/+] on Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions