@deepsweet/mdn 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path from "path";
|
|
6
6
|
import {
|
|
7
|
-
downloadFileToCacheDir,
|
|
8
7
|
getHFHubCachePath,
|
|
9
8
|
getRepoFolderName,
|
|
10
9
|
scanCachedRepo,
|
|
@@ -64,8 +63,7 @@ var getLatestCachedRepoRevision = async (name, type) => {
|
|
|
64
63
|
};
|
|
65
64
|
var downloadDataset = async () => {
|
|
66
65
|
const dirPath = await snapshotDownload({
|
|
67
|
-
repo: `datasets/${DATASET_REPO}
|
|
68
|
-
path: `data/${TABLE_FILENAME}`
|
|
66
|
+
repo: `datasets/${DATASET_REPO}`
|
|
69
67
|
});
|
|
70
68
|
const dataPath = path.join(dirPath, "data");
|
|
71
69
|
await replaceSymlinksWithHardlinks(dataPath);
|
|
@@ -139,7 +137,7 @@ var createReranker = async () => {
|
|
|
139
137
|
|
|
140
138
|
// package.json
|
|
141
139
|
var name = "@deepsweet/mdn";
|
|
142
|
-
var version = "0.3.
|
|
140
|
+
var version = "0.3.1";
|
|
143
141
|
|
|
144
142
|
// src/server.ts
|
|
145
143
|
var startMcpServer = async () => {
|