From 4d178225faa02c1792bec92dab870b402d4f73c1 Mon Sep 17 00:00:00 2001 From: Sunny-117 Date: Sat, 14 Dec 2024 11:00:19 +0800 Subject: [PATCH 1/2] feat(type): expose the Plugin type --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 7b60cf8e..be7b5c8f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,8 +30,9 @@ import { runTypeScriptCompiler } from './tsc' import { runDtsRollup } from './api-extractor' import { cjsInterop } from './plugins/cjs-interop' import type { Format, KILL_SIGNAL, NormalizedOptions, Options } from './options' +import type { Plugin } from './plugin'; -export type { Format, Options, NormalizedOptions } +export type { Format, Options, NormalizedOptions, Plugin } export const defineConfig = ( options: From e774297c7d3a268db22bbd97f9be932dfb917d9e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 14 Dec 2024 03:00:43 +0000 Subject: [PATCH 2/2] chore(ci): [bot] format code --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index be7b5c8f..49000bad 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,7 +30,7 @@ import { runTypeScriptCompiler } from './tsc' import { runDtsRollup } from './api-extractor' import { cjsInterop } from './plugins/cjs-interop' import type { Format, KILL_SIGNAL, NormalizedOptions, Options } from './options' -import type { Plugin } from './plugin'; +import type { Plugin } from './plugin' export type { Format, Options, NormalizedOptions, Plugin }