@reliverse/dler 1.7.145 → 1.7.147

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.
Files changed (56) hide show
  1. package/LICENSES +0 -1
  2. package/bin/impl/auth/generators/auth-config.js +2 -6
  3. package/bin/impl/auth/impl/init.d.ts +2 -2
  4. package/bin/impl/auth/utils/generate-secret.js +1 -3
  5. package/bin/impl/build/impl.d.ts +1 -1
  6. package/bin/impl/config/constants.d.ts +1 -1
  7. package/bin/impl/config/constants.js +1 -1
  8. package/bin/impl/config/create.js +1 -1
  9. package/bin/impl/config/def-utils.js +3 -3
  10. package/bin/impl/config/detect.js +1 -7
  11. package/bin/impl/config/gen-cfg.js +1 -3
  12. package/bin/impl/config/prepare.js +2 -2
  13. package/bin/impl/db/messages.js +1 -3
  14. package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleSchema.js +1 -1
  15. package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleSchemaUtils.js +3 -3
  16. package/bin/impl/init/mm-deprecated/feature-add.js +2 -2
  17. package/bin/impl/init/mm-deprecated/feature-rm.js +5 -5
  18. package/bin/impl/init/use-template/cp-impl.js +2 -2
  19. package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-config.js +4 -4
  20. package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-deploy.js +8 -8
  21. package/bin/impl/inject/inject-impl-mod.js +12 -20
  22. package/bin/impl/migrate/codemods/anything-bun.js +2 -6
  23. package/bin/impl/monorepo/cache-mod.d.ts +29 -0
  24. package/bin/impl/monorepo/cache-mod.js +61 -0
  25. package/bin/impl/monorepo/commands-mod.d.ts +24 -0
  26. package/bin/impl/monorepo/commands-mod.js +159 -0
  27. package/bin/impl/monorepo/graph-mod.d.ts +29 -0
  28. package/bin/impl/monorepo/graph-mod.js +106 -0
  29. package/bin/impl/monorepo/mod.d.ts +5 -0
  30. package/bin/impl/monorepo/mod.js +5 -0
  31. package/bin/impl/monorepo/monorepo-mod.d.ts +26 -0
  32. package/bin/impl/monorepo/monorepo-mod.js +152 -0
  33. package/bin/impl/providers/better-t-stack/packed/addons.js +1 -1
  34. package/bin/impl/providers/better-t-stack/packed/api.js +2 -2
  35. package/bin/impl/providers/better-t-stack/packed/auth.js +3 -3
  36. package/bin/impl/providers/better-t-stack/packed/backend.js +1 -1
  37. package/bin/impl/providers/better-t-stack/packed/examples.js +3 -3
  38. package/bin/impl/providers/better-t-stack/types.d.ts +9 -9
  39. package/bin/impl/pub/impl.d.ts +1 -1
  40. package/bin/impl/remdn/mod.js +7 -15
  41. package/bin/impl/rules/reliverse/missing-deps/parser.js +1 -3
  42. package/bin/impl/schema/mod.js +4 -3
  43. package/bin/impl/split/impl.js +1 -3
  44. package/bin/impl/toolbox/toolbox-vercel.js +8 -8
  45. package/bin/impl/transform/transform-impl-mod.js +7 -13
  46. package/bin/impl/utils/agg/agg-3.js +2 -2
  47. package/bin/impl/utils/downloading/downloadI18nFiles.js +4 -4
  48. package/bin/impl/utils/exec/exec-stream.js +3 -5
  49. package/bin/impl/utils/handlers/promptPackageJsonScripts.js +3 -1
  50. package/bin/impl/utils/instanceGithub.d.ts +28 -0
  51. package/bin/impl/utils/replacements/reps-impl.js +6 -2
  52. package/bin/mod.d.ts +4 -0
  53. package/bin/mod.js +21 -0
  54. package/package.json +1 -1
  55. package/bin/impl/cross/mod.d.ts +0 -1
  56. package/bin/impl/cross/mod.js +0 -27
