@antfly/sdk 0.0.5 → 0.0.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antfly/sdk",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "TypeScript SDK for Antfly API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -13,34 +13,25 @@
13
13
  "require": "./dist/index.cjs"
14
14
  }
15
15
  },
16
- "files": [
17
- "dist",
18
- "README.md",
19
- "LICENSE"
20
- ],
16
+ "files": ["dist", "README.md", "LICENSE"],
21
17
  "scripts": {
22
18
  "build": "tsup src/index.ts --format cjs,esm --dts --clean",
19
+ "prepare": "npm run build",
23
20
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
24
- "test": "node --experimental-vm-modules node_modules/.bin/jest",
25
- "test:coverage": "node --experimental-vm-modules node_modules/.bin/jest --coverage",
21
+ "test": "vitest run",
22
+ "test:watch": "vitest",
23
+ "test:ui": "vitest --ui",
24
+ "test:coverage": "vitest run --coverage",
26
25
  "test:ts": "tsc --noEmit",
27
- "lint": "eslint src/**/*.ts",
28
- "lint:fix": "eslint src/**/*.ts --fix",
29
- "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
30
- "generate": "npx openapi-typescript ../antfly/openapi.yaml -o ./src/antfly-api.d.ts && npx openapi-typescript bleve-query-openapi.yaml --client fetch -o ./src/bleve-query.d.ts",
26
+ "typecheck": "tsc --noEmit",
27
+ "lint": "biome check .",
28
+ "lint:fix": "biome check . --write",
29
+ "format": "biome format --write .",
30
+ "generate": "npx openapi-typescript ../openapi.yaml -o ./src/antfly-api.d.ts --default-non-nullable=false && npx openapi-typescript ../bleve-query-openapi.yaml --client fetch -o ./src/bleve-query.d.ts --default-non-nullable=false",
31
31
  "prepublishOnly": "npm run test:ts && npm run lint && npm run test && npm run build",
32
32
  "example:node": "tsx examples/node-example.ts"
33
33
  },
34
- "keywords": [
35
- "antfly",
36
- "sdk",
37
- "typescript",
38
- "api",
39
- "client",
40
- "database",
41
- "vector",
42
- "search"
43
- ],
34
+ "keywords": ["antfly", "sdk", "typescript", "api", "client", "database", "vector", "search"],
44
35
  "author": "Antfly Contributors",
45
36
  "license": "Apache-2.0",
46
37
  "repository": {
@@ -52,22 +43,17 @@
52
43
  },
53
44
  "homepage": "https://github.com/antflydb/antfly-ts#readme",
54
45
  "devDependencies": {
55
- "@eslint/js": "^9.35.0",
56
- "@types/jest": "^25.1.0",
57
- "@types/node": "^24.3.1",
58
- "@typescript-eslint/eslint-plugin": "^8.42.0",
59
- "@typescript-eslint/parser": "^8.42.0",
60
- "eslint": "^9.35.0",
61
- "jest": "^28.1.0",
62
- "openapi-typescript": "^5.4.2",
63
- "prettier": "^3.6.2",
64
- "ts-jest": "^28.0.5",
65
- "tsup": "^8.1.0",
66
- "tsx": "^4.20.5",
67
- "typescript": "^5.9.2"
46
+ "@biomejs/biome": "^2.3.8",
47
+ "@types/node": "^24.10.1",
48
+ "@vitest/ui": "^4.0.15",
49
+ "openapi-typescript": "^7.10.1",
50
+ "tsup": "^8.5.1",
51
+ "tsx": "^4.21.0",
52
+ "typescript": "^5.9.3",
53
+ "vitest": "^4.0.15"
68
54
  },
69
55
  "dependencies": {
70
- "openapi-fetch": "^0.14.0"
56
+ "openapi-fetch": "^0.15.0"
71
57
  },
72
58
  "engines": {
73
59
  "node": ">=18"