Skip to content

Build your personal knowledge base with Trilium Notes

chore(edit-docs): fix rebuild and entrypoint

Elian Doranf73daf5b95dd
diff --git a/apps/edit-docs/package.json b/apps/edit-docs/package.json
index ea13095e52..1c9d194c3e 100644
--- a/apps/edit-docs/package.json
+++ b/apps/edit-docs/package.json
@@ -3,6 +3,10 @@
"version": "0.0.1",
"private": true,
"description": "Desktop version of Trilium which imports the demo database (presented to new users at start-up) or the user guide and other documentation and saves the modifications for committing.",
+ "dependencies": {
+ "archiver": "7.0.1",
+ "better-sqlite3": "^11.9.1"
+ },
"devDependencies": {
"@triliumnext/client": "workspace:*",
"@triliumnext/desktop": "workspace:*",
@@ -23,7 +27,7 @@
"{options.outputPath}"
],
"options": {
- "main": "apps/edit-docs/src/electron-edit-demo.ts",
+ "main": "apps/edit-docs/src/electron-docs-main.ts",
"outputPath": "apps/edit-docs/dist",
"outputFileName": "main.js",
"tsConfig": "apps/edit-docs/tsconfig.app.json",
@@ -115,8 +119,5 @@
}
}
}
- },
- "dependencies": {
- "archiver": "7.0.1"
- }
+ }
}
\ No newline at end of file