@savvy-web/bundler 2.2.1 → 2.3.0
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/index.d.ts +5 -5
- package/og.d.ts +2 -3
- package/package.json +5 -5
package/index.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ interface BuildConfig {
|
|
|
210
210
|
*
|
|
211
211
|
* @public
|
|
212
212
|
*/
|
|
213
|
-
declare function defineBuild(input?: BuildConfigInput): BuildConfig;
|
|
213
|
+
export declare function defineBuild(input?: BuildConfigInput): BuildConfig;
|
|
214
214
|
/** @public */
|
|
215
215
|
interface ParsedArgs {
|
|
216
216
|
readonly target: "dev" | "prod" | "meta" | "exe";
|
|
@@ -220,7 +220,7 @@ interface ParsedArgs {
|
|
|
220
220
|
readonly verbose: boolean;
|
|
221
221
|
}
|
|
222
222
|
/** Parse the build CLI argv into the normalized target/flags shape. @public */
|
|
223
|
-
declare function parseArgs(argv: ReadonlyArray<string>): ParsedArgs;
|
|
223
|
+
export declare function parseArgs(argv: ReadonlyArray<string>): ParsedArgs;
|
|
224
224
|
//#endregion
|
|
225
225
|
//#region src/run.d.ts
|
|
226
226
|
/** @public */
|
|
@@ -270,7 +270,7 @@ interface RunOptions {
|
|
|
270
270
|
}) => string | undefined;
|
|
271
271
|
}
|
|
272
272
|
/** Run a build from a normalized config. Pure orchestration; all IO injectable. @public */
|
|
273
|
-
declare function runBuild(config: BuildConfig, options: RunOptions): Promise<void>;
|
|
273
|
+
export declare function runBuild(config: BuildConfig, options: RunOptions): Promise<void>;
|
|
274
274
|
/**
|
|
275
275
|
* Sugar front door: define + run in one call, deriving `cwd`/`argv` from process globals.
|
|
276
276
|
*
|
|
@@ -282,7 +282,7 @@ declare function runBuild(config: BuildConfig, options: RunOptions): Promise<voi
|
|
|
282
282
|
*
|
|
283
283
|
* @public
|
|
284
284
|
*/
|
|
285
|
-
declare function build(input?: BuildConfigInput, overrides?: Partial<RunOptions>): Promise<void>;
|
|
285
|
+
export declare function build(input?: BuildConfigInput, overrides?: Partial<RunOptions>): Promise<void>;
|
|
286
286
|
//#endregion
|
|
287
|
-
export { type AmbientDtsEntry, type BuildConfig, type BuildConfigInput, type BuildEntryOverride, type OgImageInfo, type OutputConfig, type ParsedArgs, type Plugin, type RunOptions, type TsdoctorMetaOptions,
|
|
287
|
+
export { type AmbientDtsEntry, type BuildConfig, type BuildConfigInput, type BuildEntryOverride, type OgImageInfo, type OutputConfig, type ParsedArgs, type Plugin, type RunOptions, type TsdoctorMetaOptions, defaultManifestTransform, extractAmbientDts };
|
|
288
288
|
//# sourceMappingURL=index.d.ts.map
|
package/og.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { OgImageInfo } from "@savvy-web/tsdown-plugins";
|
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
interface SatoriOgOptions {
|
|
8
|
+
export interface SatoriOgOptions {
|
|
9
9
|
/** The project-name accent (CSS color). */
|
|
10
10
|
readonly accent?: string | undefined;
|
|
11
11
|
readonly background?: string | undefined;
|
|
@@ -31,9 +31,8 @@ interface SatoriOgOptions {
|
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
|
-
declare const ogImage: {
|
|
34
|
+
export declare const ogImage: {
|
|
35
35
|
satori(options?: SatoriOgOptions): (info: OgImageInfo) => Promise<Uint8Array>;
|
|
36
36
|
};
|
|
37
37
|
//#endregion
|
|
38
|
-
export { SatoriOgOptions, ogImage };
|
|
39
38
|
//# sourceMappingURL=og.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/bundler",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Zero-config tsdown-based bundler for Silk Suite TypeScript packages",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/bundler",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@savvy-web/tsdown-plugins": "2.
|
|
41
|
-
"@tsdown/exe": "^0.
|
|
40
|
+
"@savvy-web/tsdown-plugins": "2.7.0",
|
|
41
|
+
"@tsdown/exe": "^0.23.0",
|
|
42
42
|
"effect": "4.0.0-rc.109",
|
|
43
|
-
"rolldown": "^1.2.
|
|
44
|
-
"tsdown": "^0.
|
|
43
|
+
"rolldown": "^1.2.7",
|
|
44
|
+
"tsdown": "^0.23.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@resvg/resvg-js": "^2.6.2",
|