@uipath/project-packager 1.206.0-preview.303 → 1.207.0-preview.305
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/browser.js +101 -37
- package/dist/index.js +101 -37
- package/dist/node.js +326 -154
- package/dist/src/i18n/locales/en.d.ts +1 -0
- package/dist/src/models/packager-parameters.d.ts +5 -0
- package/dist/src/models/project-models.d.ts +5 -0
- package/dist/src/services/project-loader.d.ts +8 -0
- package/package.json +6 -6
|
@@ -10,6 +10,7 @@ export declare const en: {
|
|
|
10
10
|
readonly noProjectFile: "No {projectFile}, {projectJsonFile}, or {manifestFile} found in directory: {path}";
|
|
11
11
|
readonly readFailed: "Failed to read project file: {path}";
|
|
12
12
|
readonly invalidProject: "Invalid project file: {path}. Missing ProjectType field.";
|
|
13
|
+
readonly invalidJson: "Project file {path} is not a JSON object. {reason}";
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
16
|
readonly validator: {
|
|
@@ -68,6 +68,11 @@ export interface PackOptions {
|
|
|
68
68
|
* Whether to split packages
|
|
69
69
|
*/
|
|
70
70
|
splitPackages: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Pack each project's existing build output instead of running its own
|
|
73
|
+
* build first (a coded app's `npm run build`). Absent means build.
|
|
74
|
+
*/
|
|
75
|
+
skipBuild?: boolean;
|
|
71
76
|
}
|
|
72
77
|
/**
|
|
73
78
|
* Publish information
|
|
@@ -22,4 +22,9 @@ export interface LoadedUiProject {
|
|
|
22
22
|
* Becomes the package `<authors>` if the caller passes none.
|
|
23
23
|
*/
|
|
24
24
|
author?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The `projectVersion` declared in project.json, when it declares one.
|
|
27
|
+
* A project.uiproj has no version, so its sibling project.json supplies it.
|
|
28
|
+
*/
|
|
29
|
+
version?: string;
|
|
25
30
|
}
|
|
@@ -21,5 +21,13 @@ export declare class ProjectLoader implements IProjectLoader {
|
|
|
21
21
|
constructor(fileSystem: IFileSystem);
|
|
22
22
|
loadProject(projectPath: string): Promise<LoadedUiProject>;
|
|
23
23
|
private loadFromProjectFile;
|
|
24
|
+
/** The JSON object in a project file, or an invalidJson error. */
|
|
25
|
+
private parseProjectFile;
|
|
26
|
+
/**
|
|
27
|
+
* The projectVersion of the project.json beside a project.uiproj, if any.
|
|
28
|
+
* Best-effort: the project was loaded from its project.uiproj, so an
|
|
29
|
+
* unreadable sibling only leaves the version undeclared.
|
|
30
|
+
*/
|
|
31
|
+
private readProjectJsonVersion;
|
|
24
32
|
private loadFromWebAppManifest;
|
|
25
33
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/project-packager",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.207.0-preview.305",
|
|
6
6
|
"description": "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/index.js",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@uipath/aops-policy-sdk": "1.
|
|
37
|
-
"@uipath/filesystem": "1.
|
|
38
|
-
"@uipath/solutionpackager-tool-core": "1.
|
|
39
|
-
"@uipath/common": "1.
|
|
36
|
+
"@uipath/aops-policy-sdk": "1.207.0",
|
|
37
|
+
"@uipath/filesystem": "1.207.0",
|
|
38
|
+
"@uipath/solutionpackager-tool-core": "1.207.0",
|
|
39
|
+
"@uipath/common": "1.207.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"fflate": "^0.8.2"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "1600aa89255c37c1b8bc68d9882c3395c1d5bff4"
|
|
45
45
|
}
|