Remove dead dependencies orphaned by Copilot on Rails removal#1486
Merged
Conversation
The mermaid, sass, @microsoft/vscode-azext-webview, and @types/vscode-webview dependencies were added for the Copilot on Rails webviews (#1436) but were left behind when that feature was removed (#1480). They have no remaining references in source. Removing them drops 216 transitive packages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Member
Author
|
Lol copilot doesn't hold back on the PR titles |
bwateratmsft
approved these changes
Jun 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request cleans up the extension’s dependency surface by removing packages that were introduced for the (now-removed) “Copilot on Rails” webviews feature, reducing unused direct and transitive dependencies.
Changes:
- Remove orphaned webview-related dependencies from
package.json(@microsoft/vscode-azext-webview,@types/vscode-webview,mermaid,sass). - Reduce overall install footprint by eliminating now-unneeded transitive packages (as stated in the PR description).
Show a summary per file
| File | Description |
|---|---|
| package.json | Removes unused direct dependencies that were previously required for the removed webviews feature. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/2 changed files
- Comments generated: 1
Comment on lines
922
to
+924
| "@vscode/vsce": "*", | ||
| "esbuild": "*", | ||
| "esbuild-plugin-copy": "*", | ||
| "mermaid": "^11.15.0", | ||
| "sass": "~1.79.6" | ||
| "esbuild-plugin-copy": "*" |
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.
Summary
Removes four dependencies that were introduced for the Copilot on Rails webviews (#1436) but were orphaned when that feature was removed in #1480. The feature's
build:webviewsscript was deleted, but these packages were left behind inpackage.json.@microsoft/vscode-azext-webviewsrc/orapi/@types/vscode-webviewmermaidsass.scssfiles; not referenced inesbuild.mjsRegenerating
package-lock.jsonremoves 216 transitive packages.Verification
npm run build(esbuild bundle +tsc --noEmit, which also type-checkstest/)npm run lint(eslint--max-warnings 0)npm test— 103 passingnpm auditunchanged vs.main— no vulnerabilities introduced or maskedNotes
@types/uuidwas intentionally left in place — it predates Copilot on Rails (tied to theuuidbump in #1431) and is out of scope for this cleanup.