Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions workspaces/scorecard/.changeset/clean-tigers-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-scorecard': patch

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] semver-classification

The changeset classifies this as a patch change, but removing a public export path is not a bug fix. It should be at least minor since it removes a documented (though transitional) import path.

Suggested fix: Change the changeset from patch to minor, or major if the team believes external consumers actively use the /alpha path.

---

Removed redundant /alpha re-export of translations. Translations are available from the main entry point.
4 changes: 0 additions & 4 deletions workspaces/scorecard/plugins/scorecard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@
"types": "src/index.ts",
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha.ts",
"./legacy": "./src/legacyExports.ts",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] breaking-change

Removing the ./alpha export entry point removes a documented import path. The 3.0.0 CHANGELOG stated 'translations remain at ./alpha', creating a contract consumers could rely on. Any consumer using the /alpha import path will get a module-not-found error after upgrading. The symbols are still available from the main entry point, so this is a path removal rather than a functional API break.

Suggested fix: Change the changeset from patch to minor at minimum. If external consumers may be using the /alpha path, use major instead.

"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"alpha": [
"src/alpha.ts"
],
"legacy": [
"src/legacyExports.ts"
],
Expand Down
128 changes: 0 additions & 128 deletions workspaces/scorecard/plugins/scorecard/report-alpha.api.md

This file was deleted.

21 changes: 0 additions & 21 deletions workspaces/scorecard/plugins/scorecard/src/alpha.ts

This file was deleted.

Loading