Skip to content

Commit c80ac05

Browse files
backstage-servicegithub-actions[bot]awanlin
authored
gcp-projects - version:bump to v1.49.2 (#8243)
* v1.49.2 version bump * fix(gcp-projects): apply v1.49.2 migration changes Signed-off-by: Andre Wanlin <[email protected]> --------- Signed-off-by: Andre Wanlin <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Andre Wanlin <[email protected]>
1 parent 7a23813 commit c80ac05

File tree

10 files changed

+1896
-688
lines changed

10 files changed

+1896
-688
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage-community/plugin-gcp-projects': minor
3+
---
4+
5+
Backstage version bump to v1.49.2

workspaces/gcp-projects/.yarn/plugins/@yarnpkg/plugin-backstage.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
plugins:
2-
- checksum: b3b00465cee9a55ea92b7555876084a6dbfb4b9dd2ce7617a0bca1c138dec6b33befabdff7f4035b2a2ad70d59a05dad3a8faf3a34d3bec21fa7949a497fdf48
2+
- checksum: 05b51f75814596aa3e15b296af3287240351c8b7f1df1e05c2ceedf7f3820627759605825fd932f1f7c3c3287b61b16f9e8195b0927a0f80345493f81376947a
33
path: .yarn/plugins/@yarnpkg/plugin-backstage.cjs
4-
spec: 'https://versions.backstage.io/v1/releases/1.48.2/yarn-plugin'
4+
spec: 'https://versions.backstage.io/v1/releases/1.49.2/yarn-plugin'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "1.48.2"
2+
"version": "1.49.2"
33
}

workspaces/gcp-projects/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@
3737
},
3838
"devDependencies": {
3939
"@backstage/cli": "backstage:^",
40+
"@backstage/cli-defaults": "backstage:^",
4041
"@backstage/e2e-test-utils": "backstage:^",
4142
"@backstage/repo-tools": "backstage:^",
4243
"@changesets/cli": "^2.27.1",
4344
"knip": "^5.27.4",
4445
"node-gyp": "^10.0.0",
4546
"prettier": "^2.3.2",
46-
"typescript": "~5.3.0"
47+
"typescript": "~5.8.0"
4748
},
4849
"resolutions": {
4950
"@types/react": "^18",

workspaces/gcp-projects/plugins/gcp-projects/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"dependencies": {
4444
"@backstage/core-components": "backstage:^",
4545
"@backstage/core-plugin-api": "backstage:^",
46+
"@backstage/frontend-plugin-api": "backstage:^",
4647
"@material-ui/core": "^4.12.2",
4748
"@react-hookz/web": "^25.0.0",
4849
"@types/react": "^16.13.1 || ^17.0.0"

workspaces/gcp-projects/plugins/gcp-projects/report.api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ export type GcpApi = {
2020
};
2121

2222
// @public (undocumented)
23-
export const gcpApiRef: ApiRef<GcpApi>;
23+
export const gcpApiRef: ApiRef<GcpApi, 'plugin.gcpprojects.service'> & {
24+
readonly $$type: '@backstage/ApiRef';
25+
};
2426

2527
// @public (undocumented)
2628
export class GcpClient implements GcpApi {

workspaces/gcp-projects/plugins/gcp-projects/src/api/GcpApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
*/
1616

1717
import { Project, Operation } from './types';
18-
import { createApiRef } from '@backstage/core-plugin-api';
18+
import { createApiRef } from '@backstage/frontend-plugin-api';
1919

2020
/** @public */
21-
export const gcpApiRef = createApiRef<GcpApi>({
21+
export const gcpApiRef = createApiRef<GcpApi>().with({
2222
id: 'plugin.gcpprojects.service',
2323
});
2424

workspaces/gcp-projects/plugins/gcp-projects/src/plugin.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import packageinfo from '../package.json';
2121

2222
describe('gcp-projects', () => {
2323
let sut: GcpClient;
24-
let googleAuthApi: OAuthApi;
24+
let googleAuthApi!: OAuthApi;
2525
beforeEach(() => {
2626
sut = new GcpClient(googleAuthApi);
2727
});

0 commit comments

Comments
 (0)