@uipath/solutionpackager-tool-core 0.0.29 → 0.0.33

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.
Files changed (78) hide show
  1. package/dist/i18n/i18n-manager.d.ts +1 -0
  2. package/dist/i18n/locales/de.d.ts +3 -0
  3. package/dist/i18n/locales/en.d.ts +3 -0
  4. package/dist/i18n/locales/es-MX.d.ts +3 -0
  5. package/dist/i18n/locales/es.d.ts +3 -0
  6. package/dist/i18n/locales/fr.d.ts +3 -0
  7. package/dist/i18n/locales/ja.d.ts +3 -0
  8. package/dist/i18n/locales/ko.d.ts +3 -0
  9. package/dist/i18n/locales/pt-BR.d.ts +3 -0
  10. package/dist/i18n/locales/pt.d.ts +3 -0
  11. package/dist/i18n/locales/ro.d.ts +3 -0
  12. package/dist/i18n/locales/ru.d.ts +3 -0
  13. package/dist/i18n/locales/tr.d.ts +3 -0
  14. package/dist/i18n/locales/zh-CN.d.ts +3 -0
  15. package/dist/i18n/locales/zh-TW.d.ts +3 -0
  16. package/dist/i18n/locales/zu.d.ts +3 -0
  17. package/dist/index.js +1359 -5
  18. package/dist/models/connection-info.d.ts +4 -0
  19. package/dist/models/project-options.d.ts +4 -0
  20. package/dist/models/project-type.d.ts +1 -0
  21. package/dist/models/tool-error-code.d.ts +1 -0
  22. package/dist/services/project-operation-context.d.ts +8 -7
  23. package/dist/services/tools-factory-repository.d.ts +1 -1
  24. package/package.json +8 -7
  25. package/dist/filesystem/file-system.js +0 -0
  26. package/dist/filesystem/index.js +0 -3
  27. package/dist/filesystem/path.js +0 -47
  28. package/dist/filesystem/temporary-storage-service.js +0 -46
  29. package/dist/filesystem/zip-service.js +0 -41
  30. package/dist/i18n/i18n-manager.js +0 -104
  31. package/dist/i18n/index.js +0 -34
  32. package/dist/i18n/locales/de.js +0 -38
  33. package/dist/i18n/locales/en.js +0 -38
  34. package/dist/i18n/locales/es-MX.js +0 -38
  35. package/dist/i18n/locales/es.js +0 -38
  36. package/dist/i18n/locales/fr.js +0 -38
  37. package/dist/i18n/locales/ja.js +0 -38
  38. package/dist/i18n/locales/ko.js +0 -38
  39. package/dist/i18n/locales/pt-BR.js +0 -38
  40. package/dist/i18n/locales/pt.js +0 -38
  41. package/dist/i18n/locales/ro.js +0 -38
  42. package/dist/i18n/locales/ru.js +0 -38
  43. package/dist/i18n/locales/tr.js +0 -38
  44. package/dist/i18n/locales/zh-CN.js +0 -38
  45. package/dist/i18n/locales/zh-TW.js +0 -38
  46. package/dist/i18n/locales/zu.js +0 -38
  47. package/dist/i18n/translation-service.js +0 -29
  48. package/dist/i18n/types.js +0 -20
  49. package/dist/models/build-configuration.js +0 -6
  50. package/dist/models/connection-info.js +0 -9
  51. package/dist/models/index.js +0 -8
  52. package/dist/models/log-message.js +0 -48
  53. package/dist/models/nuget-constants.js +0 -10
  54. package/dist/models/nuget-feed-model.js +0 -0
  55. package/dist/models/nuget-package-info.js +0 -0
  56. package/dist/models/package-info.js +0 -0
  57. package/dist/models/project-options.js +0 -7
  58. package/dist/models/project-type.js +0 -16
  59. package/dist/models/solution-options.js +0 -0
  60. package/dist/models/target-frameworks.js +0 -6
  61. package/dist/models/tool-error-code.js +0 -7
  62. package/dist/models/tool-result.js +0 -21
  63. package/dist/models/uipath-project.js +0 -0
  64. package/dist/models/uipath-solution.js +0 -0
  65. package/dist/package-descriptor/entry-points-file-model.js +0 -0
  66. package/dist/package-descriptor/index.js +0 -1
  67. package/dist/package-descriptor/operate-file-model.js +0 -0
  68. package/dist/package-descriptor/package-descriptor-file-model.js +0 -0
  69. package/dist/package-descriptor/project-bindings-file-model.js +0 -7
  70. package/dist/services/index.js +0 -4
  71. package/dist/services/nuget-packager.js +0 -105
  72. package/dist/services/project-operation-context.js +0 -0
  73. package/dist/services/project-tool-factory.js +0 -0
  74. package/dist/services/project-tool.js +0 -27
  75. package/dist/services/solution-tool-factory.js +0 -0
  76. package/dist/services/solution-tool.js +0 -27
  77. package/dist/services/tool-logger.js +0 -0
  78. package/dist/services/tools-factory-repository.js +0 -34
