@opensource-sig/backstage-plugin-innersource
TypeScript icon, indicating that this package has built-in type declarations

1.6.1 • Public • Published

InnerSource

Welcome to the InnerSource plugin!

This plugin was created through the Backstage CLI

Getting started

Your plugin has been added to the example app in this repository, meaning you'll be able to access it by running yarn start in the root directory, and then navigating to /innersource.

You can also serve the plugin in isolation by running yarn start in the plugin directory. This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads. It is only meant for local development, and the setup for it can be found inside the /dev directory.

Installation

Add the plugin to your frontend app:

  yarn workspace app add @opensource-sig/backstage-plugin-innersource

Expose the Synergy page:

// packages/app/src/App.tsx
import { SynergyPage } from '@opensource-sig/backstage-plugin-innersource';

// ...

const AppRoutes = () => (
  <FlatRoutes>
    // ...
    <Route path="/innersource" element={<SynergyPage />} />
    // ...
  </FlatRoutes>
);

Add the navigation in the frontend:

// packages/app/src/components/Root/Root.tsx
import DeviceHubOutlined from '@material-ui/icons/DeviceHubOutlined';
// ...
export const Root = ({ children }: PropsWithChildren<{}>) => (
  <SidebarPage>
    // ...
    <SidebarItem icon={DeviceHubOutlined} to="innersource" text="Synergy" />
    // ...
  </SidebarPage>
);

Configuration

The following configuration options are available for your app-config.yaml:

innersource:
  provider:
    github:
      hideIssues: <Optional true/false. Refer details below.>

The configuration values are:

  • provider.github.hideIssues
    • Type: boolean
    • Required: No
    • Details: Boolean indicating whether to hide the issues tab (e.g., when Issues not used in GitHub projects). Default is false. If true, only the project list and details (README & Contributing Guidelines) will be available, as other views depend on issues.

Package Sidebar

Install

npm i @opensource-sig/backstage-plugin-innersource

Weekly Downloads

140

Version

1.6.1

License

Apache-2.0

Unpacked Size

108 kB

Total Files

40

Last publish

Collaborators

  • brigade-b0t