1
0
silverbullet/web/deps.ts

34 lines
953 B
TypeScript
Raw Normal View History

export * from "../common/deps.ts";
export {
Fragment,
h,
render as preactRender,
} from "https://esm.sh/preact@10.11.1";
export type { ComponentChildren } from "https://esm.sh/preact@10.11.1";
export {
useEffect,
useReducer,
useRef,
useState,
} from "https://esm.sh/preact@10.11.1/hooks";
export {
Book as BookIcon,
Home as HomeIcon,
Moon as MoonIcon,
Sun as SunIcon,
Terminal as TerminalIcon,
} from "https://esm.sh/preact-feather@4.2.1";
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";
2022-11-19 15:00:03 +00:00
export { WebsocketProvider } from "https://esm.sh/y-websocket@1.4.5?external=yjs";
2022-12-15 12:23:49 +00:00
// Vim mode
2022-12-15 16:25:03 +00:00
export { vim } from "https://esm.sh/@replit/codemirror-vim@6.0.4?external=@codemirror/state,@codemirror/language,@codemirror/view,@codemirror/search,@codemirror/commands";