|
10 | 10 | "directory": "packages/typescript/ai" |
11 | 11 | }, |
12 | 12 | "type": "module", |
13 | | - "types": "./dist/esm/index.d.ts", |
14 | | - "module": "./dist/esm/index.js", |
| 13 | + "types": "./dist/index.d.ts", |
| 14 | + "module": "./dist/index.js", |
15 | 15 | "exports": { |
16 | 16 | ".": { |
17 | | - "types": "./dist/esm/index.d.ts", |
18 | | - "import": "./dist/esm/index.js" |
| 17 | + "workerd": { |
| 18 | + "types": "./dist/index.d.ts", |
| 19 | + "import": "./dist/server.js" |
| 20 | + }, |
| 21 | + "browser": { |
| 22 | + "development": { |
| 23 | + "types": "./dist/index.d.ts", |
| 24 | + "import": "./dist/dev.js" |
| 25 | + }, |
| 26 | + "types": "./dist/index.d.ts", |
| 27 | + "import": "./dist/index.js" |
| 28 | + }, |
| 29 | + "node": { |
| 30 | + "types": "./dist/index.d.ts", |
| 31 | + "import": "./dist/server.js" |
| 32 | + }, |
| 33 | + "types": "./dist/index.d.ts", |
| 34 | + "import": "./dist/index.js" |
19 | 35 | }, |
20 | 36 | "./production": { |
21 | | - "types": "./dist/esm/production.d.ts", |
22 | | - "import": "./dist/esm/production.js" |
| 37 | + "workerd": { |
| 38 | + "types": "./dist/production/index.d.ts", |
| 39 | + "import": "./dist/production/server.js" |
| 40 | + }, |
| 41 | + "browser": { |
| 42 | + "development": { |
| 43 | + "types": "./dist/production/index.d.ts", |
| 44 | + "import": "./dist/production/dev.js" |
| 45 | + }, |
| 46 | + "types": "./dist/production/index.d.ts", |
| 47 | + "import": "./dist/production/index.js" |
| 48 | + }, |
| 49 | + "node": { |
| 50 | + "types": "./dist/production/index.d.ts", |
| 51 | + "import": "./dist/production/server.js" |
| 52 | + }, |
| 53 | + "types": "./dist/production/index.d.ts", |
| 54 | + "import": "./dist/production/index.js" |
23 | 55 | }, |
24 | 56 | "./package.json": "./package.json" |
25 | 57 | }, |
|
28 | 60 | "src" |
29 | 61 | ], |
30 | 62 | "scripts": { |
31 | | - "build": "vite build", |
| 63 | + "build": "tsup", |
32 | 64 | "clean": "premove ./build ./dist", |
33 | 65 | "lint:fix": "eslint ./src --fix", |
34 | 66 | "test:build": "publint --strict", |
|
47 | 79 | ], |
48 | 80 | "dependencies": { |
49 | 81 | "@tanstack/ai": "workspace:*", |
50 | | - "@tanstack/devtools-ui": "^0.4.4", |
51 | | - "@tanstack/devtools-utils": "^0.3.0", |
| 82 | + "@tanstack/devtools-ui": "^0.5.0", |
| 83 | + "@tanstack/devtools-utils": "0.3.2", |
52 | 84 | "goober": "^2.1.18", |
53 | 85 | "solid-js": "^1.9.10" |
54 | 86 | }, |
55 | 87 | "devDependencies": { |
56 | 88 | "@vitest/coverage-v8": "4.0.14", |
57 | 89 | "jsdom": "^27.2.0", |
| 90 | + "tsup": "^8.5.1", |
| 91 | + "tsup-preset-solid": "^2.2.0", |
58 | 92 | "vite": "^7.2.7", |
59 | 93 | "vite-plugin-solid": "^2.11.10" |
60 | 94 | } |
|
0 commit comments