mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-28 09:56:25 -05:00
* update: init command now can do plugins & DB generation * fix: revert nextjs auth.ts file * add: pacakge @clack/prompts for better CLI experience * update: moved from prompts to clack/prompts * add: functionality to hide logs coming from `getConfig` * remove: hide logs functionality * chore: remove unneeded import * add: install dependencies feature * add: functionality to update/install better-auth * fix: install/upgrade better-auth deps * add: spinner during version checking * fix: nextCookies plugin import path * fix: oidc plugin contents * update: emoji-ify * fix: mysql code * refactor: logging/prompt style * update: mysql use 1 ENV * fix: msql, revert back to old code * fix: mysql connectionUri, again * fix: missing sqlite env * fix: added back the plugins multiselect * update: outro text * add: ENV generation for `BETTER_AUTH_URL` & `BETTER_AUTH_SECRET` * update: intro & outro text, plus some ENV default values * remove: name from cli options * fix: made index.ts's getPackageInfo not crash the program entirely if ENOENT * update: prompt to get auth config dir if not auto found * fix: create auth config file * add: log to state the new file that's being created * update: outro text * fix: unneeded diff display * add: auth-client creator * fix: auth-client plugins are now grouped * fix: auth-client import path bugs * fix: invalid client plugins * fix: oneTap client plugin contents * update: allow getConfig to throw errors instead of logging * fix: auth config error logging * WIP: auth client code gen * chore: linter * update: now supports auth client generation * WIP: grouped imports * remove: functionality to update existing auth code * add: functionality to update tsconfig * fix: tsconfig not saving new updated values * fix: handle missing .env files in init process * update: made `no env file found` error message use `outro` for better logging experience * fix: removed `ms` at the end as the `formatMilliseconds` fn already handles that * update: move ENV code after plugins initialization * chore: update pnpm lockfile and remove deprecated package note * chore: lint --------- Co-authored-by: Bereket Engida <bekacru@gmail.com>
60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"name": "@better-auth/cli",
|
|
"version": "1.2.0-beta.17",
|
|
"description": "The CLI for Better Auth",
|
|
"module": "dist/index.mjs",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/better-auth/better-auth",
|
|
"directory": "packages/cli"
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"scripts": {
|
|
"build": "unbuild",
|
|
"stub": "unbuild --stub",
|
|
"start": "node ./dist/index.mjs",
|
|
"test": "vitest"
|
|
},
|
|
"publishConfig": {
|
|
"executableFiles": [
|
|
"./dist/index.mjs"
|
|
]
|
|
},
|
|
"exports": "./dist/index.mjs",
|
|
"bin": "./dist/index.mjs",
|
|
"devDependencies": {
|
|
"@types/diff": "^7.0.1",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"typescript": "catalog:",
|
|
"unbuild": "catalog:",
|
|
"vitest": "^1.6.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/preset-react": "^7.26.3",
|
|
"@babel/preset-typescript": "^7.26.0",
|
|
"@clack/prompts": "^0.10.0",
|
|
"@mrleebo/prisma-ast": "^0.12.0",
|
|
"@prisma/client": "^5.22.0",
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/prompts": "^2.4.9",
|
|
"better-auth": "workspace:*",
|
|
"better-sqlite3": "^11.6.0",
|
|
"c12": "^2.0.1",
|
|
"chalk": "^5.3.0",
|
|
"commander": "^12.1.0",
|
|
"dotenv": "^16.4.7",
|
|
"drizzle-orm": "^0.33.0",
|
|
"fs-extra": "^11.3.0",
|
|
"get-tsconfig": "^4.8.1",
|
|
"prettier": "^3.4.2",
|
|
"prisma": "^5.22.0",
|
|
"prompts": "^2.4.2",
|
|
"semver": "^7.7.1",
|
|
"tinyexec": "^0.3.1",
|
|
"yocto-spinner": "^0.1.1",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
]
|
|
} |