Skip to content

Commit b8a12a1

Browse files
committed
Use JSR
1 parent 514bbc3 commit b8a12a1

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

deno.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"upgrade": "deno outdated --recursive --update"
1313
},
1414
"workspace": [
15-
"./denops/ddc"
15+
"./denops/ddc",
16+
"./denops/@ddu-sources/ddc"
1617
]
1718
}

denops/@ddu-sources/ddc/deno.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"imports": {
3+
"@denops/std": "jsr:@denops/std@~8.0.0",
4+
"@shougo/ddu-vim": "jsr:@shougo/ddu-vim@~11.0.0"
5+
}
6+
}

denops/@ddu-sources/ddc.ts renamed to denops/@ddu-sources/ddc/main.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import type { Context, Item } from "jsr:@shougo/ddu-vim@~10.3.0/types";
2-
import { BaseSource } from "jsr:@shougo/ddu-vim@~10.3.0/source";
3-
import type { DdcItem } from "../ddc/types.ts";
1+
import type { Context, Item } from "@shougo/ddu-vim/types";
2+
import { BaseSource } from "@shougo/ddu-vim/source";
3+
import type { DdcItem } from "../../ddc/types.ts";
44

5-
import type { Denops } from "jsr:@denops/std@~7.6.0";
6-
import * as vars from "jsr:@denops/std@~7.6.0/variable";
5+
import type { Denops } from "@denops/std";
6+
import * as vars from "@denops/std/variable";
77

88
type Params = Record<string, never>;
99

0 commit comments

Comments
 (0)