Skip to content

pnpm support #132

@pelhamrj

Description

@pelhamrj

Oneschema uses eventemitter3 rather than the built-in EventEmitter. Due to this, when using pnpm as the package manager, which requires strict dependency resolution, eventemitter3 is never installed and thus code doesn't compile. Specifically, the error received is OneSchemaImporterClass.on() is not a function. This is resolved by bringing in eventemitter3 as a dependency in my local project.

This isn't an issue when yarn legacy since yarn hoists dependencies automatically. Will pnpm be supported?

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