@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.
Files changed (41) hide show
  1. package/README.md +32 -0
  2. package/dist/deploy.d.ts +27 -0
  3. package/dist/deploy.js +43244 -0
  4. package/dist/init.d.ts +6 -0
  5. package/dist/init.js +10381 -0
  6. package/dist/models/index.d.ts +1 -0
  7. package/dist/models/pack-command-types.d.ts +28 -0
  8. package/dist/pack.d.ts +6 -0
  9. package/dist/pack.js +234469 -0
  10. package/dist/providers/file-storage-provider.d.ts +11 -0
  11. package/dist/providers/resource-builder-init.d.ts +12 -0
  12. package/dist/providers/solution-access-provider.d.ts +18 -0
  13. package/dist/publish.d.ts +7 -0
  14. package/dist/publish.js +33430 -0
  15. package/dist/resource.d.ts +7 -0
  16. package/dist/resource.js +47215 -0
  17. package/dist/services/activation.d.ts +51 -0
  18. package/dist/services/auth-helper.d.ts +13 -0
  19. package/dist/services/deploy-activate-service.d.ts +47 -0
  20. package/dist/services/deploy-list-service.d.ts +59 -0
  21. package/dist/services/deploy-run-service.d.ts +102 -0
  22. package/dist/services/deploy-uninstall-service.d.ts +47 -0
  23. package/dist/services/deployment-search.d.ts +77 -0
  24. package/dist/services/emit-runtime-dependencies.d.ts +37 -0
  25. package/dist/services/entry-point-spec-enhancer.d.ts +31 -0
  26. package/dist/services/folder-helper.d.ts +24 -0
  27. package/dist/services/pack-command-service.d.ts +24 -0
  28. package/dist/services/pack-service.d.ts +32 -0
  29. package/dist/services/packager-tool-resolver.d.ts +6 -0
  30. package/dist/services/packages-list-service.d.ts +56 -0
  31. package/dist/services/personal-workspace-deploy.d.ts +28 -0
  32. package/dist/services/personal-workspace-resolver.d.ts +28 -0
  33. package/dist/services/publish-service.d.ts +61 -0
  34. package/dist/services/resource-refresh-service.d.ts +34 -0
  35. package/dist/services/solution-init-service.d.ts +37 -0
  36. package/dist/services/solution-manifest.d.ts +9 -0
  37. package/dist/services/sync-resources-from-bindings.d.ts +132 -0
  38. package/dist/templates/AGENTS.md +25 -16
  39. package/dist/tool.js +20953 -43671
  40. package/dist/utils/deployment-errors.d.ts +39 -0
  41. package/package.json +44 -43
package/README.md CHANGED
@@ -55,3 +55,35 @@ auth context is active — `uip login`, `UIPATH_CLI_ENABLE_ENV_AUTH`, or
55
55
  terminals, CI pipelines, and Studio Desktop-spawned invocations. Service
56
56
  principals or robot accounts without a Personal Workspace produce a clear
57
57
  "not configured" error.
58
+
59
+ ### Excluding directories from the bundle
60
+
61
+ `uip solution pack` and `uip solution upload` skip developer-local
62
+ directories that don't belong in a published solution. The defaults are
63
+ always applied:
64
+
65
+ - `.venv` — Python virtualenvs (per-agent under `<solution>/<agent>/.venv`).
66
+ - `node_modules` — Node dependency caches.
67
+ - `__pycache__` — Python bytecode caches.
68
+ - `.git` — VCS metadata.
69
+
70
+ To skip additional directories, add a `.uipignore` file at the solution
71
+ root (next to the `.uipx` file). One directory name per line; `#` starts a
72
+ line or trailing comment; blank lines and whitespace-only lines are
73
+ ignored. Each entry matches by exact directory name at any depth — the
74
+ same semantics as the built-in defaults. Path separators (`/`, `\`) are
75
+ not supported yet.
76
+
77
+ Example `.uipignore`:
78
+
79
+ ```gitignore
80
+ # project-specific build artifacts
81
+ dist
82
+ coverage
83
+
84
+ # vendored deps we don't want shipped
85
+ vendor
86
+ ```
87
+
88
+ The bundler logs which additional excludes are being applied at upload
89
+ time so the effective set is visible in CI logs.
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Public `@uipath/solution-tool/deploy` entry: the programmatic deployment
3
+ * surface for SDK consumers (e.g. the VS Code extension). Five operations
4
+ * under one subpath:
5
+ *
6
+ * - `deployRunAsync` — install + poll + optional auto-activate
7
+ * - `listDeploymentsAsync` — list recent deployments
8
+ * - `activateDeploymentAsync`— activate a previously-deployed solution
9
+ * - `uninstallDeploymentAsync` — uninstall a deployed solution
10
+ * - `listPackagesAsync` — list published solution packages
11
+ *
12
+ * Each function returns a tagged result (`{ ok: true, ... } | { ok: false,
13
+ * reason, message, instructions, exitCode }`) so callers can route the
14
+ * success/failure paths without touching `OutputFormatter` or
15
+ * `processContext`. Mirrors `./init` / `./pack` / `./publish` /
16
+ * `@uipath/flow-tool/validation`.
17
+ */
18
+ export type { ActivateDeploymentFailure, ActivateDeploymentFailureReason, ActivateDeploymentOptions, ActivateDeploymentResult, ActivateDeploymentSuccess, } from "./services/deploy-activate-service";
19
+ export { activateDeploymentAsync } from "./services/deploy-activate-service";
20
+ export type { DeploymentSummary, ListDeploymentsFailure, ListDeploymentsFailureReason, ListDeploymentsOptions, ListDeploymentsResult, ListDeploymentsSuccess, SortDirection, } from "./services/deploy-list-service";
21
+ export { listDeploymentsAsync } from "./services/deploy-list-service";
22
+ export type { DeployFailure, DeployFailureReason, DeployOptions, DeployResult, DeploySuccess, } from "./services/deploy-run-service";
23
+ export { deployRunAsync } from "./services/deploy-run-service";
24
+ export type { UninstallDeploymentFailure, UninstallDeploymentFailureReason, UninstallDeploymentOptions, UninstallDeploymentResult, UninstallDeploymentSuccess, } from "./services/deploy-uninstall-service";
25
+ export { uninstallDeploymentAsync } from "./services/deploy-uninstall-service";
26
+ export type { ListPackagesFailure, ListPackagesFailureReason, ListPackagesOptions, ListPackagesResult, ListPackagesSuccess, PackageSummary, } from "./services/packages-list-service";
27
+ export { listPackagesAsync } from "./services/packages-list-service";