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/scaffolder-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/plugin-scaffolder-common": "workspace:^",
"@backstage/types": "workspace:^",
"@backstage/plugin-scaffolder-common": "0.1.0",
"@backstage/types": "0.1.1",
Comment on lines +29 to +30
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This change replaces workspace references (workspace:^) with fixed versions, which breaks the monorepo's local development setup. In a workspace-based project, these references ensure packages use local development versions rather than published npm packages.

The warning about failing to update yarn.lock further indicates potential dependency resolution problems.

Recommendation:

  1. Retain the original workspace:^ references
  2. If security fixes are needed, update the vulnerable dependencies within the workspace
  3. Ensure yarn.lock is properly updated before merging

This approach maintains the integrity of the monorepo while addressing the security vulnerabilities in webpack-dev-server.

Suggested change
"@backstage/plugin-scaffolder-common": "0.1.0",
"@backstage/types": "0.1.1",
"@backstage/plugin-scaffolder-common": "workspace:^",
"@backstage/types": "workspace:^",

Spotted by Diamond

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

"jsonschema": "^1.2.6",
"winston": "^3.2.1",
"zod": "^3.21.4",
Expand Down
Loading