From b6df34e40222d2cd47e1712f7cca606392cf3a73 Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Fri, 16 Feb 2024 15:52:31 -0600 Subject: [PATCH] Package json deconstructed creating a new file containing only the version Signed-off-by: armandocomellas1 --- plugins/gcp-projects/src/api/GcpClient.ts | 2 +- plugins/gcp-projects/version.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 plugins/gcp-projects/version.json diff --git a/plugins/gcp-projects/src/api/GcpClient.ts b/plugins/gcp-projects/src/api/GcpClient.ts index e9375bcfa6..2b102dbd93 100644 --- a/plugins/gcp-projects/src/api/GcpClient.ts +++ b/plugins/gcp-projects/src/api/GcpClient.ts @@ -17,7 +17,7 @@ import { GcpApi } from './GcpApi'; import { Operation, Project } from './types'; import { OAuthApi } from '@backstage/core-plugin-api'; -import packageinfo from '../../package.json'; +import packageinfo from '../../version.json'; const BASE_URL = 'https://content-cloudresourcemanager.googleapis.com/v1/projects'; diff --git a/plugins/gcp-projects/version.json b/plugins/gcp-projects/version.json new file mode 100644 index 0000000000..11e109a959 --- /dev/null +++ b/plugins/gcp-projects/version.json @@ -0,0 +1,3 @@ +{ + "version": "0.3.46-next.1" +}