1.0.5 • Published 2 years ago

@azure-tools/sdk-generation-lib v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@azure-tools/sdk-generation-lib

This packages includes some basic functionalities and definitions used by sdk generation pipeline.

Install

npm i @azure-tools/sdk-generation-lib

Functionalities

FunctionalitiesDescription
runScriptRun any kind of script/command os supported.
createTaskResultIt parses the logs produced by tasks, and generate a summarized task result.
executeTaskThe wrapper of runScript and createTaskResult.
loggerThe logger instance can be used by sdk generation pipeline.
getTaskGet task configuration from sdk repo's task configuration.

Definitions

DefinitionsDescription
CodegenToSdkConfigThe configuration type of codegen_to_sdk_config.json
InitOptionsThe configuration type of init task.
GenerateAndBuildOptionsThe configuration type of generate and build task.
MockTestOptionsThe configuration type of mock test task.
RunOptionsThe configuration type of running script.
LogFilterThe configuration type of filtering log.
InitOutputThe output type of init task.
GenerateAndBuildInputThe input type of generate and build task.
GenerateAndBuildOutputThe output type of generate and build task.
MockTestInputThe input type of mock test task.
TestOutputThe output type of mock test task.
TaskResultStatusThe task status.
TaskResultThe details of a task result.