Skip to content

Commit

Permalink
refactor: extract ts_morph
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Feb 27, 2024
1 parent 2f109ed commit 41f5384
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions deps/ts_morph_common.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "https://deno.land/x/[email protected]/common/mod.ts"
2 changes: 1 addition & 1 deletion graph/fs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RealFileSystemHost } from "https://deno.land/x/[email protected]/common/mod.ts"
import { RealFileSystemHost } from "../deps/ts_morph_common.ts"

/**
* Intercepts and skips file & directory lookup to speed up the process
Expand Down
2 changes: 1 addition & 1 deletion utils/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion utils/resolution_host.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 41f5384

Please sign in to comment.