@reliverse/dler 1.7.117 → 1.7.119
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/app/build/binary-flow.d.ts +6 -0
- package/bin/app/build/binary-flow.js +153 -0
- package/bin/app/build/build-library.d.ts +0 -1
- package/bin/app/build/build-library.js +0 -5
- package/bin/app/build/build-regular.d.ts +2 -2
- package/bin/app/build/build-regular.js +3 -8
- package/bin/app/build/impl.js +2 -0
- package/bin/app/build/regular-flow.js +0 -4
- package/bin/app/config/comments.js +2 -2
- package/bin/app/config/constants.d.ts +1 -1
- package/bin/app/config/constants.js +1 -1
- package/bin/app/config/prepare.js +31 -0
- package/bin/app/providers/better-t-stack/types.d.ts +5 -5
- package/bin/app/providers/reliverse-stack/rs-impl.d.ts +2 -2
- package/bin/app/schema/gen.js +110 -2
- package/bin/app/schema/mod.d.ts +105 -0
- package/bin/app/schema/mod.js +16 -2
- package/bin/app/toolbox/toolbox-impl.d.ts +0 -2
- package/bin/app/toolbox/toolbox-impl.js +1 -50
- package/bin/app/utils/common.d.ts +8 -2
- package/bin/app/utils/common.js +14 -5
- package/bin/app/utils/schemaMemory.d.ts +2 -2
- package/bin/app/utils/startEndPrompts.d.ts +1 -1
- package/bin/app/utils/startEndPrompts.js +2 -2
- package/bin/mod.d.ts +1 -1
- package/bin/mod.js +1 -2
- package/package.json +8 -8
- package/bin/app/build/binary/cmd.d.ts +0 -113
- package/bin/app/build/binary/cmd.js +0 -226
- package/bin/app/build/cmd.d.ts +0 -25
- package/bin/app/build/cmd.js +0 -59
- package/bin/app/pub/cmd.d.ts +0 -17
- package/bin/app/pub/cmd.js +0 -42
- package/bin/app/toolbox/cmd.d.ts +0 -7
- package/bin/app/toolbox/cmd.js +0 -37
- package/bin/dler.d.ts +0 -1
- package/bin/dler.js +0 -2
package/bin/app/schema/mod.d.ts
CHANGED
|
@@ -342,6 +342,97 @@ export interface ReliverseConfig {
|
|
|
342
342
|
* @default "js"
|
|
343
343
|
*/
|
|
344
344
|
distNpmOutFilesExt: NpmOutExt;
|
|
345
|
+
/**
|
|
346
|
+
* When `true`, enables binary build functionality to create standalone executables.
|
|
347
|
+
*
|
|
348
|
+
* @default false
|
|
349
|
+
*/
|
|
350
|
+
binaryBuildEnabled: boolean;
|
|
351
|
+
/**
|
|
352
|
+
* Input TypeScript file to bundle for binary builds.
|
|
353
|
+
* If not specified, will use the coreEntryFile from the coreEntrySrcDir.
|
|
354
|
+
*
|
|
355
|
+
* @default undefined (uses coreEntryFile)
|
|
356
|
+
*/
|
|
357
|
+
binaryBuildInputFile?: string;
|
|
358
|
+
/**
|
|
359
|
+
* Comma-separated list of targets to build for binary builds.
|
|
360
|
+
* Use 'all' for all targets, 'list' to show available targets.
|
|
361
|
+
* Target format is {prefix}-{platform}-{arch} where prefix is extracted from input filename.
|
|
362
|
+
* Platforms: linux, windows, darwin (macOS)
|
|
363
|
+
* Architectures: x64, arm64
|
|
364
|
+
* Examples: dler-linux-x64, dler-windows-arm64, dler-darwin-x64
|
|
365
|
+
*
|
|
366
|
+
* @default "all"
|
|
367
|
+
*/
|
|
368
|
+
binaryBuildTargets: string;
|
|
369
|
+
/**
|
|
370
|
+
* Output directory for built binary executables.
|
|
371
|
+
*
|
|
372
|
+
* @default "dist"
|
|
373
|
+
*/
|
|
374
|
+
binaryBuildOutDir: string;
|
|
375
|
+
/**
|
|
376
|
+
* When `true`, minifies the binary output.
|
|
377
|
+
*
|
|
378
|
+
* @default true
|
|
379
|
+
*/
|
|
380
|
+
binaryBuildMinify: boolean;
|
|
381
|
+
/**
|
|
382
|
+
* When `true`, generates source maps for binary builds.
|
|
383
|
+
*
|
|
384
|
+
* @default true
|
|
385
|
+
*/
|
|
386
|
+
binaryBuildSourcemap: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* When `true`, enables bytecode compilation for faster startup (Bun v1.1.30+).
|
|
389
|
+
*
|
|
390
|
+
* @default false
|
|
391
|
+
*/
|
|
392
|
+
binaryBuildBytecode: boolean;
|
|
393
|
+
/**
|
|
394
|
+
* When `true`, cleans output directory before building binaries.
|
|
395
|
+
*
|
|
396
|
+
* @default true
|
|
397
|
+
*/
|
|
398
|
+
binaryBuildClean: boolean;
|
|
399
|
+
/**
|
|
400
|
+
* Path to Windows .ico file for executable icon.
|
|
401
|
+
*
|
|
402
|
+
* @default undefined
|
|
403
|
+
*/
|
|
404
|
+
binaryBuildWindowsIcon?: string;
|
|
405
|
+
/**
|
|
406
|
+
* When `true`, hides console window on Windows.
|
|
407
|
+
*
|
|
408
|
+
* @default false
|
|
409
|
+
*/
|
|
410
|
+
binaryBuildWindowsHideConsole: boolean;
|
|
411
|
+
/**
|
|
412
|
+
* Asset naming pattern for binary builds.
|
|
413
|
+
*
|
|
414
|
+
* @default "[name]-[hash].[ext]"
|
|
415
|
+
*/
|
|
416
|
+
binaryBuildAssetNaming: string;
|
|
417
|
+
/**
|
|
418
|
+
* When `true`, builds binary targets in parallel.
|
|
419
|
+
*
|
|
420
|
+
* @default true
|
|
421
|
+
*/
|
|
422
|
+
binaryBuildParallel: boolean;
|
|
423
|
+
/**
|
|
424
|
+
* External dependencies to exclude from binary bundle.
|
|
425
|
+
*
|
|
426
|
+
* @default ["c12", "terminal-kit"]
|
|
427
|
+
*/
|
|
428
|
+
binaryBuildExternal: string[];
|
|
429
|
+
/**
|
|
430
|
+
* When `true`, creates a bundled script instead of standalone executable.
|
|
431
|
+
* Useful for debugging terminal issues.
|
|
432
|
+
*
|
|
433
|
+
* @default false
|
|
434
|
+
*/
|
|
435
|
+
binaryBuildNoCompile: boolean;
|
|
345
436
|
/**
|
|
346
437
|
* !! EXPERIMENTAL !!
|
|
347
438
|
* Controls which parts of the project are built and published:
|
|
@@ -1075,6 +1166,20 @@ export declare const defineConfig: (userConfig?: Partial<ReliverseConfig>) => {
|
|
|
1075
1166
|
distNpmBuilder: BundlerName;
|
|
1076
1167
|
distNpmDirName: string;
|
|
1077
1168
|
distNpmOutFilesExt: NpmOutExt;
|
|
1169
|
+
binaryBuildEnabled: boolean;
|
|
1170
|
+
binaryBuildInputFile?: string;
|
|
1171
|
+
binaryBuildTargets: string;
|
|
1172
|
+
binaryBuildOutDir: string;
|
|
1173
|
+
binaryBuildMinify: boolean;
|
|
1174
|
+
binaryBuildSourcemap: boolean;
|
|
1175
|
+
binaryBuildBytecode: boolean;
|
|
1176
|
+
binaryBuildClean: boolean;
|
|
1177
|
+
binaryBuildWindowsIcon?: string;
|
|
1178
|
+
binaryBuildWindowsHideConsole: boolean;
|
|
1179
|
+
binaryBuildAssetNaming: string;
|
|
1180
|
+
binaryBuildParallel: boolean;
|
|
1181
|
+
binaryBuildExternal: string[];
|
|
1182
|
+
binaryBuildNoCompile: boolean;
|
|
1078
1183
|
libsActMode: "libs-only" | "main-and-libs" | "main-project-only";
|
|
1079
1184
|
libsDirDist: string;
|
|
1080
1185
|
libsDirSrc: string;
|
package/bin/app/schema/mod.js
CHANGED
|
@@ -35,6 +35,20 @@ export const DEFAULT_CONFIG_RELIVERSE = {
|
|
|
35
35
|
distNpmBuilder: "mkdist",
|
|
36
36
|
distNpmDirName: "dist-npm",
|
|
37
37
|
distNpmOutFilesExt: "js",
|
|
38
|
+
binaryBuildEnabled: false,
|
|
39
|
+
binaryBuildInputFile: void 0,
|
|
40
|
+
binaryBuildTargets: "all",
|
|
41
|
+
binaryBuildOutDir: "dist",
|
|
42
|
+
binaryBuildMinify: true,
|
|
43
|
+
binaryBuildSourcemap: true,
|
|
44
|
+
binaryBuildBytecode: false,
|
|
45
|
+
binaryBuildClean: true,
|
|
46
|
+
binaryBuildWindowsIcon: void 0,
|
|
47
|
+
binaryBuildWindowsHideConsole: false,
|
|
48
|
+
binaryBuildAssetNaming: "[name]-[hash].[ext]",
|
|
49
|
+
binaryBuildParallel: true,
|
|
50
|
+
binaryBuildExternal: ["c12", "terminal-kit"],
|
|
51
|
+
binaryBuildNoCompile: false,
|
|
38
52
|
libsActMode: "main-project-only",
|
|
39
53
|
libsDirDist: "dist-libs",
|
|
40
54
|
libsDirSrc: "src/libs",
|
|
@@ -227,7 +241,7 @@ export const DEFAULT_CONFIG_RELIVERSE = {
|
|
|
227
241
|
},
|
|
228
242
|
// List dependencies to exclude from checks
|
|
229
243
|
ignoreDependencies: [],
|
|
230
|
-
// Provide custom rules for
|
|
244
|
+
// Provide custom rules for Rse AI
|
|
231
245
|
// You can use any json type here in {}
|
|
232
246
|
customRules: {},
|
|
233
247
|
// Project features
|
|
@@ -305,7 +319,7 @@ export const DEFAULT_CONFIG_RELIVERSE = {
|
|
|
305
319
|
// Behavior for existing GitHub repos during project creation
|
|
306
320
|
// Options: prompt | autoYes | autoYesSkipCommit | autoNo
|
|
307
321
|
existingRepoBehavior: "prompt",
|
|
308
|
-
// Behavior for
|
|
322
|
+
// Behavior for Rse AI chat and agent mode
|
|
309
323
|
// Options: promptOnce | promptEachFile | autoYes
|
|
310
324
|
relinterConfirm: "promptOnce",
|
|
311
325
|
// Remdn Configuration
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { ReliverseConfig } from "../schema/mod.js";
|
|
2
|
-
import type { ParamsOmitReli } from "../types/mod.js";
|
|
3
2
|
import type { RepoOption } from "../utils/projectRepository.js";
|
|
4
3
|
import type { ReliverseMemory } from "../utils/schemaMemory.js";
|
|
5
4
|
export declare function rmTestsRuntime(cwd: string): Promise<void>;
|
|
6
5
|
export declare function downloadRepoOption(template: RepoOption, config: ReliverseConfig, memory: ReliverseMemory, isDev: boolean, cwd: string, skipPrompts: boolean): Promise<void>;
|
|
7
|
-
export declare function showDevToolsMenu(params: ParamsOmitReli): Promise<void>;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import path from "@reliverse/pathkit";
|
|
2
2
|
import fs from "@reliverse/relifso";
|
|
3
3
|
import { relinka } from "@reliverse/relinka";
|
|
4
|
-
import { confirmPrompt
|
|
4
|
+
import { confirmPrompt } from "@reliverse/rempts";
|
|
5
5
|
import { FALLBACK_ENV_EXAMPLE_URL } from "../config/constants.js";
|
|
6
6
|
import { composeEnvFile } from "../init/use-template/cp-modules/compose-env-file/cef-mod.js";
|
|
7
7
|
import { promptGitDeploy } from "../init/use-template/cp-modules/git-deploy-prompts/gdp-mod.js";
|
|
8
|
-
import { experimental } from "../utils/badgeNotifiers.js";
|
|
9
8
|
import { downloadRepo } from "../utils/downloading/downloadRepo.js";
|
|
10
9
|
import { askProjectName } from "../utils/prompts/askProjectName.js";
|
|
11
10
|
import { askUsernameFrontend } from "../utils/prompts/askUsernameFrontend.js";
|
|
12
11
|
import { cd, pwd, rm } from "../utils/terminalHelpers.js";
|
|
13
|
-
import { openVercelTools } from "./toolbox-vercel.js";
|
|
14
12
|
export async function rmTestsRuntime(cwd) {
|
|
15
13
|
const TestsRuntimePath = path.join(cwd, "tests-runtime");
|
|
16
14
|
if (await fs.pathExists(TestsRuntimePath)) {
|
|
@@ -78,50 +76,3 @@ export async function downloadRepoOption(template, config, memory, isDev, cwd, s
|
|
|
78
76
|
relinka("success", `Project deployed successfully to ${primaryDomain}`);
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
|
-
export async function showDevToolsMenu(params) {
|
|
82
|
-
const { cwd, isDev, memory, config, skipPrompts } = params;
|
|
83
|
-
const TestsRuntimePath = path.join(cwd, "tests-runtime");
|
|
84
|
-
const TestsRuntimeExists = await fs.pathExists(TestsRuntimePath);
|
|
85
|
-
const toolsOptions = {
|
|
86
|
-
rmTestsRuntime: "rm-tests-runtime",
|
|
87
|
-
downloadTemplate: "download-template",
|
|
88
|
-
openVercelTools: "open-vercel-tools",
|
|
89
|
-
exit: "exit"
|
|
90
|
-
};
|
|
91
|
-
const option = await selectPrompt({
|
|
92
|
-
title: "Dev tools menu",
|
|
93
|
-
options: [
|
|
94
|
-
...isDev && TestsRuntimeExists ? [
|
|
95
|
-
{
|
|
96
|
-
label: "remove tests-runtime dir",
|
|
97
|
-
value: toolsOptions.rmTestsRuntime
|
|
98
|
-
}
|
|
99
|
-
] : [],
|
|
100
|
-
...isDev ? [
|
|
101
|
-
{
|
|
102
|
-
label: "downloadRepo + cd(tests-runtime) + composeEnvFile + promptGitDeploy",
|
|
103
|
-
value: toolsOptions.downloadTemplate
|
|
104
|
-
}
|
|
105
|
-
] : [],
|
|
106
|
-
{
|
|
107
|
-
label: `Open Vercel devtools ${experimental}`,
|
|
108
|
-
value: toolsOptions.openVercelTools
|
|
109
|
-
},
|
|
110
|
-
{ label: "\u{1F448} Exit", value: toolsOptions.exit }
|
|
111
|
-
]
|
|
112
|
-
});
|
|
113
|
-
if (option === toolsOptions.rmTestsRuntime) {
|
|
114
|
-
await rmTestsRuntime(cwd);
|
|
115
|
-
} else if (option === toolsOptions.downloadTemplate) {
|
|
116
|
-
await downloadRepoOption(
|
|
117
|
-
"blefnk/relivator-nextjs-template",
|
|
118
|
-
config,
|
|
119
|
-
memory,
|
|
120
|
-
isDev,
|
|
121
|
-
cwd,
|
|
122
|
-
skipPrompts
|
|
123
|
-
);
|
|
124
|
-
} else if (option === toolsOptions.openVercelTools) {
|
|
125
|
-
await openVercelTools(memory);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import type { CommonArgs } from "../types/mod";
|
|
2
|
-
export declare function commonStartActions({ strCwd, isCI, isDev }: CommonArgs
|
|
3
|
-
|
|
2
|
+
export declare function commonStartActions({ strCwd, isCI, isDev, showRuntimeInfo, clearConsole, withStartPrompt, }: CommonArgs & {
|
|
3
|
+
showRuntimeInfo: boolean;
|
|
4
|
+
clearConsole: boolean;
|
|
5
|
+
withStartPrompt: boolean;
|
|
6
|
+
}): Promise<void>;
|
|
7
|
+
export declare function commonEndActions({ withEndPrompt }: {
|
|
8
|
+
withEndPrompt: boolean;
|
|
9
|
+
}): Promise<void>;
|
package/bin/app/utils/common.js
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { relinka } from "@reliverse/relinka";
|
|
2
2
|
import { prepareReliverseEnvironment } from "../config/prepare.js";
|
|
3
3
|
import { showEndPrompt, showStartPrompt } from "./startEndPrompts.js";
|
|
4
|
-
export async function commonStartActions({
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export async function commonStartActions({
|
|
5
|
+
strCwd,
|
|
6
|
+
isCI,
|
|
7
|
+
isDev,
|
|
8
|
+
showRuntimeInfo,
|
|
9
|
+
clearConsole,
|
|
10
|
+
withStartPrompt
|
|
11
|
+
}) {
|
|
12
|
+
if (!isCI && withStartPrompt) {
|
|
13
|
+
await showStartPrompt(isDev, showRuntimeInfo, clearConsole);
|
|
7
14
|
}
|
|
8
15
|
if (isDev) {
|
|
9
16
|
relinka.log("Running the CLI in dev mode.");
|
|
@@ -22,7 +29,9 @@ export async function commonStartActions({ strCwd, isCI, isDev }) {
|
|
|
22
29
|
}
|
|
23
30
|
await prepareReliverseEnvironment(strCwd, isDev, "ts");
|
|
24
31
|
}
|
|
25
|
-
export async function commonEndActions() {
|
|
26
|
-
|
|
32
|
+
export async function commonEndActions({ withEndPrompt }) {
|
|
33
|
+
if (withEndPrompt) {
|
|
34
|
+
await showEndPrompt();
|
|
35
|
+
}
|
|
27
36
|
process.exit(0);
|
|
28
37
|
}
|
|
@@ -14,14 +14,14 @@ declare const userDataSchema: import("@sinclair/typebox").TObject<{
|
|
|
14
14
|
vercelTeamSlug: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
15
|
}>;
|
|
16
16
|
export declare const memorySchema: import("@sinclair/typebox").TObject<{
|
|
17
|
-
code: import("@sinclair/typebox").TString;
|
|
18
17
|
key: import("@sinclair/typebox").TString;
|
|
18
|
+
code: import("@sinclair/typebox").TString;
|
|
19
19
|
githubKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20
20
|
vercelKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21
21
|
openaiKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
22
22
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
23
|
-
email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
23
|
githubUsername: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
25
|
vercelTeamId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
26
26
|
vercelTeamSlug: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27
27
|
}>;
|
|
@@ -4,5 +4,5 @@ export declare function readPackageJSON(): Promise<{
|
|
|
4
4
|
}>;
|
|
5
5
|
export declare const getPkgName: () => Promise<string>;
|
|
6
6
|
export declare const getPkgVersion: () => Promise<string>;
|
|
7
|
-
export declare function showStartPrompt(isDev: boolean, showRuntimeInfo: boolean): Promise<void>;
|
|
7
|
+
export declare function showStartPrompt(isDev: boolean, showRuntimeInfo: boolean, clearConsole: boolean): Promise<void>;
|
|
8
8
|
export declare function showEndPrompt(): Promise<void>;
|
|
@@ -20,10 +20,10 @@ export const getPkgVersion = async () => {
|
|
|
20
20
|
const pkg = await readPackageJSON();
|
|
21
21
|
return pkg.version || "0.0.0";
|
|
22
22
|
};
|
|
23
|
-
export async function showStartPrompt(isDev, showRuntimeInfo) {
|
|
23
|
+
export async function showStartPrompt(isDev, showRuntimeInfo, clearConsole) {
|
|
24
24
|
await startPrompt({
|
|
25
25
|
titleColor: "inverse",
|
|
26
|
-
clearConsole
|
|
26
|
+
clearConsole,
|
|
27
27
|
packageName: dlerName,
|
|
28
28
|
packageVersion: cliVersion,
|
|
29
29
|
isDev
|
package/bin/mod.d.ts
CHANGED
|
@@ -299,7 +299,7 @@ export type { BumpMode, BundlerName, Esbuild, LibConfig, LogLevel, LogLevelConfi
|
|
|
299
299
|
export { DEFAULT_CONFIG_RELIVERSE, defineConfig } from "./app/schema/mod";
|
|
300
300
|
export { checkIfRegenerationNeeded, ensureReltypesFile } from "./app/schema/utils";
|
|
301
301
|
export { getAllSourceFiles, splitLargeFileByLines, splitLargeFunctions } from "./app/split/impl";
|
|
302
|
-
export { downloadRepoOption, rmTestsRuntime,
|
|
302
|
+
export { downloadRepoOption, rmTestsRuntime, } from "./app/toolbox/toolbox-impl";
|
|
303
303
|
export { openVercelTools } from "./app/toolbox/toolbox-vercel";
|
|
304
304
|
export type { BundleSource, IndentOptions, MagicStringOptions, OverwriteOptions, StringTransformer, TransformResult, UpdateOptions, } from "./app/transform/transform-impl-mod";
|
|
305
305
|
export { append, compose, createBundle, createTransformer, createTransformerFromMagicString, indent, insertAt, overwrite, pipe, prepend, readAndTransform, remove, replace, replaceAll, slice, template, transformAndWrite, transformMultiple, trim, update, wrapWith, } from "./app/transform/transform-impl-mod";
|
package/bin/mod.js
CHANGED
|
@@ -648,8 +648,7 @@ export { checkIfRegenerationNeeded, ensureReltypesFile } from "./app/schema/util
|
|
|
648
648
|
export { getAllSourceFiles, splitLargeFileByLines, splitLargeFunctions } from "./app/split/impl.js";
|
|
649
649
|
export {
|
|
650
650
|
downloadRepoOption,
|
|
651
|
-
rmTestsRuntime
|
|
652
|
-
showDevToolsMenu
|
|
651
|
+
rmTestsRuntime
|
|
653
652
|
} from "./app/toolbox/toolbox-impl.js";
|
|
654
653
|
export { openVercelTools } from "./app/toolbox/toolbox-vercel.js";
|
|
655
654
|
export {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@ai-sdk/openai": "^2.0.
|
|
3
|
+
"@ai-sdk/openai": "^2.0.22",
|
|
4
4
|
"@babel/preset-react": "^7.27.1",
|
|
5
5
|
"@babel/preset-typescript": "^7.27.1",
|
|
6
6
|
"@hookform/resolvers": "^5.2.1",
|
|
7
|
-
"@libsql/client": "^0.15.
|
|
8
|
-
"@mendable/firecrawl-js": "^3.2.
|
|
7
|
+
"@libsql/client": "^0.15.14",
|
|
8
|
+
"@mendable/firecrawl-js": "^3.2.1",
|
|
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",
|
|
@@ -33,7 +33,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.25",
|
|
37
37
|
"async-listen": "^3.1.0",
|
|
38
38
|
"autoprefixer": "^10.4.21",
|
|
39
39
|
"better-auth": "^1.3.7",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"postcss": "^8.5.6",
|
|
85
85
|
"postcss-nested": "^7.0.2",
|
|
86
86
|
"postgres": "^3.4.7",
|
|
87
|
-
"posthog-node": "^5.
|
|
87
|
+
"posthog-node": "^5.8.0",
|
|
88
88
|
"pretty-bytes": "^7.0.1",
|
|
89
89
|
"pretty-ms": "^9.2.0",
|
|
90
90
|
"querystring": "^0.2.1",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"registry-url": "^7.2.0",
|
|
97
97
|
"rollup": "^4.48.1",
|
|
98
98
|
"rollup-plugin-dts": "^6.2.3",
|
|
99
|
-
"sass": "^1.
|
|
99
|
+
"sass": "^1.91.0",
|
|
100
100
|
"scule": "^1.3.0",
|
|
101
101
|
"semver": "^7.7.2",
|
|
102
102
|
"shebang-command": "^2.0.0",
|
|
@@ -117,14 +117,14 @@
|
|
|
117
117
|
"vue-tsc": "^3.0.6",
|
|
118
118
|
"vue-tsc1": "npm:vue-tsc@1.8.27",
|
|
119
119
|
"vue-tsc2.0": "npm:vue-tsc@2.0.29",
|
|
120
|
-
"zod": "^4.1.
|
|
120
|
+
"zod": "^4.1.3"
|
|
121
121
|
},
|
|
122
122
|
"description": "dler (prev. relidler) is a flexible, unified, and fully automated bundler for TypeScript and JavaScript projects, as well as an NPM and JSR publishing tool.",
|
|
123
123
|
"homepage": "https://docs.reliverse.org/cli",
|
|
124
124
|
"license": "MIT",
|
|
125
125
|
"name": "@reliverse/dler",
|
|
126
126
|
"type": "module",
|
|
127
|
-
"version": "1.7.
|
|
127
|
+
"version": "1.7.119",
|
|
128
128
|
"keywords": [
|
|
129
129
|
"reliverse",
|
|
130
130
|
"cli",
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* # Build for default targets (auto-generated based on input filename)
|
|
3
|
-
* bun dler build binary --input src-ts/dler.ts
|
|
4
|
-
* # Generates: dler-linux-x64,dler-windows-x64,dler-darwin-x64,dler-linux-arm64,dler-windows-arm64,dler-darwin-arm64
|
|
5
|
-
*
|
|
6
|
-
* # Build for all supported platforms
|
|
7
|
-
* bun dler build binary --targets=all --input src-ts/dler.ts
|
|
8
|
-
* # Same as above, auto-generates targets
|
|
9
|
-
*
|
|
10
|
-
* # Build for specific platforms
|
|
11
|
-
* bun dler build binary --targets=dler-linux-x64,dler-windows-x64
|
|
12
|
-
*
|
|
13
|
-
* # Target format: {prefix}-{platform}-{arch} (prefix extracted from input filename)
|
|
14
|
-
* # Platforms: linux, windows, darwin (macOS)
|
|
15
|
-
* # Architectures: x64, arm64
|
|
16
|
-
* # Examples: dler-linux-x64, dler-windows-arm64, dler-darwin-x64
|
|
17
|
-
*
|
|
18
|
-
* # Build with bytecode compilation for faster startup
|
|
19
|
-
* bun dler build binary --bytecode
|
|
20
|
-
*
|
|
21
|
-
* # Build without minification and source maps
|
|
22
|
-
* bun dler build binary --no-minify --no-sourcemap
|
|
23
|
-
*
|
|
24
|
-
* # Build with Windows icon and hidden console
|
|
25
|
-
* bun dler build binary --windows-icon=icon.ico --windows-hide-console
|
|
26
|
-
*
|
|
27
|
-
* # List all available targets
|
|
28
|
-
* bun dler build binary --targets=list
|
|
29
|
-
*
|
|
30
|
-
* # Build sequentially instead of parallel
|
|
31
|
-
* bun dler build binary --no-parallel
|
|
32
|
-
*
|
|
33
|
-
* # Custom output directory
|
|
34
|
-
* bun dler build binary --outdir=builds
|
|
35
|
-
*
|
|
36
|
-
* # Different input file
|
|
37
|
-
* bun dler build binary --input=src/different-cli.ts
|
|
38
|
-
*
|
|
39
|
-
* # Exclude specific packages from bundling
|
|
40
|
-
* bun dler build binary --external=c12,terminal-kit,problematic-package
|
|
41
|
-
*
|
|
42
|
-
* # Create bundled scripts instead of executables (for debugging)
|
|
43
|
-
* bun dler build binary --no-compile
|
|
44
|
-
*
|
|
45
|
-
* @see https://bun.com/docs/bundler/executables
|
|
46
|
-
*/
|
|
47
|
-
declare const _default: import("@reliverse/rempts").Command<{
|
|
48
|
-
input: {
|
|
49
|
-
type: "string";
|
|
50
|
-
description: string;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
targets: {
|
|
54
|
-
type: "string";
|
|
55
|
-
description: string;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
outdir: {
|
|
59
|
-
type: "string";
|
|
60
|
-
description: string;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
minify: {
|
|
64
|
-
type: "boolean";
|
|
65
|
-
description: string;
|
|
66
|
-
default: true;
|
|
67
|
-
};
|
|
68
|
-
sourcemap: {
|
|
69
|
-
type: "boolean";
|
|
70
|
-
description: string;
|
|
71
|
-
default: true;
|
|
72
|
-
};
|
|
73
|
-
bytecode: {
|
|
74
|
-
type: "boolean";
|
|
75
|
-
description: string;
|
|
76
|
-
default: false;
|
|
77
|
-
};
|
|
78
|
-
clean: {
|
|
79
|
-
type: "boolean";
|
|
80
|
-
description: string;
|
|
81
|
-
default: true;
|
|
82
|
-
};
|
|
83
|
-
"windows-icon": {
|
|
84
|
-
type: "string";
|
|
85
|
-
description: string;
|
|
86
|
-
};
|
|
87
|
-
"windows-hide-console": {
|
|
88
|
-
type: "boolean";
|
|
89
|
-
description: string;
|
|
90
|
-
default: false;
|
|
91
|
-
};
|
|
92
|
-
"asset-naming": {
|
|
93
|
-
type: "string";
|
|
94
|
-
description: string;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
parallel: {
|
|
98
|
-
type: "boolean";
|
|
99
|
-
description: string;
|
|
100
|
-
default: true;
|
|
101
|
-
};
|
|
102
|
-
external: {
|
|
103
|
-
type: "array";
|
|
104
|
-
description: string;
|
|
105
|
-
default: string[];
|
|
106
|
-
};
|
|
107
|
-
"no-compile": {
|
|
108
|
-
type: "boolean";
|
|
109
|
-
description: string;
|
|
110
|
-
default: false;
|
|
111
|
-
};
|
|
112
|
-
}>;
|
|
113
|
-
export default _default;
|