diff --git a/deno.jsonc b/deno.jsonc index f8ac3c9..cf47590 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -12,5 +12,8 @@ "update": "deno run --allow-env --allow-read --allow-write=. --allow-run=git,deno --allow-net=deno.land,jsr.io,registry.npmjs.org jsr:@molt/cli ./**/*.ts", "update:write": "deno task -q update --write", "update:commit": "deno task -q update --commit --prefix :package: --pre-commit=fmt,lint" - } + }, + "workspace": [ + "./denops/fall" + ] } diff --git a/denops/fall/_assets/default.custom.ts b/denops/fall/_assets/default.custom.ts index 9314015..6e8e269 100644 --- a/denops/fall/_assets/default.custom.ts +++ b/denops/fall/_assets/default.custom.ts @@ -1,11 +1,7 @@ -import type { Entrypoint } from "jsr:@vim-fall/custom@^0.1.0"; -import { - composeRenderers, - refineCurator, - refineSource, -} from "jsr:@vim-fall/std@^0.10.0"; -import * as builtin from "jsr:@vim-fall/std@^0.10.0/builtin"; -import { SEPARATOR } from "jsr:@std/path@^1.0.8/constants"; +import type { Entrypoint } from "@vim-fall/custom"; +import { composeRenderers, refineCurator, refineSource } from "@vim-fall/std"; +import * as builtin from "@vim-fall/std/builtin"; +import { SEPARATOR } from "@std/path/constants"; // NOTE: // diff --git a/denops/fall/_assets/minimum.custom.ts b/denops/fall/_assets/minimum.custom.ts index fd5fac2..e97aa42 100644 --- a/denops/fall/_assets/minimum.custom.ts +++ b/denops/fall/_assets/minimum.custom.ts @@ -1,5 +1,5 @@ -import type { Entrypoint } from "jsr:@vim-fall/custom@^0.1.0"; -import * as builtin from "jsr:@vim-fall/std@^0.10.0/builtin"; +import type { Entrypoint } from "@vim-fall/custom"; +import * as builtin from "@vim-fall/std/builtin"; export const main: Entrypoint = ({ definePickerFromSource, diff --git a/denops/fall/component/_component.ts b/denops/fall/component/_component.ts index 9f4e64e..eaaaad3 100644 --- a/denops/fall/component/_component.ts +++ b/denops/fall/component/_component.ts @@ -1,7 +1,7 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as popup from "jsr:@denops/std@^7.3.2/popup"; -import type { Border } from "jsr:@vim-fall/core@^0.3.0/theme"; -import type { Dimension } from "jsr:@vim-fall/core@^0.3.0/coordinator"; +import type { Denops } from "@denops/std"; +import * as popup from "@denops/std/popup"; +import type { Border } from "@vim-fall/core/theme"; +import type { Dimension } from "@vim-fall/core/coordinator"; const HIGHLIGHT_NORMAL = "FallNormal"; const HIHGLIGHT_BORDER = "FallBorder"; diff --git a/denops/fall/component/_component_test.ts b/denops/fall/component/_component_test.ts index 2aa6ac1..fbbd4a1 100644 --- a/denops/fall/component/_component_test.ts +++ b/denops/fall/component/_component_test.ts @@ -1,6 +1,6 @@ -import { test } from "jsr:@denops/test@^3.0.4"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import { assertEquals, assertNotEquals } from "jsr:@std/assert@^1.0.7"; +import { test } from "@denops/test"; +import * as fn from "@denops/std/function"; +import { assertEquals, assertNotEquals } from "@std/assert"; import { screentext } from "./_testutil.ts"; import { BaseComponent } from "./_component.ts"; diff --git a/denops/fall/component/_testutil.ts b/denops/fall/component/_testutil.ts index 9bb82a7..0e3b986 100644 --- a/denops/fall/component/_testutil.ts +++ b/denops/fall/component/_testutil.ts @@ -1,9 +1,9 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import { collect } from "jsr:@denops/std@^7.3.2/batch"; -import * as iterutil from "jsr:@core/iterutil@^0.9/pipe"; -import { range } from "jsr:@core/iterutil@^0.9.0"; -import { pipe } from "jsr:@core/pipe@^0.4.0"; +import type { Denops } from "@denops/std"; +import * as fn from "@denops/std/function"; +import { collect } from "@denops/std/batch"; +import * as iterutil from "@core/iterutil/pipe"; +import { range } from "@core/iterutil"; +import { pipe } from "@core/pipe"; /** * Get screen text in the specified range. diff --git a/denops/fall/component/help.ts b/denops/fall/component/help.ts index f52ae24..622f679 100644 --- a/denops/fall/component/help.ts +++ b/denops/fall/component/help.ts @@ -1,9 +1,9 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import type { Decoration } from "jsr:@denops/std@^7.3.2/buffer"; -import * as mapping from "jsr:@denops/std@^7.3.2/mapping"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import * as buffer from "jsr:@denops/std@^7.3.2/buffer"; -import type { Dimension } from "jsr:@vim-fall/core@^0.3.0/coordinator"; +import type { Denops } from "@denops/std"; +import type { Decoration } from "@denops/std/buffer"; +import * as mapping from "@denops/std/mapping"; +import * as fn from "@denops/std/function"; +import * as buffer from "@denops/std/buffer"; +import type { Dimension } from "@vim-fall/core/coordinator"; import { BaseComponent } from "./_component.ts"; import { ItemBelt } from "../lib/item_belt.ts"; diff --git a/denops/fall/component/help_test.ts b/denops/fall/component/help_test.ts index 9f26aeb..cee2f7c 100644 --- a/denops/fall/component/help_test.ts +++ b/denops/fall/component/help_test.ts @@ -1,9 +1,9 @@ import "../lib/polyfill.ts"; -import { test } from "jsr:@denops/test@^3.0.4"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import { fromFileUrl } from "jsr:@std/path@^1.0.8/from-file-url"; -import { assertEquals } from "jsr:@std/assert@^1.0.6"; +import { test } from "@denops/test"; +import * as fn from "@denops/std/function"; +import { fromFileUrl } from "@std/path/from-file-url"; +import { assertEquals } from "@std/assert"; import { HelpComponent } from "./help.ts"; diff --git a/denops/fall/component/input.ts b/denops/fall/component/input.ts index bc80746..98743cc 100644 --- a/denops/fall/component/input.ts +++ b/denops/fall/component/input.ts @@ -1,7 +1,7 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import * as buffer from "jsr:@denops/std@^7.3.2/buffer"; -import type { Dimension } from "jsr:@vim-fall/core@^0.3.0/coordinator"; +import type { Denops } from "@denops/std"; +import * as fn from "@denops/std/function"; +import * as buffer from "@denops/std/buffer"; +import type { Dimension } from "@vim-fall/core/coordinator"; import { Spinner, UNICODE_SPINNER } from "../lib/spinner.ts"; import { adjustOffset } from "../lib/adjust_offset.ts"; diff --git a/denops/fall/component/input_test.ts b/denops/fall/component/input_test.ts index 00c0d5f..69d9799 100644 --- a/denops/fall/component/input_test.ts +++ b/denops/fall/component/input_test.ts @@ -1,11 +1,11 @@ import "../lib/polyfill.ts"; -import { assertEquals } from "jsr:@std/assert@^1.0.6"; -import { delay } from "jsr:@std/async@^1.0.7"; -import { test } from "jsr:@denops/test@^3.0.4"; -import { fromFileUrl } from "jsr:@std/path@^1.0.8/from-file-url"; -import { listDecorations } from "jsr:@denops/std@^7.3.2/buffer"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; +import { assertEquals } from "@std/assert"; +import { delay } from "@std/async"; +import { test } from "@denops/test"; +import { fromFileUrl } from "@std/path/from-file-url"; +import { listDecorations } from "@denops/std/buffer"; +import * as fn from "@denops/std/function"; import { HIGHLIGHT_COUNTER, diff --git a/denops/fall/component/list.ts b/denops/fall/component/list.ts index da509e4..7de473e 100644 --- a/denops/fall/component/list.ts +++ b/denops/fall/component/list.ts @@ -1,9 +1,9 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import type { Decoration } from "jsr:@denops/std@^7.3.2/buffer"; -import { batch } from "jsr:@denops/std@^7.3.2/batch"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import * as buffer from "jsr:@denops/std@^7.3.2/buffer"; -import type { Dimension } from "jsr:@vim-fall/core@^0.3.0/coordinator"; +import type { Denops } from "@denops/std"; +import type { Decoration } from "@denops/std/buffer"; +import { batch } from "@denops/std/batch"; +import * as fn from "@denops/std/function"; +import * as buffer from "@denops/std/buffer"; +import type { Dimension } from "@vim-fall/core/coordinator"; import { BaseComponent, ComponentProperties } from "./_component.ts"; diff --git a/denops/fall/component/list_test.ts b/denops/fall/component/list_test.ts index 43a1cd5..73a436f 100644 --- a/denops/fall/component/list_test.ts +++ b/denops/fall/component/list_test.ts @@ -1,12 +1,12 @@ import "../lib/polyfill.ts"; -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import { test } from "jsr:@denops/test@^3.0.4"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import { listDecorations } from "jsr:@denops/std@^7.3.2/buffer"; -import { assertEquals } from "jsr:@std/assert@^1.0.6"; -import { fromFileUrl } from "jsr:@std/path@^1.0.8/from-file-url"; -import { omit } from "jsr:@std/collections@^1.0.9/omit"; +import type { Denops } from "@denops/std"; +import { test } from "@denops/test"; +import * as fn from "@denops/std/function"; +import { listDecorations } from "@denops/std/buffer"; +import { assertEquals } from "@std/assert"; +import { fromFileUrl } from "@std/path/from-file-url"; +import { omit } from "@std/collections/omit"; import { HIGHLIGHT_MATCH, diff --git a/denops/fall/component/preview.ts b/denops/fall/component/preview.ts index 343de89..fea2760 100644 --- a/denops/fall/component/preview.ts +++ b/denops/fall/component/preview.ts @@ -1,8 +1,8 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import * as buffer from "jsr:@denops/std@^7.3.2/buffer"; -import { batch } from "jsr:@denops/std@^7.3.2/batch"; -import type { Dimension } from "jsr:@vim-fall/core@^0.3.0/coordinator"; +import type { Denops } from "@denops/std"; +import * as fn from "@denops/std/function"; +import * as buffer from "@denops/std/buffer"; +import { batch } from "@denops/std/batch"; +import type { Dimension } from "@vim-fall/core/coordinator"; import { BaseComponent, type ComponentProperties } from "./_component.ts"; diff --git a/denops/fall/component/preview_test.ts b/denops/fall/component/preview_test.ts index 23c6a47..bd58f8a 100644 --- a/denops/fall/component/preview_test.ts +++ b/denops/fall/component/preview_test.ts @@ -1,9 +1,9 @@ import "../lib/polyfill.ts"; -import { test } from "jsr:@denops/test@^3.0.4"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import { fromFileUrl } from "jsr:@std/path@^1.0.8/from-file-url"; -import { assertEquals } from "jsr:@std/assert@^1.0.6"; +import { test } from "@denops/test"; +import * as fn from "@denops/std/function"; +import { fromFileUrl } from "@std/path/from-file-url"; +import { assertEquals } from "@std/assert"; import { PreviewComponent } from "./preview.ts"; diff --git a/denops/fall/custom.ts b/denops/fall/custom.ts index 7af1788..f76ef28 100644 --- a/denops/fall/custom.ts +++ b/denops/fall/custom.ts @@ -1,30 +1,27 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as buffer from "jsr:@denops/std@^7.3.2/buffer"; -import * as vars from "jsr:@denops/std@^7.3.2/variable"; -import * as autocmd from "jsr:@denops/std@^7.3.2/autocmd"; -import { TextLineStream } from "jsr:@std/streams@^1.0.8/text-line-stream"; -import { mergeReadableStreams } from "jsr:@std/streams@^1.0.8/merge-readable-streams"; -import { toFileUrl } from "jsr:@std/path@^1.0.8/to-file-url"; -import { fromFileUrl } from "jsr:@std/path@^1.0.8/from-file-url"; -import { dirname } from "jsr:@std/path@^1.0.8/dirname"; -import { copy } from "jsr:@std/fs@^1.0.5/copy"; -import { - buildRefineSetting, - type Setting, -} from "jsr:@vim-fall/custom@^0.1.0/setting"; +import type { Denops } from "@denops/std"; +import * as buffer from "@denops/std/buffer"; +import * as vars from "@denops/std/variable"; +import * as autocmd from "@denops/std/autocmd"; +import { TextLineStream } from "@std/streams/text-line-stream"; +import { mergeReadableStreams } from "@std/streams/merge-readable-streams"; +import { toFileUrl } from "@std/path/to-file-url"; +import { fromFileUrl } from "@std/path/from-file-url"; +import { dirname } from "@std/path/dirname"; +import { copy } from "@std/fs/copy"; +import { buildRefineSetting, type Setting } from "@vim-fall/custom/setting"; import { type ActionPickerParams, buildRefineActionPicker, -} from "jsr:@vim-fall/custom@^0.1.0/action-picker"; +} from "@vim-fall/custom/action-picker"; import { buildDefinePickerFromCurator, buildDefinePickerFromSource, type PickerParams, -} from "jsr:@vim-fall/custom@^0.1.0/picker"; +} from "@vim-fall/custom/picker"; -import { modern } from "jsr:@vim-fall/std@^0.10.0/builtin/coordinator/modern"; -import { MODERN_THEME } from "jsr:@vim-fall/std@^0.10.0/builtin/theme/modern"; -import { fzf } from "jsr:@vim-fall/std@^0.10.0/builtin/matcher/fzf"; +import { modern } from "@vim-fall/std/builtin/coordinator/modern"; +import { MODERN_THEME } from "@vim-fall/std/builtin/theme/modern"; +import { fzf } from "@vim-fall/std/builtin/matcher/fzf"; import { ExpectedError } from "./error.ts"; diff --git a/denops/fall/deno.json b/denops/fall/deno.json new file mode 100644 index 0000000..51e64d0 --- /dev/null +++ b/denops/fall/deno.json @@ -0,0 +1,22 @@ +{ + "imports": { + "@core/asyncutil": "jsr:@core/asyncutil@^1.2.0", + "@core/errorutil": "jsr:@core/errorutil@^1.2.0", + "@core/iterutil": "jsr:@core/iterutil@^0.9.0", + "@core/pipe": "jsr:@core/pipe@^0.4.0", + "@core/unknownutil": "jsr:@core/unknownutil@^4.3.0", + "@denops/std": "jsr:@denops/std@^7.3.2", + "@denops/test": "jsr:@denops/test@^3.0.4", + "@nick/dispose": "jsr:@nick/dispose@^1.1.0", + "@std/assert": "jsr:@std/assert@^1.0.8", + "@std/async": "jsr:@std/async@^1.0.7", + "@std/collections": "jsr:@std/collections@^1.0.9", + "@std/fs": "jsr:@std/fs@^1.0.5", + "@std/path": "jsr:@std/path@^1.0.8", + "@std/streams": "jsr:@std/streams@^1.0.8", + "@std/testing": "jsr:@std/testing@^1.0.0", + "@vim-fall/core": "jsr:@vim-fall/core@^0.3.0", + "@vim-fall/custom": "jsr:@vim-fall/custom@^0.1.0", + "@vim-fall/std": "jsr:@vim-fall/std@^0.10.0" + } +} diff --git a/denops/fall/error.ts b/denops/fall/error.ts index cc09788..5a2e53b 100644 --- a/denops/fall/error.ts +++ b/denops/fall/error.ts @@ -1,5 +1,5 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import { AssertError } from "jsr:@core/unknownutil@^4.3.0/assert"; +import type { Denops } from "@denops/std"; +import { AssertError } from "@core/unknownutil/assert"; /** * Application error that is used to represent an expected error. diff --git a/denops/fall/event_test.ts b/denops/fall/event_test.ts index 07fcb5a..cd493b5 100644 --- a/denops/fall/event_test.ts +++ b/denops/fall/event_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.6"; +import { assertEquals } from "@std/assert"; import { consume, dispatch, type Event } from "./event.ts"; diff --git a/denops/fall/extension/action/session.ts b/denops/fall/extension/action/session.ts index 8737042..f665398 100644 --- a/denops/fall/extension/action/session.ts +++ b/denops/fall/extension/action/session.ts @@ -1,4 +1,4 @@ -import type { Action } from "jsr:@vim-fall/core@^0.3.0/action"; +import type { Action } from "@vim-fall/core/action"; import type { Detail } from "../source/session.ts"; export const defaultSessionActions = { diff --git a/denops/fall/extension/previewer/session.ts b/denops/fall/extension/previewer/session.ts index df379a2..cb96b45 100644 --- a/denops/fall/extension/previewer/session.ts +++ b/denops/fall/extension/previewer/session.ts @@ -1,6 +1,6 @@ -import type { PreviewItem } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { Previewer } from "jsr:@vim-fall/core@^0.3.0/previewer"; -import { definePreviewer } from "jsr:@vim-fall/std@^0.10.0/previewer"; +import type { PreviewItem } from "@vim-fall/core/item"; +import type { Previewer } from "@vim-fall/core/previewer"; +import { definePreviewer } from "@vim-fall/std/previewer"; import type { Detail } from "../source/session.ts"; export function session(): Previewer { diff --git a/denops/fall/extension/renderer/session.ts b/denops/fall/extension/renderer/session.ts index 52f1e3b..5f79fcd 100644 --- a/denops/fall/extension/renderer/session.ts +++ b/denops/fall/extension/renderer/session.ts @@ -1,6 +1,6 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import type { Renderer } from "jsr:@vim-fall/core@^0.3.0/renderer"; -import type { DisplayItem } from "jsr:@vim-fall/core@^0.3.0/item"; +import type { Denops } from "@denops/std"; +import type { Renderer } from "@vim-fall/core/renderer"; +import type { DisplayItem } from "@vim-fall/core/item"; import type { Detail } from "../source/session.ts"; export function session(): Renderer { diff --git a/denops/fall/extension/source/action.ts b/denops/fall/extension/source/action.ts index f1e260f..dc81ad8 100644 --- a/denops/fall/extension/source/action.ts +++ b/denops/fall/extension/source/action.ts @@ -1,6 +1,6 @@ -import type { Detail } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { Source } from "jsr:@vim-fall/core@^0.3.0/source"; -import type { Action } from "jsr:@vim-fall/core@^0.3.0/action"; +import type { Detail } from "@vim-fall/core/item"; +import type { Source } from "@vim-fall/core/source"; +import type { Action } from "@vim-fall/core/action"; /** * Create a source for actions. diff --git a/denops/fall/extension/source/list.ts b/denops/fall/extension/source/list.ts index 8827e09..4799b84 100644 --- a/denops/fall/extension/source/list.ts +++ b/denops/fall/extension/source/list.ts @@ -1,5 +1,5 @@ -import type { Detail, IdItem } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { Source } from "jsr:@vim-fall/core@^0.3.0/source"; +import type { Detail, IdItem } from "@vim-fall/core/item"; +import type { Source } from "@vim-fall/core/source"; /** * Create a source from a list diff --git a/denops/fall/extension/source/session.ts b/denops/fall/extension/source/session.ts index 5a1615e..97f5be2 100644 --- a/denops/fall/extension/source/session.ts +++ b/denops/fall/extension/source/session.ts @@ -1,5 +1,5 @@ -import type { Source } from "jsr:@vim-fall/core@^0.3.0/source"; -import type { DetailUnit, IdItem } from "jsr:@vim-fall/core@^0.3.0/item"; +import type { Source } from "@vim-fall/core/source"; +import type { DetailUnit, IdItem } from "@vim-fall/core/item"; import type { PickerSession } from "../../session.ts"; import { listPickerSessions } from "../../session.ts"; diff --git a/denops/fall/lib/adjust_offset_test.ts b/denops/fall/lib/adjust_offset_test.ts index 3307960..797ea9f 100644 --- a/denops/fall/lib/adjust_offset_test.ts +++ b/denops/fall/lib/adjust_offset_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.6"; +import { assertEquals } from "@std/assert"; import { adjustOffset } from "./adjust_offset.ts"; Deno.test("adjustOffset", async (t) => { diff --git a/denops/fall/lib/chunker_test.ts b/denops/fall/lib/chunker_test.ts index 5c570fa..452963e 100644 --- a/denops/fall/lib/chunker_test.ts +++ b/denops/fall/lib/chunker_test.ts @@ -1,4 +1,4 @@ -import { assertEquals, assertThrows } from "jsr:@std/assert@^1.0.7"; +import { assertEquals, assertThrows } from "@std/assert"; import { Chunker } from "./chunker.ts"; Deno.test("Chunker", async (t) => { diff --git a/denops/fall/lib/debounce.ts b/denops/fall/lib/debounce.ts index b30bca7..83e6624 100644 --- a/denops/fall/lib/debounce.ts +++ b/denops/fall/lib/debounce.ts @@ -16,7 +16,7 @@ export type DebounceOptions = { * @example * ```ts * import { debounce } from "./debounce.ts"; - * import { delay } from "jsr:@std/async@^1.0.0/delay"; + * import { delay } from "@std/async/delay"; * * const saveData = () => console.log("Saving data..."); * const debouncedSave = debounce(() => saveData(), { delay: 100 }); diff --git a/denops/fall/lib/debounce_test.ts b/denops/fall/lib/debounce_test.ts index 1fc59e0..bdf98b9 100644 --- a/denops/fall/lib/debounce_test.ts +++ b/denops/fall/lib/debounce_test.ts @@ -1,6 +1,6 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.6"; -import { delay } from "jsr:@std/async@^1.0.0/delay"; -import { FakeTime } from "jsr:@std/testing@^1.0.0/time"; +import { assertEquals } from "@std/assert"; +import { delay } from "@std/async/delay"; +import { FakeTime } from "@std/testing/time"; import { debounce } from "./debounce.ts"; diff --git a/denops/fall/lib/dispose.ts b/denops/fall/lib/dispose.ts index 8b3fbdf..fed38c2 100644 --- a/denops/fall/lib/dispose.ts +++ b/denops/fall/lib/dispose.ts @@ -1,5 +1,5 @@ -import { isObjectOf } from "jsr:@core/unknownutil@^4.3.0/is/object-of"; -import { isFunction } from "jsr:@core/unknownutil@^4.3.0/is/function"; +import { isObjectOf } from "@core/unknownutil/is/object-of"; +import { isFunction } from "@core/unknownutil/is/function"; const isDisposable = isObjectOf({ [Symbol.dispose]: isFunction, diff --git a/denops/fall/lib/dispose_test.ts b/denops/fall/lib/dispose_test.ts index acc0c00..64720ba 100644 --- a/denops/fall/lib/dispose_test.ts +++ b/denops/fall/lib/dispose_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.8"; +import { assertEquals } from "@std/assert"; import { dispose } from "./dispose.ts"; Deno.test("dispose", async (t) => { diff --git a/denops/fall/lib/item_belt_test.ts b/denops/fall/lib/item_belt_test.ts index aff010d..4d90d30 100644 --- a/denops/fall/lib/item_belt_test.ts +++ b/denops/fall/lib/item_belt_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.8"; +import { assertEquals } from "@std/assert"; import { ItemBelt } from "./item_belt.ts"; Deno.test("ItemBelt", async (t) => { diff --git a/denops/fall/lib/polyfill.ts b/denops/fall/lib/polyfill.ts index adf5382..8596ae0 100644 --- a/denops/fall/lib/polyfill.ts +++ b/denops/fall/lib/polyfill.ts @@ -1,7 +1,4 @@ -import { - AsyncDisposableStack, - DisposableStack, -} from "jsr:@nick/dispose@^1.1.0"; +import { AsyncDisposableStack, DisposableStack } from "@nick/dispose"; // DisposableStack and AsyncDisposableStack are not available yet. // https://github.com/denoland/deno/issues/20821 diff --git a/denops/fall/lib/scheduler_test.ts b/denops/fall/lib/scheduler_test.ts index f37c6f7..8d28f79 100644 --- a/denops/fall/lib/scheduler_test.ts +++ b/denops/fall/lib/scheduler_test.ts @@ -1,5 +1,5 @@ -import { delay } from "jsr:@std/async@^1.0.7"; -import { assertEquals } from "jsr:@std/assert@^1.0.6"; +import { delay } from "@std/async"; +import { assertEquals } from "@std/assert"; import { Scheduler } from "./scheduler.ts"; Deno.test("Scheduler", async (t) => { diff --git a/denops/fall/lib/spinner_test.ts b/denops/fall/lib/spinner_test.ts index 1dea201..e340ed9 100644 --- a/denops/fall/lib/spinner_test.ts +++ b/denops/fall/lib/spinner_test.ts @@ -1,5 +1,5 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.6"; -import { delay } from "jsr:@std/async@^1.0.7"; +import { assertEquals } from "@std/assert"; +import { delay } from "@std/async"; import { Spinner, UNICODE_SPINNER } from "./spinner.ts"; diff --git a/denops/fall/lib/stringutil_test.ts b/denops/fall/lib/stringutil_test.ts index 750bde6..05da01c 100644 --- a/denops/fall/lib/stringutil_test.ts +++ b/denops/fall/lib/stringutil_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.8"; +import { assertEquals } from "@std/assert"; import { getByteLength } from "./stringutil.ts"; Deno.test("getByteLength", () => { diff --git a/denops/fall/lib/unique_ordered_list_test.ts b/denops/fall/lib/unique_ordered_list_test.ts index def33dd..3f1b187 100644 --- a/denops/fall/lib/unique_ordered_list_test.ts +++ b/denops/fall/lib/unique_ordered_list_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.0"; +import { assertEquals } from "@std/assert"; import { UniqueOrderedList } from "./unique_ordered_list.ts"; type User = { id: number; name: string }; diff --git a/denops/fall/main.ts b/denops/fall/main.ts index 80a774c..0922d72 100644 --- a/denops/fall/main.ts +++ b/denops/fall/main.ts @@ -1,6 +1,6 @@ import "./lib/polyfill.ts"; -import type { Entrypoint } from "jsr:@denops/std@^7.3.2"; +import type { Entrypoint } from "@denops/std"; import { main as mainCustom } from "./main/custom.ts"; import { main as mainEvent } from "./main/event.ts"; diff --git a/denops/fall/main/custom.ts b/denops/fall/main/custom.ts index 5133489..42cd525 100644 --- a/denops/fall/main/custom.ts +++ b/denops/fall/main/custom.ts @@ -1,5 +1,5 @@ -import type { Entrypoint } from "jsr:@denops/std@^7.3.2"; -import { as, assert, is } from "jsr:@core/unknownutil@^4.3.0"; +import type { Entrypoint } from "@denops/std"; +import { as, assert, is } from "@core/unknownutil"; import { editUserCustom, diff --git a/denops/fall/main/event.ts b/denops/fall/main/event.ts index 292a283..7226166 100644 --- a/denops/fall/main/event.ts +++ b/denops/fall/main/event.ts @@ -1,5 +1,5 @@ -import type { Entrypoint } from "jsr:@denops/std@^7.3.2"; -import { as, ensure, is, type Predicate } from "jsr:@core/unknownutil@^4.3.0"; +import type { Entrypoint } from "@denops/std"; +import { as, ensure, is, type Predicate } from "@core/unknownutil"; import { dispatch, type Event } from "../event.ts"; import { withHandleError } from "../error.ts"; diff --git a/denops/fall/main/picker.ts b/denops/fall/main/picker.ts index 412eb8c..223fcac 100644 --- a/denops/fall/main/picker.ts +++ b/denops/fall/main/picker.ts @@ -1,7 +1,7 @@ -import type { Denops, Entrypoint } from "jsr:@denops/std@^7.3.2"; -import { ensurePromise } from "jsr:@core/asyncutil@^1.2.0/ensure-promise"; -import { assert, ensure, is } from "jsr:@core/unknownutil@^4.3.0"; -import type { Detail } from "jsr:@vim-fall/core@^0.3.0/item"; +import type { Denops, Entrypoint } from "@denops/std"; +import { ensurePromise } from "@core/asyncutil/ensure-promise"; +import { assert, ensure, is } from "@core/unknownutil"; +import type { Detail } from "@vim-fall/core/item"; import type { PickerParams } from "../custom.ts"; import { @@ -87,7 +87,7 @@ export const main: Entrypoint = (denops) => { "picker:session:command": withHandleError(denops, async () => { await loadUserCustom(denops); const { substring } = await import( - "jsr:@vim-fall/std@^0.10.0/builtin/matcher/substring" + "@vim-fall/std/builtin/matcher/substring" ); const setting = getSetting(); const sessionPickerParams = { diff --git a/denops/fall/main/submatch.ts b/denops/fall/main/submatch.ts index 0ab0bb1..41a0174 100644 --- a/denops/fall/main/submatch.ts +++ b/denops/fall/main/submatch.ts @@ -1,5 +1,5 @@ -import type { Denops, Entrypoint } from "jsr:@denops/std@^7.3.2"; -import { as, assert, is, type Predicate } from "jsr:@core/unknownutil@^4.3.0"; +import type { Denops, Entrypoint } from "@denops/std"; +import { as, assert, is, type Predicate } from "@core/unknownutil"; import type { Coordinator, Detail, @@ -9,7 +9,7 @@ import type { Renderer, Sorter, Theme, -} from "jsr:@vim-fall/core@^0.3.0"; +} from "@vim-fall/core"; import type { PickerParams } from "../custom.ts"; import { diff --git a/denops/fall/picker.ts b/denops/fall/picker.ts index a541d5b..51b7909 100644 --- a/denops/fall/picker.ts +++ b/denops/fall/picker.ts @@ -1,21 +1,17 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as opt from "jsr:@denops/std@^7.3.2/option"; -import * as autocmd from "jsr:@denops/std@^7.3.2/autocmd"; -import * as lambda from "jsr:@denops/std@^7.3.2/lambda"; -import { collect } from "jsr:@denops/std@^7.3.2/batch"; -import { unreachable } from "jsr:@core/errorutil@^1.2.0/unreachable"; -import type { Detail, IdItem } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { - Coordinator, - Dimension, - Size, -} from "jsr:@vim-fall/core@^0.3.0/coordinator"; -import type { Source } from "jsr:@vim-fall/core@^0.3.0/source"; -import type { Matcher } from "jsr:@vim-fall/core@^0.3.0/matcher"; -import type { Sorter } from "jsr:@vim-fall/core@^0.3.0/sorter"; -import type { Renderer } from "jsr:@vim-fall/core@^0.3.0/renderer"; -import type { Previewer } from "jsr:@vim-fall/core@^0.3.0/previewer"; -import type { Theme } from "jsr:@vim-fall/core@^0.3.0/theme"; +import type { Denops } from "@denops/std"; +import * as opt from "@denops/std/option"; +import * as autocmd from "@denops/std/autocmd"; +import * as lambda from "@denops/std/lambda"; +import { collect } from "@denops/std/batch"; +import { unreachable } from "@core/errorutil/unreachable"; +import type { Detail, IdItem } from "@vim-fall/core/item"; +import type { Coordinator, Dimension, Size } from "@vim-fall/core/coordinator"; +import type { Source } from "@vim-fall/core/source"; +import type { Matcher } from "@vim-fall/core/matcher"; +import type { Sorter } from "@vim-fall/core/sorter"; +import type { Renderer } from "@vim-fall/core/renderer"; +import type { Previewer } from "@vim-fall/core/previewer"; +import type { Theme } from "@vim-fall/core/theme"; import { Scheduler } from "./lib/scheduler.ts"; import { debounce } from "./lib/debounce.ts"; diff --git a/denops/fall/processor/collect.ts b/denops/fall/processor/collect.ts index 1ae3652..12a4663 100644 --- a/denops/fall/processor/collect.ts +++ b/denops/fall/processor/collect.ts @@ -1,8 +1,8 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import { take } from "jsr:@core/iterutil@^0.9.0/async/take"; -import { map } from "jsr:@core/iterutil@^0.9.0/map"; -import type { Detail, IdItem } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { CollectParams, Source } from "jsr:@vim-fall/core@^0.3.0/source"; +import type { Denops } from "@denops/std"; +import { take } from "@core/iterutil/async/take"; +import { map } from "@core/iterutil/map"; +import type { Detail, IdItem } from "@vim-fall/core/item"; +import type { CollectParams, Source } from "@vim-fall/core/source"; import { Chunker } from "../lib/chunker.ts"; import { UniqueOrderedList } from "../lib/unique_ordered_list.ts"; diff --git a/denops/fall/processor/collect_test.ts b/denops/fall/processor/collect_test.ts index 9e5e8f9..8edbb45 100644 --- a/denops/fall/processor/collect_test.ts +++ b/denops/fall/processor/collect_test.ts @@ -1,11 +1,11 @@ import "../lib/polyfill.ts"; -import { assertEquals, assertThrows } from "jsr:@std/assert@^1.0.7"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4"; -import { Notify } from "jsr:@core/asyncutil@^1.2.0"; -import { flushPromises } from "jsr:@core/asyncutil@^1.2.0"; -import type { Source } from "jsr:@vim-fall/core@^0.3.0"; -import { defineSource } from "jsr:@vim-fall/std@^0.10.0"; +import { assertEquals, assertThrows } from "@std/assert"; +import { DenopsStub } from "@denops/test"; +import { Notify } from "@core/asyncutil"; +import { flushPromises } from "@core/asyncutil"; +import type { Source } from "@vim-fall/core"; +import { defineSource } from "@vim-fall/std"; import { dispose } from "../lib/dispose.ts"; import { CollectProcessor } from "./collect.ts"; diff --git a/denops/fall/processor/match.ts b/denops/fall/processor/match.ts index 1b201b7..bfd7ce3 100644 --- a/denops/fall/processor/match.ts +++ b/denops/fall/processor/match.ts @@ -1,8 +1,8 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import { delay } from "jsr:@std/async@^1.0.0/delay"; -import { take } from "jsr:@core/iterutil@^0.9.0/async/take"; -import type { Detail, IdItem } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { Matcher, MatchParams } from "jsr:@vim-fall/core@^0.3.0/matcher"; +import type { Denops } from "@denops/std"; +import { delay } from "@std/async/delay"; +import { take } from "@core/iterutil/async/take"; +import type { Detail, IdItem } from "@vim-fall/core/item"; +import type { Matcher, MatchParams } from "@vim-fall/core/matcher"; import { Chunker } from "../lib/chunker.ts"; import { ItemBelt } from "../lib/item_belt.ts"; diff --git a/denops/fall/processor/match_test.ts b/denops/fall/processor/match_test.ts index 0c3ab97..0a529c0 100644 --- a/denops/fall/processor/match_test.ts +++ b/denops/fall/processor/match_test.ts @@ -1,15 +1,11 @@ import "../lib/polyfill.ts"; -import { assertEquals, assertThrows } from "jsr:@std/assert@^1.0.7"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4"; -import { Notify } from "jsr:@core/asyncutil@^1.2.0"; -import { flushPromises } from "jsr:@core/asyncutil@^1.2.0"; -import { - type DetailUnit, - type IdItem, - type Matcher, -} from "jsr:@vim-fall/core@^0.3.0"; -import { defineMatcher } from "jsr:@vim-fall/std@^0.10.0"; +import { assertEquals, assertThrows } from "@std/assert"; +import { DenopsStub } from "@denops/test"; +import { Notify } from "@core/asyncutil"; +import { flushPromises } from "@core/asyncutil"; +import { type DetailUnit, type IdItem, type Matcher } from "@vim-fall/core"; +import { defineMatcher } from "@vim-fall/std"; import { dispose } from "../lib/dispose.ts"; import { MatchProcessor } from "./match.ts"; diff --git a/denops/fall/processor/preview.ts b/denops/fall/processor/preview.ts index 82e1a68..46770ec 100644 --- a/denops/fall/processor/preview.ts +++ b/denops/fall/processor/preview.ts @@ -1,9 +1,6 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import type { Detail, PreviewItem } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { - Previewer, - PreviewParams, -} from "jsr:@vim-fall/core@^0.3.0/previewer"; +import type { Denops } from "@denops/std"; +import type { Detail, PreviewItem } from "@vim-fall/core/item"; +import type { Previewer, PreviewParams } from "@vim-fall/core/previewer"; import { ItemBelt } from "../lib/item_belt.ts"; import { dispatch } from "../event.ts"; diff --git a/denops/fall/processor/preview_test.ts b/denops/fall/processor/preview_test.ts index 53e0f01..45c1647 100644 --- a/denops/fall/processor/preview_test.ts +++ b/denops/fall/processor/preview_test.ts @@ -1,15 +1,11 @@ import "../lib/polyfill.ts"; -import { assertEquals, assertThrows } from "jsr:@std/assert@^1.0.7"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4"; -import { Notify } from "jsr:@core/asyncutil@^1.2.0"; -import { flushPromises } from "jsr:@core/asyncutil@^1.2.0"; -import { - type DetailUnit, - type IdItem, - type Previewer, -} from "jsr:@vim-fall/core@^0.3.0"; -import { definePreviewer } from "jsr:@vim-fall/std@^0.10.0"; +import { assertEquals, assertThrows } from "@std/assert"; +import { DenopsStub } from "@denops/test"; +import { Notify } from "@core/asyncutil"; +import { flushPromises } from "@core/asyncutil"; +import { type DetailUnit, type IdItem, type Previewer } from "@vim-fall/core"; +import { definePreviewer } from "@vim-fall/std"; import { dispose } from "../lib/dispose.ts"; import { PreviewProcessor } from "./preview.ts"; diff --git a/denops/fall/processor/render.ts b/denops/fall/processor/render.ts index 65583f1..38bd558 100644 --- a/denops/fall/processor/render.ts +++ b/denops/fall/processor/render.ts @@ -1,10 +1,6 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import type { - Detail, - DisplayItem, - IdItem, -} from "jsr:@vim-fall/core@^0.3.0/item"; -import type { Renderer } from "jsr:@vim-fall/core@^0.3.0/renderer"; +import type { Denops } from "@denops/std"; +import type { Detail, DisplayItem, IdItem } from "@vim-fall/core/item"; +import type { Renderer } from "@vim-fall/core/renderer"; import { adjustOffset } from "../lib/adjust_offset.ts"; import { ItemBelt } from "../lib/item_belt.ts"; diff --git a/denops/fall/processor/render_test.ts b/denops/fall/processor/render_test.ts index c2a31f6..55103e5 100644 --- a/denops/fall/processor/render_test.ts +++ b/denops/fall/processor/render_test.ts @@ -1,15 +1,15 @@ import "../lib/polyfill.ts"; -import { assertEquals, assertThrows } from "jsr:@std/assert@^1.0.7"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4"; -import { Notify } from "jsr:@core/asyncutil@^1.2.0"; -import { flushPromises } from "jsr:@core/asyncutil@^1.2.0"; +import { assertEquals, assertThrows } from "@std/assert"; +import { DenopsStub } from "@denops/test"; +import { Notify } from "@core/asyncutil"; +import { flushPromises } from "@core/asyncutil"; import { type DetailUnit, type DisplayItem, type Renderer, -} from "jsr:@vim-fall/core@^0.3.0"; -import { defineRenderer } from "jsr:@vim-fall/std@^0.10.0"; +} from "@vim-fall/core"; +import { defineRenderer } from "@vim-fall/std"; import { dispose } from "../lib/dispose.ts"; import { RenderProcessor } from "./render.ts"; diff --git a/denops/fall/processor/sort.ts b/denops/fall/processor/sort.ts index 566a4ed..ecee427 100644 --- a/denops/fall/processor/sort.ts +++ b/denops/fall/processor/sort.ts @@ -1,6 +1,6 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import type { Detail, IdItem } from "jsr:@vim-fall/core@^0.3.0/item"; -import type { Sorter } from "jsr:@vim-fall/core@^0.3.0/sorter"; +import type { Denops } from "@denops/std"; +import type { Detail, IdItem } from "@vim-fall/core/item"; +import type { Sorter } from "@vim-fall/core/sorter"; import { ItemBelt } from "../lib/item_belt.ts"; import { dispatch } from "../event.ts"; diff --git a/denops/fall/processor/sort_test.ts b/denops/fall/processor/sort_test.ts index cc354ba..819edf4 100644 --- a/denops/fall/processor/sort_test.ts +++ b/denops/fall/processor/sort_test.ts @@ -1,15 +1,11 @@ import "../lib/polyfill.ts"; -import { assertEquals, assertThrows } from "jsr:@std/assert@^1.0.7"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4"; -import { Notify } from "jsr:@core/asyncutil@^1.2.0"; -import { flushPromises } from "jsr:@core/asyncutil@^1.2.0"; -import { - type DetailUnit, - type IdItem, - type Sorter, -} from "jsr:@vim-fall/core@^0.3.0"; -import { defineSorter } from "jsr:@vim-fall/std@^0.10.0"; +import { assertEquals, assertThrows } from "@std/assert"; +import { DenopsStub } from "@denops/test"; +import { Notify } from "@core/asyncutil"; +import { flushPromises } from "@core/asyncutil"; +import { type DetailUnit, type IdItem, type Sorter } from "@vim-fall/core"; +import { defineSorter } from "@vim-fall/std"; import { dispose } from "../lib/dispose.ts"; import { SortProcessor } from "./sort.ts"; diff --git a/denops/fall/session.ts b/denops/fall/session.ts index 5145ec0..d4e81f5 100644 --- a/denops/fall/session.ts +++ b/denops/fall/session.ts @@ -1,4 +1,4 @@ -import type { Detail } from "jsr:@vim-fall/core@^0.3.0/item"; +import type { Detail } from "@vim-fall/core/item"; import type { PickerContext } from "./picker.ts"; diff --git a/denops/fall/session_test.ts b/denops/fall/session_test.ts index 2a14eb8..44f634f 100644 --- a/denops/fall/session_test.ts +++ b/denops/fall/session_test.ts @@ -1,5 +1,5 @@ -import { assertEquals, assertExists } from "jsr:@std/assert@^1.0.8"; -import type { Detail, IdItem } from "jsr:@vim-fall/core@^0.3.0/item"; +import { assertEquals, assertExists } from "@std/assert"; +import type { Detail, IdItem } from "@vim-fall/core/item"; import { listPickerSessions, diff --git a/denops/fall/util/cmdliner.ts b/denops/fall/util/cmdliner.ts index 7cb2f3f..e3c1b23 100644 --- a/denops/fall/util/cmdliner.ts +++ b/denops/fall/util/cmdliner.ts @@ -1,9 +1,9 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as fn from "jsr:@denops/std@^7.3.2/function"; -import * as autocmd from "jsr:@denops/std@^7.3.2/autocmd"; -import { input } from "jsr:@denops/std@^7.3.2/helper/input"; -import { rawString, useEval } from "jsr:@denops/std@^7.3.2/eval"; -import { collect } from "jsr:@denops/std@^7.3.2/batch"; +import type { Denops } from "@denops/std"; +import * as fn from "@denops/std/function"; +import * as autocmd from "@denops/std/autocmd"; +import { input } from "@denops/std/helper/input"; +import { rawString, useEval } from "@denops/std/eval"; +import { collect } from "@denops/std/batch"; import { dispatch } from "../event.ts"; diff --git a/denops/fall/util/cmdliner_test.ts b/denops/fall/util/cmdliner_test.ts index adcd751..66027af 100644 --- a/denops/fall/util/cmdliner_test.ts +++ b/denops/fall/util/cmdliner_test.ts @@ -1,5 +1,5 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.6"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4"; +import { assertEquals } from "@std/assert"; +import { DenopsStub } from "@denops/test"; import { consume, type Event } from "../event.ts"; import { Cmdliner } from "./cmdliner.ts"; diff --git a/denops/fall/util/emitter.ts b/denops/fall/util/emitter.ts index c04ebd7..68b63c2 100644 --- a/denops/fall/util/emitter.ts +++ b/denops/fall/util/emitter.ts @@ -1,5 +1,5 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import { emit } from "jsr:@denops/std@^7.3.2/autocmd"; +import type { Denops } from "@denops/std"; +import { emit } from "@denops/std/autocmd"; /** * Emit `User FallPickerEnterSystem:{name}` autocmd. diff --git a/denops/fall/util/emitter_test.ts b/denops/fall/util/emitter_test.ts index eaa3d5f..799b2fe 100644 --- a/denops/fall/util/emitter_test.ts +++ b/denops/fall/util/emitter_test.ts @@ -1,5 +1,5 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.6"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4/stub"; +import { assertEquals } from "@std/assert"; +import { DenopsStub } from "@denops/test/stub"; import { emitPickerEnterSystem, emitPickerLeaveSystem } from "./emitter.ts"; diff --git a/denops/fall/util/mapping.ts b/denops/fall/util/mapping.ts index 7e9471d..64bface 100644 --- a/denops/fall/util/mapping.ts +++ b/denops/fall/util/mapping.ts @@ -1,7 +1,7 @@ -import type { Denops } from "jsr:@denops/std@^7.3.2"; -import * as mapping from "jsr:@denops/std@^7.3.2/mapping"; -import { chunked } from "jsr:@core/iterutil@^0.9.0/chunked"; -import { range } from "jsr:@core/iterutil@^0.9.0/range"; +import type { Denops } from "@denops/std"; +import * as mapping from "@denops/std/mapping"; +import { chunked } from "@core/iterutil/chunked"; +import { range } from "@core/iterutil/range"; import type { Page } from "../component/help.ts"; import { getByteLength } from "../lib/stringutil.ts"; diff --git a/denops/fall/util/mapping_test.ts b/denops/fall/util/mapping_test.ts index a1d7379..e166845 100644 --- a/denops/fall/util/mapping_test.ts +++ b/denops/fall/util/mapping_test.ts @@ -1,5 +1,5 @@ -import { assertEquals } from "jsr:@std/assert@^1.0.6"; -import { DenopsStub } from "jsr:@denops/test@^3.0.4/stub"; +import { assertEquals } from "@std/assert"; +import { DenopsStub } from "@denops/test/stub"; import { buildMappingHelpPages } from "./mapping.ts"; const dummyCmapRecords = [ diff --git a/denops/fall/util/predicate.ts b/denops/fall/util/predicate.ts index 4c94201..3b45ad7 100644 --- a/denops/fall/util/predicate.ts +++ b/denops/fall/util/predicate.ts @@ -1,4 +1,4 @@ -import { as, is, type Predicate } from "jsr:@core/unknownutil@^4.3.0"; +import { as, is, type Predicate } from "@core/unknownutil"; import type { Action, Coordinator, @@ -10,7 +10,7 @@ import type { Sorter, Source, Theme, -} from "jsr:@vim-fall/core@^0.3.0"; +} from "@vim-fall/core"; import type { PickerParams, Setting } from "../custom.ts";