Files
supabase/packages/ai-commands/package.json
T
Ivan VasilovandGreg Richardson 1d2418ee85 chore: Skip building of libpg-query (#35255)
* Don't build libpg-query package.

* Use the WASM build of libpg-query in ai-commands.

* Fix missing mdast type.

* fix: wasm loading in ai-commands tests

* fix: better polyfill

* Make the sql-to-rest page to be client-side only.

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2025-04-24 22:26:19 +02:00

42 lines
1.0 KiB
JSON

{
"name": "ai-commands",
"version": "0.0.0",
"main": "./index.ts",
"types": "./index.ts",
"license": "MIT",
"sideEffects": false,
"scripts": {
"preinstall": "npx only-allow pnpm",
"clean": "rimraf node_modules",
"typecheck": "tsc --noEmit",
"test": "vitest"
},
"dependencies": {
"@serafin/schema-builder": "^0.18.5",
"@supabase/supabase-js": "catalog:",
"ai": "^3.4.33",
"common-tags": "^1.8.2",
"config": "workspace:*",
"js-tiktoken": "^1.0.10",
"jsonrepair": "^3.5.0",
"openai": "^4.26.1",
"zod": "3.23.8"
},
"devDependencies": {
"@ai-sdk/openai": "^0.0.72",
"@types/common-tags": "^1.8.4",
"@types/mdast": "^4.0.0",
"@types/node": "catalog:",
"api-types": "workspace:*",
"chalk": "^5.3.0",
"dotenv": "^16.3.1",
"libpg-query": "15.2.0",
"mdast-util-from-markdown": "^2.0.0",
"sql-formatter": "^15.0.0",
"tsconfig": "workspace:*",
"typescript": "~5.5.0",
"vite": "^6.2.6",
"vitest": "^3.0.5"
}
}