@better-auth/cli 1.3.4 → 1.3.5-beta.3
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/index.mjs +2 -4
- package/package.json +7 -5
package/dist/index.mjs
CHANGED
|
@@ -798,7 +798,7 @@ async function generateAction(opts) {
|
|
|
798
798
|
process.exit(0);
|
|
799
799
|
}
|
|
800
800
|
if (schema.append || schema.overwrite) {
|
|
801
|
-
let confirm2 = options.y;
|
|
801
|
+
let confirm2 = options.y || options.yes;
|
|
802
802
|
if (!confirm2) {
|
|
803
803
|
const response = await prompts({
|
|
804
804
|
type: "confirm",
|
|
@@ -1690,9 +1690,7 @@ const defaultFormatOptions = {
|
|
|
1690
1690
|
useTabs: false,
|
|
1691
1691
|
tabWidth: 4
|
|
1692
1692
|
};
|
|
1693
|
-
const getDefaultAuthConfig = async ({
|
|
1694
|
-
appName
|
|
1695
|
-
}) => await format(
|
|
1693
|
+
const getDefaultAuthConfig = async ({ appName }) => await format(
|
|
1696
1694
|
[
|
|
1697
1695
|
"import { betterAuth } from 'better-auth';",
|
|
1698
1696
|
"",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5-beta.3",
|
|
4
4
|
"description": "The CLI for Better Auth",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/diff": "^7.0.1",
|
|
30
30
|
"@types/fs-extra": "^11.0.4",
|
|
31
|
-
"typescript": "^5.
|
|
31
|
+
"typescript": "^5.9.2",
|
|
32
32
|
"unbuild": "^3.5.0",
|
|
33
|
-
"
|
|
33
|
+
"zod": "^4.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@babel/core": "^7.0.0",
|
|
@@ -55,8 +55,10 @@
|
|
|
55
55
|
"semver": "^7.7.1",
|
|
56
56
|
"tinyexec": "^0.3.1",
|
|
57
57
|
"yocto-spinner": "^0.1.1",
|
|
58
|
-
"
|
|
59
|
-
|
|
58
|
+
"better-auth": "1.3.5-beta.3"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"zod": "3.25.0 || ^4.0.0"
|
|
60
62
|
},
|
|
61
63
|
"files": [
|
|
62
64
|
"dist"
|