Skip to content

Commit

Permalink
Merge branch 'main' into chore/update-langchain-dependencies-of-rag-a…
Browse files Browse the repository at this point in the history
…i-plugins
  • Loading branch information
szajcz authored Jul 26, 2024
2 parents 15b3c46 + c5af1c5 commit 75a4e33
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions plugins/frontend/backstage-plugin-buildkite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @roadiehq/backstage-plugin-buildkite

## 2.3.0

### Minor Changes

- b98545b: To be more consistent with the character casing used throughout the rest of the plugin's exports, the API ref is now exported as `buildkiteApiRef` (rather than `buildKiteApiRef`). To preserve backwards compatibility, the original export, `buildKiteApiRef`, is also exported.

## 2.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion plugins/frontend/backstage-plugin-buildkite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@roadiehq/backstage-plugin-buildkite",
"version": "2.2.0",
"version": "2.3.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
Expand Down
6 changes: 5 additions & 1 deletion plugins/frontend/backstage-plugin-buildkite/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ import {
FetchApi,
} from '@backstage/core-plugin-api';

export const buildKiteApiRef = createApiRef<BuildkiteApi>({
export const buildkiteApiRef = createApiRef<BuildkiteApi>({
id: 'plugin.buildkite.service',
});

// buildKiteApiRef preserves backwards compatibility; the API ref
// was originally exported as buildKiteApiRef.
export const buildKiteApiRef = buildkiteApiRef;

const DEFAULT_PROXY_PATH = '/buildkite/api';

type Options = {
Expand Down
4 changes: 2 additions & 2 deletions plugins/frontend/backstage-plugin-buildkite/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
createRouteRef,
createRoutableExtension,
} from '@backstage/core-plugin-api';
import { buildKiteApiRef, BuildkiteApi } from './api';
import { buildkiteApiRef, BuildkiteApi } from './api';

export const rootRouteRef = createRouteRef({
id: 'buildkite',
Expand All @@ -40,7 +40,7 @@ export const buildkitePlugin = createPlugin({
id: 'buildkite',
apis: [
createApiFactory({
api: buildKiteApiRef,
api: buildkiteApiRef,
deps: {
discoveryApi: discoveryApiRef,
fetchApi: fetchApiRef,
Expand Down

0 comments on commit 75a4e33

Please sign in to comment.