1
0

Switched to npm workspace

This commit is contained in:
Zef Hemel 2022-04-21 15:16:42 +02:00
parent c92f945982
commit dad2b4e835
2 changed files with 19251 additions and 1 deletions

19249
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ import bodyParser from "body-parser";
import { EventHook } from "@silverbulletmd/plugos/hooks/event";
import spaceSyscalls from "./syscalls/space";
import { eventSyscalls } from "@silverbulletmd/plugos/syscalls/event";
import { pageIndexSyscalls } from "./syscalls";
import { ensurePageIndexTable, pageIndexSyscalls } from "./syscalls";
import knex, { Knex } from "knex";
import shellSyscalls from "@silverbulletmd/plugos/syscalls/shell.node";
import { NodeCronHook } from "@silverbulletmd/plugos/hooks/node_cron";
@ -108,6 +108,7 @@ export class ExpressServer {
}
async init() {
await ensurePageIndexTable(this.db);
console.log("Setting up router");
let fsRouter = express.Router();