@better-auth/cli 1.5.0-beta.7 → 1.5.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as generateKyselySchema, n as generateSchema, o as generateDrizzleSchema, r as generatePrismaSchema, t as adapters } from "./generators-
|
|
1
|
+
import { a as generateKyselySchema, n as generateSchema, o as generateDrizzleSchema, r as generatePrismaSchema, t as adapters } from "./generators-CKgwDQoi.mjs";
|
|
2
2
|
|
|
3
3
|
export { adapters, generateDrizzleSchema, generateKyselySchema, generatePrismaSchema, generateSchema };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import fs, { existsSync } from "node:fs";
|
|
2
2
|
import fs$1 from "node:fs/promises";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import { getAuthTables, getMigrations } from "better-auth/db";
|
|
5
4
|
import { initGetFieldName, initGetModelName } from "better-auth/adapters";
|
|
5
|
+
import { getAuthTables } from "better-auth/db";
|
|
6
6
|
import prettier from "prettier";
|
|
7
|
+
import { getMigrations } from "better-auth/db/migration";
|
|
7
8
|
import { capitalizeFirstLetter } from "@better-auth/core/utils/string";
|
|
8
9
|
import { produceSchema } from "@mrleebo/prisma-ast";
|
|
9
10
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as getPackageInfo, n as generateSchema } from "./generators-
|
|
2
|
+
import { i as getPackageInfo, n as generateSchema } from "./generators-CKgwDQoi.mjs";
|
|
3
3
|
import { Command } from "commander";
|
|
4
4
|
import * as fs$2 from "node:fs";
|
|
5
5
|
import fs, { existsSync, readFileSync } from "node:fs";
|
|
@@ -7,12 +7,13 @@ import fs$1 from "node:fs/promises";
|
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { createTelemetry, getTelemetryAuthConfig } from "@better-auth/telemetry";
|
|
10
|
-
import { getAdapter
|
|
10
|
+
import { getAdapter } from "better-auth/db/adapter";
|
|
11
11
|
import chalk from "chalk";
|
|
12
12
|
import prompts from "prompts";
|
|
13
13
|
import yoctoSpinner from "yocto-spinner";
|
|
14
14
|
import * as z from "zod/v4";
|
|
15
15
|
import { format } from "prettier";
|
|
16
|
+
import { getMigrations } from "better-auth/db/migration";
|
|
16
17
|
import babelPresetReact from "@babel/preset-react";
|
|
17
18
|
import babelPresetTypeScript from "@babel/preset-typescript";
|
|
18
19
|
import { BetterAuthError } from "@better-auth/core/error";
|
|
@@ -2436,8 +2437,8 @@ function handleOpenCodeAction(installLocal, installRemote) {
|
|
|
2436
2437
|
enabled: true
|
|
2437
2438
|
};
|
|
2438
2439
|
if (installLocal) mcpConfig["better-auth"] = {
|
|
2439
|
-
type: "
|
|
2440
|
-
command: LOCAL_MCP_COMMAND,
|
|
2440
|
+
type: "local",
|
|
2441
|
+
command: [LOCAL_MCP_COMMAND],
|
|
2441
2442
|
enabled: true
|
|
2442
2443
|
};
|
|
2443
2444
|
const openCodeConfig = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/cli",
|
|
3
|
-
"version": "1.5.0-beta.
|
|
3
|
+
"version": "1.5.0-beta.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The CLI for Better Auth",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"jiti": "^2.6.0",
|
|
49
49
|
"tsdown": "^0.19.0",
|
|
50
50
|
"tsx": "^4.20.6",
|
|
51
|
-
"type-fest": "^5.
|
|
51
|
+
"type-fest": "^5.4.1",
|
|
52
52
|
"typescript": "^5.9.3",
|
|
53
|
-
"@better-auth/passkey": "1.5.0-beta.
|
|
53
|
+
"@better-auth/passkey": "1.5.0-beta.9"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@babel/core": "^7.28.4",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@mrleebo/prisma-ast": "^0.13.0",
|
|
62
62
|
"@prisma/client": "^5.22.0",
|
|
63
63
|
"@types/pg": "^8.15.5",
|
|
64
|
-
"better-sqlite3": "^12.2
|
|
64
|
+
"better-sqlite3": "^12.6.2",
|
|
65
65
|
"c12": "^3.2.0",
|
|
66
66
|
"chalk": "^5.6.2",
|
|
67
67
|
"commander": "^12.1.0",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"prompts": "^2.4.2",
|
|
74
74
|
"semver": "^7.7.2",
|
|
75
75
|
"yocto-spinner": "^0.2.3",
|
|
76
|
-
"zod": "^4.
|
|
77
|
-
"@better-auth/core": "1.5.0-beta.
|
|
78
|
-
"@better-auth/telemetry": "1.5.0-beta.
|
|
79
|
-
"better-auth": "
|
|
76
|
+
"zod": "^4.3.5",
|
|
77
|
+
"@better-auth/core": "1.5.0-beta.9",
|
|
78
|
+
"@better-auth/telemetry": "1.5.0-beta.9",
|
|
79
|
+
"better-auth": "1.5.0-beta.9"
|
|
80
80
|
},
|
|
81
81
|
"files": [
|
|
82
82
|
"dist"
|