From 21132007c4b14a26341d67fd3630488d07eb71fc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 18 Feb 2024 22:12:44 +0000 Subject: [PATCH] Version Packages --- .changeset/slimy-cooks-relate.md | 24 ----------------- .../CHANGELOG.md | 27 +++++++++++++++++++ .../package.json | 4 +-- plugins/graphql-backend/CHANGELOG.md | 24 +++++++++++++++++ plugins/graphql-backend/package.json | 2 +- 5 files changed, 54 insertions(+), 27 deletions(-) delete mode 100644 .changeset/slimy-cooks-relate.md diff --git a/.changeset/slimy-cooks-relate.md b/.changeset/slimy-cooks-relate.md deleted file mode 100644 index 8a358399ca..0000000000 --- a/.changeset/slimy-cooks-relate.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -'@frontside/backstage-plugin-graphql-backend-module-catalog': patch -'@frontside/backstage-plugin-graphql-backend': patch ---- - -Make module default exports to allow using import syntax - -This change allows to use import syntax to load modules - -```diff -import { createBackend } from '@backstage/backend-defaults'; --import { graphqlPlugin } from '@frontside/backstage-plugin-graphql-backend'; --import { graphqlModuleCatalog } from '@frontside/backstage-plugin-graphql-backend-module-catalog'; - -const backend = createBackend(); - - --backend.add(graphqlPlugin()); -+backend.add(import('@frontside/backstage-plugin-graphql-backend')); --backend.add(graphqlModuleCatalog()); -+backend.add(import('@frontside/backstage-plugin-graphql-backend-module-catalog')); - -backend.start(); -``` diff --git a/plugins/graphql-backend-module-catalog/CHANGELOG.md b/plugins/graphql-backend-module-catalog/CHANGELOG.md index 4c0084a7f8..6172b08e9e 100644 --- a/plugins/graphql-backend-module-catalog/CHANGELOG.md +++ b/plugins/graphql-backend-module-catalog/CHANGELOG.md @@ -1,5 +1,32 @@ # @frontside/backstage-plugin-graphql-backend-module-catalog +## 0.2.5 + +### Patch Changes + +- fb0e84d: Make module default exports to allow using import syntax + + This change allows to use import syntax to load modules + + ```diff + import { createBackend } from '@backstage/backend-defaults'; + -import { graphqlPlugin } from '@frontside/backstage-plugin-graphql-backend'; + -import { graphqlModuleCatalog } from '@frontside/backstage-plugin-graphql-backend-module-catalog'; + + const backend = createBackend(); + + + -backend.add(graphqlPlugin()); + +backend.add(import('@frontside/backstage-plugin-graphql-backend')); + -backend.add(graphqlModuleCatalog()); + +backend.add(import('@frontside/backstage-plugin-graphql-backend-module-catalog')); + + backend.start(); + ``` + +- Updated dependencies [fb0e84d] + - @frontside/backstage-plugin-graphql-backend@0.1.6 + ## 0.2.4 ### Patch Changes diff --git a/plugins/graphql-backend-module-catalog/package.json b/plugins/graphql-backend-module-catalog/package.json index 14cdf568e9..d6272b8f59 100644 --- a/plugins/graphql-backend-module-catalog/package.json +++ b/plugins/graphql-backend-module-catalog/package.json @@ -1,7 +1,7 @@ { "name": "@frontside/backstage-plugin-graphql-backend-module-catalog", "description": "Backstage GraphQL backend module that adds catalog schema", - "version": "0.2.4", + "version": "0.2.5", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -46,7 +46,7 @@ "@backstage/catalog-model": "^1.4.3", "@backstage/plugin-auth-node": "^0.4.1", "@backstage/plugin-catalog-node": "^1.5.0", - "@frontside/backstage-plugin-graphql-backend": "^0.1.5", + "@frontside/backstage-plugin-graphql-backend": "^0.1.6", "@frontside/hydraphql": "^0.1.2", "@graphql-tools/load-files": "^7.0.0", "@graphql-tools/utils": "^10.0.0", diff --git a/plugins/graphql-backend/CHANGELOG.md b/plugins/graphql-backend/CHANGELOG.md index f764dc8345..7404a394c7 100644 --- a/plugins/graphql-backend/CHANGELOG.md +++ b/plugins/graphql-backend/CHANGELOG.md @@ -1,5 +1,29 @@ # @frontside/backstage-plugin-graphql-backend +## 0.1.6 + +### Patch Changes + +- fb0e84d: Make module default exports to allow using import syntax + + This change allows to use import syntax to load modules + + ```diff + import { createBackend } from '@backstage/backend-defaults'; + -import { graphqlPlugin } from '@frontside/backstage-plugin-graphql-backend'; + -import { graphqlModuleCatalog } from '@frontside/backstage-plugin-graphql-backend-module-catalog'; + + const backend = createBackend(); + + + -backend.add(graphqlPlugin()); + +backend.add(import('@frontside/backstage-plugin-graphql-backend')); + -backend.add(graphqlModuleCatalog()); + +backend.add(import('@frontside/backstage-plugin-graphql-backend-module-catalog')); + + backend.start(); + ``` + ## 0.1.5 ### Patch Changes diff --git a/plugins/graphql-backend/package.json b/plugins/graphql-backend/package.json index 33195c9dca..63e5abf96a 100644 --- a/plugins/graphql-backend/package.json +++ b/plugins/graphql-backend/package.json @@ -1,7 +1,7 @@ { "name": "@frontside/backstage-plugin-graphql-backend", "description": "Backstage backend plugin for GraphQL", - "version": "0.1.5", + "version": "0.1.6", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0",