Merge pull request #3872 from backstage/rugvip/sqlzero

create-app, catalog-backend: bump sqlite3 to v5 in template and remove from catalog-backend
This commit is contained in:
Patrik Oldsberg
2021-01-07 10:55:33 +01:00
committed by GitHub
4 changed files with 23 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
---
'@backstage/create-app': patch
---
Bump `sqlite3` to v5.
To apply this change to an existing app, change the version of `sqlite3` in the `dependencies` of `packages/backend/package.json`:
```diff
"pg": "^8.3.0",
- "sqlite3": "^4.2.0",
+ "sqlite3": "^5.0.0",
"winston": "^3.2.1"
```
Note that the `sqlite3` dependency may not be preset if you chose to use PostgreSQL when creating the app.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Remove `sqlite3` as a dependency. You may need to add `sqlite3` as a dependency of your backend if you were relying on this indirect dependency.
@@ -37,7 +37,7 @@
"pg": "^8.3.0",
{{/if}}
{{#if dbTypeSqlite}}
"sqlite3": "^4.2.0",
"sqlite3": "^5.0.0",
{{/if}}
"winston": "^3.2.1"
},
+1 -1
View File
@@ -50,7 +50,6 @@
"morgan": "^1.10.0",
"p-limit": "^3.0.2",
"qs": "^6.9.4",
"sqlite3": "^5.0.0",
"uuid": "^8.0.0",
"winston": "^3.2.1",
"yaml": "^1.9.2",
@@ -67,6 +66,7 @@
"@types/uuid": "^8.0.0",
"@types/yup": "^0.29.8",
"msw": "^0.21.2",
"sqlite3": "^5.0.0",
"supertest": "^4.0.2"
},
"files": [