-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 5.4 KB
/
Copy pathpackage.json
File metadata and controls
169 lines (169 loc) · 5.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "@nestm/ai-sdk",
"version": "0.1.0-alpha.5",
"description": "Provider-neutral AI SDK 7 integration for NestJS 12 with typed DI, tools, agents, streaming HTTP responses, and optional content-free observability.",
"license": "BSD-3-Clause",
"author": "nestm",
"repository": {
"type": "git",
"url": "git+https://github.com/nestm-dev/ai-sdk.git"
},
"homepage": "https://github.com/nestm-dev/ai-sdk#readme",
"bugs": {
"url": "https://github.com/nestm-dev/ai-sdk/issues"
},
"keywords": [
"nestjs",
"nestjs-12",
"ai-sdk",
"vercel-ai-sdk",
"agents",
"llm",
"streaming",
"observability",
"telemetry",
"esm",
"nestm"
],
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@11.24.0",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"./http": {
"types": "./dist/http/index.d.mts",
"import": "./dist/http/index.mjs",
"default": "./dist/http/index.mjs"
},
"./testing": {
"types": "./dist/testing/index.d.mts",
"import": "./dist/testing/index.mjs",
"default": "./dist/testing/index.mjs"
},
"./harness": {
"types": "./dist/harness/index.d.mts",
"import": "./dist/harness/index.mjs",
"default": "./dist/harness/index.mjs"
},
"./harness/testing": {
"types": "./dist/harness/testing/index.d.mts",
"import": "./dist/harness/testing/index.mjs",
"default": "./dist/harness/testing/index.mjs"
},
"./observability": {
"types": "./dist/observability/index.d.mts",
"import": "./dist/observability/index.mjs",
"default": "./dist/observability/index.mjs"
},
"./observability/core": {
"types": "./dist/observability/core/index.d.mts",
"import": "./dist/observability/core/index.mjs",
"default": "./dist/observability/core/index.mjs"
},
"./observability/http": {
"types": "./dist/observability/http/index.d.mts",
"import": "./dist/observability/http/index.mjs",
"default": "./dist/observability/http/index.mjs"
},
"./observability/testing": {
"types": "./dist/observability/testing/index.d.mts",
"import": "./dist/observability/testing/index.mjs",
"default": "./dist/observability/testing/index.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"build:watch": "tsdown --watch src",
"build:tsc": "tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit",
"lint": "oxlint --type-aware",
"lint:fix": "oxlint --type-aware --fix",
"format": "prettier --write . --ignore-unknown",
"format:check": "prettier --check . --ignore-unknown",
"check": "pnpm run lint && pnpm run format:check && pnpm run typecheck && pnpm run check:circular",
"check:circular": "madge --circular --extensions ts src && node scripts/check-app-circular.mjs",
"test": "pnpm run test:unit && pnpm run test:express && pnpm run test:fastify && pnpm run test:types",
"test:unit": "vitest run --config vitest.config.ts",
"test:express": "cross-env TEST_HTTP_ADAPTER=express vitest run --config vitest.config.e2e.ts",
"test:fastify": "cross-env TEST_HTTP_ADAPTER=fastify vitest run --config vitest.config.e2e.ts",
"test:types": "tsc -p tests/types/tsconfig.json",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:packed-types": "tsc -p tests/packed-types/tsconfig.json",
"example:build": "pnpm --filter @nestm/example-ai-sdk build",
"verify:pack": "pnpm run build && node scripts/check-package.mjs && publint --strict && pnpm run test:packed-types",
"verify:control-plane": "pnpm run build && pnpm --filter @nestm/ai-sdk-control-plane-web run verify",
"verify:playground": "pnpm run build && pnpm --filter @nestm/ai-sdk-playground run check && pnpm --filter @nestm/ai-sdk-playground run build",
"verify": "pnpm run check && pnpm run test && pnpm run verify:pack && pnpm exec attw --pack . --profile esm-only && pnpm run example:build && pnpm run verify:control-plane && pnpm run verify:playground",
"prepack": "pnpm run build",
"changeset": "changeset",
"release": "node scripts/publish.mjs"
},
"peerDependencies": {
"@ai-sdk/harness": "1.0.92",
"@nestjs/common": "^12.0.0",
"@nestjs/core": "^12.0.0",
"ai": ">=7.0.52 <8.0.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.0"
},
"peerDependenciesMeta": {
"@ai-sdk/harness": {
"optional": true
}
},
"devDependencies": {
"@ai-sdk/harness": "1.0.92",
"@ai-sdk/harness-claude-code": "1.0.96",
"@ai-sdk/harness-codex": "1.0.94",
"@ai-sdk/sandbox-vercel": "1.0.92",
"@ai-sdk/workflow-harness": "1.0.92",
"@arethetypeswrong/cli": "0.18.5",
"@changesets/cli": "3.0.1",
"@nestjs/common": "12.0.1",
"@nestjs/core": "12.0.1",
"@nestjs/platform-express": "12.0.1",
"@nestjs/platform-fastify": "12.0.1",
"@nestjs/testing": "12.0.1",
"@types/node": "26.4.0",
"@types/supertest": "7.2.1",
"@vitest/coverage-v8": "4.1.11",
"ai": "7.0.83",
"cross-env": "10.1.0",
"express": "5.2.1",
"fastify": "5.12.1",
"madge": "8.0.0",
"oxlint": "1.80.0",
"oxlint-tsgolint": "7.0.2001",
"prettier": "3.9.6",
"publint": "0.3.24",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.2",
"supertest": "7.2.2",
"supports-color": "11.0.0",
"tsdown": "0.22.14",
"typescript": "7.0.2",
"vitest": "4.1.11",
"zod": "4.4.3"
}
}