Skip to main content

Module: @ima/plugin-cli

Interfaces

Type Aliases

Command

Ƭ Command: "dev" | "link" | "build"

Defined in

packages/plugin-cli/src/types.ts:16


Plugin

Ƭ Plugin: (context: Context) => void | Promise<void>

Type declaration

▸ (context): void | Promise<void>

Parameters
NameType
contextContext
Returns

void | Promise<void>

Defined in

packages/plugin-cli/src/types.ts:67


Transformer

Ƭ Transformer: ({ source, context, }: { context: PipeContext ; source: Source }) => Source | Promise<Source>

Type declaration

▸ ({ source, context, }): Source | Promise<Source>

Parameters
NameType

| { source, context, } | Object | | { source, context, }.context | PipeContext | | { source, context, }.source | Source |

Returns

Source | Promise<Source>

Defined in

packages/plugin-cli/src/types.ts:4


TransformerOptions

Ƭ TransformerOptions: Object

Type declaration

NameType
testRegExp

Defined in

packages/plugin-cli/src/types.ts:11

Variables

clientServerConfig

Const clientServerConfig: ImaPluginConfig

Defined in

packages/plugin-cli/src/utils/configurations.ts:40


defaultConfig

Const defaultConfig: ImaPluginConfig

Defined in

packages/plugin-cli/src/utils/configurations.ts:6


nodeConfig

Const nodeConfig: ImaPluginConfig

Defined in

packages/plugin-cli/src/utils/configurations.ts:68

Functions

typescriptDeclarationsPlugin

typescriptDeclarationsPlugin(options): Plugin

Parameters

NameType
optionsTypescriptDeclarationsPluginOptions

Returns

Plugin

Defined in

packages/plugin-cli/src/plugins/typescriptDeclarationsPlugin.ts:14