@uipath/project-executor 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/index.js +20 -20
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -133,7 +133,7 @@ class ExecutorsFactoryRepository {
|
|
|
133
133
|
getProjectExecutorFactory(projectType) {
|
|
134
134
|
const factory = this.factoryMap.get(projectType);
|
|
135
135
|
if (!factory) {
|
|
136
|
-
throw new Error(`
|
|
136
|
+
throw new Error(`Cannot run project type '${projectType}': no runner is installed for it. ` + `Project types that can be run: ${this.registeredTypes.join(", ") || "none"}.`);
|
|
137
137
|
}
|
|
138
138
|
return factory;
|
|
139
139
|
}
|
|
@@ -255,7 +255,7 @@ class ProjectRunner {
|
|
|
255
255
|
const { projectType, name } = options.project;
|
|
256
256
|
if (!this.canRun(projectType)) {
|
|
257
257
|
const known = this.runnableTypes.join(", ") || "none";
|
|
258
|
-
return RunResult.failed("UnsupportedProjectType" /* UnsupportedProjectType */, `
|
|
258
|
+
return RunResult.failed("UnsupportedProjectType" /* UnsupportedProjectType */, `Cannot run project '${name}' (project type '${projectType}'): ` + `no runner is installed for it. Project types that can be run: ${known}.`);
|
|
259
259
|
}
|
|
260
260
|
let executor;
|
|
261
261
|
try {
|
|
@@ -278,24 +278,24 @@ function messageOf(error) {
|
|
|
278
278
|
return error instanceof Error ? error.message : String(error);
|
|
279
279
|
}
|
|
280
280
|
export {
|
|
281
|
-
|
|
282
|
-
registerExecutorFactoryFromModule,
|
|
283
|
-
noopExecutorLogger,
|
|
284
|
-
mapRunStatus,
|
|
285
|
-
isTerminalRunStatus,
|
|
286
|
-
isExecutorFactoryModule,
|
|
287
|
-
executorsFactoryRepository,
|
|
288
|
-
ensureExecutorFactory,
|
|
289
|
-
clearExecutorFactoryProvider,
|
|
290
|
-
TERMINAL_RUN_STATUSES,
|
|
291
|
-
RunTarget,
|
|
292
|
-
RunStatus,
|
|
293
|
-
RunResult,
|
|
294
|
-
RunErrorCode,
|
|
295
|
-
ProjectRunner,
|
|
296
|
-
ProjectExecutor,
|
|
281
|
+
EXECUTOR_FACTORY_EXPORT,
|
|
297
282
|
ExecutorsFactoryRepository,
|
|
298
|
-
|
|
283
|
+
ProjectExecutor,
|
|
284
|
+
ProjectRunner,
|
|
285
|
+
RunErrorCode,
|
|
286
|
+
RunResult,
|
|
287
|
+
RunStatus,
|
|
288
|
+
RunTarget,
|
|
289
|
+
TERMINAL_RUN_STATUSES,
|
|
290
|
+
clearExecutorFactoryProvider,
|
|
291
|
+
ensureExecutorFactory,
|
|
292
|
+
executorsFactoryRepository,
|
|
293
|
+
isExecutorFactoryModule,
|
|
294
|
+
isTerminalRunStatus,
|
|
295
|
+
mapRunStatus,
|
|
296
|
+
noopExecutorLogger,
|
|
297
|
+
registerExecutorFactoryFromModule,
|
|
298
|
+
setExecutorFactoryProvider
|
|
299
299
|
};
|
|
300
300
|
|
|
301
|
-
//# debugId=
|
|
301
|
+
//# debugId=E43DC00452ECBC4164756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/project-executor",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.202.0-preview.134",
|
|
5
5
|
"description": "Common run contract implemented by every UiPath project type - the shared ProjectExecutor interface behind 'uip solution run'.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@uipath/filesystem": "1.
|
|
33
|
+
"@uipath/filesystem": "1.202.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
|
|
36
36
|
}
|