@@ -23,4 +23,8 @@ export interface ConnectionInfo {
23
23
  * Folder identifier
24
24
  */
25
25
  folderId?: string;
26
+ /**
27
+ * Organization identifier
28
+ */
29
+ organizationId?: string;
26
30
  }
@@ -45,6 +45,10 @@ export interface IProjectValidateOptions extends IProjectOptions {
45
45
  * Whether to skip analysis
46
46
  */
47
47
  skipAnalyze: boolean;
48
+ /**
49
+ * Whether to skip validation
50
+ */
51
+ skipValidate: boolean;
48
52
  /**
49
53
  * Default severity level
50
54
  */
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * UiPath project type enum
3
+ * @public
3
4
  */
4
5
  export declare enum ProjectTypes {
5
6
  Agent = "Agent",
@@ -4,6 +4,7 @@
4
4
  export declare enum ToolErrorCodes {
5
5
  Success = "SUCCESS",
6
6
  InternalError = "INTERNAL_ERROR",
7
+ /** @public Used by packager-tool-workflowcompiler */
7
8
  Canceled = "CANCELED"
8
9
  }
9
10
  /**
@@ -1,9 +1,9 @@
1
1
  import type { ConnectionInfo } from "../models/connection-info.js";
2
2
  import type { TargetFramework } from "../models/target-frameworks.js";
3
- import type { UiPathSolution } from "../models/uipath-solution.js";
3
+ import type { UiPathProject } from "../models/uipath-project.js";
4
4
  import type { IToolLogger } from "./tool-logger.js";
5
5
  /**
6
- * Context for a project operation, providing information about the solution and all projects involved
6
+ * Context for a project operation, providing information about all projects involved
7
7
  */
8
8
  export interface ProjectOperationContext {
9
9
  /**
@@ -11,17 +11,18 @@ export interface ProjectOperationContext {
11
11
  */
12
12
  id: string;
13
13
  /**
14
- * Solution containing the projects involved in the operation
14
+ * Projects involved in the operation
15
15
  */
16
- solution: UiPathSolution;
16
+ projects: UiPathProject[];
17
17
  /**
18
- * URL to download the solution snapshot for remote packing
18
+ * URL to download the snapshot for remote packing
19
19
  */
20
20
  downloadUrl?: string;
21
21
  /**
22
- * Build configuration (e.g. "Debug", "Release")
22
+ * Build configuration (e.g. "Debug", "Release").
23
+ * Only used for pack operations; required when packing a solution.
23
24
  */
24
- configuration: string;
25
+ configuration?: string;
25
26
  /**
26
27
  * Target framework for the package
27
28
  */
@@ -49,7 +49,7 @@ export declare class ToolsFactoryRepository implements IToolsFactoryRepository,
49
49
  /**
50
50
  * Register a project tool factory.
51
51
  * Maps each of the factory's supported types to the factory.
52
- * @throws Error if a project type is already registered by another factory
52
+ * Warns and skips if a project type is already registered.
53
53
  */
54
54
  registerProjectToolFactory(factory: IProjectToolFactory): void;
55
55
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/solutionpackager-tool-core",
3
- "version": "0.0.29",
3
+ "version": "0.0.33",
4
4
  "description": "UiPath contracts for solution packager tools",
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "types": "./dist/index.d.ts",
13
13
  "scripts": {
14
- "build": "rslib build",
14
+ "build": "bun build ./src/index.ts --outdir dist --format esm --target browser --external @uipath/filesystem --external fflate && tsc --emitDeclarationOnly --outDir dist",
15
15
  "prepack": "bun run build",
16
16
  "publish:dry": "bun publish --dry-run",
17
17
  "publish:gh": "bun publish",
@@ -19,6 +19,7 @@
19
19
  "version:minor": "bun version minor --no-git-tag-version",
20
20
  "version:major": "bun version major --no-git-tag-version",
21
21
  "test": "vitest run",
22
+ "test:coverage": "vitest run --coverage",
22
23
  "test:browser": "vitest run --config=vitest.browser.config.ts",
23
24
  "lint": "biome check ."
24
25
  },
@@ -30,14 +31,13 @@
30
31
  "license": "ISC",
31
32
  "repository": {
32
33
  "type": "git",
33
- "url": "https://github.com/UiPath/Studio.Common.git",
34
- "directory": "packager/uipath-solutionpackager-tool-core"
34
+ "url": "https://github.com/UiPath/cli.git",
35
+ "directory": "packages/packager/packager-core"
35
36
  },
36
37
  "publishConfig": {
37
38
  "registry": "https://registry.npmjs.org/"
38
39
  },
39
40
  "devDependencies": {
40
- "@rslib/core": "^0.20.0",
41
41
  "@types/node": "^25.5.0",
42
42
  "@vitest/browser": "^4.0.14",
43
43
  "@vitest/browser-playwright": "^4.0.14",
@@ -46,7 +46,8 @@
46
46
  "vitest": "^4.0.14"
47
47
  },
48
48
  "dependencies": {
49
- "@uipath/filesystem": "^0.1.6",
49
+ "@uipath/filesystem": "0.9.0",
50
50
  "fflate": "^0.8.2"
51
- }
51
+ },
52
+ "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
52
53
  }
File without changes
@@ -1,3 +0,0 @@
1
- export { Path } from "./path.js";
2
- export { TemporaryStorageService } from "./temporary-storage-service.js";
3
- export { ZipService } from "./zip-service.js";
@@ -1,47 +0,0 @@
1
- class Path {
2
- static normalize(path) {
3
- return path.replace(/\\/g, "/").replace(/\/+/g, "/");
4
- }
5
- static join(...segments) {
6
- return Path.normalize(segments.filter((s)=>s.length > 0).join("/"));
7
- }
8
- static dirname(path) {
9
- const normalized = Path.normalize(path).replace(/\/$/, "");
10
- if ("" === normalized) return ".";
11
- const lastSlash = normalized.lastIndexOf("/");
12
- if (-1 === lastSlash) return ".";
13
- if (0 === lastSlash) return "/";
14
- return normalized.substring(0, lastSlash);
15
- }
16
- static basename(path) {
17
- const normalized = Path.normalize(path).replace(/\/$/, "");
18
- if ("" === normalized) return "";
19
- const lastSlash = normalized.lastIndexOf("/");
20
- return lastSlash >= 0 ? normalized.substring(lastSlash + 1) : normalized;
21
- }
22
- static extname(path) {
23
- const base = Path.basename(path);
24
- const lastDot = base.lastIndexOf(".");
25
- if (-1 === lastDot || 0 === lastDot || lastDot === base.length - 1) return "";
26
- return base.substring(lastDot);
27
- }
28
- static async walkDirectory(fs, rootPath, currentRelativePath = "") {
29
- const entries = [];
30
- const absolutePath = currentRelativePath ? Path.join(rootPath, currentRelativePath) : rootPath;
31
- const items = await fs.readdir(absolutePath);
32
- for (const item of items){
33
- const itemRelativePath = currentRelativePath ? Path.join(currentRelativePath, item) : item;
34
- const itemAbsolutePath = Path.join(rootPath, itemRelativePath);
35
- const stat = await fs.stat(itemAbsolutePath);
36
- if (stat?.isDirectory()) {
37
- const subEntries = await Path.walkDirectory(fs, rootPath, itemRelativePath);
38
- entries.push(...subEntries);
39
- } else if (stat?.isFile()) entries.push({
40
- relativePath: Path.normalize(itemRelativePath),
41
- absolutePath: Path.normalize(itemAbsolutePath)
42
- });
43
- }
44
- return entries;
45
- }
46
- }
47
- export { Path };
@@ -1,46 +0,0 @@
1
- import { Path } from "./path.js";
2
- class TemporaryStorageService {
3
- fileSystem;
4
- _tempFolderPath = null;
5
- constructor(fileSystem){
6
- this.fileSystem = fileSystem;
7
- }
8
- async getTempFolderPath() {
9
- if (!this._tempFolderPath) {
10
- const systemTempDir = await this.fileSystem.getTempDir();
11
- const uniqueFolderName = this.generateUniqueFolderName();
12
- this._tempFolderPath = Path.join(systemTempDir, uniqueFolderName);
13
- await this.fileSystem.mkdir(this._tempFolderPath);
14
- }
15
- return this._tempFolderPath;
16
- }
17
- generateUniqueFolderName() {
18
- const timestamp = Date.now();
19
- const random = Math.random().toString(36).substring(2, 10);
20
- return `tool-temp-${timestamp}-${random}`;
21
- }
22
- async getTempSubfolderPathAsync(subfolder) {
23
- const tempFolderPath = await this.getTempFolderPath();
24
- const inputPath = Path.join(tempFolderPath, subfolder);
25
- await this.fileSystem.mkdir(inputPath);
26
- return inputPath;
27
- }
28
- async cleanup() {
29
- try {
30
- if (!this._tempFolderPath) return;
31
- try {
32
- const stats = await this.fileSystem.stat(this._tempFolderPath);
33
- if (!stats) return;
34
- } catch {
35
- return;
36
- }
37
- const pathToCleanup = this._tempFolderPath;
38
- await this.fileSystem.rm(this._tempFolderPath);
39
- this._tempFolderPath = null;
40
- console.info(`Cleaned up temp folder: ${pathToCleanup}`);
41
- } catch (error) {
42
- console.error("Error during cleanup:", error);
43
- }
44
- }
45
- }
46
- export { TemporaryStorageService };
@@ -1,41 +0,0 @@
1
- import { unzipSync, zipSync } from "fflate";
2
- import { Path } from "./path.js";
3
- class ZipService {
4
- fileSystem;
5
- constructor(fileSystem){
6
- this.fileSystem = fileSystem;
7
- }
8
- async extractAsync(zipData, targetPath) {
9
- const normalizedTarget = targetPath.replace(/\/$/, "");
10
- await this.fileSystem.mkdir(normalizedTarget);
11
- const files = unzipSync(zipData);
12
- const extractedPaths = [];
13
- for (const [relativePath, data] of Object.entries(files)){
14
- if (relativePath.endsWith("/") || 0 === data.length) {
15
- const dirPath = `${normalizedTarget}/${relativePath.replace(/\/$/, "")}`;
16
- await this.fileSystem.mkdir(dirPath);
17
- continue;
18
- }
19
- const fullPath = `${normalizedTarget}/${relativePath}`;
20
- const parentDir = fullPath.split("/").slice(0, -1).join("/");
21
- if (parentDir) await this.fileSystem.mkdir(parentDir);
22
- await this.fileSystem.writeFile(fullPath, data);
23
- extractedPaths.push(fullPath);
24
- }
25
- return extractedPaths;
26
- }
27
- async compressAsync(sourcePath) {
28
- const normalizedSource = sourcePath.replace(/\/$/, "");
29
- const entries = await Path.walkDirectory(this.fileSystem, normalizedSource);
30
- const zippable = {};
31
- for (const entry of entries){
32
- const fileData = await this.fileSystem.readFile(entry.absolutePath);
33
- if (fileData) zippable[entry.relativePath] = fileData;
34
- }
35
- const zipData = zipSync(zippable, {
36
- level: 6
37
- });
38
- return zipData;
39
- }
40
- }
41
- export { ZipService };
@@ -1,104 +0,0 @@
1
- import { isPluralForm, selectPluralForm } from "./types.js";
2
- class I18nManager {
3
- static translations = {};
4
- static currentLocale = "en";
5
- static fallbackLocale = "en";
6
- static registerTranslations(locale, catalog) {
7
- if (!I18nManager.translations[locale]) I18nManager.translations[locale] = {};
8
- I18nManager.translations[locale] = I18nManager.deepMerge(I18nManager.translations[locale], catalog);
9
- }
10
- static setLocale(locale) {
11
- const normalized = I18nManager.normalizeLocale(locale);
12
- if (I18nManager.translations[normalized]) {
13
- I18nManager.currentLocale = normalized;
14
- return normalized;
15
- }
16
- const baseLocale = normalized.split("-")[0];
17
- if (baseLocale !== normalized && I18nManager.translations[baseLocale]) {
18
- I18nManager.currentLocale = baseLocale;
19
- return baseLocale;
20
- }
21
- console.warn(`Locale '${locale}' not found in registered translations. Using current locale '${I18nManager.currentLocale}'.`);
22
- return I18nManager.currentLocale;
23
- }
24
- static getLocale() {
25
- return I18nManager.currentLocale;
26
- }
27
- static setFallbackLocale(locale) {
28
- I18nManager.fallbackLocale = I18nManager.normalizeLocale(locale);
29
- }
30
- static t(key, params, locale) {
31
- const targetLocale = locale ? I18nManager.normalizeLocale(locale) : I18nManager.currentLocale;
32
- let value = I18nManager.getTranslationValue(key, targetLocale);
33
- if (void 0 === value && targetLocale !== I18nManager.fallbackLocale) value = I18nManager.getTranslationValue(key, I18nManager.fallbackLocale);
34
- if (void 0 === value) {
35
- console.warn(`Translation not found for key '${key}' in locale '${targetLocale}'`);
36
- return key;
37
- }
38
- if (isPluralForm(value) && params && "count" in params) {
39
- const count = "number" == typeof params.count ? params.count : Number(params.count);
40
- value = selectPluralForm(value, count);
41
- } else if (isPluralForm(value)) value = value.other;
42
- if ("string" != typeof value) {
43
- console.error(`Invalid translation value for key '${key}': expected string, got ${typeof value}`);
44
- return key;
45
- }
46
- return params ? I18nManager.interpolate(value, params) : value;
47
- }
48
- static has(key, locale) {
49
- const targetLocale = locale ? I18nManager.normalizeLocale(locale) : I18nManager.currentLocale;
50
- const value = I18nManager.getTranslationValue(key, targetLocale);
51
- if (void 0 !== value) return true;
52
- if (targetLocale !== I18nManager.fallbackLocale) return void 0 !== I18nManager.getTranslationValue(key, I18nManager.fallbackLocale);
53
- return false;
54
- }
55
- static getAvailableLocales() {
56
- return Object.keys(I18nManager.translations);
57
- }
58
- static clearTranslations() {
59
- I18nManager.translations = {};
60
- I18nManager.currentLocale = "en";
61
- }
62
- static getTranslationValue(key, locale) {
63
- const catalog = I18nManager.translations[locale];
64
- if (!catalog) return;
65
- const keys = key.split(".");
66
- let value = catalog;
67
- for (const k of keys)if (!value || "object" != typeof value || !(k in value)) return;
68
- else value = value[k];
69
- return value;
70
- }
71
- static interpolate(template, params) {
72
- return template.replace(/\{(\w+)\}/g, (_, key)=>{
73
- const value = params[key];
74
- return void 0 !== value ? String(value) : `{${key}}`;
75
- });
76
- }
77
- static normalizeLocale(locale) {
78
- const normalized = locale.toLowerCase().replace(/_/g, "-");
79
- const specialLocales = [
80
- "es-mx",
81
- "pt-br",
82
- "zh-cn",
83
- "zh-tw"
84
- ];
85
- if (specialLocales.includes(normalized)) return normalized;
86
- return normalized.split("-")[0];
87
- }
88
- static deepMerge(target, source) {
89
- const result = {
90
- ...target
91
- };
92
- for (const key of Object.keys(source)){
93
- const sourceValue = source[key];
94
- const targetValue = result[key];
95
- if (sourceValue && "object" == typeof sourceValue && !Array.isArray(sourceValue) && targetValue && "object" == typeof targetValue && !Array.isArray(targetValue)) result[key] = I18nManager.deepMerge(targetValue, sourceValue);
96
- else result[key] = sourceValue;
97
- }
98
- return result;
99
- }
100
- }
101
- function translate(key, params, locale) {
102
- return I18nManager.t(key, params, locale);
103
- }
104
- export { I18nManager, translate };
@@ -1,34 +0,0 @@
1
- import { I18nManager } from "./i18n-manager.js";
2
- import { de } from "./locales/de.js";
3
- import { en } from "./locales/en.js";
4
- import { es } from "./locales/es.js";
5
- import { es_MX } from "./locales/es-MX.js";
6
- import { fr } from "./locales/fr.js";
7
- import { ja } from "./locales/ja.js";
8
- import { ko } from "./locales/ko.js";
9
- import { pt } from "./locales/pt.js";
10
- import { pt_BR } from "./locales/pt-BR.js";
11
- import { ro } from "./locales/ro.js";
12
- import { ru } from "./locales/ru.js";
13
- import { tr } from "./locales/tr.js";
14
- import { zh_CN } from "./locales/zh-CN.js";
15
- import { zh_TW } from "./locales/zh-TW.js";
16
- import { zu } from "./locales/zu.js";
17
- I18nManager.registerTranslations("en", en);
18
- I18nManager.registerTranslations("de", de);
19
- I18nManager.registerTranslations("es", es);
20
- I18nManager.registerTranslations("es-mx", es_MX);
21
- I18nManager.registerTranslations("fr", fr);
22
- I18nManager.registerTranslations("ja", ja);
23
- I18nManager.registerTranslations("ko", ko);
24
- I18nManager.registerTranslations("pt", pt);
25
- I18nManager.registerTranslations("pt-br", pt_BR);
26
- I18nManager.registerTranslations("ro", ro);
27
- I18nManager.registerTranslations("ru", ru);
28
- I18nManager.registerTranslations("tr", tr);
29
- I18nManager.registerTranslations("zh-cn", zh_CN);
30
- I18nManager.registerTranslations("zh-tw", zh_TW);
31
- I18nManager.registerTranslations("zu", zu);
32
- I18nManager.setLocale("en");
33
- export { TranslationService, translate } from "./translation-service.js";
34
- export { I18nManager };
@@ -1,38 +0,0 @@
1
- const de = {
2
- toolCore: {
3
- errors: {
4
- internal: "Internal error: {message}",
5
- fileNotFound: "File not found: {path}",
6
- fileReadFailed: "Failed to read file: {path}",
7
- fileWriteFailed: "Failed to write file: {path}",
8
- directoryNotFound: "Directory not found: {path}",
9
- invalidPath: "{path} is not a valid path",
10
- operationCanceled: "Operation was canceled",
11
- invalidParameter: "Invalid parameter: {parameter}"
12
- },
13
- progress: {
14
- copying: "Copying files...",
15
- building: "Building project...",
16
- packaging: "Creating package...",
17
- validating: "Validating...",
18
- analyzing: "Analyzing...",
19
- restoring: "Restoring dependencies..."
20
- },
21
- validation: {
22
- requiredField: "{field} is required",
23
- invalidValue: "Invalid value for {field}",
24
- pathNotFound: "Path not found: {path}",
25
- fileRequired: "File is required: {path}",
26
- directoryRequired: "Directory is required: {path}"
27
- },
28
- info: {
29
- operationComplete: "Operation completed successfully",
30
- filesProcessed: {
31
- zero: "No files processed",
32
- one: "{count} file processed",
33
- other: "{count} files processed"
34
- }
35
- }
36
- }
37
- };
38
- export { de };
@@ -1,38 +0,0 @@
1
- const en = {
2
- toolCore: {
3
- errors: {
4
- internal: "Internal error: {message}",
5
- fileNotFound: "File not found: {path}",
6
- fileReadFailed: "Failed to read file: {path}",
7
- fileWriteFailed: "Failed to write file: {path}",
8
- directoryNotFound: "Directory not found: {path}",
9
- invalidPath: "{path} is not a valid path",
10
- operationCanceled: "Operation was canceled",
11
- invalidParameter: "Invalid parameter: {parameter}"
12
- },
13
- progress: {
14
- copying: "Copying files...",
15
- building: "Building project...",
16
- packaging: "Creating package...",
17
- validating: "Validating...",
18
- analyzing: "Analyzing...",
19
- restoring: "Restoring dependencies..."
20
- },
21
- validation: {
22
- requiredField: "{field} is required",
23
- invalidValue: "Invalid value for {field}",
24
- pathNotFound: "Path not found: {path}",
25
- fileRequired: "File is required: {path}",
26
- directoryRequired: "Directory is required: {path}"
27
- },
28
- info: {
29
- operationComplete: "Operation completed successfully",
30
- filesProcessed: {
31
- zero: "No files processed",
32
- one: "{count} file processed",
33
- other: "{count} files processed"
34
- }
35
- }
36
- }
37
- };
38
- export { en };
@@ -1,38 +0,0 @@
1
- const es_MX = {
2
- toolCore: {
3
- errors: {
4
- internal: "Internal error: {message}",
5
- fileNotFound: "File not found: {path}",
6
- fileReadFailed: "Failed to read file: {path}",
7
- fileWriteFailed: "Failed to write file: {path}",
8
- directoryNotFound: "Directory not found: {path}",
9
- invalidPath: "{path} is not a valid path",
10
- operationCanceled: "Operation was canceled",
11
- invalidParameter: "Invalid parameter: {parameter}"
12
- },
13
- progress: {
14
- copying: "Copying files...",
15
- building: "Building project...",
16
- packaging: "Creating package...",
17
- validating: "Validating...",
18
- analyzing: "Analyzing...",
19
- restoring: "Restoring dependencies..."
20
- },
21
- validation: {
22
- requiredField: "{field} is required",
23
- invalidValue: "Invalid value for {field}",
24
- pathNotFound: "Path not found: {path}",
25
- fileRequired: "File is required: {path}",
26
- directoryRequired: "Directory is required: {path}"
27
- },
28
- info: {
29
- operationComplete: "Operation completed successfully",
30
- filesProcessed: {
31
- zero: "No files processed",
32
- one: "{count} file processed",
33
- other: "{count} files processed"
34
- }
35
- }
36
- }
37
- };
38
- export { es_MX };
@@ -1,38 +0,0 @@
1
- const es = {
2
- toolCore: {
3
- errors: {
4
- internal: "Internal error: {message}",
5
- fileNotFound: "File not found: {path}",
6
- fileReadFailed: "Failed to read file: {path}",
7
- fileWriteFailed: "Failed to write file: {path}",
8
- directoryNotFound: "Directory not found: {path}",
9
- invalidPath: "{path} is not a valid path",
10
- operationCanceled: "Operation was canceled",
11
- invalidParameter: "Invalid parameter: {parameter}"
12
- },
13
- progress: {
14
- copying: "Copying files...",
15
- building: "Building project...",
16
- packaging: "Creating package...",
17
- validating: "Validating...",
18
- analyzing: "Analyzing...",
19
- restoring: "Restoring dependencies..."
20
- },
21
- validation: {
22
- requiredField: "{field} is required",
23
- invalidValue: "Invalid value for {field}",
24
- pathNotFound: "Path not found: {path}",
25
- fileRequired: "File is required: {path}",
26
- directoryRequired: "Directory is required: {path}"
27
- },
28
- info: {
29
- operationComplete: "Operation completed successfully",
30
- filesProcessed: {
31
- zero: "No files processed",
32
- one: "{count} file processed",
33
- other: "{count} files processed"
34
- }
35
- }
36
- }
37
- };
38
- export { es };
@@ -1,38 +0,0 @@
1
- const fr = {
2
- toolCore: {
3
- errors: {
4
- internal: "Internal error: {message}",
5
- fileNotFound: "File not found: {path}",
6
- fileReadFailed: "Failed to read file: {path}",
7
- fileWriteFailed: "Failed to write file: {path}",
8
- directoryNotFound: "Directory not found: {path}",
9
- invalidPath: "{path} is not a valid path",
10
- operationCanceled: "Operation was canceled",
11
- invalidParameter: "Invalid parameter: {parameter}"
12
- },
13
- progress: {
14
- copying: "Copying files...",
15
- building: "Building project...",
16
- packaging: "Creating package...",
17
- validating: "Validating...",
18
- analyzing: "Analyzing...",
19
- restoring: "Restoring dependencies..."
20
- },
21
- validation: {
22
- requiredField: "{field} is required",
23
- invalidValue: "Invalid value for {field}",
24
- pathNotFound: "Path not found: {path}",
25
- fileRequired: "File is required: {path}",
26
- directoryRequired: "Directory is required: {path}"
27
- },
28
- info: {
29
- operationComplete: "Operation completed successfully",
30
- filesProcessed: {
31
- zero: "No files processed",
32
- one: "{count} file processed",
33
- other: "{count} files processed"
34
- }
35
- }
36
- }
37
- };
38
- export { fr };
@@ -1,38 +0,0 @@
1
- const ja = {
2
- toolCore: {
3
- errors: {
4
- internal: "Internal error: {message}",
5
- fileNotFound: "File not found: {path}",
6
- fileReadFailed: "Failed to read file: {path}",
7
- fileWriteFailed: "Failed to write file: {path}",
8
- directoryNotFound: "Directory not found: {path}",
9
- invalidPath: "{path} is not a valid path",
10
- operationCanceled: "Operation was canceled",
11
- invalidParameter: "Invalid parameter: {parameter}"
12
- },
13
- progress: {
14
- copying: "Copying files...",
15
- building: "Building project...",
16
- packaging: "Creating package...",
17
- validating: "Validating...",
18
- analyzing: "Analyzing...",
19
- restoring: "Restoring dependencies..."
20
- },
21
- validation: {
22
- requiredField: "{field} is required",
23
- invalidValue: "Invalid value for {field}",
24
- pathNotFound: "Path not found: {path}",
25
- fileRequired: "File is required: {path}",
26
- directoryRequired: "Directory is required: {path}"
27
- },
28
- info: {
29
- operationComplete: "Operation completed successfully",
30
- filesProcessed: {
31
- zero: "No files processed",
32
- one: "{count} file processed",
33
- other: "{count} files processed"
34
- }
35
- }
36
- }
37
- };
38
- export { ja };