From 44f2c43a426d40db83f19f088daeb10fa01746bb Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Mon, 2 May 2022 16:59:53 +0200 Subject: [PATCH] mention sqlite in changeset Signed-off-by: Johan Haals --- .changeset/smart-ghosts-search.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.changeset/smart-ghosts-search.md b/.changeset/smart-ghosts-search.md index d1d32e71af..3fb3c9c716 100644 --- a/.changeset/smart-ghosts-search.md +++ b/.changeset/smart-ghosts-search.md @@ -8,3 +8,21 @@ This reduces the step from development to production by always installing the de Added `app-config.local.yaml` to allow for local configuration overrides. To replicate this behavior in an existing installation simply `touch app-config.local.yaml` in the project root and apply your local configuration. + +`better-sqlite3` has been moved to devDependencies, for existing installations using postgres in production and SQLite in development it's recommended to move SQLite into the devDependencies section to avoid unnecessary dependencies during builds. + +in `packages/backend/package.json` + +```diff + "dependencies": { + ... + "pg": "^8.3.0", +- "better-sqlite3": "^7.5.0", + "winston": "^3.2.1" + }, + "devDependencies": { + ... + "@types/luxon": "^2.0.4", ++ "better-sqlite3": "^7.5.0" + } +```