@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-core contracts.
- Build Operations:
- Validates project structure
- Copies project files to a clean output directory
- Generates
operating.json configuration
- Generates
package-descriptor.json
- Pack Operations:
- Creates
.nupkg packages (Nuget)
- Handles versioning and metadata
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 point
Usage
This tool is designed to be loaded dynamically by solutionpackager.
Development
Install dependencies:
npm install
Build:
npm run build
Run Tests:
npm test
npm run test:browser