From cf21ebc55907967ea456f8b2b1a1a00a8b544b36 Mon Sep 17 00:00:00 2001 From: Himanshu Mishra Date: Tue, 5 Oct 2021 09:46:09 +0200 Subject: [PATCH 1/4] graphql: Add -backend suffix to the plugin directory plugins/graphql is a backend plugin published at @backstage/plugin-graphql-backend When exploring the repository, I got confused to find only plugins/graphql since backend plugins are supposed to have the -backend suffix Signed-off-by: Himanshu Mishra --- plugins/{graphql => graphql-backend}/.eslintrc.js | 0 plugins/{graphql => graphql-backend}/CHANGELOG.md | 0 plugins/{graphql => graphql-backend}/README.md | 0 plugins/{graphql => graphql-backend}/api-report.md | 0 plugins/{graphql => graphql-backend}/package.json | 0 plugins/{graphql => graphql-backend}/schema.gql | 0 plugins/{graphql => graphql-backend}/src/index.ts | 0 plugins/{graphql => graphql-backend}/src/service/router.test.ts | 0 plugins/{graphql => graphql-backend}/src/service/router.ts | 0 plugins/{graphql => graphql-backend}/src/setupTests.ts | 0 10 files changed, 0 insertions(+), 0 deletions(-) rename plugins/{graphql => graphql-backend}/.eslintrc.js (100%) rename plugins/{graphql => graphql-backend}/CHANGELOG.md (100%) rename plugins/{graphql => graphql-backend}/README.md (100%) rename plugins/{graphql => graphql-backend}/api-report.md (100%) rename plugins/{graphql => graphql-backend}/package.json (100%) rename plugins/{graphql => graphql-backend}/schema.gql (100%) rename plugins/{graphql => graphql-backend}/src/index.ts (100%) rename plugins/{graphql => graphql-backend}/src/service/router.test.ts (100%) rename plugins/{graphql => graphql-backend}/src/service/router.ts (100%) rename plugins/{graphql => graphql-backend}/src/setupTests.ts (100%) diff --git a/plugins/graphql/.eslintrc.js b/plugins/graphql-backend/.eslintrc.js similarity index 100% rename from plugins/graphql/.eslintrc.js rename to plugins/graphql-backend/.eslintrc.js diff --git a/plugins/graphql/CHANGELOG.md b/plugins/graphql-backend/CHANGELOG.md similarity index 100% rename from plugins/graphql/CHANGELOG.md rename to plugins/graphql-backend/CHANGELOG.md diff --git a/plugins/graphql/README.md b/plugins/graphql-backend/README.md similarity index 100% rename from plugins/graphql/README.md rename to plugins/graphql-backend/README.md diff --git a/plugins/graphql/api-report.md b/plugins/graphql-backend/api-report.md similarity index 100% rename from plugins/graphql/api-report.md rename to plugins/graphql-backend/api-report.md diff --git a/plugins/graphql/package.json b/plugins/graphql-backend/package.json similarity index 100% rename from plugins/graphql/package.json rename to plugins/graphql-backend/package.json diff --git a/plugins/graphql/schema.gql b/plugins/graphql-backend/schema.gql similarity index 100% rename from plugins/graphql/schema.gql rename to plugins/graphql-backend/schema.gql diff --git a/plugins/graphql/src/index.ts b/plugins/graphql-backend/src/index.ts similarity index 100% rename from plugins/graphql/src/index.ts rename to plugins/graphql-backend/src/index.ts diff --git a/plugins/graphql/src/service/router.test.ts b/plugins/graphql-backend/src/service/router.test.ts similarity index 100% rename from plugins/graphql/src/service/router.test.ts rename to plugins/graphql-backend/src/service/router.test.ts diff --git a/plugins/graphql/src/service/router.ts b/plugins/graphql-backend/src/service/router.ts similarity index 100% rename from plugins/graphql/src/service/router.ts rename to plugins/graphql-backend/src/service/router.ts diff --git a/plugins/graphql/src/setupTests.ts b/plugins/graphql-backend/src/setupTests.ts similarity index 100% rename from plugins/graphql/src/setupTests.ts rename to plugins/graphql-backend/src/setupTests.ts From 3b5d4942131416e016bc3ff04a838c66fb54e6ad Mon Sep 17 00:00:00 2001 From: Himanshu Mishra Date: Tue, 5 Oct 2021 09:46:43 +0200 Subject: [PATCH 2/4] docs: update link to plugins/graphql-backend Signed-off-by: Himanshu Mishra --- docs/overview/stability-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/overview/stability-index.md b/docs/overview/stability-index.md index 963b476aa2..a79bcd6e11 100644 --- a/docs/overview/stability-index.md +++ b/docs/overview/stability-index.md @@ -279,7 +279,7 @@ Integrates GraphiQL as a tool to browse GraphQL API endpoints inside Backstage. Stability: `1` -### `graphql` [GitHub](https://github.com/backstage/backstage/tree/master/plugins/graphql/) +### `graphql` [GitHub](https://github.com/backstage/backstage/tree/master/plugins/graphql-backend/) A backend plugin that provides From b43149d59473425ebd5d92e183a8198e306513d9 Mon Sep 17 00:00:00 2001 From: blam Date: Wed, 6 Oct 2021 13:18:10 +0200 Subject: [PATCH 3/4] bug: bump the cache so the build passes Signed-off-by: blam --- plugins/graphql-backend/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/graphql-backend/package.json b/plugins/graphql-backend/package.json index e6bfe39215..e87bd52934 100644 --- a/plugins/graphql-backend/package.json +++ b/plugins/graphql-backend/package.json @@ -5,6 +5,7 @@ "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", + "private": false, "publishConfig": { "access": "public", "main": "dist/index.cjs.js", From 7dc92d6c77aa4786cb848c35ad277d0764a5bfa3 Mon Sep 17 00:00:00 2001 From: blam Date: Wed, 6 Oct 2021 13:36:42 +0200 Subject: [PATCH 4/4] chore: updating doc links Signed-off-by: blam --- plugins/catalog-graphql/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-graphql/README.md b/plugins/catalog-graphql/README.md index 911d4a401c..e05672e3a5 100644 --- a/plugins/catalog-graphql/README.md +++ b/plugins/catalog-graphql/README.md @@ -6,6 +6,6 @@ This is the Catalog GraphQL plugin. It provides the `catalog` part of the GraphQL schema. -To register it with the GraphQL backend, be sure to follow the [Getting Started](../graphql/README.md#getting-started) guide of the GraphQL plugin. +To register it with the GraphQL backend, be sure to follow the [Getting Started](../graphql-backend/README.md#getting-started) guide of the GraphQL plugin.