@huggingface/tasks 0.0.1 → 0.0.3
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.cjs +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +9 -10
- package/src/index.ts +2 -2
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -142,4 +142,4 @@ interface TaskData {
|
|
|
142
142
|
|
|
143
143
|
declare const TASKS_DATA: Record<PipelineType, TaskData | undefined>;
|
|
144
144
|
|
|
145
|
-
export { TASKS_DATA, type TaskData, type TaskDemo, type TaskDemoEntry };
|
|
145
|
+
export { type ExampleRepo, TASKS_DATA, type TaskData, type TaskDemo, type TaskDemoEntry };
|
package/dist/index.d.ts
CHANGED
|
@@ -142,4 +142,4 @@ interface TaskData {
|
|
|
142
142
|
|
|
143
143
|
declare const TASKS_DATA: Record<PipelineType, TaskData | undefined>;
|
|
144
144
|
|
|
145
|
-
export { TASKS_DATA, type TaskData, type TaskDemo, type TaskDemoEntry };
|
|
145
|
+
export { type ExampleRepo, TASKS_DATA, type TaskData, type TaskDemo, type TaskDemoEntry };
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huggingface/tasks",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A library of tasks for the Hugging Face Hub",
|
|
6
|
-
"main": "./dist/index.
|
|
7
|
-
"module": "./dist/index.
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"require": "./dist/index.
|
|
13
|
-
"import": "./dist/index.
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
"scripts": {
|
|
17
|
+
"prepublishOnly": "npm run build",
|
|
18
18
|
"build": "tsup src/index.ts --format cjs,esm --clean --dts",
|
|
19
|
-
"test": "vitest run",
|
|
20
19
|
"type-check": "tsc"
|
|
21
|
-
|
|
20
|
+
},
|
|
22
21
|
"source": "src/index.ts",
|
|
23
22
|
"files": [
|
|
24
23
|
"assets",
|
|
@@ -29,7 +28,7 @@
|
|
|
29
28
|
"tsup": "^7.3.0",
|
|
30
29
|
"typescript": "^5.2.2"
|
|
31
30
|
},
|
|
32
|
-
|
|
31
|
+
"publishConfig": {
|
|
33
32
|
"access": "public"
|
|
34
33
|
}
|
|
35
34
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { TaskData, TaskDemo, TaskDemoEntry } from "./Types";
|
|
2
|
-
export { TASKS_DATA } from "./tasksData";
|
|
1
|
+
export type { TaskData, TaskDemo, TaskDemoEntry, ExampleRepo } from "./Types";
|
|
2
|
+
export { TASKS_DATA } from "./tasksData";
|