@reliverse/dler 1.7.142 → 1.7.144
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/config/prepare.js +3 -6
- 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/schema/gen.js +2 -2
- package/bin/impl/schema/mod.d.ts +3 -3
- package/bin/impl/schema/mod.js +1 -1
- package/bin/impl/utils/startEndPrompts.js +1 -1
- package/package.json +9 -9
|
@@ -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.144";
|
|
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.144";
|
|
5
5
|
export const cliVersion = version;
|
|
6
6
|
export const cliName = "@reliverse/rse";
|
|
7
7
|
export const rseName = "@reliverse/rse";
|
|
@@ -32,10 +32,7 @@ export async function ensureReliverseConfig(isDev, configKind = DEFAULT_CONFIG_K
|
|
|
32
32
|
"success",
|
|
33
33
|
`${configKind === "ts" ? "TypeScript" : "JSONC"} config was created at ${configPath}`
|
|
34
34
|
);
|
|
35
|
-
relinka("verbose", "Edit this file to customize
|
|
36
|
-
relinka("log", "If you plan to publish with Rse, please note:");
|
|
37
|
-
relinka("log", "commonPubPause is set to true in the config by default");
|
|
38
|
-
relinka("log", "Set it to false, then run `rse publish` for NPM/JSR publishing");
|
|
35
|
+
relinka("verbose", "Edit this file to customize different project settings");
|
|
39
36
|
} catch (error) {
|
|
40
37
|
relinka(
|
|
41
38
|
"error",
|
|
@@ -324,7 +321,7 @@ function generateJsoncConfig(isDev, pkgDescription) {
|
|
|
324
321
|
"enabled": false,
|
|
325
322
|
"format": "HH:mm:ss"
|
|
326
323
|
},
|
|
327
|
-
"cleanupInterval":
|
|
324
|
+
"cleanupInterval": 10_000,
|
|
328
325
|
"bufferSize": 4096,
|
|
329
326
|
"maxBufferAge": 5000,
|
|
330
327
|
"levels": {
|
|
@@ -694,7 +691,7 @@ function generateConfig(isDev, pkgDescription, configKind = "ts", usePackageImpo
|
|
|
694
691
|
" enabled: false,",
|
|
695
692
|
' format: "HH:mm:ss",',
|
|
696
693
|
" },",
|
|
697
|
-
" cleanupInterval:
|
|
694
|
+
" cleanupInterval: 10_000,",
|
|
698
695
|
" bufferSize: 4096,",
|
|
699
696
|
" maxBufferAge: 5000,",
|
|
700
697
|
" levels: {",
|
|
@@ -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>;
|
|
@@ -20,13 +20,13 @@ export declare const BackendSchema: z.ZodEnum<{
|
|
|
20
20
|
next: "next";
|
|
21
21
|
express: "express";
|
|
22
22
|
fastify: "fastify";
|
|
23
|
-
elysia: "elysia";
|
|
24
23
|
convex: "convex";
|
|
24
|
+
elysia: "elysia";
|
|
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,9 +45,9 @@ 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
53
|
pwa: "pwa";
|
|
@@ -55,15 +55,15 @@ export declare const AddonsSchema: z.ZodEnum<{
|
|
|
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" : "",
|
package/bin/impl/schema/gen.js
CHANGED
|
@@ -172,7 +172,7 @@ export interface ReliverseConfig {
|
|
|
172
172
|
* When \`true\`, stops after building and retains distribution folders.
|
|
173
173
|
* Useful for development or inspecting the build output.
|
|
174
174
|
*
|
|
175
|
-
* @default
|
|
175
|
+
* @default false
|
|
176
176
|
*/
|
|
177
177
|
commonPubPause: boolean;
|
|
178
178
|
/**
|
|
@@ -833,7 +833,7 @@ export interface ReliverseConfig {
|
|
|
833
833
|
levels?: LogLevelsConfig;
|
|
834
834
|
/**
|
|
835
835
|
* Controls how often the log cleanup runs (in milliseconds)
|
|
836
|
-
* Default:
|
|
836
|
+
* Default: 10_000 (10 seconds)
|
|
837
837
|
*/
|
|
838
838
|
cleanupInterval?: number;
|
|
839
839
|
/**
|
package/bin/impl/schema/mod.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ export interface ReliverseConfig {
|
|
|
164
164
|
* When `true`, stops after building and retains distribution folders.
|
|
165
165
|
* Useful for development or inspecting the build output.
|
|
166
166
|
*
|
|
167
|
-
* @default
|
|
167
|
+
* @default false
|
|
168
168
|
*/
|
|
169
169
|
commonPubPause: boolean;
|
|
170
170
|
/**
|
|
@@ -782,7 +782,7 @@ export interface ReliverseConfig {
|
|
|
782
782
|
levels?: LogLevelsConfig;
|
|
783
783
|
/**
|
|
784
784
|
* Controls how often the log cleanup runs (in milliseconds)
|
|
785
|
-
* Default:
|
|
785
|
+
* Default: 10_000 (10 seconds)
|
|
786
786
|
*/
|
|
787
787
|
cleanupInterval?: number;
|
|
788
788
|
/**
|
|
@@ -1289,7 +1289,7 @@ export declare const defineConfig: (userConfig?: Partial<ReliverseConfig>) => {
|
|
|
1289
1289
|
levels?: LogLevelsConfig;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Controls how often the log cleanup runs (in milliseconds)
|
|
1292
|
-
* Default:
|
|
1292
|
+
* Default: 10_000 (10 seconds)
|
|
1293
1293
|
*/
|
|
1294
1294
|
cleanupInterval?: number;
|
|
1295
1295
|
/**
|
package/bin/impl/schema/mod.js
CHANGED
|
@@ -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",
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"@babel/preset-typescript": "^7.27.1",
|
|
6
6
|
"@hookform/resolvers": "^5.2.1",
|
|
7
7
|
"@libsql/client": "^0.15.14",
|
|
8
|
-
"@mendable/firecrawl-js": "^4.
|
|
8
|
+
"@mendable/firecrawl-js": "^4.3.3",
|
|
9
9
|
"@mrleebo/prisma-ast": "^0.13.0",
|
|
10
10
|
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
|
|
11
11
|
"@octokit/request-error": "^7.0.0",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"@reliverse/bleump": "^1.2.0",
|
|
17
17
|
"@reliverse/pathkit": "^1.3.4",
|
|
18
18
|
"@reliverse/reglob": "^1.0.0",
|
|
19
|
-
"@reliverse/relico": "^1.
|
|
19
|
+
"@reliverse/relico": "^1.4.0",
|
|
20
20
|
"@reliverse/relifso": "^1.4.5",
|
|
21
21
|
"@reliverse/relinka": "^1.6.1",
|
|
22
22
|
"@reliverse/rematch": "^1.1.0",
|
|
23
|
-
"@reliverse/rempts": "^1.7.
|
|
23
|
+
"@reliverse/rempts": "^1.7.64",
|
|
24
24
|
"@reliverse/runtime": "^1.0.3",
|
|
25
25
|
"@rollup/plugin-alias": "^5.1.1",
|
|
26
26
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@rollup/plugin-replace": "^6.0.2",
|
|
30
30
|
"@rollup/pluginutils": "^5.2.0",
|
|
31
31
|
"@uploadcare/upload-client": "^6.17.0",
|
|
32
|
-
"@vercel/sdk": "^1.10.
|
|
32
|
+
"@vercel/sdk": "^1.10.7",
|
|
33
33
|
"@volar/typescript": "^2.4.23",
|
|
34
34
|
"@vue/language-core": "^3.0.6",
|
|
35
35
|
"@vue/language-core2.0": "npm:@vue/language-core@2.0.29",
|
|
36
|
-
"ai": "^5.0.
|
|
36
|
+
"ai": "^5.0.30",
|
|
37
37
|
"async-listen": "^3.1.0",
|
|
38
38
|
"autoprefixer": "^10.4.21",
|
|
39
39
|
"better-auth": "^1.3.7",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"magic-string": "^0.30.18",
|
|
70
70
|
"magicast": "^0.3.5",
|
|
71
71
|
"mlly": "^1.8.0",
|
|
72
|
-
"mysql2": "^3.14.
|
|
72
|
+
"mysql2": "^3.14.4",
|
|
73
73
|
"nanoid": "^5.1.5",
|
|
74
74
|
"nypm": "^0.6.1",
|
|
75
75
|
"octokit": "^5.0.3",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"registry-url": "^7.2.0",
|
|
96
96
|
"rollup": "^4.50.0",
|
|
97
97
|
"rollup-plugin-dts": "^6.2.3",
|
|
98
|
-
"sass": "^1.
|
|
98
|
+
"sass": "^1.92.0",
|
|
99
99
|
"scule": "^1.3.0",
|
|
100
100
|
"semver": "^7.7.2",
|
|
101
101
|
"shebang-command": "^2.0.0",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"uncrypto": "^0.1.3",
|
|
112
112
|
"untyped": "^2.0.0",
|
|
113
113
|
"uploadthing": "^7.7.4",
|
|
114
|
-
"vue": "^3.5.
|
|
114
|
+
"vue": "^3.5.21",
|
|
115
115
|
"vue-sfc-transformer": "^0.1.16",
|
|
116
116
|
"vue-tsc": "^3.0.6",
|
|
117
117
|
"vue-tsc1": "npm:vue-tsc@1.8.27",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"license": "MIT",
|
|
124
124
|
"name": "@reliverse/dler",
|
|
125
125
|
"type": "module",
|
|
126
|
-
"version": "1.7.
|
|
126
|
+
"version": "1.7.144",
|
|
127
127
|
"author": "reliverse",
|
|
128
128
|
"bugs": {
|
|
129
129
|
"email": "blefnk@gmail.com",
|