Skip to content

Commit

Permalink
feat: Update import paths and remove unstable flag
Browse files Browse the repository at this point in the history
This commit updates the import paths in various files to use the new
jsr namespace instead of the previous https://deno.land/x/ paths. It
also removes the --unstable flag from the deno test command in the
Makefile.
  • Loading branch information
tani committed Aug 1, 2024
1 parent 99afa86 commit 863a119
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test:
deno test --unstable
deno test

fmt:
deno fmt
Expand Down
6 changes: 3 additions & 3 deletions denops/@ddc-filters/converter_fuzzy.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type { Denops } from "https://deno.land/x/ddc_vim@v6.0.0/deps.ts";
import type { Denops } from "jsr:@denops/std@7.0.1";
import type {
Item,
PumHighlight,
} from "https://deno.land/x/ddc_vim@v6.0.0/types.ts";
} from "jsr:@shougo/ddc-vim@6.0.0/types";
import {
BaseFilter,
FilterArguments,
OnInitArguments,
} from "https://deno.land/x/ddc_vim@v6.0.0/base/filter.ts";
} from "jsr:@shougo/ddc-vim@6.0.0/filter";
import * as fuzzy from "../../fuzzy.ts";

type Params = { hlGroup: string };
Expand Down
4 changes: 2 additions & 2 deletions denops/@ddc-filters/matcher_fuzzy.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Item } from "https://deno.land/x/ddc_vim@v6.0.0/types.ts";
import { Item } from "jsr:@shougo/ddc-vim@6.0.0/types";
import {
BaseFilter,
FilterArguments,
} from "https://deno.land/x/ddc_vim@v6.0.0/base/filter.ts";
} from "jsr:@shougo/ddc-vim@6.0.0/filter";
import * as fuzzy from "../../fuzzy.ts";

type Params = {
Expand Down
4 changes: 2 additions & 2 deletions denops/@ddc-filters/sorter_fuzzy.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Item } from "https://deno.land/x/ddc_vim@v6.0.0/types.ts";
import { Item } from "jsr:@shougo/ddc-vim@6.0.0/types";
import {
BaseFilter,
FilterArguments,
} from "https://deno.land/x/ddc_vim@v6.0.0/base/filter.ts";
} from "jsr:@shougo/ddc-vim@6.0.0/filter";
import * as fuzzy from "../../fuzzy.ts";

type Params = Record<string, never>;
Expand Down
4 changes: 2 additions & 2 deletions test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import * as Fuzzy from "./fuzzy.ts";
import * as Matcher from "./denops/@ddc-filters/matcher_fuzzy.ts";
import * as Sorter from "./denops/@ddc-filters/sorter_fuzzy.ts";
import * as Converter from "./denops/@ddc-filters/converter_fuzzy.ts";
import { assertEquals } from "https://deno.land/std@0.224.0/testing/asserts.ts";
import { assertEquals } from "jsr:@std/assert@1.0.1";
import {
assertSpyCallArg,
stub,
} from "https://deno.land/std@0.224.0/testing/mock.ts";
import type { PumHighlight } from "https://deno.land/x/ddc_vim@v6.0.0/types.ts";
import type { PumHighlight } from "jsr:@shougo/ddc-vim@6.0.0/types";

const matcher = new Matcher.Filter();
const sorter = new Sorter.Filter();
Expand Down

0 comments on commit 863a119

Please sign in to comment.