Skip to content

chore: updating mongodb-schema to new devtools shared package COMPASS-10911 - #2810

Closed
dudaschar wants to merge 1 commit into
mainfrom
COMPASS-10911
Closed

chore: updating mongodb-schema to new devtools shared package COMPASS-10911#2810
dudaschar wants to merge 1 commit into
mainfrom
COMPASS-10911

Conversation

@dudaschar

Copy link
Copy Markdown
Collaborator

We have a new package being published from shared devtools repo, this PR is updating the usage of mongodb-schema to remove all the old references.

@mongodb-js/mongodb-ts-autocomplete depends on mongodb-schema and it was also updated to remove the old reference of the non-existing package.

@dudaschar
dudaschar requested a review from a team as a code owner July 31, 2026 09:47
@dudaschar
dudaschar requested review from Copilot and nbbeeken July 31, 2026 09:47
@dudaschar dudaschar changed the title chore: updating mongodb-schema to new devtools shared package chore: updating mongodb-schema to new devtools shared package COMPASS-10911 Jul 31, 2026
@dudaschar dudaschar closed this Jul 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates mongosh packages to use the newly published scoped schema package (@mongodb-js/mongodb-schema) and aligns dependent autocomplete packages to the newer @mongodb-js/mongodb-ts-autocomplete release, removing direct usage of the legacy mongodb-schema package.

Changes:

  • Replace mongodb-schema imports/usages with @mongodb-js/mongodb-schema in shell-api.
  • Update dependencies to @mongodb-js/mongodb-schema and bump @mongodb-js/mongodb-ts-autocomplete to ^0.9.2 where used.
  • Refresh the root package-lock.json to reflect the new dependency graph.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/shell-api/src/shell-instance-state.ts Switches schema analysis imports to the new scoped schema package.
packages/shell-api/package.json Replaces mongodb-schema dependency with @mongodb-js/mongodb-schema and bumps autocomplete devDependency.
packages/shell-api/api-extractor.json Updates API Extractor bundled packages list to the new schema package name.
packages/browser-runtime-core/package.json Bumps @mongodb-js/mongodb-ts-autocomplete to ^0.9.2.
packages/autocomplete/package.json Bumps @mongodb-js/mongodb-ts-autocomplete to ^0.9.2.
package-lock.json Locks new @mongodb-js/mongodb-schema and updated @mongodb-js/mongodb-ts-autocomplete versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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