Merge pull request #10762 from backstage/jhaals/remove-octokit-dep

create-app: Remove octokit/rest from dependencies section
This commit is contained in:
Johan Haals
2022-04-12 08:59:56 +02:00
committed by GitHub
2 changed files with 13 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/create-app': patch
---
Removed `@octokit/rest` and `@gitbeaker/node` from backend dependencies as these are unused in the default app.
To apply these changes to your existing app, remove the following lines from the `dependencies` section of `packages/backend/package.json`
```diff
"@backstage/plugin-techdocs-backend": "^1.0.0",
- "@gitbeaker/node": "^34.6.0",
- "@octokit/rest": "^18.5.3",
```
@@ -35,8 +35,6 @@
{{/if}}
"@backstage/plugin-search-backend-node": "^{{version '@backstage/plugin-search-backend-node'}}",
"@backstage/plugin-techdocs-backend": "^{{version '@backstage/plugin-techdocs-backend'}}",
"@gitbeaker/node": "^34.6.0",
"@octokit/rest": "^18.5.3",
"dockerode": "^3.3.1",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",