Skip to content

Commit

Permalink
create-app: switch backend dep to use file target
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
  • Loading branch information
Rugvip committed Jan 27, 2022
1 parent 5f9916b commit e39d88b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .changeset/witty-lamps-laugh.md
@@ -0,0 +1,13 @@
---
'@backstage/create-app': patch
---

Switched the `app` dependency in the backend to use a file target rather than version.

To apply this change to an existing app, make the following change to `packages/backend/package.json`:

```diff
"dependencies": {
- "app": "0.0.0",
+ "app": "file:../app",
```
Expand Up @@ -14,7 +14,7 @@
"migrate:create": "knex migrate:make -x ts"
},
"dependencies": {
"app": "0.0.0",
"app": "file:../app",
"@backstage/backend-common": "^{{version '@backstage/backend-common'}}",
"@backstage/backend-tasks": "^{{version '@backstage/backend-tasks'}}",
"@backstage/catalog-model": "^{{version '@backstage/catalog-model'}}",
Expand Down

0 comments on commit e39d88b

Please sign in to comment.