@better-auth/cli 1.2.7 → 1.2.8-beta.1
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 +3 -3
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import prompts from 'prompts';
|
|
|
9
9
|
import { logger, BetterAuthError, capitalizeFirstLetter } from 'better-auth';
|
|
10
10
|
import { getAdapter, getMigrations, getAuthTables } from 'better-auth/db';
|
|
11
11
|
import { loadConfig } from 'c12';
|
|
12
|
-
import
|
|
12
|
+
import babelPresetTypeScript from '@babel/preset-typescript';
|
|
13
13
|
import babelPresetReact from '@babel/preset-react';
|
|
14
14
|
import fs from 'fs-extra';
|
|
15
15
|
import fs$2 from 'fs/promises';
|
|
@@ -186,7 +186,7 @@ const jitiOptions = (cwd) => {
|
|
|
186
186
|
babel: {
|
|
187
187
|
presets: [
|
|
188
188
|
[
|
|
189
|
-
|
|
189
|
+
babelPresetTypeScript,
|
|
190
190
|
{
|
|
191
191
|
isTSX: true,
|
|
192
192
|
allExtensions: true
|
|
@@ -1911,7 +1911,7 @@ async function initAction(opts) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
1913
|
} else {
|
|
1914
|
-
s.stop(`Better Auth dependencies are ${chalk.greenBright(`up
|
|
1914
|
+
s.stop(`Better Auth dependencies are ${chalk.greenBright(`up to date`)}!`);
|
|
1915
1915
|
}
|
|
1916
1916
|
const packageJson = getPackageInfo(cwd);
|
|
1917
1917
|
let appName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8-beta.1",
|
|
4
4
|
"description": "The CLI for Better Auth",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tinyexec": "^0.3.1",
|
|
47
47
|
"yocto-spinner": "^0.1.1",
|
|
48
48
|
"zod": "^3.23.8",
|
|
49
|
-
"better-auth": "1.2.
|
|
49
|
+
"better-auth": "1.2.8-beta.1"
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
52
|
"dist"
|