Skip to content

Commit b8a8da0

Browse files
committed
chore: upgrade deps
1 parent 752c3e5 commit b8a8da0

12 files changed

Lines changed: 531 additions & 483 deletions

__snapshots__/tsnapi/config.snapshot.d.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/config` */
3-
// Interfaces
2+
* Generated by tsnapi — public API snapshot of `tsdown/config`
3+
*/
4+
// #region Interfaces
45
export interface UserConfig {
56
entry?: TsdownInputOption;
67
deps?: DepsConfig;
@@ -72,14 +73,17 @@ export interface UserConfig {
7273
exe?: WithEnabled<ExeOptions>;
7374
workspace?: Workspace | Arrayable<string> | true;
7475
}
76+
// #endregion
7577

76-
// Types
78+
// #region Types
7779
export type UserConfigExport = Awaitable<Arrayable<UserConfig> | UserConfigFn>;
7880
export type UserConfigFn = (_: InlineConfig, _: {
7981
ci: boolean;
8082
rootConfig?: UserConfig;
8183
}) => Awaitable<Arrayable<UserConfig>>;
84+
// #endregion
8285

83-
// Functions
86+
// #region Functions
8487
export declare function defineConfig(_: UserConfigExport): UserConfigExport;
85-
export declare function mergeConfig(_: InlineConfig, ..._: InlineConfig[]): InlineConfig;
88+
export declare function mergeConfig(_: InlineConfig, ..._: InlineConfig[]): InlineConfig;
89+
// #endregion
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/config` */
2+
* Generated by tsnapi — public API snapshot of `tsdown/config`
3+
*/
4+
// #region Functions
35
export function defineConfig(_) {}
4-
export function mergeConfig(_, ..._) {}
6+
export function mergeConfig(_, ..._) {}
7+
// #endregion

