@reliverse/dler 1.7.142 → 1.7.143
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/bin/impl/auth/impl/init.d.ts +4 -4
- package/bin/impl/config/constants.d.ts +1 -1
- package/bin/impl/config/constants.js +1 -1
- package/bin/impl/providers/better-t-stack/types.d.ts +9 -9
- package/bin/impl/pub/pub-library.js +1 -1
- package/bin/impl/pub/pub-regular.js +1 -1
- package/bin/impl/utils/startEndPrompts.js +1 -1
- package/package.json +1 -1
|
@@ -146,17 +146,17 @@ export declare const optionsSchema: z.ZodObject<{
|
|
|
146
146
|
cwd: z.ZodString;
|
|
147
147
|
config: z.ZodOptional<z.ZodString>;
|
|
148
148
|
database: z.ZodOptional<z.ZodEnum<{
|
|
149
|
-
sqlite: "sqlite";
|
|
150
149
|
mysql: "mysql";
|
|
151
|
-
|
|
150
|
+
sqlite: "sqlite";
|
|
151
|
+
mongodb: "mongodb";
|
|
152
152
|
postgres: "postgres";
|
|
153
|
+
mssql: "mssql";
|
|
153
154
|
"drizzle:pg": "drizzle:pg";
|
|
154
155
|
"drizzle:mysql": "drizzle:mysql";
|
|
155
156
|
"drizzle:sqlite": "drizzle:sqlite";
|
|
156
157
|
"prisma:postgresql": "prisma:postgresql";
|
|
157
158
|
"prisma:mysql": "prisma:mysql";
|
|
158
159
|
"prisma:sqlite": "prisma:sqlite";
|
|
159
|
-
mongodb: "mongodb";
|
|
160
160
|
}>>;
|
|
161
161
|
"skip-db": z.ZodOptional<z.ZodBoolean>;
|
|
162
162
|
"skip-plugins": z.ZodOptional<z.ZodBoolean>;
|
|
@@ -165,7 +165,7 @@ export declare const optionsSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>;
|
|
166
166
|
export declare const outroText = "\uD83E\uDD73 All Done, Happy Hacking!";
|
|
167
167
|
export declare function getLatestNpmVersion(packageName: string): Promise<string>;
|
|
168
|
-
export declare function getPackageManager(): Promise<"
|
|
168
|
+
export declare function getPackageManager(): Promise<"bun" | "npm" | "yarn" | "pnpm">;
|
|
169
169
|
export declare function getEnvFiles(cwd: string): Promise<string[]>;
|
|
170
170
|
export declare function updateEnvs({ envs, files, isCommented, }: {
|
|
171
171
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const PROJECT_ROOT: string;
|
|
2
|
-
export declare const cliVersion = "1.7.
|
|
2
|
+
export declare const cliVersion = "1.7.143";
|
|
3
3
|
export declare const cliName = "@reliverse/rse";
|
|
4
4
|
export declare const rseName = "@reliverse/rse";
|
|
5
5
|
export declare const dlerName = "@reliverse/dler";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "@reliverse/pathkit";
|
|
3
3
|
export const PROJECT_ROOT = path.resolve(process.cwd());
|
|
4
|
-
const version = "1.7.
|
|
4
|
+
const version = "1.7.143";
|
|
5
5
|
export const cliVersion = version;
|
|
6
6
|
export const cliName = "@reliverse/rse";
|
|
7
7
|
export const rseName = "@reliverse/rse";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const DatabaseSchema: z.ZodEnum<{
|
|
3
3
|
none: "none";
|
|
4
|
-
sqlite: "sqlite";
|
|
5
4
|
mysql: "mysql";
|
|
6
|
-
|
|
5
|
+
sqlite: "sqlite";
|
|
7
6
|
mongodb: "mongodb";
|
|
7
|
+
postgres: "postgres";
|
|
8
8
|
}>;
|
|
9
9
|
export type Database = z.infer<typeof DatabaseSchema>;
|
|
10
10
|
export declare const ORMSchema: z.ZodEnum<{
|
|
11
11
|
none: "none";
|
|
12
|
-
prisma: "prisma";
|
|
13
12
|
drizzle: "drizzle";
|
|
13
|
+
prisma: "prisma";
|
|
14
14
|
mongoose: "mongoose";
|
|
15
15
|
}>;
|
|
16
16
|
export type ORM = z.infer<typeof ORMSchema>;
|
|
@@ -25,8 +25,8 @@ export declare const BackendSchema: z.ZodEnum<{
|
|
|
25
25
|
}>;
|
|
26
26
|
export type Backend = z.infer<typeof BackendSchema>;
|
|
27
27
|
export declare const RuntimeSchema: z.ZodEnum<{
|
|
28
|
-
none: "none";
|
|
29
28
|
bun: "bun";
|
|
29
|
+
none: "none";
|
|
30
30
|
node: "node";
|
|
31
31
|
workers: "workers";
|
|
32
32
|
}>;
|
|
@@ -34,8 +34,8 @@ export type Runtime = z.infer<typeof RuntimeSchema>;
|
|
|
34
34
|
export declare const FrontendSchema: z.ZodEnum<{
|
|
35
35
|
none: "none";
|
|
36
36
|
svelte: "svelte";
|
|
37
|
-
solid: "solid";
|
|
38
37
|
nuxt: "nuxt";
|
|
38
|
+
solid: "solid";
|
|
39
39
|
next: "next";
|
|
40
40
|
"react-router": "react-router";
|
|
41
41
|
"tanstack-router": "tanstack-router";
|
|
@@ -45,25 +45,25 @@ export declare const FrontendSchema: z.ZodEnum<{
|
|
|
45
45
|
}>;
|
|
46
46
|
export type Frontend = z.infer<typeof FrontendSchema>;
|
|
47
47
|
export declare const AddonsSchema: z.ZodEnum<{
|
|
48
|
+
biome: "biome";
|
|
48
49
|
none: "none";
|
|
49
50
|
tauri: "tauri";
|
|
50
|
-
biome: "biome";
|
|
51
51
|
starlight: "starlight";
|
|
52
52
|
turborepo: "turborepo";
|
|
53
|
-
pwa: "pwa";
|
|
54
53
|
husky: "husky";
|
|
54
|
+
pwa: "pwa";
|
|
55
55
|
}>;
|
|
56
56
|
export type Addons = z.infer<typeof AddonsSchema>;
|
|
57
57
|
export declare const ExamplesSchema: z.ZodEnum<{
|
|
58
|
-
ai: "ai";
|
|
59
58
|
none: "none";
|
|
59
|
+
ai: "ai";
|
|
60
60
|
todo: "todo";
|
|
61
61
|
}>;
|
|
62
62
|
export type Examples = z.infer<typeof ExamplesSchema>;
|
|
63
63
|
export declare const PackageManagerSchema: z.ZodEnum<{
|
|
64
|
-
pnpm: "pnpm";
|
|
65
64
|
bun: "bun";
|
|
66
65
|
npm: "npm";
|
|
66
|
+
pnpm: "pnpm";
|
|
67
67
|
}>;
|
|
68
68
|
export type PackageManager = z.infer<typeof PackageManagerSchema>;
|
|
69
69
|
export declare const DatabaseSetupSchema: z.ZodEnum<{
|
|
@@ -93,7 +93,7 @@ async function library_pubToJsr(libOutDir, distJsrDryRun, distJsrFailOnWarn, dis
|
|
|
93
93
|
relinka("verbose", `Publishing lib ${libName} to JSR from ${libOutDir}`);
|
|
94
94
|
relinka("null", "");
|
|
95
95
|
const command = [
|
|
96
|
-
"
|
|
96
|
+
"bunx jsr publish",
|
|
97
97
|
distJsrDryRun ? "--dry-run" : "",
|
|
98
98
|
distJsrFailOnWarn ? "--fail-on-warn" : "",
|
|
99
99
|
distJsrAllowDirty ? "--allow-dirty" : "",
|
|
@@ -28,7 +28,7 @@ export async function regular_pubToJsr(distJsrDryRun, distJsrFailOnWarn, isDev,
|
|
|
28
28
|
if (timer) pausePerfTimer(timer);
|
|
29
29
|
await withWorkingDirectory(distJsrDirNameResolved, async () => {
|
|
30
30
|
const command = [
|
|
31
|
-
"
|
|
31
|
+
"bunx jsr publish",
|
|
32
32
|
distJsrDryRun ? "--dry-run" : "",
|
|
33
33
|
distJsrFailOnWarn ? "--fail-on-warn" : "",
|
|
34
34
|
distJsrAllowDirty ? "--allow-dirty" : "",
|
|
@@ -44,7 +44,7 @@ export async function showStartPrompt(isDev, showRuntimeInfo, clearConsole) {
|
|
|
44
44
|
}
|
|
45
45
|
export async function showEndPrompt() {
|
|
46
46
|
await endPrompt({
|
|
47
|
-
title: "
|
|
47
|
+
title: "Please consider supporting Reliverse development: https://github.com/sponsors/blefnk",
|
|
48
48
|
titleAnimation: "glitch",
|
|
49
49
|
titleColor: "dim",
|
|
50
50
|
titleTypography: "bold",
|