efc73db10c
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
947 B
947 B
@backstage/create-app
| @backstage/create-app |
|---|
| patch |
The main repo has switched from @vscode/sqlite3 to better-sqlite3 as its preferred SQLite installation. This decision was triggered by a number of issues with the former that arose because it needs build infrastructure in place and functional in order to be installed. The main drawback of this is that the new package uses the database client ID better-sqlite3 instead of the plain sqlite3.
If you want to perform the same switch in your own repository,
-
Replace all of your
package.jsondependencies on@vscode/sqlite3with the latest version ofbetter-sqlite3instead"dependencies": { - "@vscode/sqlite3": "^5.0.7", + "better-sqlite3": "^7.5.0", -
In your app-config and tests, wherever you supply
client: 'sqlite3', instead supplyclient: 'better-sqlite3backend: database: - client: sqlite3 + client: better-sqlite3