@uipath/codedapp-tool 1.202.1-preview.168 → 1.202.1-preview.171
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/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-xr0jkn9x.js";
|
|
6
6
|
import {
|
|
7
7
|
Command
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-ckanbe2q.js";
|
|
9
9
|
import"./packager-tool-pvtdkdk8.js";
|
|
10
10
|
import"./packager-tool-05wez2xw.js";
|
|
11
11
|
import"./packager-tool-aybzcdfg.js";
|
|
@@ -4535,6 +4535,20 @@ class FilterImplicitLimitError extends Error {
|
|
|
4535
4535
|
this.instructions = "Pass --limit <n> to choose how many records the filter applies to. " + "To filter over all records, pass the command's maximum accepted --limit (see the option's description in --help).";
|
|
4536
4536
|
}
|
|
4537
4537
|
}
|
|
4538
|
+
|
|
4539
|
+
class ConfigurationError extends Error {
|
|
4540
|
+
__brand = "ConfigurationError";
|
|
4541
|
+
errorCode = "configuration_error";
|
|
4542
|
+
retry = "RetryWillNotFix";
|
|
4543
|
+
result = RESULTS.ConfigError;
|
|
4544
|
+
constructor(message) {
|
|
4545
|
+
super(message);
|
|
4546
|
+
this.name = "ConfigurationError";
|
|
4547
|
+
}
|
|
4548
|
+
}
|
|
4549
|
+
function isConfigurationError(error) {
|
|
4550
|
+
return typeof error === "object" && error !== null && "__brand" in error && error.__brand === "ConfigurationError";
|
|
4551
|
+
}
|
|
4538
4552
|
function applyFilter(data, filter) {
|
|
4539
4553
|
const codec = requireJmespath();
|
|
4540
4554
|
let result;
|
|
@@ -5133,6 +5147,20 @@ Command.prototype.trackedAction = function(context, fn, properties) {
|
|
|
5133
5147
|
});
|
|
5134
5148
|
};
|
|
5135
5149
|
|
|
5150
|
+
// ../common/src/confirmation.ts
|
|
5151
|
+
function requireConfirmation(flags, operation) {
|
|
5152
|
+
if (flags.yes === true || flags.force === true) {
|
|
5153
|
+
return true;
|
|
5154
|
+
}
|
|
5155
|
+
OutputFormatter.error({
|
|
5156
|
+
Result: RESULTS.Failure,
|
|
5157
|
+
Message: `Confirmation required: this will ${operation} and cannot be undone.`,
|
|
5158
|
+
Instructions: "Re-run with --yes to confirm."
|
|
5159
|
+
});
|
|
5160
|
+
processContext.exit(1);
|
|
5161
|
+
return false;
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5136
5164
|
// ../common/src/package-metadata-options.ts
|
|
5137
5165
|
function registerPackageMetadataOptions(command) {
|
|
5138
5166
|
return command.option("--author <author>", "Package author").option("--description <text>", "Package description").option("--repository-url <url>", "Source repository URL (recorded in the package for traceability)").option("--repository-commit <sha>", "Source repository commit hash (recorded in the package for traceability)").option("--repository-branch <branch>", "Source repository branch").option("--repository-type <type>", "Source repository type (defaults to 'git' when --repository-url is set)").option("--release-notes <text>", "Release notes for the package").option("--project-url <url>", "Automation Hub idea URL");
|
|
@@ -5920,6 +5948,6 @@ async function findSolutionFileUpward(fs, startDir) {
|
|
|
5920
5948
|
}
|
|
5921
5949
|
}
|
|
5922
5950
|
|
|
5923
|
-
export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, RESULTS, OutputFormatter, InvalidArgumentError, Command, Option, processContext, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, trackShipSucceeded, normalizeProjectType, tryRegisterProjectInParentSolution, findNearestParentUipxFile, findSolutionFileUpward };
|
|
5951
|
+
export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, RESULTS, EXIT_CODES, ConfigurationError, isConfigurationError, OutputFormatter, InvalidArgumentError, Command, Option, processContext, requireConfirmation, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, trackShipSucceeded, normalizeProjectType, tryRegisterProjectInParentSolution, findNearestParentUipxFile, findSolutionFileUpward };
|
|
5924
5952
|
|
|
5925
|
-
//# debugId=
|
|
5953
|
+
//# debugId=221D447EF9BC866A64756E2164756E21
|