@uipath/packager-tool-webapp 1.199.0 → 1.200.0-preview.117

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 CHANGED
@@ -223,6 +223,15 @@ class CodedAppStrategy {
223
223
  await this.fileSystem.writeFile(uipathJsonDestPath, uipathJsonContent);
224
224
  }
225
225
  }
226
+ const actionSchemaSourcePath = Path3.join(projectPath, "action-schema.json");
227
+ const actionSchemaDestPath = Path3.join(contentFolder, "action-schema.json");
228
+ const actionSchemaExists = await this.fileSystem.exists(actionSchemaSourcePath);
229
+ if (actionSchemaExists) {
230
+ const actionSchemaContent = await this.fileSystem.readFile(actionSchemaSourcePath, "utf-8");
231
+ if (actionSchemaContent) {
232
+ await this.fileSystem.writeFile(actionSchemaDestPath, actionSchemaContent);
233
+ }
234
+ }
226
235
  const bindingsPath = Path3.join(contentFolder, "bindings.json");
227
236
  const bindingsExists = await this.fileSystem.exists(bindingsPath);
228
237
  if (!bindingsExists) {
@@ -681,4 +690,4 @@ export {
681
690
  WEBAPP_MANIFEST_FILE_NAME
682
691
  };
683
692
 
684
- //# debugId=661724B37BE1606464756E2164756E21
693
+ //# debugId=37FD0BEB1390389F64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-webapp",
3
- "version": "1.199.0",
3
+ "version": "1.200.0-preview.117",
4
4
  "description": "UiPath WebApp tool implementation",
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "author": "",
26
26
  "license": "ISC",
27
27
  "peerDependencies": {
28
- "@uipath/solutionpackager-tool-core": "1.199.0"
28
+ "@uipath/solutionpackager-tool-core": "1.200.0"
29
29
  },
30
- "gitHead": "723e6801b77b5926ba75e75b6a756cc38b1b7adc"
30
+ "gitHead": "5ba432ca14252784a1e20c03f5a858a5ae39746e"
31
31
  }
@@ -272,6 +272,31 @@ export class CodedAppStrategy implements VariantStrategy {
272
272
  }
273
273
  }
274
274
 
275
+ // Copy action-schema.json from project root into content (if it exists)
276
+ const actionSchemaSourcePath = Path.join(
277
+ projectPath,
278
+ "action-schema.json",
279
+ );
280
+ const actionSchemaDestPath = Path.join(
281
+ contentFolder,
282
+ "action-schema.json",
283
+ );
284
+ const actionSchemaExists = await this.fileSystem.exists(
285
+ actionSchemaSourcePath,
286
+ );
287
+ if (actionSchemaExists) {
288
+ const actionSchemaContent = await this.fileSystem.readFile(
289
+ actionSchemaSourcePath,
290
+ "utf-8",
291
+ );
292
+ if (actionSchemaContent) {
293
+ await this.fileSystem.writeFile(
294
+ actionSchemaDestPath,
295
+ actionSchemaContent,
296
+ );
297
+ }
298
+ }
299
+
275
300
  // Create or copy bindings.json (version 1.0)
276
301
  const bindingsPath = Path.join(contentFolder, "bindings.json");
277
302
  const bindingsExists = await this.fileSystem.exists(bindingsPath);