Files
supabase/packages/ai-commands/package.json
T
Ivan Vasilov 98ca85156a chore: Use sql-formatter for formatting all SQL in the studio (#33071)
* Bump the sql-formatter dependency.

* Add a function formatQuery which is a wrapper around sql-formatter.

* Replace all formatSQL features to use the new function formatSql.

* Remove unneeded RQ for formatting.

* Small fix.
2025-01-27 13:04:31 +01:00

39 lines
956 B
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"
},
"devDependencies": {
"@ai-sdk/openai": "^0.0.72",
"@types/common-tags": "^1.8.4",
"@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",
"vitest": "^3.0.0"
}
}