fix: update MeiliSearch import to Meilisearch and adjust tsconfig paths

This commit is contained in:
2026-04-10 19:16:13 +08:00
parent baa47a5289
commit 2e689ecf4d
8 changed files with 1018 additions and 57 deletions

19
data.ts Normal file
View File

@@ -0,0 +1,19 @@
import fs from 'node:fs';
import path from 'node:path';
const reposPath = path.join(process.cwd(), 'starred-repos.json');
const reposData = fs.readFileSync(reposPath, 'utf-8');
export const repos = JSON.parse(reposData) as Repo[];
export type Repo = {
id: number;
name: string;
description: string;
author: string;
stars: number;
lastUpdated: string;
url: string;
}