Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
57 lines (46 loc) · 1.61 KB

CONTRIBUTING.md

File metadata and controls

57 lines (46 loc) · 1.61 KB

Contributing to the Backstage GitHub Releases AutoGov Plugin

Local Testing

  1. build & package the plugins

build & package individually for isolated local testing

yarn install
yarn tsc
cd backstage-plugin-github-releases-autogov
yarn build
yarn pack
cd ..
yarn install
yarn tsc
cd backstage-plugin-github-releases-assets-backend
yarn build
yarn pack
backend.add(
  import('backstage-plugin-github-releases-assets-backend'),
);
  1. Add the plugins to a local Backstage instance
cd packages/backend
yarn add <local-path-to-repo>backstage-github-autogov-plugin/backstage-plugin-github-releases-autogov/liatrio-backstage-plugin-github-releases-assets-backend-<current-version>.tgz
## or run
yarn --cwd packages/backend <local-path-to-repo>backstage-github-autogov-plugin/backstage-plugin-github-releases-autogov/liatrio-backstage-plugin-github-releases-assets-backend-<current-version>.tgz
cd packages/app
yarn add <local-path-to-repo>backstage-github-autogov-plugin/backstage-plugin-github-releases-autogov/liatrio-backstage-plugin-github-releases-autogov-<current-version>.tgz
## or run
yarn --cwd packages/app <local-path-to-repo>backstage-github-autogov-plugin/backstage-plugin-github-releases-autogov/liatrio-backstage-plugin-github-releases-autogov<current-version>.tgz
import { GithubReleasesAutogovPage } from 'backstage-plugin-github-releases-autogov';
...

<EntityLayout.Route
      path="/code-insights"
      title="Code Insights">
      <GithubReleasesAutogovPage />
 </EntityLayout.Route>