chore: updating mongodb-schema to new devtools shared package COMPASS-10911 - #2810
Closed
dudaschar wants to merge 1 commit into
Closed
chore: updating mongodb-schema to new devtools shared package COMPASS-10911#2810dudaschar wants to merge 1 commit into
dudaschar wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
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-schemaimports/usages with@mongodb-js/mongodb-schemain shell-api. - Update dependencies to
@mongodb-js/mongodb-schemaand bump@mongodb-js/mongodb-ts-autocompleteto^0.9.2where used. - Refresh the root
package-lock.jsonto 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.