authverse 1.1.8-beta.2 → 1.1.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/README.md +3 -3
- package/dist/index.cjs +27 -14
- package/dist/index.js +27 -14
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Next.js and Tanstack State project.
|
|
|
19
19
|
It automatically integrates:
|
|
20
20
|
|
|
21
21
|
- **Better Auth** modern auth framework
|
|
22
|
-
- **ShadCN
|
|
22
|
+
- **ShadCN/UI auth screens**
|
|
23
23
|
- **Prisma or Drizzle database setup**
|
|
24
24
|
- **OAuth providers**
|
|
25
25
|
- **API routes + folder structure**
|
|
@@ -49,7 +49,7 @@ With just **one single run command**, you get:
|
|
|
49
49
|
- **Google OAuth**
|
|
50
50
|
- **GitHub OAuth**
|
|
51
51
|
- **Integrated Better Auth**
|
|
52
|
-
- **
|
|
52
|
+
- **Shadcn/ui auth screens**
|
|
53
53
|
- **Prisma or Drizzle database support**
|
|
54
54
|
- **Modern folder structure**
|
|
55
55
|
- **TypeScript support**
|
|
@@ -73,7 +73,7 @@ Authverse will guide you step-by-step to choose:
|
|
|
73
73
|
- And automatically generate everything for you
|
|
74
74
|
|
|
75
75
|
After running the CLI, your project will be fully ready with
|
|
76
|
-
**Better Auth**, **
|
|
76
|
+
**Better Auth**, **Shadcn/ui components**, and **database integration**.
|
|
77
77
|
|
|
78
78
|
---
|
|
79
79
|
|
package/dist/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ var authUiRun = async ({
|
|
|
115
115
|
if (!import_fs.default.existsSync(shadcnPath) || !import_fs.default.existsSync(shadcnConfigPath)) {
|
|
116
116
|
console.log(import_chalk.default.yellow("\n Installing shadcn ui Components\n"));
|
|
117
117
|
if (cmd == true) {
|
|
118
|
-
runCommand("shadcn@latest init
|
|
118
|
+
runCommand("shadcn@latest init");
|
|
119
119
|
runCommand("shadcn@latest add button sonner card field input");
|
|
120
120
|
} else {
|
|
121
121
|
runCommand("shadcn@latest add button sonner card field input");
|
|
@@ -661,7 +661,7 @@ var authUiTanstackState = async ({
|
|
|
661
661
|
if (!import_fs4.default.existsSync(shadcnPath) || !import_fs4.default.existsSync(shadcnConfigPath)) {
|
|
662
662
|
console.log(import_chalk4.default.yellow("\n Installing shadcn ui Components\n"));
|
|
663
663
|
if (cmd == true) {
|
|
664
|
-
runCommand("shadcn@latest init
|
|
664
|
+
runCommand("shadcn@latest init");
|
|
665
665
|
runCommand("shadcn@latest add button sonner card field input");
|
|
666
666
|
} else {
|
|
667
667
|
runCommand("shadcn@latest add button sonner card field input");
|
|
@@ -1146,7 +1146,8 @@ var googleNext = async () => {
|
|
|
1146
1146
|
const folder = import_fs8.default.existsSync(srcPath) ? "src" : "";
|
|
1147
1147
|
const authFilePath = import_path8.default.join(projectDir, folder, "lib", "auth.ts");
|
|
1148
1148
|
if (!import_fs8.default.existsSync(authFilePath)) {
|
|
1149
|
-
console.log(import_chalk8.default.red("
|
|
1149
|
+
console.log(import_chalk8.default.red("No Configured Better Auth file found"));
|
|
1150
|
+
console.log(import_chalk8.default.cyan("Run authverse init to initialize better auth"));
|
|
1150
1151
|
return;
|
|
1151
1152
|
}
|
|
1152
1153
|
let content = import_fs8.default.readFileSync(authFilePath, "utf8");
|
|
@@ -1262,7 +1263,8 @@ var githubNext = async () => {
|
|
|
1262
1263
|
const folder = import_fs9.default.existsSync(srcPath) ? "src" : "";
|
|
1263
1264
|
const authFilePath = import_path9.default.join(projectDir, folder, "lib", "auth.ts");
|
|
1264
1265
|
if (!import_fs9.default.existsSync(authFilePath)) {
|
|
1265
|
-
console.log(import_chalk9.default.red("
|
|
1266
|
+
console.log(import_chalk9.default.red("No Configured Better Auth file found"));
|
|
1267
|
+
console.log(import_chalk9.default.cyan("Run authverse init to initialize better auth"));
|
|
1266
1268
|
return;
|
|
1267
1269
|
}
|
|
1268
1270
|
let content = import_fs9.default.readFileSync(authFilePath, "utf8");
|
|
@@ -1377,7 +1379,8 @@ var googleTanstackStart = async () => {
|
|
|
1377
1379
|
const srcPath = import_path10.default.join(projectDir, "src");
|
|
1378
1380
|
const authFilePath = import_path10.default.join(srcPath, "lib", "auth.ts");
|
|
1379
1381
|
if (!import_fs10.default.existsSync(authFilePath)) {
|
|
1380
|
-
console.log(import_chalk10.default.red("
|
|
1382
|
+
console.log(import_chalk10.default.red("No Configured Better Auth file found"));
|
|
1383
|
+
console.log(import_chalk10.default.cyan("Run authverse init to initialize better auth"));
|
|
1381
1384
|
return;
|
|
1382
1385
|
}
|
|
1383
1386
|
let content = import_fs10.default.readFileSync(authFilePath, "utf8");
|
|
@@ -1484,7 +1487,8 @@ var githubTanstackStart = async () => {
|
|
|
1484
1487
|
const srcPath = import_path11.default.join(projectDir, "src");
|
|
1485
1488
|
const authFilePath = import_path11.default.join(srcPath, "lib", "auth.ts");
|
|
1486
1489
|
if (!import_fs11.default.existsSync(authFilePath)) {
|
|
1487
|
-
console.log(import_chalk11.default.red("
|
|
1490
|
+
console.log(import_chalk11.default.red("No Configured Better Auth file found"));
|
|
1491
|
+
console.log(import_chalk11.default.cyan("Run authverse init to initialize better auth"));
|
|
1488
1492
|
return;
|
|
1489
1493
|
}
|
|
1490
1494
|
let content = import_fs11.default.readFileSync(authFilePath, "utf8");
|
|
@@ -1592,7 +1596,8 @@ var facebookNext = async () => {
|
|
|
1592
1596
|
const folder = import_fs12.default.existsSync(srcPath) ? "src" : "";
|
|
1593
1597
|
const authFilePath = import_path12.default.join(projectDir, folder, "lib", "auth.ts");
|
|
1594
1598
|
if (!import_fs12.default.existsSync(authFilePath)) {
|
|
1595
|
-
console.log(import_chalk12.default.red("
|
|
1599
|
+
console.log(import_chalk12.default.red("No Configured Better Auth file found"));
|
|
1600
|
+
console.log(import_chalk12.default.cyan("Run authverse init to initialize better auth"));
|
|
1596
1601
|
return;
|
|
1597
1602
|
}
|
|
1598
1603
|
let content = import_fs12.default.readFileSync(authFilePath, "utf8");
|
|
@@ -1707,7 +1712,8 @@ var facebookTanstackStart = async () => {
|
|
|
1707
1712
|
const srcPath = import_path13.default.join(projectDir, "src");
|
|
1708
1713
|
const authFilePath = import_path13.default.join(srcPath, "lib", "auth.ts");
|
|
1709
1714
|
if (!import_fs13.default.existsSync(authFilePath)) {
|
|
1710
|
-
console.log(import_chalk13.default.red("
|
|
1715
|
+
console.log(import_chalk13.default.red("No Configured Better Auth file found"));
|
|
1716
|
+
console.log(import_chalk13.default.cyan("Run authverse init to initialize better auth"));
|
|
1711
1717
|
return;
|
|
1712
1718
|
}
|
|
1713
1719
|
let content = import_fs13.default.readFileSync(authFilePath, "utf8");
|
|
@@ -1815,7 +1821,8 @@ var LinkedInNext = async () => {
|
|
|
1815
1821
|
const folder = import_fs14.default.existsSync(srcPath) ? "src" : "";
|
|
1816
1822
|
const authFilePath = import_path14.default.join(projectDir, folder, "lib", "auth.ts");
|
|
1817
1823
|
if (!import_fs14.default.existsSync(authFilePath)) {
|
|
1818
|
-
console.log(import_chalk14.default.red("
|
|
1824
|
+
console.log(import_chalk14.default.red("No Configured Better Auth file found"));
|
|
1825
|
+
console.log(import_chalk14.default.cyan("Run authverse init to initialize better auth"));
|
|
1819
1826
|
return;
|
|
1820
1827
|
}
|
|
1821
1828
|
let content = import_fs14.default.readFileSync(authFilePath, "utf8");
|
|
@@ -1930,7 +1937,8 @@ var LinkedInTanstackStart = async () => {
|
|
|
1930
1937
|
const srcPath = import_path15.default.join(projectDir, "src");
|
|
1931
1938
|
const authFilePath = import_path15.default.join(srcPath, "lib", "auth.ts");
|
|
1932
1939
|
if (!import_fs15.default.existsSync(authFilePath)) {
|
|
1933
|
-
console.log(import_chalk15.default.red("
|
|
1940
|
+
console.log(import_chalk15.default.red("No Configured Better Auth file found"));
|
|
1941
|
+
console.log(import_chalk15.default.cyan("Run authverse init to initialize better auth"));
|
|
1934
1942
|
return;
|
|
1935
1943
|
}
|
|
1936
1944
|
let content = import_fs15.default.readFileSync(authFilePath, "utf8");
|
|
@@ -2038,7 +2046,8 @@ var twitterNext = async () => {
|
|
|
2038
2046
|
const folder = import_fs16.default.existsSync(srcPath) ? "src" : "";
|
|
2039
2047
|
const authFilePath = import_path16.default.join(projectDir, folder, "lib", "auth.ts");
|
|
2040
2048
|
if (!import_fs16.default.existsSync(authFilePath)) {
|
|
2041
|
-
console.log(import_chalk16.default.red("
|
|
2049
|
+
console.log(import_chalk16.default.red("No Configured Better Auth file found"));
|
|
2050
|
+
console.log(import_chalk16.default.cyan("Run authverse init to initialize better auth"));
|
|
2042
2051
|
return;
|
|
2043
2052
|
}
|
|
2044
2053
|
let content = import_fs16.default.readFileSync(authFilePath, "utf8");
|
|
@@ -2153,7 +2162,8 @@ var twitterTanstackStart = async () => {
|
|
|
2153
2162
|
const srcPath = import_path17.default.join(projectDir, "src");
|
|
2154
2163
|
const authFilePath = import_path17.default.join(srcPath, "lib", "auth.ts");
|
|
2155
2164
|
if (!import_fs17.default.existsSync(authFilePath)) {
|
|
2156
|
-
console.log(import_chalk17.default.red("
|
|
2165
|
+
console.log(import_chalk17.default.red("No Configured Better Auth file found"));
|
|
2166
|
+
console.log(import_chalk17.default.cyan("Run authverse init to initialize better auth"));
|
|
2157
2167
|
return;
|
|
2158
2168
|
}
|
|
2159
2169
|
let content = import_fs17.default.readFileSync(authFilePath, "utf8");
|
|
@@ -2261,12 +2271,14 @@ var AppleNext = async () => {
|
|
|
2261
2271
|
const folder = import_fs18.default.existsSync(srcPath) ? "src" : "";
|
|
2262
2272
|
const authFilePath = import_path18.default.join(projectDir, folder, "lib", "auth.ts");
|
|
2263
2273
|
if (!import_fs18.default.existsSync(authFilePath)) {
|
|
2264
|
-
console.log(import_chalk18.default.red("
|
|
2274
|
+
console.log(import_chalk18.default.red("No Configured Better Auth file found"));
|
|
2275
|
+
console.log(import_chalk18.default.cyan("Run authverse init to initialize better auth"));
|
|
2265
2276
|
return;
|
|
2266
2277
|
}
|
|
2267
2278
|
let content = import_fs18.default.readFileSync(authFilePath, "utf8");
|
|
2268
2279
|
if (!content.includes("betterAuth({")) {
|
|
2269
2280
|
console.log(import_chalk18.default.red("betterAuth({}) block not found"));
|
|
2281
|
+
console.log(import_chalk18.default.cyan("Run authverse init to initialize better auth"));
|
|
2270
2282
|
return;
|
|
2271
2283
|
}
|
|
2272
2284
|
if (content.includes("socialProviders") && content.includes("apple:")) {
|
|
@@ -2393,7 +2405,8 @@ var AppleTanstackStart = async () => {
|
|
|
2393
2405
|
const srcPath = import_path19.default.join(projectDir, "src");
|
|
2394
2406
|
const authFilePath = import_path19.default.join(srcPath, "lib", "auth.ts");
|
|
2395
2407
|
if (!import_fs19.default.existsSync(authFilePath)) {
|
|
2396
|
-
console.log(import_chalk19.default.red("
|
|
2408
|
+
console.log(import_chalk19.default.red("No Configured Better Auth file found"));
|
|
2409
|
+
console.log(import_chalk19.default.cyan("Run authverse init to initialize better auth"));
|
|
2397
2410
|
return;
|
|
2398
2411
|
}
|
|
2399
2412
|
let content = import_fs19.default.readFileSync(authFilePath, "utf8");
|
package/dist/index.js
CHANGED
|
@@ -92,7 +92,7 @@ var authUiRun = async ({
|
|
|
92
92
|
if (!fs.existsSync(shadcnPath) || !fs.existsSync(shadcnConfigPath)) {
|
|
93
93
|
console.log(chalk.yellow("\n Installing shadcn ui Components\n"));
|
|
94
94
|
if (cmd == true) {
|
|
95
|
-
runCommand("shadcn@latest init
|
|
95
|
+
runCommand("shadcn@latest init");
|
|
96
96
|
runCommand("shadcn@latest add button sonner card field input");
|
|
97
97
|
} else {
|
|
98
98
|
runCommand("shadcn@latest add button sonner card field input");
|
|
@@ -635,7 +635,7 @@ var authUiTanstackState = async ({
|
|
|
635
635
|
if (!fs4.existsSync(shadcnPath) || !fs4.existsSync(shadcnConfigPath)) {
|
|
636
636
|
console.log(chalk4.yellow("\n Installing shadcn ui Components\n"));
|
|
637
637
|
if (cmd == true) {
|
|
638
|
-
runCommand("shadcn@latest init
|
|
638
|
+
runCommand("shadcn@latest init");
|
|
639
639
|
runCommand("shadcn@latest add button sonner card field input");
|
|
640
640
|
} else {
|
|
641
641
|
runCommand("shadcn@latest add button sonner card field input");
|
|
@@ -1117,7 +1117,8 @@ var googleNext = async () => {
|
|
|
1117
1117
|
const folder = fs8.existsSync(srcPath) ? "src" : "";
|
|
1118
1118
|
const authFilePath = path8.join(projectDir, folder, "lib", "auth.ts");
|
|
1119
1119
|
if (!fs8.existsSync(authFilePath)) {
|
|
1120
|
-
console.log(chalk8.red("
|
|
1120
|
+
console.log(chalk8.red("No Configured Better Auth file found"));
|
|
1121
|
+
console.log(chalk8.cyan("Run authverse init to initialize better auth"));
|
|
1121
1122
|
return;
|
|
1122
1123
|
}
|
|
1123
1124
|
let content = fs8.readFileSync(authFilePath, "utf8");
|
|
@@ -1232,7 +1233,8 @@ var githubNext = async () => {
|
|
|
1232
1233
|
const folder = fs9.existsSync(srcPath) ? "src" : "";
|
|
1233
1234
|
const authFilePath = path9.join(projectDir, folder, "lib", "auth.ts");
|
|
1234
1235
|
if (!fs9.existsSync(authFilePath)) {
|
|
1235
|
-
console.log(chalk9.red("
|
|
1236
|
+
console.log(chalk9.red("No Configured Better Auth file found"));
|
|
1237
|
+
console.log(chalk9.cyan("Run authverse init to initialize better auth"));
|
|
1236
1238
|
return;
|
|
1237
1239
|
}
|
|
1238
1240
|
let content = fs9.readFileSync(authFilePath, "utf8");
|
|
@@ -1346,7 +1348,8 @@ var googleTanstackStart = async () => {
|
|
|
1346
1348
|
const srcPath = path10.join(projectDir, "src");
|
|
1347
1349
|
const authFilePath = path10.join(srcPath, "lib", "auth.ts");
|
|
1348
1350
|
if (!fs10.existsSync(authFilePath)) {
|
|
1349
|
-
console.log(chalk10.red("
|
|
1351
|
+
console.log(chalk10.red("No Configured Better Auth file found"));
|
|
1352
|
+
console.log(chalk10.cyan("Run authverse init to initialize better auth"));
|
|
1350
1353
|
return;
|
|
1351
1354
|
}
|
|
1352
1355
|
let content = fs10.readFileSync(authFilePath, "utf8");
|
|
@@ -1452,7 +1455,8 @@ var githubTanstackStart = async () => {
|
|
|
1452
1455
|
const srcPath = path11.join(projectDir, "src");
|
|
1453
1456
|
const authFilePath = path11.join(srcPath, "lib", "auth.ts");
|
|
1454
1457
|
if (!fs11.existsSync(authFilePath)) {
|
|
1455
|
-
console.log(chalk11.red("
|
|
1458
|
+
console.log(chalk11.red("No Configured Better Auth file found"));
|
|
1459
|
+
console.log(chalk11.cyan("Run authverse init to initialize better auth"));
|
|
1456
1460
|
return;
|
|
1457
1461
|
}
|
|
1458
1462
|
let content = fs11.readFileSync(authFilePath, "utf8");
|
|
@@ -1559,7 +1563,8 @@ var facebookNext = async () => {
|
|
|
1559
1563
|
const folder = fs12.existsSync(srcPath) ? "src" : "";
|
|
1560
1564
|
const authFilePath = path12.join(projectDir, folder, "lib", "auth.ts");
|
|
1561
1565
|
if (!fs12.existsSync(authFilePath)) {
|
|
1562
|
-
console.log(chalk12.red("
|
|
1566
|
+
console.log(chalk12.red("No Configured Better Auth file found"));
|
|
1567
|
+
console.log(chalk12.cyan("Run authverse init to initialize better auth"));
|
|
1563
1568
|
return;
|
|
1564
1569
|
}
|
|
1565
1570
|
let content = fs12.readFileSync(authFilePath, "utf8");
|
|
@@ -1673,7 +1678,8 @@ var facebookTanstackStart = async () => {
|
|
|
1673
1678
|
const srcPath = path13.join(projectDir, "src");
|
|
1674
1679
|
const authFilePath = path13.join(srcPath, "lib", "auth.ts");
|
|
1675
1680
|
if (!fs13.existsSync(authFilePath)) {
|
|
1676
|
-
console.log(chalk13.red("
|
|
1681
|
+
console.log(chalk13.red("No Configured Better Auth file found"));
|
|
1682
|
+
console.log(chalk13.cyan("Run authverse init to initialize better auth"));
|
|
1677
1683
|
return;
|
|
1678
1684
|
}
|
|
1679
1685
|
let content = fs13.readFileSync(authFilePath, "utf8");
|
|
@@ -1780,7 +1786,8 @@ var LinkedInNext = async () => {
|
|
|
1780
1786
|
const folder = fs14.existsSync(srcPath) ? "src" : "";
|
|
1781
1787
|
const authFilePath = path14.join(projectDir, folder, "lib", "auth.ts");
|
|
1782
1788
|
if (!fs14.existsSync(authFilePath)) {
|
|
1783
|
-
console.log(chalk14.red("
|
|
1789
|
+
console.log(chalk14.red("No Configured Better Auth file found"));
|
|
1790
|
+
console.log(chalk14.cyan("Run authverse init to initialize better auth"));
|
|
1784
1791
|
return;
|
|
1785
1792
|
}
|
|
1786
1793
|
let content = fs14.readFileSync(authFilePath, "utf8");
|
|
@@ -1894,7 +1901,8 @@ var LinkedInTanstackStart = async () => {
|
|
|
1894
1901
|
const srcPath = path15.join(projectDir, "src");
|
|
1895
1902
|
const authFilePath = path15.join(srcPath, "lib", "auth.ts");
|
|
1896
1903
|
if (!fs15.existsSync(authFilePath)) {
|
|
1897
|
-
console.log(chalk15.red("
|
|
1904
|
+
console.log(chalk15.red("No Configured Better Auth file found"));
|
|
1905
|
+
console.log(chalk15.cyan("Run authverse init to initialize better auth"));
|
|
1898
1906
|
return;
|
|
1899
1907
|
}
|
|
1900
1908
|
let content = fs15.readFileSync(authFilePath, "utf8");
|
|
@@ -2001,7 +2009,8 @@ var twitterNext = async () => {
|
|
|
2001
2009
|
const folder = fs16.existsSync(srcPath) ? "src" : "";
|
|
2002
2010
|
const authFilePath = path16.join(projectDir, folder, "lib", "auth.ts");
|
|
2003
2011
|
if (!fs16.existsSync(authFilePath)) {
|
|
2004
|
-
console.log(chalk16.red("
|
|
2012
|
+
console.log(chalk16.red("No Configured Better Auth file found"));
|
|
2013
|
+
console.log(chalk16.cyan("Run authverse init to initialize better auth"));
|
|
2005
2014
|
return;
|
|
2006
2015
|
}
|
|
2007
2016
|
let content = fs16.readFileSync(authFilePath, "utf8");
|
|
@@ -2115,7 +2124,8 @@ var twitterTanstackStart = async () => {
|
|
|
2115
2124
|
const srcPath = path17.join(projectDir, "src");
|
|
2116
2125
|
const authFilePath = path17.join(srcPath, "lib", "auth.ts");
|
|
2117
2126
|
if (!fs17.existsSync(authFilePath)) {
|
|
2118
|
-
console.log(chalk17.red("
|
|
2127
|
+
console.log(chalk17.red("No Configured Better Auth file found"));
|
|
2128
|
+
console.log(chalk17.cyan("Run authverse init to initialize better auth"));
|
|
2119
2129
|
return;
|
|
2120
2130
|
}
|
|
2121
2131
|
let content = fs17.readFileSync(authFilePath, "utf8");
|
|
@@ -2222,12 +2232,14 @@ var AppleNext = async () => {
|
|
|
2222
2232
|
const folder = fs18.existsSync(srcPath) ? "src" : "";
|
|
2223
2233
|
const authFilePath = path18.join(projectDir, folder, "lib", "auth.ts");
|
|
2224
2234
|
if (!fs18.existsSync(authFilePath)) {
|
|
2225
|
-
console.log(chalk18.red("
|
|
2235
|
+
console.log(chalk18.red("No Configured Better Auth file found"));
|
|
2236
|
+
console.log(chalk18.cyan("Run authverse init to initialize better auth"));
|
|
2226
2237
|
return;
|
|
2227
2238
|
}
|
|
2228
2239
|
let content = fs18.readFileSync(authFilePath, "utf8");
|
|
2229
2240
|
if (!content.includes("betterAuth({")) {
|
|
2230
2241
|
console.log(chalk18.red("betterAuth({}) block not found"));
|
|
2242
|
+
console.log(chalk18.cyan("Run authverse init to initialize better auth"));
|
|
2231
2243
|
return;
|
|
2232
2244
|
}
|
|
2233
2245
|
if (content.includes("socialProviders") && content.includes("apple:")) {
|
|
@@ -2353,7 +2365,8 @@ var AppleTanstackStart = async () => {
|
|
|
2353
2365
|
const srcPath = path19.join(projectDir, "src");
|
|
2354
2366
|
const authFilePath = path19.join(srcPath, "lib", "auth.ts");
|
|
2355
2367
|
if (!fs19.existsSync(authFilePath)) {
|
|
2356
|
-
console.log(chalk19.red("
|
|
2368
|
+
console.log(chalk19.red("No Configured Better Auth file found"));
|
|
2369
|
+
console.log(chalk19.cyan("Run authverse init to initialize better auth"));
|
|
2357
2370
|
return;
|
|
2358
2371
|
}
|
|
2359
2372
|
let content = fs19.readFileSync(authFilePath, "utf8");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "authverse",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"description": "Authverse Fast modern CLI to generate full auth systems with OAuth Prisma Drizzle better auth and ready-to-use ShadCN UI screens",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "git+https://github.com/abdirahmanmahamoud/authverse.git",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "tsup ./index.ts --format esm,cjs --dts --out-dir dist && cp -r ../template ./dist/template",
|
|
23
23
|
"build:win": "tsup ./index.ts --format esm,cjs --dts --out-dir dist && xcopy ..\\template dist\\template /E /I /Y && npm link",
|
|
24
|
-
"clear": "pnpm dlx rimraf dist"
|
|
24
|
+
"clear": "pnpm dlx rimraf dist",
|
|
25
|
+
"test": "vitest --run --typecheck"
|
|
25
26
|
},
|
|
26
27
|
"publishConfig": {
|
|
27
28
|
"access": "public"
|
|
@@ -49,11 +50,12 @@
|
|
|
49
50
|
"inquirer": "^12.10.0"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
|
-
"@commitlint/cli": "^20.
|
|
53
|
+
"@commitlint/cli": "^20.5.0",
|
|
53
54
|
"@commitlint/config-conventional": "^20.4.2",
|
|
54
|
-
"@types/node": "^25.
|
|
55
|
+
"@types/node": "^25.5.2",
|
|
55
56
|
"changelogithub": "^14.0.0",
|
|
56
57
|
"tsup": "^8.5.0",
|
|
57
|
-
"typescript": "^5.9.3"
|
|
58
|
+
"typescript": "^5.9.3",
|
|
59
|
+
"vitest": "^4.0.18"
|
|
58
60
|
}
|
|
59
61
|
}
|