Skip to content

Commit

Permalink
docs: optimised steps for package install
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Barbosa <[email protected]>
  • Loading branch information
t1agob committed Apr 15, 2024
1 parent 7166943 commit ea33a65
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/migration/backend-system-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ If you choose to upgrade to `@pagerduty/backstage-plugin-backend` 0.6.0 and stil
1. Add and install the new package

```bash
yarn add --cwd packages/backend @pagerduty/backstage-plugin-backend # or upgrade to 0.6.0
yarn add --cwd packages/backend @pagerduty/backstage-plugin-scaffolder-actions
yarn install
yarn --cwd packages/backend add @pagerduty/backstage-plugin-backend # or upgrade to 0.6.0
yarn --cwd packages/backend add @pagerduty/backstage-plugin-scaffolder-actions
```

2. Update package name in `packages/backend/src/plugins/scaffolder.ts`
Expand All @@ -31,9 +30,8 @@ The new backend system reduces drastically the amount of code needed to setup pl
1. Add and install the new package
```bash
yarn add --cwd packages/backend @pagerduty/backstage-plugin-backend # or upgrade to 0.6.0
yarn add --cwd packages/backend @pagerduty/backstage-plugin-scaffolder-actions
yarn install
yarn --cwd packages/backend add @pagerduty/backstage-plugin-backend # or upgrade to 0.6.0
yarn --cwd packages/backend add @pagerduty/backstage-plugin-scaffolder-actions
```
2. Add backend middleware in `packages/backend/src/index.ts`
Expand Down

0 comments on commit ea33a65

Please sign in to comment.