@uipath/packager-tool-apiworkflow 1.202.0-preview.141 → 1.202.0-preview.143

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/LICENSE.txt ADDED
@@ -0,0 +1,3 @@
1
+ © 2026 UiPath
2
+ Use of this product is subject (a) to the applicable licensing agreement available: https://www.uipath.com/legal/trust-and-security/legal-terms#content-1 and, (b) for paid products listed here https://licensing.uipath.com/: the licensing agreement agreed between you and UiPath.
3
+ (UiPath means UiPath SRL with headquarters at 4 Vasile Alecsandri Str. and 11 Constantin Daniel Str., Building A, floors 5 and 6, District 1, Bucharest 010639, Romania and UiPath Inc. with principal place of business: One Vanderbilt Avenue, 60th Floor, New York, NY 10017)
@@ -0,0 +1,8 @@
1
+ # Third-party notices for @uipath/packager-tool-apiworkflow
2
+
3
+ This package is distributed as a bundle: the dependencies below are
4
+ compiled into its `dist/` output rather than installed alongside it.
5
+ Their licences and copyright notices are reproduced here in full, as
6
+ those licences require.
7
+
8
+ No third-party code is bundled into this package.
package/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-apiworkflow",
3
- "version": "1.202.0-preview.141",
3
+ "version": "1.202.0-preview.143",
4
4
  "description": "UiPath API Workflow tool implementation",
5
5
  "type": "module",
6
6
  "exports": {
7
- ".": {
8
- "source": "./src/index.ts",
9
- "default": "./dist/index.js"
10
- }
7
+ ".": "./dist/index.js"
11
8
  },
12
9
  "repository": {
13
10
  "type": "git",
@@ -19,13 +16,12 @@
19
16
  },
20
17
  "types": "./dist/index.d.ts",
21
18
  "files": [
22
- "dist",
23
- "src"
19
+ "dist"
24
20
  ],
25
21
  "author": "",
26
- "license": "ISC",
22
+ "license": "SEE LICENSE IN LICENSE.txt",
27
23
  "peerDependencies": {
28
24
  "@uipath/solutionpackager-tool-core": "1.202.0"
29
25
  },
30
- "gitHead": "2c2b4b3b218f18c26db78eb8cd9ab8002d2b5290"
26
+ "gitHead": "23b5a7038ead7264439af18f8b807c7cc99a29d5"
31
27
  }
