Skip to content

Commit 377c8cb

Browse files
committed
fix(docs): satisfy vp fmt sortImports for VitePress theme files
1 parent 327b333 commit 377c8cb

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/.vitepress/theme/data/fetch-trusted-stack-stats.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
* `pnpm -C docs update-trusted-stack-stats`
77
* or: `node docs/.vitepress/theme/data/fetch-trusted-stack-stats.ts`
88
*/
9-
import { writeFile } from 'node:fs/promises';
10-
import { dirname, join } from 'node:path';
11-
import { fileURLToPath } from 'node:url';
12-
139
import type {
1410
TrustedStackProjectId,
1511
TrustedStackStatProject,
1612
TrustedStackStatsFile,
17-
} from './trusted-stack-stats.types.ts';
13+
} from './trusted-stack-stats.types';
14+
15+
import { writeFile } from 'node:fs/promises';
16+
import { dirname, join } from 'node:path';
17+
import { fileURLToPath } from 'node:url';
1818

1919
const __dirname = dirname(fileURLToPath(import.meta.url));
2020
const OUT = join(__dirname, 'trusted-stack-stats.json');

docs/.vitepress/theme/data/trusted-stack-stats.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import raw from './trusted-stack-stats.json';
2-
31
import type { TrustedStackProjectId, TrustedStackStatProject, TrustedStackStatsFile } from './trusted-stack-stats.types';
42

3+
import raw from './trusted-stack-stats.json';
4+
55
export type { TrustedStackProjectId, TrustedStackStatProject, TrustedStackStatsFile } from './trusted-stack-stats.types';
66

77
export const trustedStackStats = raw as TrustedStackStatsFile;

0 commit comments

Comments
 (0)