@uipath/packager-tool-webapp 1.204.0-preview.255 → 1.205.0-preview.256

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.
@@ -0,0 +1,10 @@
1
+ import type { IFileSystem } from "@uipath/solutionpackager-tool-core";
2
+ /** Bundle metadata and ZIP entries use forward slashes on every platform. */
3
+ export declare function normalizeBundlePath(path: string): string;
4
+ /** A child of the bundle or project, with no absolute or parent segments. */
5
+ export declare function isBundleRelativePath(path: string): boolean;
6
+ /** A declared child build folder must stay inside the project after aliases resolve. */
7
+ export declare function isCanonicalBundleChild(fileSystem: Pick<IFileSystem, "realpath">, projectPath: string, bundlePath: string): Promise<boolean>;
8
+ export declare function isHtmlEntryPointPath(path: unknown): path is string;
9
+ /** Resolve the spelling the directory walk will use for the archived member. */
10
+ export declare function resolveHtmlEntryPoint(fileSystem: Pick<IFileSystem, "stat" | "readdir">, folder: string, declaredPath: unknown): Promise<string | null>;
@@ -1,8 +1,9 @@
1
- import { type IFileSystem, type IProjectToolFactory, type IToolLogger, type ProjectTool, type ProjectType } from "@uipath/solutionpackager-tool-core";
1
+ import { type IFileSystem, type IProjectToolFactory, type IToolLogger, type ProjectType } from "@uipath/solutionpackager-tool-core";
2
+ import { WebAppTool } from "./webapp-tool.js";
2
3
  /**
3
4
  * Factory for creating WebApp project tools
4
5
  */
5
6
  export declare class WebAppToolFactory implements IProjectToolFactory {
6
7
  readonly supportedTypes: readonly ProjectType[];
7
- createAsync(logger: IToolLogger, fileSystem: IFileSystem): Promise<ProjectTool>;
8
+ createAsync(logger: IToolLogger, fileSystem: IFileSystem): Promise<WebAppTool>;
8
9
  }
@@ -10,7 +10,13 @@ export declare class WebAppTool extends ProjectTool {
10
10
  restoreAsync(_options: IProjectRestoreOptions, _cancellationToken?: AbortSignal): Promise<ToolResult>;
11
11
  validateAsync(options: IProjectValidateOptions, _cancellationToken?: AbortSignal): Promise<ToolResult>;
12
12
  buildAsync(_options: IProjectBuildOptions, _cancellationToken?: AbortSignal): Promise<ToolResult>;
13
- packAsync(options: IProjectPackOptions, _cancellationToken?: AbortSignal): Promise<ToolResult>;
13
+ packAsync(options: IProjectPackOptions & {
14
+ /** A single pack's selection; never written to the project manifest. */
15
+ codedBundle?: {
16
+ bundlePath: string;
17
+ mainFile: string;
18
+ };
19
+ }, _cancellationToken?: AbortSignal): Promise<ToolResult>;
14
20
  dispose(): Promise<void>;
15
21
  /**
16
22
  * Common helper that validates manifest file presence, loads manifest
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-webapp",
3
- "version": "1.204.0-preview.255",
3
+ "version": "1.205.0-preview.256",
4
4
  "description": "UiPath WebApp tool implementation",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./dist/index.js",
8
+ "./constants": "./dist/constants.js",
8
9
  "./action-schema": "./dist/action-schema/index.js"
9
10
  },
10
11
  "repository": {
@@ -22,9 +23,9 @@
22
23
  "author": "UiPath",
23
24
  "license": "SEE LICENSE IN LICENSE.txt",
24
25
  "peerDependencies": {
25
- "@uipath/common": "1.204.0",
26
- "@uipath/solutionpackager-tool-core": "1.204.0",
26
+ "@uipath/common": "1.205.0",
27
+ "@uipath/solutionpackager-tool-core": "1.205.0",
27
28
  "zod": "^4.3.6"
28
29
  },
29
- "gitHead": "699c58dabb59414557755a8933bcbe40aa420df3"
30
+ "gitHead": "63740c6cbb7ff282fa9118cc16a148eb030b245f"
30
31
  }