@@ -0,0 +1,159 @@
1
+ import { relinka } from "@reliverse/relinka";
2
+ import { execaCommand } from "execa";
3
+ import { globby } from "globby";
4
+ import {
5
+ cachePackageOutput,
6
+ cleanCache,
7
+ hashPackage,
8
+ isPackageCached,
9
+ restorePackageCache
10
+ } from "./cache-mod.js";
11
+ import { DependencyGraph } from "./graph-mod.js";
12
+ import {
13
+ findMonorepo,
14
+ getCacheDir,
15
+ readPackageJson
16
+ } from "./monorepo-mod.js";
17
+ export async function buildCommand(ctx) {
18
+ if (process.env.INSIDE_DLER === "true") {
19
+ if (ctx.isDebug) {
20
+ relinka(
21
+ "log",
22
+ `[dler] \u2192 Ignoring dler, running command immediately: ${ctx.cmdArgs.join(" ")}`
23
+ );
24
+ }
25
+ if (ctx.cmdArgs.length === 0) {
26
+ relinka("error", "No command provided");
27
+ process.exit(1);
28
+ }
29
+ const command = ctx.cmdArgs.join(" ");
30
+ await execaCommand(command);
31
+ return;
32
+ }
33
+ const monorepo = await requireMonorepo(ctx);
34
+ const graph = await createGraph(monorepo);
35
+ const activePackage = requireActivePackage(ctx, graph);
36
+ const dependencies = graph.getPackageDependenciesBuildOrder(activePackage.name);
37
+ const packagesToBuild = [...dependencies, activePackage];
38
+ await buildCachedPackages(ctx, monorepo, packagesToBuild);
39
+ }
40
+ export async function depsCommand(ctx) {
41
+ if (process.env.INSIDE_DLER === "true") {
42
+ return;
43
+ }
44
+ const monorepo = await requireMonorepo(ctx);
45
+ const graph = await createGraph(monorepo);
46
+ const activePackage = requireActivePackage(ctx, graph);
47
+ const dependencies = graph.getPackageDependenciesBuildOrder(activePackage.name);
48
+ await buildCachedPackages(ctx, monorepo, dependencies);
49
+ }
50
+ export async function allCommand(ctx) {
51
+ const monorepo = await requireMonorepo(ctx);
52
+ const graph = await createGraph(monorepo);
53
+ const packages = graph.getOverallBuildOrder();
54
+ await buildCachedPackages(ctx, monorepo, packages);
55
+ }
56
+ export async function graphCommand(ctx) {
57
+ const monorepo = await requireMonorepo(ctx);
58
+ const graph = await createGraph(monorepo);
59
+ graph.print();
60
+ }
61
+ export async function cleanCommand(ctx) {
62
+ const monorepo = await findMonorepo();
63
+ if (monorepo) {
64
+ const cacheDir = getCacheDir(monorepo);
65
+ if (ctx.isDebug) {
66
+ relinka("log", `[dler] \u2192 Deleting cache at ${cacheDir}`);
67
+ }
68
+ await cleanCache(monorepo);
69
+ } else {
70
+ if (ctx.isDebug) {
71
+ relinka("log", "[dler] \u2192 Not in monorepo");
72
+ }
73
+ }
74
+ relinka("log", "\u2713 Cache deleted");
75
+ }
76
+ async function requireMonorepo(ctx) {
77
+ const monorepo = await findMonorepo();
78
+ if (!monorepo) {
79
+ relinka("error", "Monorepo root not found. Are you inside a monorepo?");
80
+ process.exit(1);
81
+ }
82
+ if (ctx.isDebug) {
83
+ relinka("log", `[dler] \u2192 Monorepo found at ${monorepo.root}`);
84
+ }
85
+ return monorepo;
86
+ }
87
+ async function createGraph(monorepo) {
88
+ const packageJsonGlobs = monorepo.packageGlobs.map((glob) => `${glob}/package.json`);
89
+ const matches = await globby(packageJsonGlobs, { cwd: monorepo.root, absolute: true });
90
+ const packages = [];
91
+ for (const packageJsonPath of matches) {
92
+ const pkg = await readPackageJson(packageJsonPath);
93
+ if (pkg) {
94
+ packages.push(pkg);
95
+ }
96
+ }
97
+ return new DependencyGraph(packages);
98
+ }
99
+ function requireActivePackage(ctx, graph) {
100
+ const activePackage = graph.findActivePackage();
101
+ if (!activePackage) {
102
+ relinka("error", "Not inside a package directory, could not determine dependencies to build");
103
+ process.exit(1);
104
+ }
105
+ if (ctx.isDebug) {
106
+ relinka("log", `[dler] \u2192 Active package ${activePackage.dir}`);
107
+ }
108
+ return activePackage;
109
+ }
110
+ async function buildCachedPackages(ctx, monorepo, packages) {
111
+ if (ctx.isDebug) {
112
+ const packageNames = packages.map((p) => p.name);
113
+ relinka("log", `[dler] \u2192 Packages to build: ${packageNames.join(", ")}`);
114
+ }
115
+ for (const pkg of packages) {
116
+ await buildCachedPackage(ctx, monorepo, pkg);
117
+ }
118
+ }
119
+ async function buildCachedPackage(ctx, monorepo, pkg) {
120
+ if (!pkg.buildScript) {
121
+ relinka("log", `\u2713 ${pkg.name}: Nothing to build`);
122
+ return;
123
+ }
124
+ const args = [...monorepo.packageManager.runCmd, "build"];
125
+ if (ctx.isDebug) {
126
+ const relativeDir = pkg.dir.replace(monorepo.root, "").replace(/^\//, "");
127
+ relinka("log", `[dler] \u2192 Running ${args.join(" ")} in ${relativeDir}`);
128
+ }
129
+ relinka("log", `\u25D0 ${pkg.name}: ${pkg.buildScript}`);
130
+ const { packageHash } = await hashPackage(pkg);
131
+ const cacheDir = getPackageCacheDir(monorepo, pkg, packageHash);
132
+ if (ctx.isDebug) {
133
+ relinka("log", `[dler] \u2192 Cache dir: ${cacheDir}`);
134
+ }
135
+ if (await isPackageCached(monorepo, pkg, packageHash) && pkg.config.cache) {
136
+ await restorePackageCache(monorepo, pkg, packageHash);
137
+ relinka("log", `\u2713 ${pkg.name}: Cached!`);
138
+ return;
139
+ }
140
+ await execInDir(pkg.dir, args);
141
+ if (pkg.config.cache) {
142
+ await cachePackageOutput(monorepo, pkg, packageHash);
143
+ }
144
+ relinka("log", `\u2713 ${pkg.name}: Built`);
145
+ }
146
+ async function execInDir(dir, args) {
147
+ if (args.length === 0) {
148
+ relinka("error", "No command provided");
149
+ process.exit(1);
150
+ }
151
+ const command = args.join(" ");
152
+ await execaCommand(command, {
153
+ cwd: dir,
154
+ env: { ...process.env, INSIDE_DLER: "true" }
155
+ });
156
+ }
157
+ function getPackageCacheDir(monorepo, pkg, packageHash) {
158
+ return `${monorepo.root}/.cache/${pkg.name}/${packageHash}`;
159
+ }
@@ -0,0 +1,29 @@
1
+ import type { Package } from "./monorepo-mod";
2
+ export interface GraphNode {
3
+ id: string;
4
+ package: Package;
5
+ children: GraphNode[];
6
+ }
7
+ export declare class DependencyGraph {
8
+ private readonly root;
9
+ private readonly nodeMap;
10
+ constructor(packages: Package[]);
11
+ /**
12
+ * Get all packages in build order (dependencies first)
13
+ */
14
+ getOverallBuildOrder(): Package[];
15
+ /**
16
+ * Get dependencies for a specific package in build order
17
+ */
18
+ getPackageDependenciesBuildOrder(packageName: string): Package[];
19
+ /**
20
+ * Find the package that contains the current working directory
21
+ */
22
+ findActivePackage(): Package | null;
23
+ /**
24
+ * Print the dependency graph as a tree
25
+ */
26
+ print(): void;
27
+ private depthFirstSearch;
28
+ private printNode;
29
+ }
@@ -0,0 +1,106 @@
1
+ import { relinka } from "@reliverse/relinka";
2
+ export class DependencyGraph {
3
+ root;
4
+ nodeMap = /* @__PURE__ */ new Map();
5
+ constructor(packages) {
6
+ this.root = {
7
+ id: "root",
8
+ package: {
9
+ dir: "",
10
+ name: "root",
11
+ dependencyNames: [],
12
+ config: { cache: false, outDir: "dist", include: [], exclude: [] }
13
+ },
14
+ children: []
15
+ };
16
+ const nodes = packages.map((pkg) => ({
17
+ id: pkg.name,
18
+ package: pkg,
19
+ children: []
20
+ }));
21
+ this.root.children = [...nodes];
22
+ for (const node of nodes) {
23
+ this.nodeMap.set(node.id, node);
24
+ }
25
+ for (const pkg of packages) {
26
+ const packageNode = this.nodeMap.get(pkg.name);
27
+ if (!packageNode) continue;
28
+ for (const depName of pkg.dependencyNames) {
29
+ const depNode = this.nodeMap.get(depName);
30
+ if (depNode) {
31
+ packageNode.children.push(depNode);
32
+ }
33
+ }
34
+ }
35
+ }
36
+ /**
37
+ * Get all packages in build order (dependencies first)
38
+ */
39
+ getOverallBuildOrder() {
40
+ const visited = /* @__PURE__ */ new Set();
41
+ const result = [];
42
+ for (const child of this.root.children) {
43
+ this.depthFirstSearch(child, visited, result);
44
+ }
45
+ return result;
46
+ }
47
+ /**
48
+ * Get dependencies for a specific package in build order
49
+ */
50
+ getPackageDependenciesBuildOrder(packageName) {
51
+ const node = this.nodeMap.get(packageName);
52
+ if (!node) return [];
53
+ const visited = /* @__PURE__ */ new Set();
54
+ const result = [];
55
+ for (const child of node.children) {
56
+ this.depthFirstSearch(child, visited, result);
57
+ }
58
+ return result;
59
+ }
60
+ /**
61
+ * Find the package that contains the current working directory
62
+ */
63
+ findActivePackage() {
64
+ const currentDir = process.cwd();
65
+ for (const node of this.root.children) {
66
+ if (currentDir.startsWith(node.package.dir)) {
67
+ return node.package;
68
+ }
69
+ }
70
+ return null;
71
+ }
72
+ /**
73
+ * Print the dependency graph as a tree
74
+ */
75
+ print() {
76
+ relinka("log", "Dependency Graph:");
77
+ this.printNode(this.root, 0, true);
78
+ }
79
+ depthFirstSearch(node, visited, result) {
80
+ if (visited.has(node.id)) return;
81
+ visited.add(node.id);
82
+ for (const child of node.children) {
83
+ this.depthFirstSearch(child, visited, result);
84
+ }
85
+ if (node.id !== "root") {
86
+ result.push(node.package);
87
+ }
88
+ }
89
+ printNode(node, depth, isLast) {
90
+ const indent = "\u2502 ".repeat(depth);
91
+ const connector = isLast ? "\u2514" : "\u251C";
92
+ const name = node.id === "root" ? "" : node.id;
93
+ if (name) {
94
+ relinka("log", `${indent}${connector} ${name}`);
95
+ }
96
+ if (node.children.length > 0) {
97
+ const lastIndex = node.children.length - 1;
98
+ for (let i = 0; i < node.children.length; i++) {
99
+ const child = node.children[i];
100
+ if (child) {
101
+ this.printNode(child, depth + 1, i === lastIndex);
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./cache-mod";
2
+ export * from "./commands-mod";
3
+ export * from "./graph-mod";
4
+ export * from "./monorepo-mod";
5
+ export { readPackageJson as readMonorepoPackageJson } from "./monorepo-mod";
@@ -0,0 +1,5 @@
1
+ export * from "./cache-mod.js";
2
+ export * from "./commands-mod.js";
3
+ export * from "./graph-mod.js";
4
+ export * from "./monorepo-mod.js";
5
+ export { readPackageJson as readMonorepoPackageJson } from "./monorepo-mod.js";
@@ -0,0 +1,26 @@
1
+ export interface PackageManager {
2
+ name: "pnpm" | "bun" | "npm" | "yarn";
3
+ runCmd: string[];
4
+ }
5
+ export interface Package {
6
+ dir: string;
7
+ name: string;
8
+ buildScript?: string;
9
+ dependencyNames: string[];
10
+ config: PackageConfig;
11
+ }
12
+ export interface PackageConfig {
13
+ cache: boolean;
14
+ outDir: string;
15
+ include: string[];
16
+ exclude: string[];
17
+ }
18
+ export interface Monorepo {
19
+ root: string;
20
+ packageManager: PackageManager;
21
+ packageGlobs: string[];
22
+ }
23
+ export declare function createPackageConfig(json: any): PackageConfig;
24
+ export declare function findMonorepo(): Promise<Monorepo | null>;
25
+ export declare function readPackageJson(packageJsonPath: string): Promise<Package | null>;
26
+ export declare function getCacheDir(monorepo: Monorepo): string;
@@ -0,0 +1,152 @@
1
+ import path from "@reliverse/pathkit";
2
+ import fs from "@reliverse/relifso";
3
+ import { relinka } from "@reliverse/relinka";
4
+ import { detectPackageManager } from "../utils/pm/pm-detect.js";
5
+ const DEFAULT_CACHED = true;
6
+ const DEFAULT_OUT_DIR = "dist";
7
+ const DEFAULT_INCLUDE = ["src/**/*"];
8
+ const DEFAULT_EXCLUDE = [
9
+ "**/__tests__/**",
10
+ "**/__mocks__/**",
11
+ "**/*.test.*",
12
+ "**/e2e/**",
13
+ "**/dist/**",
14
+ "**/.output/**"
15
+ ];
16
+ export function createPackageConfig(json) {
17
+ const dler = json.dler || {};
18
+ return {
19
+ cache: dler.cache ?? DEFAULT_CACHED,
20
+ outDir: dler.outDir ?? DEFAULT_OUT_DIR,
21
+ include: dler.include ?? DEFAULT_INCLUDE,
22
+ exclude: dler.exclude ?? DEFAULT_EXCLUDE
23
+ };
24
+ }
25
+ export async function findMonorepo() {
26
+ let currentDir = process.cwd();
27
+ while (true) {
28
+ const workspace = await readWorkspace(currentDir);
29
+ if (workspace) {
30
+ return {
31
+ root: currentDir,
32
+ packageManager: workspace.packageManager,
33
+ packageGlobs: workspace.packageGlobs
34
+ };
35
+ }
36
+ const parentDir = path.dirname(currentDir);
37
+ if (parentDir === currentDir) {
38
+ break;
39
+ }
40
+ currentDir = parentDir;
41
+ }
42
+ return null;
43
+ }
44
+ async function readWorkspace(path2) {
45
+ const pnpmWorkspacePath = path2 + "/pnpm-workspace.yaml";
46
+ if (await fs.pathExists(pnpmWorkspacePath)) {
47
+ try {
48
+ const content = await fs.readFile(pnpmWorkspacePath, "utf-8");
49
+ const yaml = JSON.parse(content);
50
+ const packages = yaml.packages || [];
51
+ return {
52
+ packageManager: {
53
+ name: "pnpm",
54
+ runCmd: ["pnpm", "--silent", "run"]
55
+ },
56
+ packageGlobs: packages
57
+ };
58
+ } catch (error) {
59
+ relinka("warn", `Failed to parse pnpm-workspace.yaml: ${error}`);
60
+ }
61
+ }
62
+ const packageJsonPath = path2 + "/package.json";
63
+ if (await fs.pathExists(packageJsonPath)) {
64
+ try {
65
+ const content = await fs.readFile(packageJsonPath, "utf-8");
66
+ const json = JSON.parse(content);
67
+ if (json.workspaces) {
68
+ const detectedPM = await detectPackageManager(path2, {
69
+ ignorePackageJSON: true
70
+ // We already have the package.json
71
+ });
72
+ let packageManager;
73
+ if (detectedPM) {
74
+ switch (detectedPM.name) {
75
+ case "bun":
76
+ packageManager = {
77
+ name: "bun",
78
+ runCmd: ["bun", "--silent", "run"]
79
+ };
80
+ break;
81
+ case "yarn":
82
+ packageManager = {
83
+ name: "yarn",
84
+ runCmd: ["yarn", "run"]
85
+ };
86
+ break;
87
+ case "npm":
88
+ packageManager = {
89
+ name: "npm",
90
+ runCmd: ["npm", "run"]
91
+ };
92
+ break;
93
+ case "pnpm":
94
+ packageManager = {
95
+ name: "pnpm",
96
+ runCmd: ["pnpm", "--silent", "run"]
97
+ };
98
+ break;
99
+ default:
100
+ packageManager = {
101
+ name: "bun",
102
+ runCmd: ["bun", "--silent", "run"]
103
+ };
104
+ }
105
+ } else {
106
+ packageManager = {
107
+ name: "bun",
108
+ runCmd: ["bun", "--silent", "run"]
109
+ };
110
+ }
111
+ return {
112
+ packageManager,
113
+ packageGlobs: Array.isArray(json.workspaces) ? json.workspaces : []
114
+ };
115
+ }
116
+ } catch (error) {
117
+ relinka("warn", `Failed to parse package.json: ${error}`);
118
+ }
119
+ }
120
+ return null;
121
+ }
122
+ export async function readPackageJson(packageJsonPath) {
123
+ try {
124
+ const content = await fs.readFile(packageJsonPath, "utf-8");
125
+ const json = JSON.parse(content);
126
+ const name = json.name;
127
+ if (!name) {
128
+ return null;
129
+ }
130
+ const buildScript = json.scripts?.build;
131
+ const dependencyNames = [];
132
+ const deps = { ...json.dependencies, ...json.devDependencies };
133
+ for (const [depName, version] of Object.entries(deps)) {
134
+ if (typeof version === "string" && version.startsWith("workspace:")) {
135
+ dependencyNames.push(depName);
136
+ }
137
+ }
138
+ return {
139
+ dir: path.dirname(packageJsonPath),
140
+ name,
141
+ buildScript,
142
+ dependencyNames,
143
+ config: createPackageConfig(json)
144
+ };
145
+ } catch (error) {
146
+ relinka("warn", `Failed to read package.json at ${packageJsonPath}: ${error}`);
147
+ return null;
148
+ }
149
+ }
150
+ export function getCacheDir(monorepo) {
151
+ return path.join(monorepo.root, ".cache");
152
+ }
@@ -146,7 +146,7 @@ export const DLER_TPL_ADDONS = {
146
146
  type: "binary",
147
147
  binaryHash: "dee83fc2fb"
148
148
  },
149
- "addons/pwa/apps/web/next/src-ts/impl/manifest.ts.hbs": {
149
+ "addons/pwa/apps/web/next/src/impl/manifest.ts.hbs": {
150
150
  metadata: {
151
151
  updatedAt: "2025-06-17T06:06:35.000Z",
152
152
  updatedHash: "6f8734ebe6"
@@ -188,7 +188,7 @@ export const protectedProcedure = publicProcedure.use(requireAuth);
188
188
  `,
189
189
  type: "text"
190
190
  },
191
- "api/orpc/server/next/src-ts/impl/rpc/[...all]/route.ts.hbs": {
191
+ "api/orpc/server/next/src/impl/rpc/[...all]/route.ts.hbs": {
192
192
  metadata: {
193
193
  updatedAt: "2025-06-17T06:06:35.000Z",
194
194
  updatedHash: "cdf4279672"
@@ -556,7 +556,7 @@ export const protectedProcedure = t.procedure.use(({ ctx, next }) => {
556
556
  `,
557
557
  type: "text"
558
558
  },
559
- "api/trpc/server/next/src-ts/impl/trpc/[trpc]/route.ts": {
559
+ "api/trpc/server/next/src/impl/trpc/[trpc]/route.ts": {
560
560
  metadata: {
561
561
  updatedAt: "2025-06-17T06:06:35.000Z",
562
562
  updatedHash: "1316017eae"
@@ -1403,7 +1403,7 @@ model Verification {
1403
1403
  `,
1404
1404
  type: "text"
1405
1405
  },
1406
- "auth/server/next/src-ts/impl/api/auth/[...all]/route.ts": {
1406
+ "auth/server/next/src/impl/api/auth/[...all]/route.ts": {
1407
1407
  metadata: {
1408
1408
  updatedAt: "2025-06-17T06:06:35.000Z",
1409
1409
  updatedHash: "1eeae5d0e3"
@@ -1727,7 +1727,7 @@ export const authClient = createAuthClient({
1727
1727
  `,
1728
1728
  type: "text"
1729
1729
  },
1730
- "auth/web/react/next/src-ts/impl/dashboard/page.tsx.hbs": {
1730
+ "auth/web/react/next/src/impl/dashboard/page.tsx.hbs": {
1731
1731
  metadata: {
1732
1732
  updatedAt: "2025-06-17T06:06:35.000Z",
1733
1733
  updatedHash: "354fab95c7"
@@ -1777,7 +1777,7 @@ export default function Dashboard() {
1777
1777
  `,
1778
1778
  type: "text"
1779
1779
  },
1780
- "auth/web/react/next/src-ts/impl/login/page.tsx": {
1780
+ "auth/web/react/next/src/impl/login/page.tsx": {
1781
1781
  metadata: {
1782
1782
  updatedAt: "2025-06-17T06:06:35.000Z",
1783
1783
  updatedHash: "bdd103cc10"
@@ -720,7 +720,7 @@ export default nextConfig;
720
720
  `,
721
721
  type: "text"
722
722
  },
723
- "backend/server/next/src-ts/impl/route.ts": {
723
+ "backend/server/next/src/impl/route.ts": {
724
724
  metadata: {
725
725
  updatedAt: "2025-06-17T06:06:35.000Z",
726
726
  updatedHash: "e40f5d7501"
@@ -486,7 +486,7 @@ export {};
486
486
  `,
487
487
  type: "text"
488
488
  },
489
- "examples/ai/server/next/src-ts/impl/ai/route.ts": {
489
+ "examples/ai/server/next/src/impl/ai/route.ts": {
490
490
  metadata: {
491
491
  updatedAt: "2025-06-17T06:06:35.000Z",
492
492
  updatedHash: "eee0d6a73d"
@@ -569,7 +569,7 @@ function getMessageText(message: any) {
569
569
  `,
570
570
  type: "text"
571
571
  },
572
- "examples/ai/web/react/next/src-ts/impl/ai/page.tsx": {
572
+ "examples/ai/web/react/next/src/impl/ai/page.tsx": {
573
573
  metadata: {
574
574
  updatedAt: "2025-06-17T06:06:35.000Z",
575
575
  updatedHash: "0c366c76eb"
@@ -2058,7 +2058,7 @@ function handleDeleteTodo(id: number) {
2058
2058
  `,
2059
2059
  type: "text"
2060
2060
  },
2061
- "examples/todo/web/react/next/src-ts/impl/todos/page.tsx.hbs": {
2061
+ "examples/todo/web/react/next/src/impl/todos/page.tsx.hbs": {
2062
2062
  metadata: {
2063
2063
  updatedAt: "2025-06-17T06:06:35.000Z",
2064
2064
  updatedHash: "dbf393c2f2"
@@ -1,22 +1,22 @@
1
1
  import { z } from "zod";
2
2
  export declare const DatabaseSchema: z.ZodEnum<{
3
- mysql: "mysql";
3
+ none: "none";
4
4
  sqlite: "sqlite";
5
+ mysql: "mysql";
5
6
  mongodb: "mongodb";
6
- none: "none";
7
7
  postgres: "postgres";
8
8
  }>;
9
9
  export type Database = z.infer<typeof DatabaseSchema>;
10
10
  export declare const ORMSchema: z.ZodEnum<{
11
- mongoose: "mongoose";
12
11
  none: "none";
13
12
  drizzle: "drizzle";
14
13
  prisma: "prisma";
14
+ mongoose: "mongoose";
15
15
  }>;
16
16
  export type ORM = z.infer<typeof ORMSchema>;
17
17
  export declare const BackendSchema: z.ZodEnum<{
18
- hono: "hono";
19
18
  none: "none";
19
+ hono: "hono";
20
20
  next: "next";
21
21
  convex: "convex";
22
22
  express: "express";
@@ -32,10 +32,10 @@ export declare const RuntimeSchema: z.ZodEnum<{
32
32
  }>;
33
33
  export type Runtime = z.infer<typeof RuntimeSchema>;
34
34
  export declare const FrontendSchema: z.ZodEnum<{
35
+ none: "none";
35
36
  svelte: "svelte";
36
37
  nuxt: "nuxt";
37
38
  solid: "solid";
38
- none: "none";
39
39
  next: "next";
40
40
  "react-router": "react-router";
41
41
  "tanstack-router": "tanstack-router";
@@ -45,10 +45,10 @@ 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
- tauri: "tauri";
48
+ none: "none";
49
49
  biome: "biome";
50
+ tauri: "tauri";
50
51
  starlight: "starlight";
51
- none: "none";
52
52
  turborepo: "turborepo";
53
53
  husky: "husky";
54
54
  pwa: "pwa";
@@ -56,14 +56,14 @@ export declare const AddonsSchema: z.ZodEnum<{
56
56
  export type Addons = z.infer<typeof AddonsSchema>;
57
57
  export declare const ExamplesSchema: z.ZodEnum<{
58
58
  none: "none";
59
- todo: "todo";
60
59
  ai: "ai";
60
+ todo: "todo";
61
61
  }>;
62
62
  export type Examples = z.infer<typeof ExamplesSchema>;
63
63
  export declare const PackageManagerSchema: z.ZodEnum<{
64
+ bun: "bun";
64
65
  npm: "npm";
65
66
  pnpm: "pnpm";
66
- bun: "bun";
67
67
  }>;
68
68
  export type PackageManager = z.infer<typeof PackageManagerSchema>;
69
69
  export declare const DatabaseSetupSchema: z.ZodEnum<{
@@ -3,6 +3,6 @@ import type { PerfTimer } from "../types/mod.js";
3
3
  /**
4
4
  * Main entry point for the rse build and publish process.
5
5
  * Handles building and publishing for both main project and libraries.
6
- * @see `src-ts/impl/build/impl.ts` for build main function implementation.
6
+ * @see `src/impl/build/impl.ts` for build main function implementation.
7
7
  */
8
8
  export declare function dlerPub(timer: PerfTimer, isDev: boolean, config?: ReliverseConfig): Promise<void>;