diff --git a/deps/ts_morph_common.ts b/deps/ts_morph_common.ts new file mode 100644 index 0000000..a0b12d9 --- /dev/null +++ b/deps/ts_morph_common.ts @@ -0,0 +1 @@ +export * from "https://deno.land/x/ts_morph@21.0.1/common/mod.ts" diff --git a/graph/fs.ts b/graph/fs.ts index 3b1bce2..14d97d7 100644 --- a/graph/fs.ts +++ b/graph/fs.ts @@ -1,4 +1,4 @@ -import { RealFileSystemHost } from "https://deno.land/x/ts_morph@21.0.1/common/mod.ts" +import { RealFileSystemHost } from "../deps/ts_morph_common.ts" /** * Intercepts and skips file & directory lookup to speed up the process diff --git a/utils/project.ts b/utils/project.ts index 3c4350c..c1b3fac 100644 --- a/utils/project.ts +++ b/utils/project.ts @@ -2,7 +2,7 @@ import { type CompilerOptions, type ProjectOptions, ts, -} from "https://deno.land/x/ts_morph@21.0.1/mod.ts" +} from "../deps/ts_morph.ts" import { FilteredFSHost } from "../graph/fs.ts" const ignore = /http|npm:|node_modules|\.jsx?|\.d\.ts/ diff --git a/utils/resolution_host.ts b/utils/resolution_host.ts index 61b3dd2..a7dc3c7 100644 --- a/utils/resolution_host.ts +++ b/utils/resolution_host.ts @@ -1,7 +1,7 @@ import { ResolutionHostFactory, ts, -} from "https://deno.land/x/ts_morph@21.0.1/mod.ts" +} from "../deps/ts_morph.ts" export const deno: ResolutionHostFactory = ( moduleResolutionHost,