Skip to content

Conversation

@addaleax
Copy link
Collaborator

@addaleax addaleax commented Nov 5, 2025

Currently published versions of mongosh fail to install via npm because the typescript migration in c6ad0b0 removed the ability to consume this package through its default export.

While I am generally strongly in favor of avoiding default exports, this particular change was an unintentional breaking change that should have been labeled as such.

Let's bring back the prior behavior for now and remove separately as an intentional breaking change.

Description

Open Questions

Checklist

Currently published versions of mongosh fail to install via `npm`
because the typescript migration in c6ad0b0 removed the ability
to consume this package through its default export.

While I am generally strongly in favor of avoiding default exports,
this particular change was an unintentional breaking change that
should have been labeled as such.

Let's bring back the prior behavior for now and remove separately
as an intentional breaking change.
@addaleax addaleax merged commit 44d8161 into main Nov 5, 2025
33 checks passed
@addaleax addaleax deleted the fix-build-info-default-export branch November 5, 2025 02:43
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.

3 participants