Skip to content

Commit 5b90f96

Browse files
authored
chore(orchestrator): resolve dependencies issue (#149)
1 parent d342ac4 commit 5b90f96

File tree

9 files changed

+19
-28
lines changed

9 files changed

+19
-28
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@red-hat-developer-hub/backstage-plugin-orchestrator-backend': patch
3+
'@red-hat-developer-hub/backstage-plugin-orchestrator-common': patch
4+
---
5+
6+
resolve dependency issues

workspaces/orchestrator/plugins/orchestrator-backend/__fixtures__/mockComposedGreetingWorfklow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
import type { JsonObject } from '@backstage/types';
1717

18-
import { JSONSchema7 } from 'json-schema';
18+
import type { JSONSchema7 } from 'json-schema';
1919

2020
import { WorkflowDefinition } from '@red-hat-developer-hub/backstage-plugin-orchestrator-common';
2121

workspaces/orchestrator/plugins/orchestrator-backend/__fixtures__/mockGreetingWorkflowData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
import type { JsonObject } from '@backstage/types';
1717

18-
import { JSONSchema7 } from 'json-schema';
18+
import type { JSONSchema7 } from 'json-schema';
1919

2020
import { WorkflowDefinition } from '@red-hat-developer-hub/backstage-plugin-orchestrator-common';
2121

workspaces/orchestrator/plugins/orchestrator-backend/__fixtures__/mockSpringBootWorkflowData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import { JSONSchema7 } from 'json-schema';
16+
import type { JSONSchema7 } from 'json-schema';
1717

1818
import { WorkflowDefinition } from '@red-hat-developer-hub/backstage-plugin-orchestrator-common';
1919

workspaces/orchestrator/plugins/orchestrator-backend/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
"express-promise-router": "^4.1.1",
8686
"fs-extra": "^10.1.0",
8787
"isomorphic-git": "^1.23.0",
88-
"json-schema": "^0.4.0",
8988
"moment": "^2.29.4",
9089
"openapi-backend": "^5.10.5",
9190
"yn": "^5.0.0"

workspaces/orchestrator/plugins/orchestrator-common/package.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,24 +56,18 @@
5656
"openapi:generate": "./scripts/openapi.sh generate",
5757
"openapi:check": "./scripts/openapi.sh check"
5858
},
59-
"peerDependencies": {
59+
"dependencies": {
6060
"@backstage/plugin-permission-common": "^0.8.1",
61-
"@backstage/types": "^1.1.1",
6261
"@severlessworkflow/sdk-typescript": "^3.0.3",
6362
"axios": "^1.7.4",
6463
"js-yaml": "^4.1.0"
6564
},
6665
"devDependencies": {
6766
"@backstage/cli": "0.28.2",
68-
"@backstage/plugin-permission-common": "^0.8.1",
69-
"@backstage/types": "1.1.1",
67+
"@backstage/types": "^1.1.1",
7068
"@openapitools/openapi-generator-cli": "2.13.4",
71-
"@severlessworkflow/sdk-typescript": "3.0.3",
72-
"axios": "^1.7.4",
73-
"js-yaml": "^4.1.0",
74-
"js-yaml-cli": "0.6.0",
75-
"json-schema": "0.4.0",
76-
"prettier": "3.3.3"
69+
"@types/json-schema": "7.0.15",
70+
"js-yaml-cli": "0.6.0"
7771
},
7872
"maintainers": [
7973
"@mlibra",

workspaces/orchestrator/plugins/orchestrator-form-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
},
2929
"dependencies": {
3030
"@backstage/core-plugin-api": "^1.10.0",
31-
"@backstage/types": "^1.1.1",
3231
"@rjsf/core": "^5.21.2",
3332
"@rjsf/utils": "^5.21.2"
3433
},
@@ -37,6 +36,7 @@
3736
},
3837
"devDependencies": {
3938
"@backstage/cli": "0.28.2",
39+
"@backstage/types": "^1.1.1",
4040
"@types/json-schema": "7.0.15",
4141
"@types/react": "^18.2.58",
4242
"prettier": "3.3.3",

workspaces/orchestrator/plugins/orchestrator-form-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"dependencies": {
3636
"@backstage/core-components": "^0.15.1",
3737
"@backstage/core-plugin-api": "^1.10.0",
38-
"@backstage/types": "^1.1.1",
3938
"@material-ui/core": "^4.12.4",
4039
"@red-hat-developer-hub/backstage-plugin-orchestrator-form-api": "workspace:^",
4140
"@rjsf/core": "^5.21.2",
@@ -50,6 +49,7 @@
5049
},
5150
"devDependencies": {
5251
"@backstage/cli": "0.28.2",
52+
"@backstage/types": "^1.1.1",
5353
"@types/json-schema": "7.0.15",
5454
"@types/lodash": "^4.14.151",
5555
"@types/react": "^18.2.58",

workspaces/orchestrator/yarn.lock

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11955,7 +11955,6 @@ __metadata:
1195511955
express-promise-router: ^4.1.1
1195611956
fs-extra: ^10.1.0
1195711957
isomorphic-git: ^1.23.0
11958-
json-schema: ^0.4.0
1195911958
moment: ^2.29.4
1196011959
openapi-backend: ^5.10.5
1196111960
prettier: 3.3.3
@@ -11971,21 +11970,14 @@ __metadata:
1197111970
resolution: "@red-hat-developer-hub/backstage-plugin-orchestrator-common@workspace:plugins/orchestrator-common"
1197211971
dependencies:
1197311972
"@backstage/cli": 0.28.2
11974-
"@backstage/plugin-permission-common": ^0.8.1
11975-
"@backstage/types": 1.1.1
11976-
"@openapitools/openapi-generator-cli": 2.13.4
11977-
"@severlessworkflow/sdk-typescript": 3.0.3
11978-
axios: ^1.7.4
11979-
js-yaml: ^4.1.0
11980-
js-yaml-cli: 0.6.0
11981-
json-schema: 0.4.0
11982-
prettier: 3.3.3
11983-
peerDependencies:
1198411973
"@backstage/plugin-permission-common": ^0.8.1
1198511974
"@backstage/types": ^1.1.1
11975+
"@openapitools/openapi-generator-cli": 2.13.4
1198611976
"@severlessworkflow/sdk-typescript": ^3.0.3
11977+
"@types/json-schema": 7.0.15
1198711978
axios: ^1.7.4
1198811979
js-yaml: ^4.1.0
11980+
js-yaml-cli: 0.6.0
1198911981
languageName: unknown
1199011982
linkType: soft
1199111983

@@ -12599,7 +12591,7 @@ __metadata:
1259912591
languageName: node
1260012592
linkType: hard
1260112593

12602-
"@severlessworkflow/sdk-typescript@npm:3.0.3, @severlessworkflow/sdk-typescript@npm:^3.0.3":
12594+
"@severlessworkflow/sdk-typescript@npm:^3.0.3":
1260312595
version: 3.0.3
1260412596
resolution: "@severlessworkflow/sdk-typescript@npm:3.0.3"
1260512597
dependencies:

0 commit comments

Comments
 (0)