uip codedapp pack
uip codedapp pack packages a built coded app into a .nupkg archive ready for publication. It reads the <dist> directory, applies the supplied package metadata, and writes the archive to --output (defaults to ./.uipath). Use --dry-run to preview the file list without writing the archive.
Synopsis
uip codedapp pack <dist> [options]
<dist>— path to the dist folder containing the built application.
Options
| Flag | Description |
|---|---|
-n, --name <name> | Package name. |
-v, --version <version> | Package version. Default: 1.0.0. |
-o, --output <dir> | Output directory. Default: ./.uipath. |
--author <author> | Package author. Default: UiPath Developer. |
--description <desc> | Package description. |
--main-file <file> | Main entry file. Default: index.html. |
--content-type <type> | Content type: webapp, library, or process. Default: webapp. |
--dry-run | Show what would be packaged without writing the archive. |
--reuse-client | Reuse an existing clientId from uipath.json rather than issuing a new one. |
--base-url <url> | UiPath base URL (auth override). |
--org-id <id> | Organization ID (auth override). |
--tenant-id <id> | Tenant ID (auth override). |
--access-token <token> | Access token (auth override). |
Examples
# Default — writes ./.uipath/MyApp.1.0.0.nupkg
uip codedapp pack ./dist --name "MyApp" --version "1.0.0"
# Custom output directory and author
uip codedapp pack ./dist \
--name "MyApp" --version "2.0.0" \
--output ./packages \
--author "Contoso Ltd."
# Preview the file list — no archive written
uip codedapp pack ./dist --name "MyApp" --dry-run
Data shape (--output json)
{
"Code": "PackCompleted",
"Data": { "message": "Package created successfully." }
}
Related
- uip codedapp push — ship the source to Studio Web before packaging it.
- uip codedapp publish — upload the resulting
.nupkgto UiPath.