@reliverse/dler 1.7.73 → 1.7.74
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/README.md +2 -2
- package/bin/app/agg/cmd.d.ts +40 -0
- package/bin/app/agg/cmd.js +833 -27
- package/bin/app/build/postbuild.js +1 -0
- package/bin/app/cmds.d.ts +230 -4
- package/bin/app/cmds.js +36 -19
- package/bin/app/config/cmd.d.ts +18 -0
- package/bin/app/config/cmd.js +43 -0
- package/bin/app/config/impl/typebox.d.ts +8 -0
- package/bin/app/config/impl/typebox.js +82 -0
- package/bin/app/mkdist/cmd.js +1 -1
- package/bin/app/pub/cmd.js +1 -1
- package/bin/app/rempts/cmd.js +146 -8
- package/bin/cli.js +14 -20
- package/bin/libs/cfg/cfg-impl/{cfg-types.d.ts → cfg-dler.d.ts} +76 -0
- package/bin/libs/cfg/cfg-mod.d.ts +2 -2
- package/bin/libs/cfg/cfg-mod.js +1 -1
- package/bin/libs/get/get-impl/get-core.d.ts +3 -0
- package/bin/libs/get/get-impl/get-core.js +450 -0
- package/bin/libs/get/get-mod.d.ts +0 -6
- package/bin/libs/get/get-mod.js +38 -459
- package/bin/libs/sdk/sdk-impl/build/providers/bun/single-file.d.ts +2 -2
- package/bin/libs/sdk/sdk-impl/config/core.d.ts +8 -0
- package/bin/libs/sdk/sdk-impl/config/core.js +231 -0
- package/bin/libs/sdk/sdk-impl/config/info.js +1 -1
- package/bin/libs/sdk/sdk-impl/config/{init.js → prepare.js} +3 -1
- package/bin/libs/sdk/sdk-impl/magic/magic-spells.js +2 -1
- package/bin/libs/sdk/sdk-impl/utils/pm/pm-meta.d.ts +1 -1
- package/bin/libs/sdk/sdk-impl/utils/pm/pm-meta.js +2 -2
- package/bin/libs/sdk/sdk-impl/utils/resolve-cross-libs.d.ts +1 -3
- package/bin/libs/sdk/sdk-impl/utils/resolve-cross-libs.js +432 -9
- package/bin/libs/sdk/sdk-mod.d.ts +7 -4
- package/bin/libs/sdk/sdk-mod.js +18 -7
- package/bin/mod.js +4 -1
- package/package.json +5 -5
- package/bin/app/agg/impl.d.ts +0 -39
- package/bin/app/agg/impl.js +0 -341
- package/bin/app/agg/run.d.ts +0 -1
- package/bin/app/agg/run.js +0 -136
- package/bin/libs/cfg/cfg-impl/cfg-consts.d.ts +0 -77
- package/bin/libs/cfg/cfg-impl/cfg-types.js +0 -0
- /package/bin/libs/cfg/cfg-impl/{cfg-consts.js → cfg-dler.js} +0 -0
- /package/bin/libs/sdk/sdk-impl/config/{init.d.ts → prepare.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 🧬 dler •
|
|
1
|
+
# 🧬 dler • extend your bun/pnpm/yarn/npm usage
|
|
2
2
|
|
|
3
3
|
[sponsor](https://github.com/sponsors/blefnk) — [discord](https://discord.gg/pb8ukbwpsj) — [github](https://github.com/reliverse/dler) — [npm](https://npmjs.com/@reliverse/dler)
|
|
4
4
|
|
|
@@ -53,7 +53,7 @@ it is recommended to install dler both globally and as a dev dependency:
|
|
|
53
53
|
- **global install** — `bun add -g @reliverse/dler` — lets you use dler anywhere, like a system-level cli.
|
|
54
54
|
- **dev dependency** — `bun add -D @reliverse/dler` — pins the version per project, so all contributors use the same version.
|
|
55
55
|
|
|
56
|
-
instead of global install, you can alternatively install dler as a standalone binary: `bunx @reliverse/dler
|
|
56
|
+
instead of global install, you can alternatively install dler as a standalone binary: `bunx @reliverse/dler`
|
|
57
57
|
|
|
58
58
|
> usage depends on how dler is installed:
|
|
59
59
|
>
|
package/bin/app/agg/cmd.d.ts
CHANGED
|
@@ -70,3 +70,43 @@ declare const _default: import("@reliverse/rempts").Command<{
|
|
|
70
70
|
};
|
|
71
71
|
}>;
|
|
72
72
|
export default _default;
|
|
73
|
+
export declare function promptAggCommand(): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* Aggregator supporting:
|
|
76
|
+
* - --import or default export,
|
|
77
|
+
* - star or named exports,
|
|
78
|
+
* - separate "type" vs "value" for both import and export.
|
|
79
|
+
*
|
|
80
|
+
* Options:
|
|
81
|
+
* - Option to ignore specific directories (default: node_modules, .git)
|
|
82
|
+
* - Option to sort aggregated lines alphabetically.
|
|
83
|
+
* - Option to add a header comment in the aggregator output.
|
|
84
|
+
* - Option to enable verbose logging.
|
|
85
|
+
* - Deduplicates overloaded export names.
|
|
86
|
+
* - Skips files whose basenames start with an internal marker (default: "#")
|
|
87
|
+
* unless includeInternal is true or an alternative marker is provided.
|
|
88
|
+
* - By default, updates only the auto-generated block in the aggregator file,
|
|
89
|
+
* leaving any other content intact. Pass `overrideFile: true` to rewrite the entire file.
|
|
90
|
+
*/
|
|
91
|
+
export declare function useAggregator({ inputDir, isRecursive, outFile, stripPrefix, useImport, useNamed, ignoreDirs, sortLines, headerComment, verbose, includeInternal, internalMarker, overrideFile, fileExtensions, separateTypesFile, typesOutFile, }: {
|
|
92
|
+
inputDir: string;
|
|
93
|
+
isRecursive: boolean;
|
|
94
|
+
outFile: string;
|
|
95
|
+
stripPrefix: string;
|
|
96
|
+
useImport: boolean;
|
|
97
|
+
useNamed: boolean;
|
|
98
|
+
ignoreDirs?: string[];
|
|
99
|
+
sortLines?: boolean;
|
|
100
|
+
headerComment?: string;
|
|
101
|
+
verbose?: boolean;
|
|
102
|
+
includeInternal?: boolean;
|
|
103
|
+
internalMarker?: string;
|
|
104
|
+
overrideFile?: boolean;
|
|
105
|
+
fileExtensions?: string[];
|
|
106
|
+
separateTypesFile?: boolean;
|
|
107
|
+
typesOutFile?: string;
|
|
108
|
+
}): Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Prints usage examples based on whether dev mode or not.
|
|
111
|
+
*/
|
|
112
|
+
export declare function printUsage(isDev?: boolean): void;
|