@uipath/solution-tool 1.201.0-preview.133 → 1.202.0-preview.134
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/dist/deploy.d.ts +6 -1
- package/dist/deploy.js +15 -16
- package/dist/{index-2fj08e7n.js → index-gpd94m28.js} +27 -27
- package/dist/{index-w03qc9m8.js → index-sby22td6.js} +4 -4
- package/dist/index.js +16 -19
- package/dist/init.js +10 -13
- package/dist/{js-yaml-4ypbq2tt.js → js-yaml-b2jq67kn.js} +16 -16
- package/dist/{list-skbehtq2.js → list-3mrc9s3f.js} +7 -11
- package/dist/models/pack-command-types.d.ts +8 -0
- package/dist/pack.js +9 -12
- package/dist/{packager-tool-krd5v2r5.js → packager-tool-0qva0ebq.js} +129 -53
- package/dist/{packager-tool-0v6na3yp.js → packager-tool-1de529jm.js} +9 -7
- package/dist/{packager-tool-9vehmnke.js → packager-tool-3hbsdwjm.js} +6 -661
- package/dist/{packager-tool-fzwxq48d.js → packager-tool-3y92zbg2.js} +3 -3
- package/dist/{packager-tool-f7kj5fpa.js → packager-tool-5pfxgc8z.js} +19 -11
- package/dist/{packager-tool-9w3k4e77.js → packager-tool-b16qemg2.js} +494 -198
- package/dist/{packager-tool-zbp5p149.js → packager-tool-bahvrjbv.js} +592 -264
- package/dist/{packager-tool-129wn232.js → packager-tool-dfrk01gn.js} +198 -2
- package/dist/{packager-tool-67ssxgph.js → packager-tool-fh8pb2th.js} +3 -5
- package/dist/{packager-tool-c29pg93e.js → packager-tool-hc6ybtdw.js} +5 -5
- package/dist/{packager-tool-bcpknnr8.js → packager-tool-hgx66d1p.js} +1656 -558
- package/dist/{packager-tool-2yz7m5ny.js → packager-tool-nq2nq71y.js} +21282 -20197
- package/dist/{packager-tool-wjhn59ft.js → packager-tool-t89r1edr.js} +596 -180
- package/dist/{packager-tool-vpr77gre.js → packager-tool-x3ehbhsn.js} +3 -2
- package/dist/{packager-tool-yktm4v4r.js → packager-tool-xntjj1bt.js} +1 -1
- package/dist/packager-tool.d.ts +4 -3
- package/dist/packager-tool.js +4 -4
- package/dist/publish.js +8 -11
- package/dist/resource.js +7 -10
- package/dist/services/activation.d.ts +9 -1
- package/dist/services/deploy-run-service.d.ts +25 -1
- package/dist/services/deploy-uninstall-service.d.ts +20 -1
- package/dist/services/deploy-upgrade-service.d.ts +94 -0
- package/dist/services/deployment-feed-locator.d.ts +36 -0
- package/dist/services/deployment-search.d.ts +88 -7
- package/dist/services/pack-command-service.d.ts +15 -0
- package/dist/services/package-metadata-rewrite.d.ts +9 -5
- package/dist/services/publish-service.d.ts +11 -9
- package/dist/services/solution-path.d.ts +34 -0
- package/dist/templates/AGENTS.md +183 -16
- package/dist/tool.js +18 -21
- package/package.json +2 -2
- package/dist/browser-strategy-yccf8mtd.js +0 -99
- package/dist/node-strategy-12qfy0nv.js +0 -348
- package/dist/packager-tool-5arsyj36.js +0 -11
- package/dist/packager-tool-7eva0peq.js +0 -265
- package/dist/packager-tool-9qecd4wb.js +0 -14
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getAuthContext,
|
|
4
4
|
getSdkUserAgentToken,
|
|
5
5
|
installSdkUserAgentHeader
|
|
6
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-hgx66d1p.js";
|
|
7
7
|
|
|
8
8
|
// ../solution-sdk/src/solution-auth.ts
|
|
9
9
|
async function getSolutionAuthContext(options) {
|
|
@@ -3236,7 +3236,7 @@ class FoldersApi extends BaseAPI {
|
|
|
3236
3236
|
var package_default = {
|
|
3237
3237
|
name: "@uipath/orchestrator-sdk",
|
|
3238
3238
|
license: "MIT",
|
|
3239
|
-
version: "1.
|
|
3239
|
+
version: "1.202.0",
|
|
3240
3240
|
repository: {
|
|
3241
3241
|
type: "git",
|
|
3242
3242
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -4222,4 +4222,4 @@ class UsersApi extends BaseAPI {
|
|
|
4222
4222
|
}
|
|
4223
4223
|
export { getSolutionAuthContext, PersonalWorkspacesApi, UsersApi, createOrchestratorConfig, createApiClient, resolveFolder };
|
|
4224
4224
|
|
|
4225
|
-
//# debugId=
|
|
4225
|
+
//# debugId=EAE0412F2D764BF264756E2164756E21
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Configuration,
|
|
3
3
|
PipelinesApi,
|
|
4
|
+
feedScopeInitOverride,
|
|
4
5
|
resolveFeedScope
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
+
} from "./packager-tool-hc6ybtdw.js";
|
|
6
7
|
import {
|
|
7
8
|
Configuration as Configuration2,
|
|
8
9
|
PackagesApi
|
|
9
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-b16qemg2.js";
|
|
10
11
|
import {
|
|
11
12
|
getSolutionAuthContext
|
|
12
|
-
} from "./packager-tool-
|
|
13
|
+
} from "./packager-tool-3y92zbg2.js";
|
|
13
14
|
import {
|
|
14
15
|
PollOutcome,
|
|
15
16
|
catchError,
|
|
16
17
|
extractErrorDetails,
|
|
18
|
+
getFileSystem,
|
|
17
19
|
logger,
|
|
18
20
|
mapPollFailure,
|
|
19
21
|
pollUntil
|
|
20
|
-
} from "./packager-tool-
|
|
21
|
-
import {
|
|
22
|
-
getFileSystem
|
|
23
|
-
} from "./packager-tool-7eva0peq.js";
|
|
22
|
+
} from "./packager-tool-hgx66d1p.js";
|
|
24
23
|
import {
|
|
25
24
|
strFromU8,
|
|
26
25
|
strToU8,
|
|
27
26
|
unzipSync,
|
|
28
27
|
zipSync
|
|
29
|
-
} from "./packager-tool-
|
|
28
|
+
} from "./packager-tool-dfrk01gn.js";
|
|
30
29
|
|
|
31
30
|
// src/services/package-metadata-rewrite.ts
|
|
32
31
|
import { randomUUID } from "node:crypto";
|
|
@@ -176,6 +175,14 @@ async function publishSolutionAsync(packagePath, options = {}) {
|
|
|
176
175
|
};
|
|
177
176
|
}
|
|
178
177
|
if (!resolvedPath.endsWith(".zip")) {
|
|
178
|
+
if (resolvedPath.toLowerCase().endsWith(".nupkg")) {
|
|
179
|
+
return {
|
|
180
|
+
ok: false,
|
|
181
|
+
reason: "project_package",
|
|
182
|
+
message: `'${packagePath}' is a project package (.nupkg), not a solution package. 'publish' uploads the solution-level .zip produced by 'solution pack'.`,
|
|
183
|
+
details: resolvedPath
|
|
184
|
+
};
|
|
185
|
+
}
|
|
179
186
|
const stats = await fs.stat(resolvedPath);
|
|
180
187
|
const isSolutionSource = stats?.isDirectory() === true || resolvedPath.endsWith(".uis") || resolvedPath.endsWith(".uipx");
|
|
181
188
|
if (isSolutionSource) {
|
|
@@ -310,14 +317,15 @@ async function publishToFeed(auth, fileBuffer, scope, options) {
|
|
|
310
317
|
if (uploadError) {
|
|
311
318
|
return mapUploadError(uploadError);
|
|
312
319
|
}
|
|
313
|
-
const
|
|
320
|
+
const feedScope = feedScopeInitOverride(scope);
|
|
321
|
+
const [getError, initialInfo] = await catchError(api.packagesGetVersion({ packageVersionKey }, feedScope));
|
|
314
322
|
if (getError) {
|
|
315
323
|
logger.warn(`Package uploaded (key ${packageVersionKey}) but its metadata was not yet retrievable; PackageName/PackageVersion/State will be absent from output: ${getError.message}`);
|
|
316
324
|
}
|
|
317
325
|
let packageVersionInfo = getError ? undefined : initialInfo;
|
|
318
326
|
if (options.wait) {
|
|
319
327
|
const pollResult = await pollUntil({
|
|
320
|
-
fn: () => api.packagesGetVersion({ packageVersionKey }),
|
|
328
|
+
fn: () => api.packagesGetVersion({ packageVersionKey }, feedScope),
|
|
321
329
|
until: (result) => TERMINAL_STATES.has(result.state),
|
|
322
330
|
getStatus: (result) => result.state,
|
|
323
331
|
label: `publish ${packageVersionInfo ? `${packageVersionInfo.packageName}:${packageVersionInfo.packageVersion}` : packageVersionKey}`,
|
|
@@ -384,4 +392,4 @@ async function mapUploadError(uploadError) {
|
|
|
384
392
|
|
|
385
393
|
export { publishSolutionAsync };
|
|
386
394
|
|
|
387
|
-
//# debugId=
|
|
395
|
+
//# debugId=A863118C75768F1764756E2164756E21
|