@uipath/solution-tool 1.1.0 → 1.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist/deploy.d.ts +27 -0
- package/dist/deploy.js +43244 -0
- package/dist/init.d.ts +6 -0
- package/dist/init.js +10381 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/pack-command-types.d.ts +28 -0
- package/dist/pack.d.ts +6 -0
- package/dist/pack.js +234469 -0
- package/dist/providers/file-storage-provider.d.ts +11 -0
- package/dist/providers/resource-builder-init.d.ts +12 -0
- package/dist/providers/solution-access-provider.d.ts +18 -0
- package/dist/publish.d.ts +7 -0
- package/dist/publish.js +33430 -0
- package/dist/resource.d.ts +7 -0
- package/dist/resource.js +47215 -0
- package/dist/services/activation.d.ts +51 -0
- package/dist/services/auth-helper.d.ts +13 -0
- package/dist/services/deploy-activate-service.d.ts +47 -0
- package/dist/services/deploy-list-service.d.ts +59 -0
- package/dist/services/deploy-run-service.d.ts +102 -0
- package/dist/services/deploy-uninstall-service.d.ts +47 -0
- package/dist/services/deployment-search.d.ts +77 -0
- package/dist/services/emit-runtime-dependencies.d.ts +37 -0
- package/dist/services/entry-point-spec-enhancer.d.ts +31 -0
- package/dist/services/folder-helper.d.ts +24 -0
- package/dist/services/pack-command-service.d.ts +24 -0
- package/dist/services/pack-service.d.ts +32 -0
- package/dist/services/packager-tool-resolver.d.ts +6 -0
- package/dist/services/packages-list-service.d.ts +56 -0
- package/dist/services/personal-workspace-deploy.d.ts +28 -0
- package/dist/services/personal-workspace-resolver.d.ts +28 -0
- package/dist/services/publish-service.d.ts +61 -0
- package/dist/services/resource-refresh-service.d.ts +34 -0
- package/dist/services/solution-init-service.d.ts +37 -0
- package/dist/services/solution-manifest.d.ts +9 -0
- package/dist/services/sync-resources-from-bindings.d.ts +132 -0
- package/dist/templates/AGENTS.md +25 -16
- package/dist/tool.js +20953 -43671
- package/dist/utils/deployment-errors.d.ts +39 -0
- package/package.json +44 -43
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { PipelineDeploymentResult, WorkflowError } from "@uipath/pipelines-sdk";
|
|
2
|
+
/**
|
|
3
|
+
* Normalize the SDK's `DeploymentRunStatus.errorMessage` field into a
|
|
4
|
+
* `WorkflowError[]` regardless of the runtime shape returned by the API.
|
|
5
|
+
*
|
|
6
|
+
* The generated SDK types this field as `Array<WorkflowError>`, but the
|
|
7
|
+
* pipelines API can also return a single string when the failure
|
|
8
|
+
* originates outside the per-workflow path (e.g. orchestrator-level
|
|
9
|
+
* rejection). Calling `.map` on a string throws `TypeError: ....map is
|
|
10
|
+
* not a function` and masks the real cause. Use this helper at every
|
|
11
|
+
* call site that consumes `errorMessage` so the discrimination lives in
|
|
12
|
+
* one place.
|
|
13
|
+
*/
|
|
14
|
+
export declare function coerceWorkflowErrorMessages(raw: unknown): WorkflowError[];
|
|
15
|
+
export interface DeploymentErrorSummary {
|
|
16
|
+
ValidationErrors?: string[];
|
|
17
|
+
ConflictErrors?: string[];
|
|
18
|
+
ScheduleErrors?: string[];
|
|
19
|
+
DeploymentErrors?: string[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Extract all error details from a PipelineDeploymentResult into a
|
|
23
|
+
* structured summary. Returns undefined when no errors exist.
|
|
24
|
+
*
|
|
25
|
+
* Matches the error categories from the old .NET CLI (SolutionService.cs):
|
|
26
|
+
* ShowValidationFailedError, ShowConflictFixingError,
|
|
27
|
+
* ShowDeploymentScheduleError, ShowDeploymentFailureReason.
|
|
28
|
+
*/
|
|
29
|
+
export declare function extractDeploymentErrors(result: PipelineDeploymentResult): DeploymentErrorSummary | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Format a DeploymentErrorSummary into a human-readable multi-line string
|
|
32
|
+
* for use in OutputFormatter Instructions fields.
|
|
33
|
+
*
|
|
34
|
+
* Example output:
|
|
35
|
+
* Validation: Missing connection; Invalid config
|
|
36
|
+
* Schedule: [SCHED_001] Cron expression invalid
|
|
37
|
+
*/
|
|
38
|
+
export declare function formatDeploymentErrorsAsText(summary: DeploymentErrorSummary): string;
|
|
39
|
+
export declare function formatDeploymentFailureDetails(pipelineDeploymentId: string, status: PipelineDeploymentResult): string;
|
package/package.json
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"name": "@uipath/solution-tool",
|
|
3
|
+
"license": "MIT",
|
|
4
|
+
"version": "1.196.0",
|
|
5
|
+
"description": "Create, pack, publish, and deploy UiPath Automation Solutions.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/UiPath/cli.git",
|
|
9
|
+
"directory": "packages/solution-tool"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"registry": "https://registry.npmjs.org/"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"cli-tool"
|
|
16
|
+
],
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/tool.js",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": "./dist/tool.js",
|
|
21
|
+
"./init": {
|
|
22
|
+
"types": "./dist/init.d.ts",
|
|
23
|
+
"default": "./dist/init.js"
|
|
9
24
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
25
|
+
"./pack": {
|
|
26
|
+
"types": "./dist/pack.d.ts",
|
|
27
|
+
"default": "./dist/pack.js"
|
|
12
28
|
},
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"type": "module",
|
|
17
|
-
"main": "./dist/tool.js",
|
|
18
|
-
"exports": {
|
|
19
|
-
".": "./dist/tool.js"
|
|
29
|
+
"./publish": {
|
|
30
|
+
"types": "./dist/publish.d.ts",
|
|
31
|
+
"default": "./dist/publish.js"
|
|
20
32
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
33
|
+
"./deploy": {
|
|
34
|
+
"types": "./dist/deploy.d.ts",
|
|
35
|
+
"default": "./dist/deploy.js"
|
|
23
36
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"@uipath/pipelines-sdk": "1.1.0",
|
|
38
|
-
"@uipath/resource-builder-sdk": "^2025.11.0-alpha3780-3306",
|
|
39
|
-
"@uipath/resource-builder-tool": "2025.11.0-alpha2928-3101",
|
|
40
|
-
"@uipath/solution-packager": "0.0.34",
|
|
41
|
-
"@uipath/solution-sdk": "1.1.0",
|
|
42
|
-
"@uipath/solutionpackager-tool-core": "0.0.33",
|
|
43
|
-
"commander": "^14.0.3",
|
|
44
|
-
"fflate": "^0.8.2",
|
|
45
|
-
"typescript": "^6.0.2",
|
|
46
|
-
"yaml": "^2.8.3"
|
|
47
|
-
},
|
|
48
|
-
"gitHead": "06e8c8f566df4b87da4a008635483c62f64f33f0"
|
|
37
|
+
"./resource": {
|
|
38
|
+
"types": "./dist/resource.d.ts",
|
|
39
|
+
"default": "./dist/resource.js"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"bin": {
|
|
43
|
+
"solution-tool": "./dist/index.js"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
48
|
+
"private": false,
|
|
49
|
+
"gitHead": "94d71f9c52214980a1f0ae62b3f5372095788553"
|
|
49
50
|
}
|