Skip to content

Commit

Permalink
Use Entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed May 15, 2024
1 parent 901d475 commit 33039c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions denops/dpp/app.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Denops, ensure, is, toFileUrl, vars } from "./deps.ts";
import { Denops, Entrypoint, ensure, is, toFileUrl, vars } from "./deps.ts";
import { ContextBuilder } from "./context.ts";
import { Dpp } from "./dpp.ts";
import { DppOptions } from "./types.ts";
import { Loader } from "./loader.ts";
import { extAction } from "./ext.ts";

export function main(denops: Denops) {
export const main: Entrypoint = (denops: Denops) => {
const loader = new Loader();
const dpp = new Dpp(loader);
const contextBuilder = new ContextBuilder();
Expand Down
14 changes: 7 additions & 7 deletions denops/dpp/deps.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export type { Denops } from "https://deno.land/x/denops_std@v6.4.2/mod.ts";
export type { Denops, Entrypoint } from "https://deno.land/x/denops_std@v6.5.0/mod.ts";
export {
echo,
execute,
} from "https://deno.land/x/denops_std@v6.4.2/helper/mod.ts";
} from "https://deno.land/x/denops_std@v6.5.0/helper/mod.ts";
export {
batch,
collect,
} from "https://deno.land/x/denops_std@v6.4.2/batch/mod.ts";
export * as op from "https://deno.land/x/denops_std@v6.4.2/option/mod.ts";
export * as fn from "https://deno.land/x/denops_std@v6.4.2/function/mod.ts";
export * as vars from "https://deno.land/x/denops_std@v6.4.2/variable/mod.ts";
export * as autocmd from "https://deno.land/x/denops_std@v6.4.2/autocmd/mod.ts";
} from "https://deno.land/x/denops_std@v6.5.0/batch/mod.ts";
export * as op from "https://deno.land/x/denops_std@v6.5.0/option/mod.ts";
export * as fn from "https://deno.land/x/denops_std@v6.5.0/function/mod.ts";
export * as vars from "https://deno.land/x/denops_std@v6.5.0/variable/mod.ts";
export * as autocmd from "https://deno.land/x/denops_std@v6.5.0/autocmd/mod.ts";

export { assertEquals, assertInstanceOf, equal } from "jsr:@std/[email protected]";
export {
Expand Down

0 comments on commit 33039c6

Please sign in to comment.