fix(monorepo/desktop): fix missing express-partial-content

This commit is contained in:
Elian Doran 2025-04-21 09:15:08 +03:00
parent 01121f991e
commit 0aa55ddebc
No known key found for this signature in database

View File

@ -41,7 +41,7 @@ function copyNodeModules(packageJsonPath: string) {
// Skip monorepo packages // Skip monorepo packages
packageJson.dependencies = Object.fromEntries( packageJson.dependencies = Object.fromEntries(
Object.entries(packageJson.dependencies).filter(([key]) => { Object.entries(packageJson.dependencies).filter(([key]) => {
return !key.startsWith("@triliumnext"); return (key === "@triliumnext/express-partial-content" || !key.startsWith("@triliumnext"));
})); }));
// Trigger an npm install to obtain the dependencies. // Trigger an npm install to obtain the dependencies.