@@ -1,23 +0,0 @@
1
- import {
2
- type IFileSystem,
3
- type IProjectToolFactory,
4
- type IToolLogger,
5
- type ProjectTool,
6
- type ProjectType,
7
- ProjectTypes,
8
- } from "@uipath/solutionpackager-tool-core";
9
- import { ApiWorkflowsTool } from "./api-workflows-tool.js";
10
-
11
- /**
12
- * Factory for creating API Workflow project tools
13
- */
14
- export class ApiWorkflowToolFactory implements IProjectToolFactory {
15
- readonly supportedTypes: readonly ProjectType[] = [ProjectTypes.Api];
16
-
17
- async createAsync(
18
- logger: IToolLogger,
19
- fileSystem: IFileSystem,
20
- ): Promise<ProjectTool> {
21
- return new ApiWorkflowsTool(fileSystem, logger);
22
- }
23
- }
@@ -1,265 +0,0 @@
1
- import type {
2
- IProjectBuildOptions,
3
- IProjectPackOptions,
4
- IProjectRestoreOptions,
5
- IProjectValidateOptions,
6
- PackageDescriptorFileModel,
7
- } from "@uipath/solutionpackager-tool-core";
8
- import {
9
- ensureContentOperateFile,
10
- type IFileSystem,
11
- type IToolLogger,
12
- NugetConstants,
13
- NugetPackager,
14
- Path,
15
- ProjectTool,
16
- ProjectTypes,
17
- TemporaryStorageService,
18
- ToolErrorCodes,
19
- ToolResult,
20
- translate,
21
- } from "@uipath/solutionpackager-tool-core";
22
-
23
- /**
24
- * API Workflow project tool implementation
25
- */
26
- export class ApiWorkflowsTool extends ProjectTool {
27
- private readonly _temporaryStorage: TemporaryStorageService;
28
-
29
- constructor(fileSystem: IFileSystem, logger: IToolLogger) {
30
- super(fileSystem, logger);
31
- this._temporaryStorage = new TemporaryStorageService(fileSystem);
32
- }
33
-
34
- override async restoreAsync(
35
- _options: IProjectRestoreOptions,
36
- _cancellationToken?: AbortSignal,
37
- ): Promise<ToolResult> {
38
- this.logger.info(
39
- translate.t("toolApiworkflow.info.restoreNotRequired"),
40
- );
41
- return ToolResult.success();
42
- }
43
-
44
- override async validateAsync(
45
- _options: IProjectValidateOptions,
46
- _cancellationToken?: AbortSignal,
47
- ): Promise<ToolResult> {
48
- this.logger.info(
49
- translate.t("toolApiworkflow.info.validateNotRequired"),
50
- );
51
- return ToolResult.success();
52
- }
53
-
54
- override async buildAsync(
55
- options: IProjectBuildOptions,
56
- _cancellationToken?: AbortSignal,
57
- ): Promise<ToolResult> {
58
- const tempFolder = await this._temporaryStorage.getTempFolderPath();
59
- const localBuildFolder = Path.join(
60
- tempFolder,
61
- NugetConstants.OutputFolderName,
62
- );
63
- const contentFolder = Path.join(
64
- localBuildFolder,
65
- NugetConstants.ContentFolderName,
66
- );
67
-
68
- try {
69
- this.logger.progress(
70
- translate.t("toolApiworkflow.progress.copyingFiles"),
71
- );
72
- await this.copyFiles(options.projectPath, contentFolder);
73
-
74
- this.logger.progress(
75
- translate.t("toolApiworkflow.progress.creatingOperateFile"),
76
- );
77
- await this.createOperateFile(options, contentFolder);
78
-
79
- this.logger.progress(
80
- translate.t(
81
- "toolApiworkflow.progress.creatingPackageDescriptor",
82
- ),
83
- );
84
- await this.createPackageDescriptor(localBuildFolder);
85
-
86
- return new ToolResult(
87
- ToolErrorCodes.Success,
88
- translate.t("toolApiworkflow.success.done"),
89
- [localBuildFolder],
90
- );
91
- } catch (error) {
92
- const errorMessage =
93
- error instanceof Error ? error.toString() : String(error);
94
- this.logger.error(errorMessage);
95
- return ToolResult.error(
96
- ToolErrorCodes.InternalError,
97
- translate.t("toolApiworkflow.errors.buildFailed"),
98
- );
99
- }
100
- }
101
-
102
- override async packAsync(
103
- options: IProjectPackOptions,
104
- cancellationToken?: AbortSignal,
105
- ): Promise<ToolResult> {
106
- // First, run the build step to prepare the bundle content
107
- const buildResult = await this.buildAsync(options, cancellationToken);
108
- if (!buildResult.isSuccess) {
109
- return buildResult;
110
- }
111
-
112
- const localBuildFolder = buildResult.packages[0];
113
-
114
- try {
115
- // Create the NuGet package
116
- this.logger.progress(
117
- translate.t("toolApiworkflow.progress.creatingNugetPackage"),
118
- );
119
-
120
- const nupkgFileName = `${options.package.id}.${options.package.version}.nupkg`;
121
- const nupkgPath = Path.join(options.outputPath, nupkgFileName);
122
-
123
- const packager = new NugetPackager(this.fileSystem);
124
- const result = await packager.packAsync(
125
- localBuildFolder,
126
- options.package,
127
- nupkgPath,
128
- );
129
-
130
- this.logger.progress(
131
- translate.t(
132
- "toolApiworkflow.progress.packageCreatedSuccessfully",
133
- ),
134
- );
135
- return new ToolResult(
136
- ToolErrorCodes.Success,
137
- translate.t("toolApiworkflow.success.done"),
138
- [result.outputPath],
139
- );
140
- } catch (error) {
141
- const errorMessage =
142
- error instanceof Error ? error.toString() : String(error);
143
- this.logger.error(errorMessage);
144
- return ToolResult.error(
145
- ToolErrorCodes.InternalError,
146
- translate.t("toolApiworkflow.errors.packFailed"),
147
- );
148
- }
149
- }
150
-
151
- override async dispose(): Promise<void> {
152
- this.logger.info(translate.t("toolApiworkflow.info.disposing"));
153
- try {
154
- await this._temporaryStorage.cleanup();
155
- } catch {
156
- // Ignore errors during cleanup
157
- }
158
- }
159
-
160
- /**
161
- * Copy all files from source path to destination path
162
- */
163
- private async copyFiles(
164
- sourcePath: string,
165
- destinationPath: string,
166
- ): Promise<void> {
167
- await this.fileSystem.mkdir(destinationPath);
168
-
169
- const files = await this.fileSystem.readdir(sourcePath);
170
-
171
- for (const file of files) {
172
- const sourceFile = Path.join(sourcePath, file);
173
- const destinationFile = Path.join(destinationPath, file);
174
-
175
- const stat = await this.fileSystem.stat(sourceFile);
176
- if (stat?.isFile()) {
177
- const content = await this.fileSystem.readFile(sourceFile);
178
- if (content) {
179
- await this.fileSystem.writeFile(destinationFile, content);
180
- }
181
- }
182
- }
183
- }
184
-
185
- /**
186
- * Create operate.json file if it doesn't already exist
187
- */
188
- private async createOperateFile(
189
- options: IProjectBuildOptions,
190
- contentFolder: string,
191
- ): Promise<void> {
192
- await ensureContentOperateFile(this.fileSystem, {
193
- contentFolder,
194
- projectPath: options.projectPath,
195
- projectStorageId: options.projectStorageId,
196
- contentType: ProjectTypes.Api,
197
- });
198
- }
199
-
200
- /**
201
- * Create package-descriptor.json file
202
- */
203
- private async createPackageDescriptor(
204
- localBuildFolder: string,
205
- ): Promise<void> {
206
- const packageDescriptor: PackageDescriptorFileModel = {
207
- files: {},
208
- };
209
-
210
- this.addFileIfExists(
211
- packageDescriptor,
212
- localBuildFolder,
213
- NugetConstants.OperateFileName,
214
- NugetConstants.OperateFileName,
215
- );
216
- this.addFileIfExists(
217
- packageDescriptor,
218
- localBuildFolder,
219
- NugetConstants.EntryPointsFileName,
220
- NugetConstants.EntryPointsFileName,
221
- );
222
- this.addFileIfExists(
223
- packageDescriptor,
224
- localBuildFolder,
225
- NugetConstants.BindingsFileId,
226
- NugetConstants.BindingsV2FileName,
227
- );
228
-
229
- const packageDescriptorPath = Path.join(
230
- localBuildFolder,
231
- NugetConstants.ContentFolderName,
232
- NugetConstants.PackageDescriptorFileName,
233
- );
234
- const packageDescriptorJson = JSON.stringify(
235
- {
236
- $schema:
237
- "https://cloud.uipath.com/draft/2024-12/package-descriptor",
238
- ...packageDescriptor,
239
- },
240
- null,
241
- 2,
242
- );
243
- await this.fileSystem.writeFile(
244
- packageDescriptorPath,
245
- packageDescriptorJson,
246
- );
247
- }
248
-
249
- /**
250
- * Add file to package descriptor if it exists
251
- */
252
- private addFileIfExists(
253
- packageDescriptor: PackageDescriptorFileModel,
254
- _rootFolder: string,
255
- key: string,
256
- fileName: string,
257
- ): void {
258
- // The relative path within the package
259
- const relativePath = Path.join(
260
- NugetConstants.ContentFolderName,
261
- fileName,
262
- );
263
- packageDescriptor.files[key] = relativePath;
264
- }
265
- }
package/src/i18n/index.ts DELETED
@@ -1,45 +0,0 @@
1
- /**
2
- * i18n module for tool-apiworkflow package.
3
- * Registers tool-apiworkflow-specific translations.
4
- */
5
-
6
- import { I18nManager } from "@uipath/solutionpackager-tool-core";
7
- import de from "./locales/de.json" with { type: "json" };
8
- import { en } from "./locales/en.js";
9
- import es from "./locales/es.json" with { type: "json" };
10
- import esMX from "./locales/es-MX.json" with { type: "json" };
11
- import fr from "./locales/fr.json" with { type: "json" };
12
- import ja from "./locales/ja.json" with { type: "json" };
13
- import ko from "./locales/ko.json" with { type: "json" };
14
- import pt from "./locales/pt.json" with { type: "json" };
15
- import ptBR from "./locales/pt-BR.json" with { type: "json" };
16
- import ro from "./locales/ro.json" with { type: "json" };
17
- import ru from "./locales/ru.json" with { type: "json" };
18
- import tr from "./locales/tr.json" with { type: "json" };
19
- import zhCN from "./locales/zh-CN.json" with { type: "json" };
20
- import zhTW from "./locales/zh-TW.json" with { type: "json" };
21
- import zu from "./locales/zu.json" with { type: "json" };
22
-
23
- /**
24
- * Register tool-apiworkflow translations at module initialization.
25
- * This extends the core translations with package-specific keys.
26
- */
27
- I18nManager.registerTranslations("en", en);
28
- I18nManager.registerTranslations("de", de);
29
- I18nManager.registerTranslations("es", es);
30
- I18nManager.registerTranslations("es-MX", esMX);
31
- I18nManager.registerTranslations("fr", fr);
32
- I18nManager.registerTranslations("ja", ja);
33
- I18nManager.registerTranslations("ko", ko);
34
- I18nManager.registerTranslations("pt", pt);
35
- I18nManager.registerTranslations("pt-BR", ptBR);
36
- I18nManager.registerTranslations("ro", ro);
37
- I18nManager.registerTranslations("ru", ru);
38
- I18nManager.registerTranslations("tr", tr);
39
- I18nManager.registerTranslations("zh-CN", zhCN);
40
- I18nManager.registerTranslations("zh-TW", zhTW);
41
- I18nManager.registerTranslations("zu", zu);
42
-
43
- export type { TranslationKeys } from "./locales/en.js";
44
- // Export the translations for type inference
45
- export { en };
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * English translations for tool-apiworkflow package.
3
- * These translations are registered alongside core translations via I18nManager.
4
- */
5
-
6
- export const en = {
7
- toolApiworkflow: {
8
- info: {
9
- restoreNotRequired:
10
- "Restore operation is not required for API projects",
11
- validateNotRequired:
12
- "Validate operation is not required for API projects",
13
- disposing: "Disposing API Workflows Tool",
14
- },
15
- progress: {
16
- copyingFiles: "Copying files...",
17
- creatingOperateFile: "Creating operate.json file...",
18
- creatingPackageDescriptor:
19
- "Creating package-descriptor.json file...",
20
- creatingNugetPackage: "Creating NuGet package...",
21
- packageCreatedSuccessfully: "Package created successfully",
22
- },
23
- success: {
24
- done: "done",
25
- },
26
- errors: {
27
- buildFailed: "An error occurred while building API project files",
28
- packFailed: "An error occurred while packing API project",
29
- },
30
- },
31
- } as const;
32
-
33
- /** @public */
34
- export type TranslationKeys = typeof en;
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
@@ -1,23 +0,0 @@
1
- {
2
- "toolApiworkflow": {
3
- "info": {
4
- "restoreNotRequired": "Restore operation is not required for API projects",
5
- "validateNotRequired": "Validate operation is not required for API projects",
6
- "disposing": "Disposing API Workflows Tool"
7
- },
8
- "progress": {
9
- "copyingFiles": "Copying files...",
10
- "creatingOperateFile": "Creating operate.json file...",
11
- "creatingPackageDescriptor": "Creating package-descriptor.json file...",
12
- "creatingNugetPackage": "Creating NuGet package...",
13
- "packageCreatedSuccessfully": "Package created successfully"
14
- },
15
- "success": {
16
- "done": "done"
17
- },
18
- "errors": {
19
- "buildFailed": "An error occurred while building API project files",
20
- "packFailed": "An error occurred while packing API project"
21
- }
22
- }
23
- }
package/src/index.ts DELETED
@@ -1,12 +0,0 @@
1
- // ============================================================================
2
- // Initialize i18n (registers tool-apiworkflow translations)
3
- // ============================================================================
4
-
5
- import "./i18n/index.js";
6
-
7
- // ============================================================================
8
- // Public API — consumers register this factory explicitly via
9
- // `toolsFactoryRepository.registerProjectToolFactory(new ApiWorkflowToolFactory())`.
10
- // ============================================================================
11
-
12
- export { ApiWorkflowToolFactory } from "./api-workflow-tool-factory.js";