Skip to content

Commit b1a3abc

Browse files
committed
fix(utils): proper path
1 parent 3993135 commit b1a3abc

1 file changed

Lines changed: 10 additions & 14 deletions

File tree

packages/workshop-utils/src/diff.server.ts

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
import os from 'os'
22
import path from 'path'
33
import { type CacheEntry } from '@epic-web/cachified'
4+
import { execa } from 'execa'
5+
import fsExtra from 'fs-extra'
6+
import ignore from 'ignore'
7+
import parseGitDiff, { type AnyFileChange } from 'parse-git-diff'
8+
import { bundledLanguagesInfo } from 'shiki/langs'
49
import {
510
getForceFreshForDir,
611
getRelativePath,
712
workshopRoot,
813
modifiedTimes,
914
type App,
10-
} from '@epic-web/workshop-utils/apps.server'
11-
import {
12-
cachified,
13-
diffCodeCache,
14-
diffFilesCache,
15-
} from '@epic-web/workshop-utils/cache.server'
16-
import { compileMarkdownString } from '@epic-web/workshop-utils/compile-mdx.server'
17-
import { modifiedMoreRecentlyThan } from '@epic-web/workshop-utils/modified-time.server'
18-
import { type Timings } from '@epic-web/workshop-utils/timing.server'
19-
import { execa } from 'execa'
20-
import fsExtra from 'fs-extra'
21-
import ignore from 'ignore'
22-
import parseGitDiff, { type AnyFileChange } from 'parse-git-diff'
23-
import { bundledLanguagesInfo } from 'shiki/langs'
15+
} from './apps.server.js'
16+
import { cachified, diffCodeCache, diffFilesCache } from './cache.server.js'
17+
import { compileMarkdownString } from './compile-mdx.server.js'
18+
import { modifiedMoreRecentlyThan } from './modified-time.server.js'
19+
import { type Timings } from './timing.server.js'
2420

2521
const epicshopTempDir = path.join(os.tmpdir(), 'epicshop')
2622

0 commit comments

Comments
 (0)