Skip to content

Commit

Permalink
fix(theme): replace style-inject(ion) workaround with @backstage/cli …
Browse files Browse the repository at this point in the history
…update

Signed-off-by: Christoph Jerolimov <[email protected]>
  • Loading branch information
christoph-jerolimov committed Dec 6, 2024
1 parent 284593e commit 53b506c
Show file tree
Hide file tree
Showing 5 changed files with 517 additions and 121 deletions.
5 changes: 5 additions & 0 deletions workspaces/theme/.changeset/sour-bears-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-theme': patch
---

fix `style-inject`(ion) issue with the published package by updating @backstage/cli to a version that includes https://github.com/backstage/backstage/pull/27547
2 changes: 1 addition & 1 deletion workspaces/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"directory": "workspaces/theme"
},
"devDependencies": {
"@backstage/cli": "^0.28.0",
"@backstage/cli": "^0.29.2",
"@backstage/e2e-test-utils": "^0.1.1",
"@backstage/repo-tools": "^0.10.0",
"@changesets/cli": "^2.27.1",
Expand Down
20 changes: 0 additions & 20 deletions workspaces/theme/plugins/theme/fix-style-inject-imports.sh

This file was deleted.

2 changes: 1 addition & 1 deletion workspaces/theme/plugins/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build && ./fix-style-inject-imports.sh",
"build": "backstage-cli package build",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test",
"clean": "backstage-cli package clean",
Expand Down
Loading

0 comments on commit 53b506c

Please sign in to comment.