1
0
silverbullet/web/deps.ts

32 lines
958 B
TypeScript
Raw Normal View History

export * from "../common/deps.ts";
export { Fragment, h, render as preactRender } from "preact";
export type { ComponentChildren, FunctionalComponent } from "preact";
export {
useEffect,
useReducer,
useRef,
useState,
} from "https://esm.sh/preact@10.11.1/hooks";
export {
Book as BookIcon,
Home as HomeIcon,
Terminal as TerminalIcon,
2023-02-23 15:02:41 +00:00
} from "https://esm.sh/preact-feather@4.2.1?external=preact";
2022-10-25 16:50:07 +00:00
// Y collab
export * as Y from "yjs";
export {
yCollab,
yUndoManagerKeymap,
} from "https://esm.sh/y-codemirror.next@0.3.2?external=yjs,@codemirror/state,@codemirror/commands,@codemirror/history,@codemirror/view";
export { HocuspocusProvider } from "https://esm.sh/@hocuspocus/provider@2.1.0?external=yjs,ws&target=es2022";
2022-12-15 12:23:49 +00:00
// Vim mode
export {
getCM as vimGetCm,
Vim,
vim,
2023-05-26 12:25:24 +00:00
} from "https://esm.sh/@replit/codemirror-vim@6.0.14?external=@codemirror/state,@codemirror/language,@codemirror/view,@codemirror/search,@codemirror/commands";