Skip to content

Commit

Permalink
Fix backstage metadata in package.json
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Lazarev <w@kich.dev>
  • Loading branch information
wKich committed Jul 30, 2024
1 parent 98f02fd commit ca6ac80
Show file tree
Hide file tree
Showing 15 changed files with 96 additions and 15 deletions.
1 change: 1 addition & 0 deletions packages/ingestion-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@frontside/backstage-ingestion-tests",
"version": "0.7.1",
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
Expand Down
1 change: 1 addition & 0 deletions plugins/batch-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"backstage": {
"role": "common-library"
},
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
Expand Down
7 changes: 6 additions & 1 deletion plugins/effection-inspector-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "effection-inspector",
"pluginPackages": [
"@frontside/backstage-plugin-effection-inspector",
"@frontside/backstage-plugin-effection-inspector-backend"
]
},
"scripts": {
"start": "backstage-cli package start",
Expand Down
8 changes: 7 additions & 1 deletion plugins/effection-inspector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "frontend-plugin"
"role": "frontend-plugin",
"pluginId": "effection-inspector",
"pluginPackages": [
"@frontside/backstage-plugin-effection-inspector",
"@frontside/backstage-plugin-effection-inspector-backend"
]
},
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
Expand Down
25 changes: 21 additions & 4 deletions plugins/graphql-backend-module-catalog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,35 @@
"types": "src/index.ts",
"license": "Apache-2.0",
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts"
"access": "public"
},
"exports": {
".": "./src/index.ts",
"./catalog.graphql": "./src/catalog/catalog.graphql",
"./relation.graphql": "./src/relation/relation.graphql",
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"catalog.graphql": [
"src/catalog/catalog.graphql"
],
"relation.graphql": [
"src/relation/relation.graphql"
],
"package.json": [
"package.json"
]
}
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "graphql",
"pluginPackages": [
"@frontside/backstage-plugin-graphql-backend",
"@frontside/backstage-plugin-graphql-backend-module-catalog",
"@frontside/backstage-plugin-graphql-backend-node"
]
},
"homepage": "https://frontside.com",
"repository": {
Expand Down
8 changes: 7 additions & 1 deletion plugins/graphql-backend-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "graphql",
"pluginPackages": [
"@frontside/backstage-plugin-graphql-backend",
"@frontside/backstage-plugin-graphql-backend-module-catalog",
"@frontside/backstage-plugin-graphql-backend-node"
]
},
"homepage": "https://frontside.com",
"repository": {
Expand Down
8 changes: 7 additions & 1 deletion plugins/graphql-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "graphql",
"pluginPackages": [
"@frontside/backstage-plugin-graphql-backend",
"@frontside/backstage-plugin-graphql-backend-module-catalog",
"@frontside/backstage-plugin-graphql-backend-node"
]
},
"homepage": "https://frontside.com",
"repository": {
Expand Down
6 changes: 5 additions & 1 deletion plugins/healthcheck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "healthcheck",
"pluginPackages": [
"@internal/plugin-healthcheck"
]
},
"scripts": {
"start": "backstage-cli package start",
Expand Down
8 changes: 7 additions & 1 deletion plugins/humanitec-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "humanitec",
"pluginPackages": [
"@frontside/backstage-plugin-humanitec",
"@frontside/backstage-plugin-humanitec-backend",
"@frontside/backstage-plugin-humanitec-common"
]
},
"scripts": {
"start": "backstage-cli package start",
Expand Down
9 changes: 8 additions & 1 deletion plugins/humanitec-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "common-library"
"role": "common-library",
"pluginId": "humanitec",
"pluginPackages": [
"@frontside/backstage-plugin-humanitec",
"@frontside/backstage-plugin-humanitec-backend",
"@frontside/backstage-plugin-humanitec-common"
]
},
"sideEffects": false,
"scripts": {
"build": "backstage-cli package build",
"lint": "backstage-cli package lint",
Expand Down
9 changes: 8 additions & 1 deletion plugins/humanitec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "frontend-plugin"
"role": "frontend-plugin",
"pluginId": "humanitec",
"pluginPackages": [
"@frontside/backstage-plugin-humanitec",
"@frontside/backstage-plugin-humanitec-backend",
"@frontside/backstage-plugin-humanitec-common"
]
},
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
Expand Down
7 changes: 6 additions & 1 deletion plugins/incremental-ingestion-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "incremental-ingestion",
"pluginPackages": [
"@frontside/backstage-plugin-incremental-ingestion-backend",
"@frontside/backstage-plugin-incremental-ingestion-github"
]
},
"scripts": {
"start": "backstage-cli package start",
Expand Down
7 changes: 6 additions & 1 deletion plugins/incremental-ingestion-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin"
"role": "backend-plugin",
"pluginId": "incremental-ingestion",
"pluginPackages": [
"@frontside/backstage-plugin-incremental-ingestion-backend",
"@frontside/backstage-plugin-incremental-ingestion-github"
]
},
"scripts": {
"start": "backstage-cli package start",
Expand Down
1 change: 1 addition & 0 deletions plugins/scaffolder-frontend-workflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"backstage": {
"role": "web-library"
},
"sideEffects": false,
"scripts": {
"start": "backstage-cli package start",
"build": "backstage-cli package build",
Expand Down
6 changes: 5 additions & 1 deletion plugins/scaffolder-yaml-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "backend-plugin-module"
"role": "node-library",
"pluginId": "scaffolder",
"pluginPackages": [
"@frontside/scaffolder-yaml-actions"
]
},
"scripts": {
"start": "backstage-cli package start",
Expand Down

0 comments on commit ca6ac80

Please sign in to comment.