Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/stack-overflow-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/backend-common": "workspace:^",
"@backstage/backend-common": "0.24.1",
"@backstage/config": "workspace:^",
"@backstage/plugin-search-common": "workspace:^",
"@backstage/plugin-search-common": "0.3.1",
Comment on lines +35 to +37
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Replacing workspace references with fixed versions in a monorepo can lead to dependency resolution conflicts. This approach breaks the internal dependency management that workspace references provide, where packages automatically use the latest local versions.

The PR description also indicates that the yarn.lock file wasn't updated properly. Before merging, it's important to:

  1. Run yarn to regenerate the lockfile with these changes
  2. Consider whether fixed versions are appropriate in this context - typically in monorepos, workspace references (workspace:^) are used intentionally to ensure internal packages stay in sync

If the vulnerability fix is necessary, consider upgrading the affected dependencies while maintaining workspace references, or follow your team's established approach for handling security updates in the monorepo.

Suggested change
"@backstage/backend-common": "0.24.1",
"@backstage/config": "workspace:^",
"@backstage/plugin-search-common": "workspace:^",
"@backstage/plugin-search-common": "0.3.1",
"@backstage/backend-common": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/plugin-search-common": "workspace:^",

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

"node-fetch": "^2.6.7",
"qs": "^6.9.4",
"winston": "^3.2.1"
Expand Down
Loading