| 
1 | 1 | {  | 
2 |  | -  "name": "weaviate-client",  | 
 | 2 | +  "name": "@weaviate/client",  | 
3 | 3 |   "version": "3.6.2",  | 
4 | 4 |   "description": "JS/TS client for Weaviate",  | 
5 |  | -  "main": "dist/node/cjs/index.js",  | 
6 | 5 |   "type": "module",  | 
7 |  | -  "exports": {  | 
8 |  | -    ".": {  | 
9 |  | -      "types": {  | 
10 |  | -        "require": "./dist/node/cjs/index.d.ts",  | 
11 |  | -        "default": "./dist/node/esm/index.d.ts"  | 
12 |  | -      },  | 
13 |  | -      "default": {  | 
14 |  | -        "require": "./dist/node/cjs/index.js",  | 
15 |  | -        "default": "./dist/node/esm/index.js"  | 
16 |  | -      }  | 
17 |  | -    }  | 
18 |  | -  },  | 
19 | 6 |   "engines": {  | 
20 |  | -    "node": ">=18.0.0"  | 
 | 7 | +    "node": ">=20.0.0"  | 
21 | 8 |   },  | 
 | 9 | +  "private": true,  | 
 | 10 | +  "workspaces": [  | 
 | 11 | +    "packages/*"  | 
 | 12 | +  ],  | 
22 | 13 |   "scripts": {  | 
23 |  | -    "test": "jest --no-cache --useStderr --runInBand --detectOpenHandles",  | 
24 |  | -    "test:coverage": "npm run test -- --coverage",  | 
25 |  | -    "build": "npm run build:node",  | 
26 |  | -    "build:web": "tsup",  | 
27 |  | -    "build:cjs": "tsc --module commonjs --moduleResolution node10 --outDir dist/node/cjs && touch dist/node/cjs/package.json && echo '{\"type\": \"commonjs\"}' > dist/node/cjs/package.json",  | 
28 |  | -    "build:esm": "tsc --outDir dist/node/esm && touch dist/node/esm/package.json && echo '{\"type\": \"module\"}' > dist/node/esm/package.json",  | 
29 |  | -    "build:node": "npm run lint && npm run build:cjs && npm run build:esm && prettier --write --no-error-on-unmatched-pattern '**/dist/**/*.{ts,js}'",  | 
 | 14 | +    "test": "pnpm --filter @weaviate/test test",  | 
30 | 15 |     "prepack": "npm run build",  | 
31 | 16 |     "lint": "eslint --ext .ts,.js .",  | 
32 | 17 |     "lint:fix": "npm run lint -- --fix",  | 
 | 18 | +    "lint:staged": "npm run format:check && npm run lint -- --cache",  | 
33 | 19 |     "format": "prettier --write --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",  | 
34 | 20 |     "format:check": "prettier --check --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'",  | 
35 | 21 |     "format:dist": "prettier --write --no-error-on-unmatched-pattern '**/dist/**/*.{ts,js}'",  | 
36 | 22 |     "refresh-schema": "./tools/refresh_schema.sh",  | 
37 | 23 |     "refresh-protos": "./tools/refresh_protos.sh",  | 
38 |  | -    "docs": "typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --out docs/ src/"  | 
 | 24 | +    "docs": "typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --out docs/ ./packages/core/src ./packages/node/src ./packages/web/src",  | 
 | 25 | +    "build:core": "cd packages/core && npm run build",  | 
 | 26 | +    "build:web": "cd packages/web && npm run build",  | 
 | 27 | +    "build:node": "cd packages/node && npm run build",  | 
 | 28 | +    "build:all": "npm run build:core && npm run build:web && npm run build:node"  | 
39 | 29 |   },  | 
40 | 30 |   "repository": {  | 
41 | 31 |     "type": "git",  | 
 | 
50 | 40 |     "url": "https://github.com/weaviate/typescript-client/issues"  | 
51 | 41 |   },  | 
52 | 42 |   "homepage": "https://github.com/weaviate/typescript-client#readme",  | 
53 |  | -  "dependencies": {  | 
54 |  | -    "abort-controller-x": "^0.4.3",  | 
55 |  | -    "graphql": "^16.10.0",  | 
56 |  | -    "graphql-request": "^6.1.0",  | 
57 |  | -    "long": "^5.2.4",  | 
58 |  | -    "nice-grpc": "^2.1.11",  | 
59 |  | -    "nice-grpc-client-middleware-retry": "^3.1.10",  | 
60 |  | -    "nice-grpc-common": "^2.0.2",  | 
61 |  | -    "nice-grpc-web": "^3.3.7",  | 
62 |  | -    "uuid": "^9.0.1"  | 
63 |  | -  },  | 
64 | 43 |   "devDependencies": {  | 
65 |  | -    "@babel/core": "^7.20.12",  | 
66 |  | -    "@babel/preset-typescript": "^7.18.6",  | 
67 |  | -    "@babel/runtime": "^7.20.7",  | 
68 |  | -    "@curveball/bodyparser": "0.5.0",  | 
69 |  | -    "@curveball/core": "0.20.0",  | 
70 |  | -    "@curveball/kernel": "0.20.1",  | 
71 |  | -    "@rollup/plugin-babel": "^5.3.1",  | 
72 |  | -    "@testcontainers/weaviate": "^10.14.0",  | 
73 |  | -    "@types/express": "^4.17.21",  | 
74 |  | -    "@types/isomorphic-fetch": "^0.0.36",  | 
75 |  | -    "@types/jest": "^29.4.0",  | 
76 |  | -    "@types/node": "^18.14.0",  | 
77 |  | -    "@types/uuid": "^9.0.1",  | 
78 | 44 |     "@typescript-eslint/eslint-plugin": "^6.21.0",  | 
79 | 45 |     "@typescript-eslint/parser": "^6.21.0",  | 
80 |  | -    "babel-jest": "^29.4.3",  | 
81 |  | -    "eslint": "^8.35.0",  | 
82 |  | -    "eslint-config-prettier": "^8.7.0",  | 
 | 46 | +    "eslint": "^8.57.1",  | 
 | 47 | +    "eslint-config-prettier": "^8.10.0",  | 
83 | 48 |     "eslint-plugin-prettier": "^4.2.1",  | 
84 |  | -    "express": "^4.19.2",  | 
85 |  | -    "grpc-tools": "^1.12.4",  | 
86 | 49 |     "husky": "^8.0.3",  | 
87 |  | -    "jest": "^29.4.3",  | 
88 |  | -    "lint-staged": "^13.2.0",  | 
89 |  | -    "openapi-typescript": "^5.4.1",  | 
90 |  | -    "prettier": "^2.8.4",  | 
 | 50 | +    "lint-staged": "^13.3.0",  | 
 | 51 | +    "openapi-typescript": "^5.4.2",  | 
 | 52 | +    "prettier": "^2.8.8",  | 
91 | 53 |     "prettier-plugin-organize-imports": "^3.2.4",  | 
92 |  | -    "protobufjs": "^7.2.6",  | 
93 |  | -    "ts-jest": "^29.0.5",  | 
94 |  | -    "ts-node": "^10.9.2",  | 
95 |  | -    "ts-proto": "^1.163.0",  | 
96 |  | -    "tsup": "^8.0.2",  | 
97 |  | -    "typedoc": "^0.26.0",  | 
98 |  | -    "typedoc-plugin-extras": "^3.0.0",  | 
99 |  | -    "typescript": "^5.3.3"  | 
100 |  | -  },  | 
101 |  | -  "lint-staged": {  | 
102 |  | -    "*.{ts,js}": [  | 
103 |  | -      "npm run format:check",  | 
104 |  | -      "npm run lint -- --cache"  | 
105 |  | -    ]  | 
 | 54 | +    "ts-proto": "^1.181.2",  | 
 | 55 | +    "typedoc": "^0.26.11",  | 
 | 56 | +    "typedoc-plugin-extras": "^3.1.0",  | 
 | 57 | +    "typescript": "^5.8.3"  | 
106 | 58 |   }  | 
107 | 59 | }  | 
0 commit comments