Make stuff work with npm

This commit is contained in:
Zef Hemel
2022-04-25 11:24:13 +02:00
parent 44cf4c6a72
commit d52d81a909
32 changed files with 1471 additions and 10639 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import {
getCursor,
insertAtCursor,
moveCursor,
} from "@plugos/plugos-silverbullet-syscall/editor";
} from "@silverbulletmd/plugos-silverbullet-syscall/editor";
export async function insertQuery() {
let cursorPos = await getCursor();
+1 -1
View File
@@ -5,7 +5,7 @@ import type { IndexTreeEvent } from "@silverbulletmd/web/app_event";
import {
batchSet,
scanPrefixGlobal,
} from "@plugos/plugos-silverbullet-syscall";
} from "@silverbulletmd/plugos-silverbullet-syscall";
import {
collectNodesOfType,
findNodeOfType,
+7 -4
View File
@@ -4,16 +4,19 @@ import {
getText,
reloadPage,
save,
} from "@plugos/plugos-silverbullet-syscall/editor";
} from "@silverbulletmd/plugos-silverbullet-syscall/editor";
import { readPage, writePage } from "@plugos/plugos-silverbullet-syscall/space";
import { invokeFunction } from "@plugos/plugos-silverbullet-syscall/system";
import {
readPage,
writePage,
} from "@silverbulletmd/plugos-silverbullet-syscall/space";
import { invokeFunction } from "@silverbulletmd/plugos-silverbullet-syscall/system";
import { parseQuery } from "./engine";
import { replaceTemplateVars } from "../core/template";
import { queryRegex, removeQueries } from "./util";
import { dispatch } from "@plugos/plugos-syscall/event";
import { replaceAsync } from "../lib/util";
import { parseMarkdown } from "@plugos/plugos-silverbullet-syscall/markdown";
import { parseMarkdown } from "@silverbulletmd/plugos-silverbullet-syscall/markdown";
export async function updateMaterializedQueriesCommand() {
const currentPage = await getCurrentPage();