|
5 | 5 | "publishConfig": {
|
6 | 6 | "access": "public"
|
7 | 7 | },
|
8 |
| - "main": "./dist/instructor.js", |
9 |
| - "module": "./dist/instructor.mjs", |
10 |
| - "types": "./dist/instructor.d.ts", |
| 8 | + "type": "module", |
| 9 | + "main": "./dist/index.js", |
| 10 | + "module": "./dist/index.js", |
11 | 11 | "exports": {
|
12 | 12 | ".": {
|
13 |
| - "import": "./dist/instructor.mjs", |
14 |
| - "require": "./dist/instructor.js" |
15 |
| - }, |
16 |
| - "./*": "./dist/*.mjs" |
| 13 | + "require": "./dist/index.cjs", |
| 14 | + "import": "./dist/index.js", |
| 15 | + "default": "./dist/index.js", |
| 16 | + "types": "./dist/index.d.ts" |
| 17 | + } |
17 | 18 | },
|
18 | 19 | "files": [
|
19 | 20 | "dist/**"
|
20 | 21 | ],
|
21 |
| - "sideEffects": false, |
| 22 | + "typings": "./dist/index.d.ts", |
22 | 23 | "scripts": {
|
23 | 24 | "test": "echo \"Error: no test specified\" && exit 1",
|
24 | 25 | "build": "tsup",
|
|
50 | 51 | },
|
51 | 52 | "homepage": "https://github.com/instructor-ai/instructor-js#readme",
|
52 | 53 | "dependencies": {
|
53 |
| - "zod-stream": "^0.0.4", |
| 54 | + "zod-stream": "^0.0.5", |
54 | 55 | "zod-to-json-schema": "^3.22.3",
|
55 | 56 | "zod-validation-error": "^2.1.0"
|
56 | 57 | },
|
|
64 | 65 | "@ianvs/prettier-plugin-sort-imports": "4.1.0",
|
65 | 66 | "@types/bun": "^1.0.0",
|
66 | 67 | "@types/node": "^20.10.6",
|
67 |
| - "@typescript-eslint/eslint-plugin": "latest", |
68 |
| - "@typescript-eslint/parser": "latest", |
69 |
| - "eslint": "latest", |
70 |
| - "eslint-config-prettier": "latest", |
| 68 | + "eslint-config-turbo": "^1.10.12", |
| 69 | + "eslint-config-prettier": "^9.0.0", |
| 70 | + "eslint-config": "^0.3.0", |
| 71 | + "eslint-plugin-prettier": "^5.1.2", |
71 | 72 | "eslint-import-resolver-typescript": "^3.5.5",
|
72 | 73 | "eslint-plugin-import": "^2.27.5",
|
73 |
| - "eslint-plugin-prettier": "latest", |
| 74 | + "eslint-plugin-only-warn": "^1.1.0", |
| 75 | + "@typescript-eslint/parser": "^6.11.0", |
| 76 | + "@typescript-eslint/eslint-plugin": "^6.11.0", |
74 | 77 | "husky": "^8.0.3",
|
75 | 78 | "prettier": "latest",
|
76 | 79 | "tsup": "^8.0.1",
|
|
0 commit comments