Merge pull request #9372 from backstage/rugvip/nocopy

use link: rather than file: for local dependencies
This commit is contained in:
Patrik Oldsberg
2022-02-07 14:40:14 +01:00
committed by GitHub
6 changed files with 23 additions and 9 deletions
+14
View File
@@ -0,0 +1,14 @@
---
'@backstage/create-app': patch
---
Switched the `file:` dependency for a `link:` dependency in the `backend` package. This makes sure that the `app` package is linked in rather than copied.
To apply this update to an existing app, make the following change to `packages/backend/package.json`:
```diff
"dependencies": {
- "app": "file:../app",
+ "app": "link:../app",
"@backstage/backend-common": "^{{version '@backstage/backend-common'}}",
```