Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

config: add better-sqlite3 to postinstall whitelist

Abdullah Atta7f0a517ee183
diff --git a/scripts/bootstrap.mjs b/scripts/bootstrap.mjs
index c922765ae..4d5e112cc 100644
--- a/scripts/bootstrap.mjs
+++ b/scripts/bootstrap.mjs
@@ -41,7 +41,12 @@ const scopes = {
themebuilder: "apps/theme-builder"
};
// packages that we should run npm rebuild for
-const POSTINSTALL_WHITELIST = ["esbuild", "@swc/core"];
+const POSTINSTALL_WHITELIST = [
+ "esbuild",
+ "@swc/core",
+ "better-sqlite3-multiple-ciphers",
+ "better-sqlite3"
+];
if (args.scope && !scopes[args.scope])
throw new Error(`Scope must be one of ${Object.keys(scopes).join(", ")}`);