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
10 changes: 10 additions & 0 deletions workspaces/orchestrator/.changeset/warm-pugs-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@red-hat-developer-hub/backstage-plugin-scaffolder-backend-module-orchestrator': patch
'@red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets': patch
'@red-hat-developer-hub/backstage-plugin-orchestrator-backend': patch
'@red-hat-developer-hub/backstage-plugin-orchestrator': patch
---

Replace deprecated `@janus-idp/cli` with `@red-hat-developer-hub/cli` for dynamic plugin exports.

**Potential Breaking change for frontend plugins build systems:** The `--in-place` flag is no longer used. Frontend plugins now build to `dist-dynamic` instead of `dist-scalprum`. The plugin content remains the same, only the output directory has changed.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
"files": [
"app-config.yaml",
"dist",
"dist-dynamic/*.*",
"dist-dynamic/dist/**",
"static"
],
"scripts": {
Expand All @@ -59,7 +57,7 @@
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"export-dynamic": "janus-cli package export-dynamic-plugin"
"export-dynamic": "rhdh-cli plugin export"
},
"dependencies": {
"@backstage/backend-defaults": "^0.13.1",
Expand Down Expand Up @@ -91,7 +89,7 @@
"@backstage/backend-test-utils": "^1.10.0",
"@backstage/cli": "^0.34.5",
"@janus-idp/backstage-plugin-audit-log-node": "^1.7.1",
"@janus-idp/cli": "3.6.1",
"@red-hat-developer-hub/cli": "^1.9.1",
"@types/express": "4.17.25",
"@types/fs-extra": "11.0.4",
"@types/json-schema": "7.0.15",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place"
"export-dynamic": "rhdh-cli plugin export"
},
"dependencies": {
"@backstage/core-components": "^0.18.3",
Expand Down Expand Up @@ -82,7 +82,7 @@
"@backstage/core-app-api": "^1.19.2",
"@backstage/dev-utils": "^1.1.17",
"@backstage/test-utils": "^1.7.13",
"@janus-idp/cli": "3.6.1",
"@red-hat-developer-hub/cli": "^1.9.1",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.0.0",
Expand All @@ -94,7 +94,6 @@
},
"files": [
"app-config.yaml",
"dist",
"dist-scalprum"
"dist"
]
}
7 changes: 3 additions & 4 deletions workspaces/orchestrator/plugins/orchestrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
],
"files": [
"app-config.yaml",
"dist",
"dist-scalprum"
"dist"
],
"sideEffects": false,
"scripts": {
Expand All @@ -49,7 +48,7 @@
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"export-dynamic": "janus-cli package export-dynamic-plugin --in-place"
"export-dynamic": "rhdh-cli plugin export"
},
"dependencies": {
"@backstage/core-components": "^0.18.3",
Expand Down Expand Up @@ -78,10 +77,10 @@
"@backstage/cli": "^0.34.5",
"@backstage/dev-utils": "^1.1.17",
"@backstage/test-utils": "^1.7.13",
"@janus-idp/cli": "3.6.1",
"@mui/icons-material": "^5.17.1",
"@mui/material": "^5.17.1",
"@red-hat-developer-hub/backstage-plugin-theme": "^0.10.0",
"@red-hat-developer-hub/cli": "^1.9.1",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^15.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"prettier:fix": "prettier --ignore-unknown --write .",
"lint:check": "backstage-cli package lint",
"lint:fix": "backstage-cli package lint --fix",
"export-dynamic": "janus-cli package export-dynamic-plugin --embed-package '@red-hat-developer-hub/backstage-plugin-orchestrator-common'"
"export-dynamic": "rhdh-cli plugin export --embed-package @red-hat-developer-hub/backstage-plugin-orchestrator-common"
},
"dependencies": {
"@backstage/backend-plugin-api": "^1.5.0",
Expand All @@ -67,15 +67,13 @@
"devDependencies": {
"@backstage/cli": "^0.34.5",
"@backstage/plugin-scaffolder-node-test-utils": "^0.3.5",
"@janus-idp/cli": "3.6.1",
"@red-hat-developer-hub/cli": "^1.9.1",
"@spotify/prettier-config": "^15.0.0",
"@types/js-yaml": "^4.0.0"
},
"files": [
"app-config.yaml",
"dist",
"dist-dynamic/*.*",
"dist-dynamic/dist/**",
"static"
],
"maintainers": [
Expand Down
Loading
Loading