@reliverse/dler 1.7.128 → 1.7.129

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.
@@ -146,8 +146,8 @@ 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
- mysql: "mysql";
150
149
  sqlite: "sqlite";
150
+ mysql: "mysql";
151
151
  mongodb: "mongodb";
152
152
  postgres: "postgres";
153
153
  mssql: "mssql";
@@ -1,5 +1,5 @@
1
1
  export declare const PROJECT_ROOT: string;
2
- export declare const cliVersion = "1.7.128";
2
+ export declare const cliVersion = "1.7.129";
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.128";
4
+ const version = "1.7.129";
5
5
  export const cliVersion = version;
6
6
  export const cliName = "@reliverse/rse";
7
7
  export const rseName = "@reliverse/rse";
@@ -1,8 +1,8 @@
1
1
  import { z } from "zod";
2
2
  export declare const DatabaseSchema: z.ZodEnum<{
3
3
  none: "none";
4
- mysql: "mysql";
5
4
  sqlite: "sqlite";
5
+ mysql: "mysql";
6
6
  mongodb: "mongodb";
7
7
  postgres: "postgres";
8
8
  }>;
@@ -10,8 +10,8 @@ export type Database = z.infer<typeof DatabaseSchema>;
10
10
  export declare const ORMSchema: z.ZodEnum<{
11
11
  none: "none";
12
12
  drizzle: "drizzle";
13
- prisma: "prisma";
14
13
  mongoose: "mongoose";
14
+ prisma: "prisma";
15
15
  }>;
16
16
  export type ORM = z.infer<typeof ORMSchema>;
17
17
  export declare const BackendSchema: z.ZodEnum<{
@@ -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
- bun: "bun";
29
28
  none: "none";
29
+ bun: "bun";
30
30
  node: "node";
31
31
  workers: "workers";
32
32
  }>;
@@ -45,8 +45,8 @@ 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";
49
48
  none: "none";
49
+ biome: "biome";
50
50
  tauri: "tauri";
51
51
  starlight: "starlight";
52
52
  turborepo: "turborepo";
@@ -56,8 +56,8 @@ 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
- ai: "ai";
60
59
  todo: "todo";
60
+ ai: "ai";
61
61
  }>;
62
62
  export type Examples = z.infer<typeof ExamplesSchema>;
63
63
  export declare const PackageManagerSchema: z.ZodEnum<{
@@ -70,17 +70,21 @@ export async function dlerPub(timer, isDev, config) {
70
70
  const elapsedTime = getElapsedPerfTime(timer);
71
71
  const formattedPerfTime = prettyMilliseconds(elapsedTime, { verbose: true });
72
72
  const packageName = buildConfig.projectName ?? "The project";
73
+ const versionLabelMain = buildConfig.version ? ` v${buildConfig.version}` : "";
73
74
  const publishedLibNames = (() => {
74
75
  const includeLibs = buildConfig.libsActMode === "libs-only" || buildConfig.libsActMode === "main-and-libs";
75
76
  if (!includeLibs || buildConfig.commonPubPause) return [];
76
77
  const entries = Object.entries(buildConfig.libsList ?? {});
77
78
  const names = [];
78
79
  for (const [libName, libCfg] of entries) {
79
- if (!libCfg?.libPubPause) names.push(libName);
80
+ if (!libCfg?.libPubPause) {
81
+ const libVersionLabel = libCfg?.version ? ` v${libCfg.version}` : versionLabelMain;
82
+ names.push(`${libName}${libVersionLabel}`);
83
+ }
80
84
  }
81
85
  return names;
82
86
  })();
83
- const displayName = publishedLibNames.length > 0 ? publishedLibNames.join(", ") : packageName;
87
+ const displayName = publishedLibNames.length > 0 ? publishedLibNames.join(", ") : `${packageName}${versionLabelMain}`;
84
88
  const publishTargetLabel = (() => {
85
89
  switch (buildConfig.commonPubRegistry) {
86
90
  case "npm":
package/package.json CHANGED
@@ -123,7 +123,7 @@
123
123
  "license": "MIT",
124
124
  "name": "@reliverse/dler",
125
125
  "type": "module",
126
- "version": "1.7.128",
126
+ "version": "1.7.129",
127
127
  "author": "reliverse",
128
128
  "bugs": {
129
129
  "email": "blefnk@gmail.com",