@uipath/rules-tool 1.204.0-preview.255 → 1.204.0-preview.261
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 +1 -1
- package/dist/{rules-debug-service-var52vfc.js → rules-debug-service-4skmkp08.js} +1 -1
- package/dist/{rules-init-service-0jgj6m9d.js → rules-init-service-y64em4f5.js} +1 -1
- package/dist/{tool-qsgp0kzq.js → tool-59h5fybc.js} +2 -2
- package/dist/{tool-6a672gmg.js → tool-sxwfwe5a.js} +4 -4
- package/dist/tool.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -950,7 +950,7 @@ var package_default = {
|
|
|
950
950
|
name: "@uipath/solution-sdk",
|
|
951
951
|
author: "UiPath",
|
|
952
952
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
953
|
-
version: "1.204.0-preview.
|
|
953
|
+
version: "1.204.0-preview.261",
|
|
954
954
|
repository: {
|
|
955
955
|
type: "git",
|
|
956
956
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -1195,4 +1195,4 @@ var SUCCEEDED = "creationsucceeded";
|
|
|
1195
1195
|
var TERMINAL = new Set([SUCCEEDED, "creationfailed", "validationfailed"]);
|
|
1196
1196
|
export { buildSolutionPackageFromDir, uploadOrOverwriteSolution };
|
|
1197
1197
|
|
|
1198
|
-
//# debugId=
|
|
1198
|
+
//# debugId=AD2BEBA69708D86664756E2164756E21
|
|
@@ -19,7 +19,7 @@ var package_default = {
|
|
|
19
19
|
name: "@uipath/rules-tool",
|
|
20
20
|
author: "UiPath",
|
|
21
21
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
22
|
-
version: "1.204.0-preview.
|
|
22
|
+
version: "1.204.0-preview.261",
|
|
23
23
|
description: "Create and manage UiPath Business Rules (DMN) projects.",
|
|
24
24
|
private: false,
|
|
25
25
|
repository: {
|
|
@@ -104,7 +104,7 @@ var RULES_DEBUG_EXAMPLES = [
|
|
|
104
104
|
var registerDebugCommand = (program) => {
|
|
105
105
|
program.command("debug").description("Upload the rules project's solution to Studio Web and evaluate it once through the rules engine. Returns the decision outputs and errors, and with --explain the trace id that shows which rules fired.").argument("<project-path>", "Path to the business rules project directory (must contain project.uiproj)").option("-i, --inputs <json>", "Input values as a JSON object or @file.json").option("--explain", "Publish a trace of the run and return its id (read it with 'uip traces spans get')").option("--folder-path <path>", "Folder to evaluate in and publish the --explain trace into (default: your personal workspace)").option("--folder-key <key>", "Key (GUID) of the folder to evaluate in and publish the --explain trace into").option("--timeout <seconds>", "Maximum seconds to wait for the rules engine to evaluate (default: 120)", (value) => parseBoundedInt(value, "--timeout", { min: 1, max: 3600 })).option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", (value) => Number.parseInt(value, 10), 10).examples(RULES_DEBUG_EXAMPLES).trackedAction(processContext, async (projectPath, options) => {
|
|
106
106
|
const { reportRulesFailure } = await import("./rules-command-error-20gp2dv9.js");
|
|
107
|
-
const { debugRuleProjectAsync } = await import("./rules-debug-service-
|
|
107
|
+
const { debugRuleProjectAsync } = await import("./rules-debug-service-4skmkp08.js");
|
|
108
108
|
const [error, result] = await catchError(debugRuleProjectAsync(projectPath, options));
|
|
109
109
|
if (error) {
|
|
110
110
|
await reportRulesFailure("Failed to debug business rules project", error);
|
|
@@ -295,7 +295,7 @@ Packing or uploading the solution will sync solution resources automatically.`
|
|
|
295
295
|
];
|
|
296
296
|
var registerInitCommand = (program) => {
|
|
297
297
|
program.command("init").description("Create a new business rules project seeded with one decision table. If run outside an existing solution, a parent '<name>Solution' is scaffolded automatically and the rules project is created inside it. If run inside an existing solution, the project is added to that solution.").argument("<name>", "Business rules project name").option("--force", "Force initialization even if target directory exists and is not empty").option("--skip-solution-registration", "Do not auto-register this project in the surrounding solution").examples(RULES_INIT_EXAMPLES).trackedAction(processContext, async (name, options) => {
|
|
298
|
-
const { rulesInitAsync } = await import("./rules-init-service-
|
|
298
|
+
const { rulesInitAsync } = await import("./rules-init-service-y64em4f5.js");
|
|
299
299
|
const [error, result] = await catchError(rulesInitAsync(name, {
|
|
300
300
|
force: options.force,
|
|
301
301
|
skipRegistration: options.skipSolutionRegistration === true
|
|
@@ -571,4 +571,4 @@ var registerCommands = async (program) => {
|
|
|
571
571
|
|
|
572
572
|
export { metadata, registerCommands };
|
|
573
573
|
|
|
574
|
-
//# debugId=
|
|
574
|
+
//# debugId=59A249E47DE0746D64756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/rules-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.204.0-preview.
|
|
5
|
+
"version": "1.204.0-preview.261",
|
|
6
6
|
"description": "Create and manage UiPath Business Rules (DMN) projects.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "08ccace773085c10efcb79ea399bcaee502e3517"
|
|
31
31
|
}
|