__snapshots__/tsnapi/index.snapshot.d.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown` */
3-
// Interfaces
2+
* Generated by tsnapi — public API snapshot of `tsdown`
3+
*/
4+
// #region Interfaces
45
export interface AttwOptions extends CheckPackageOptions {
56
module?: typeof _$_arethetypeswrong_core0;
67
profile?: "strict" | "node16" | "esm-only";
@@ -205,8 +206,9 @@ export interface Workspace {
205206
exclude?: Arrayable<string>;
206207
config?: boolean | string;
207208
}
209+
// #endregion
208210

209-
// Types
211+
// #region Types
210212
export type ChunkAddon = ChunkAddonObject | ChunkAddonFunction | string;
211213
export type ChunkAddonFunction = (_: {
212214
format: Format;
@@ -260,19 +262,23 @@ export type UserConfigFn = (_: InlineConfig, _: {
260262
export type WithEnabled<T> = boolean | undefined | CIOption | (T & {
261263
enabled?: boolean | CIOption;
262264
});
265+
// #endregion
263266

264-
// Functions
267+
// #region Functions
265268
export declare function build(_?: InlineConfig): Promise<TsdownBundle[]>;
266269
export declare function buildWithConfigs(_: ResolvedConfig[], _: Set<string>, _: () => void): Promise<TsdownBundle[]>;
267270
export declare function defineConfig(_: UserConfigExport): UserConfigExport;
268271
export declare function enableDebug(_?: boolean | Arrayable<string>): void;
269272
export declare function mergeConfig(_: InlineConfig, ..._: InlineConfig[]): InlineConfig;
270273
export declare function resolveUserConfig(_: UserConfig, _: InlineConfig, _: Set<string>): Promise<ResolvedConfig[]>;
274+
// #endregion
271275

272-
// Variables
276+
// #region Variables
273277
export declare const globalLogger: Logger;
278+
// #endregion
274279

275-
// Other
280+
// #region Other
276281
export { Rolldown }
277282
export { TreeshakingOptions }
278-
export { UnusedOptions }
283+
export { UnusedOptions }
284+
// #endregion
Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown` */
2+
* Generated by tsnapi — public API snapshot of `tsdown`
3+
*/
4+
// #region Functions
35
export async function build(_) {}
46
export async function buildWithConfigs(_, _, _) {}
5-
export { defineConfig }
67
export function enableDebug(_) {}
7-
export var globalLogger /* const */
88
export function mergeConfig(_, ..._) {}
99
export async function resolveUserConfig(_, _, _) {}
10-
export { Rolldown }
10+
// #endregion
11+
12+
// #region Variables
13+
export var globalLogger /* const */
14+
// #endregion
15+
16+
// #region Other
17+
export { defineConfig }
18+
export { Rolldown }
19+
// #endregion
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/internal` */
3-
// Interfaces
2+
* Generated by tsnapi — public API snapshot of `tsdown/internal`
3+
*/
4+
// #region Interfaces
45
export interface Logger {
56
level: LogLevel;
67
options?: LoggerOptions;
@@ -11,15 +12,18 @@ export interface Logger {
1112
success: (..._: any[]) => void;
1213
clearScreen: (_: LogType) => void;
1314
}
15+
// #endregion
1416

15-
// Types
17+
// #region Types
1618
export type MarkPartial<T, K extends keyof T> = Omit<Required<T>, K> & Partial<Pick<T, K>>;
1719
export type Overwrite<T, U> = Omit<T, keyof U> & U;
20+
// #endregion
1821

19-
// Functions
22+
// #region Functions
2023
export declare function expandBaselineTarget(_: string[]): string[];
2124
export declare function fsExists(_: string): Promise<boolean>;
2225
export declare function fsRemove(_: string): Promise<void>;
2326
export declare function importWithError<T>(_: string): Promise<T>;
2427
export declare function resolveComma<T extends string>(_: T[]): T[];
25-
export declare function toArray<T>(_: T | T[] | null | undefined, _?: T): T[];
28+
export declare function toArray<T>(_: T | T[] | null | undefined, _?: T): T[];
29+
// #endregion
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/internal` */
2+
* Generated by tsnapi — public API snapshot of `tsdown/internal`
3+
*/
4+
// #region Functions
35
export function expandBaselineTarget(_) {}
46
export function fsExists(_) {}
57
export function fsRemove(_) {}
68
export async function importWithError(_) {}
79
export function resolveComma(_) {}
8-
export function toArray(_, _) {}
10+
export function toArray(_, _) {}
11+
// #endregion

__snapshots__/tsnapi/plugins.snapshot.d.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/plugins` */
3-
// Functions
2+
* Generated by tsnapi — public API snapshot of `tsdown/plugins`
3+
*/
4+
// #region Functions
45
export declare function DepsPlugin({
56
pkg,
67
deps: {
@@ -17,4 +18,5 @@ export declare function ShebangPlugin(_: Logger, _: string, _?: string, _?: bool
1718
export declare function WatchPlugin(_: Set<string>, {
1819
config,
1920
chunks
20-
}: TsdownBundle): Plugin;
21+
}: TsdownBundle): Plugin;
22+
// #endregion
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/plugins` */
2+
* Generated by tsnapi — public API snapshot of `tsdown/plugins`
3+
*/
4+
// #region Functions
35
export function DepsPlugin(_, _) {}
46
export function NodeProtocolPlugin(_) {}
57
export function ReportPlugin(_, _, _) {}
68
export function ShebangPlugin(_, _, _, _) {}
7-
export function WatchPlugin(_, _) {}
9+
export function WatchPlugin(_, _) {}
10+
// #endregion
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/run` */
2+
* Generated by tsnapi — public API snapshot of `tsdown/run`
3+
*/
34
/* no exports */
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/**
2-
* Generated by tsnapi — public API snapshot of `tsdown/run` */
2+
* Generated by tsnapi — public API snapshot of `tsdown/run`
3+
*/
34
/* no exports */

0 commit comments

Comments
 (0)