@uipath/project-executor 1.200.0-preview.120 → 1.200.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.
package/package.json CHANGED
@@ -1,40 +1,36 @@
1
1
  {
2
- "name": "@uipath/project-executor",
3
- "license": "MIT",
4
- "version": "1.200.0-preview.120",
5
- "description": "Common run contract implemented by every UiPath project type - the shared ProjectExecutor interface behind 'uip solution run'.",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/UiPath/cli.git",
9
- "directory": "packages/executor/project-executor"
10
- },
11
- "publishConfig": {
12
- "registry": "https://registry.npmjs.org/"
13
- },
14
- "keywords": [
15
- "uipath",
16
- "executor",
17
- "run",
18
- "solution"
19
- ],
20
- "type": "module",
21
- "main": "./dist/index.js",
22
- "types": "./dist/src/index.d.ts",
23
- "exports": {
24
- ".": {
25
- "types": "./dist/src/index.d.ts",
26
- "default": "./dist/index.js"
27
- }
28
- },
29
- "files": [
30
- "dist"
31
- ],
32
- "dependencies": {
33
- "@uipath/filesystem": "1.200.0"
34
- },
35
- "devDependencies": {
36
- "@types/node": "^25.5.2",
37
- "typescript": "^6.0.2"
38
- },
39
- "gitHead": "173ad4b4930bd3e17a493b32e9f1c3c616ea1c10"
2
+ "name": "@uipath/project-executor",
3
+ "license": "MIT",
4
+ "version": "1.200.0",
5
+ "description": "Common run contract implemented by every UiPath project type - the shared ProjectExecutor interface behind 'uip solution run'.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/UiPath/cli.git",
9
+ "directory": "packages/executor/project-executor"
10
+ },
11
+ "publishConfig": {
12
+ "registry": "https://registry.npmjs.org/"
13
+ },
14
+ "keywords": [
15
+ "uipath",
16
+ "executor",
17
+ "run",
18
+ "solution"
19
+ ],
20
+ "type": "module",
21
+ "main": "./dist/index.js",
22
+ "types": "./dist/src/index.d.ts",
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/src/index.d.ts",
26
+ "default": "./dist/index.js"
27
+ }
28
+ },
29
+ "files": [
30
+ "dist"
31
+ ],
32
+ "dependencies": {
33
+ "@uipath/filesystem": "1.200.0"
34
+ },
35
+ "gitHead": "173ad4b4930bd3e17a493b32e9f1c3c616ea1c10"
40
36
  }
@@ -1,43 +0,0 @@
1
- /**
2
- * Cross-module bridge for executor factory resolution.
3
- *
4
- * Mirrors `ensurePackagerFactory` in `@uipath/common`, and exists here rather
5
- * than there for two reasons: `@uipath/common` has no dependencies by design,
6
- * and registering an executor factory needs this package's registry and module
7
- * guard. Everything about executors stays in the executor package.
8
- */
9
- import type { IProjectExecutorFactory } from "./executor-factory";
10
- /**
11
- * Makes the factory for a tool verb available, installing the tool if need be.
12
- * The CLI registers one; a library caller has none.
13
- */
14
- export type ExecutorFactoryProvider = (verb: string) => Promise<void>;
15
- export declare function setExecutorFactoryProvider(provider: ExecutorFactoryProvider): void;
16
- /** Clear the provider. Tests only. */
17
- export declare function clearExecutorFactoryProvider(): void;
18
- /**
19
- * Narrow a dynamically imported `executor-tool` module and register the factory
20
- * it supplies into the shared registry.
21
- *
22
- * This is the host half of the contract's split — a tool supplies a factory, the
23
- * host decides what is registered — so it lives here where every host can reach
24
- * it instead of being reimplemented per caller.
25
- *
26
- * @param source Where the module came from, named in the error when the export
27
- * is missing so the failure points at a file rather than a type.
28
- */
29
- export declare function registerExecutorFactoryFromModule(module: unknown, source: string): IProjectExecutorFactory;
30
- /**
31
- * Ensure the executor factory for a tool verb is registered.
32
- *
33
- * Prefers the registered provider (installed by the CLI, which can also install
34
- * the tool package). With no provider — a library caller — falls back to
35
- * importing the tool package's own `executor-tool` entry point and registering
36
- * what it supplies.
37
- *
38
- * @param verb CLI tool verb that owns the factory (e.g. `"rpa"`).
39
- * @param packageName npm package behind that verb. Drives the fallback import
40
- * and is the one thing the error asks for. Omit when unknown; there is then no
41
- * fallback and no package to name.
42
- */
43
- export declare function ensureExecutorFactory(verb: string, packageName?: string): Promise<void>;
@@ -1,20 +0,0 @@
1
- /**
2
- * Dynamic import of a tool's `executor-tool` entry point.
3
- *
4
- * Its own module so tests can stand in for it, for the same reason
5
- * `packager-tool-import.ts` is separate in `@uipath/common`: the real entry
6
- * points are multi-megabyte tool bundles, and loading one takes seconds and
7
- * blocks the event loop while it evaluates.
8
- *
9
- * Unlike the packager equivalent this is *not* a side-effect import. An
10
- * `executor-tool` module registers nothing; it exports a factory supplier, so
11
- * the caller gets the module back and decides what to register.
12
- */
13
- /**
14
- * Import `specifier` and hand back the module. Returns the failure instead of
15
- * throwing so the caller can decide what to say.
16
- */
17
- export declare function importExecutorToolModule(specifier: string): Promise<{
18
- module?: unknown;
19
- error?: Error;
20
- }>;