@uipath/packager-tool-apiworkflow
v0.0.18
Published
UiPath API Workflow tool implementation
Downloads
206
Maintainers
Keywords
Readme
@uipath/tool-apiworkflow
A reference implementation of a Project Tool for the UiPath Solution Packager, designed for handling API Workflow projects.
Overview
This package demonstrates how to build a fully functional packaging tool using @uipath/solutionpackager-tool-core. It implements the lifecycle method for building and packing API projects.
Features
- Reference Implementation: strict adherence to
@uipath/solutionpackager-tool-corecontracts. - Build Operations:
- Validates project structure
- Copies project files to a clean output directory
- Generates
operating.jsonconfiguration - Generates
package-descriptor.json
- Pack Operations:
- Creates
.nupkgpackages (Nuget) - Handles versioning and metadata
- Creates
Project Structure
src/
├── api-workflows-tool.ts # Main tool logic implementation
├── api-workflow-tool-factory.ts # Factory for creating tool instances
└── index.ts # Export entry pointUsage
This tool is designed to be loaded dynamically by solutionpackager.
Development
Install dependencies:
npm installBuild:
npm run buildRun Tests:
npm test
npm run test:browser