mixpeek 0.81.29 → 0.81.30
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/package.json +7 -5
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mixpeek",
|
|
3
|
-
"version": "0.81.
|
|
3
|
+
"version": "0.81.30",
|
|
4
4
|
"description": "Official Mixpeek TypeScript/JavaScript SDK for multimodal data processing and retrieval",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
7
|
+
"types": "./dist/lib/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
10
|
+
"types": "./dist/lib/index.d.ts",
|
|
11
11
|
"import": "./dist/index.mjs",
|
|
12
12
|
"require": "./dist/index.js"
|
|
13
13
|
}
|
|
@@ -21,13 +21,15 @@
|
|
|
21
21
|
"generate": "bash scripts/generate.sh",
|
|
22
22
|
"generate:zod": "ts-node scripts/generate_zod.ts",
|
|
23
23
|
"inject:wrapper": "ts-node scripts/inject_wrapper.ts",
|
|
24
|
-
"build": "tsup
|
|
24
|
+
"build": "tsup lib/index.ts --format cjs,esm --sourcemap --clean && npm run build:dts && npm run check:types-entry",
|
|
25
25
|
"prepublishOnly": "npm run build",
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:unit": "jest --testPathPattern=test/unit",
|
|
28
28
|
"test:integration": "jest --testPathPattern=test/integration",
|
|
29
29
|
"lint": "eslint src/ lib/",
|
|
30
|
-
"typecheck": "tsc --noEmit"
|
|
30
|
+
"typecheck": "tsc --noEmit",
|
|
31
|
+
"build:dts": "tsc --emitDeclarationOnly --declaration --outDir dist || echo 'DTS generation had errors (non-fatal)'",
|
|
32
|
+
"check:types-entry": "node -e \"const p=require('./package.json');require('fs').accessSync(p.types.replace('./',''));console.log('types entry OK: '+p.types)\""
|
|
31
33
|
},
|
|
32
34
|
"keywords": [
|
|
33
35
|
"mixpeek",
|