@breadstone-tools/localizator-core 0.0.81 → 0.0.83
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/CHANGELOG.md +22 -0
- package/Detectors/Utils.d.ts +8 -8
- package/Detectors/Utils.js +8 -8
- package/Resources/Readers/Adapter/Interfaces/IResourceReaderAdapter.d.ts +2 -2
- package/Resources/Readers/Adapter/Interfaces/IResourceReaderAdapter.d.ts.map +1 -1
- package/Resources/Readers/Adapter/JsonResourceReaderAdapter.d.ts +2 -2
- package/Resources/Readers/Adapter/JsonResourceReaderAdapter.d.ts.map +1 -1
- package/Resources/Readers/Adapter/JsonResourceReaderAdapter.js +28 -30
- package/Resources/Readers/Adapter/JsonResourceReaderAdapter.js.map +1 -1
- package/Resources/Readers/Adapter/ResxResourceReaderAdapter.d.ts +3 -3
- package/Resources/Readers/Adapter/ResxResourceReaderAdapter.d.ts.map +1 -1
- package/Resources/Readers/Adapter/ResxResourceReaderAdapter.js +29 -31
- package/Resources/Readers/Adapter/ResxResourceReaderAdapter.js.map +1 -1
- package/Resources/Readers/ResourceReader.d.ts +2 -2
- package/Resources/Readers/ResourceReader.d.ts.map +1 -1
- package/Resources/Readers/ResourceReader.js +1 -1
- package/Resources/Readers/ResourceReader.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## 0.0.81 (2025-07-30)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- update release version to 0.0.80 in package.json ([96a94fca93](https://github.com/RueDeRennes/mosaik/commit/96a94fca93))
|
|
6
|
+
|
|
7
|
+
## 0.0.80 (2025-07-30)
|
|
8
|
+
|
|
9
|
+
This was a version bump only for localizator-core to align it with other projects, there were no code changes.
|
|
10
|
+
|
|
11
|
+
## 0.0.79 (2025-07-30)
|
|
12
|
+
|
|
13
|
+
### 🚀 Features
|
|
14
|
+
|
|
15
|
+
- Implement SandboxProjectFactory and SandboxProjectTemplateEngine ([3300298aec](https://github.com/RueDeRennes/mosaik/commit/3300298aec))
|
|
16
|
+
- add YAML code generation and update chat mode configuration ([9fe1bb330c](https://github.com/RueDeRennes/mosaik/commit/9fe1bb330c))
|
|
17
|
+
- Enhance Landing and App View Components ([459cb772ed](https://github.com/RueDeRennes/mosaik/commit/459cb772ed))
|
|
18
|
+
|
|
19
|
+
### 🩹 Fixes
|
|
20
|
+
|
|
21
|
+
- correct spelling of 'initialize' in various files and update related interfaces ([3c70f28918](https://github.com/RueDeRennes/mosaik/commit/3c70f28918))
|
|
22
|
+
|
|
1
23
|
## 0.0.78 (2025-07-20)
|
|
2
24
|
|
|
3
25
|
### 🚀 Features
|
package/Detectors/Utils.d.ts
CHANGED
|
@@ -24,17 +24,17 @@ export declare function escapeRegExp(value: string): string;
|
|
|
24
24
|
* const isValid = isResourceKey("loc.this.is.a.key", "loc.");
|
|
25
25
|
* console.log(isValid); // true
|
|
26
26
|
*
|
|
27
|
-
* const
|
|
28
|
-
* console.log(
|
|
27
|
+
* const isValid = isResourceKey("this.is.a.key", "loc.");
|
|
28
|
+
* console.log(isValid); // false
|
|
29
29
|
*
|
|
30
|
-
* const
|
|
31
|
-
* console.log(
|
|
30
|
+
* const isValid = isResourceKey("loc.this.is.a.key", "loc.", ".value");
|
|
31
|
+
* console.log(isValid); // false
|
|
32
32
|
*
|
|
33
|
-
* const
|
|
34
|
-
* console.log(
|
|
33
|
+
* const isValid = isResourceKey("this is invalid", "loc.");
|
|
34
|
+
* console.log(isValid); // false
|
|
35
35
|
*
|
|
36
|
-
* const
|
|
37
|
-
* console.log(
|
|
36
|
+
* const isValid = isResourceKey("a.valid.key");
|
|
37
|
+
* console.log(isValid); // true
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
40
|
export declare function isResourceKey(key: string, prefix?: string, suffix?: string): boolean;
|
package/Detectors/Utils.js
CHANGED
|
@@ -30,17 +30,17 @@ function escapeRegExp(value) {
|
|
|
30
30
|
* const isValid = isResourceKey("loc.this.is.a.key", "loc.");
|
|
31
31
|
* console.log(isValid); // true
|
|
32
32
|
*
|
|
33
|
-
* const
|
|
34
|
-
* console.log(
|
|
33
|
+
* const isValid = isResourceKey("this.is.a.key", "loc.");
|
|
34
|
+
* console.log(isValid); // false
|
|
35
35
|
*
|
|
36
|
-
* const
|
|
37
|
-
* console.log(
|
|
36
|
+
* const isValid = isResourceKey("loc.this.is.a.key", "loc.", ".value");
|
|
37
|
+
* console.log(isValid); // false
|
|
38
38
|
*
|
|
39
|
-
* const
|
|
40
|
-
* console.log(
|
|
39
|
+
* const isValid = isResourceKey("this is invalid", "loc.");
|
|
40
|
+
* console.log(isValid); // false
|
|
41
41
|
*
|
|
42
|
-
* const
|
|
43
|
-
* console.log(
|
|
42
|
+
* const isValid = isResourceKey("a.valid.key");
|
|
43
|
+
* console.log(isValid); // true
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
function isResourceKey(key, prefix, suffix) {
|
|
@@ -10,10 +10,10 @@ export interface IResourceReaderAdapter {
|
|
|
10
10
|
* Scans the specified directory for resource files and returns an array of resource information.
|
|
11
11
|
*
|
|
12
12
|
* @public
|
|
13
|
-
* @param path - The path to scan.
|
|
13
|
+
* @param path - The path or paths to scan.
|
|
14
14
|
* @returns The resource information.
|
|
15
15
|
*/
|
|
16
|
-
scanDirectory(path: string): Array<IResourceInfo>;
|
|
16
|
+
scanDirectory(path: string | Array<string>): Array<IResourceInfo>;
|
|
17
17
|
/**
|
|
18
18
|
* Scans a specific file for resource information.
|
|
19
19
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IResourceReaderAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/Resources/Readers/Adapter/Interfaces/IResourceReaderAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAI9E;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IAInC;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"IResourceReaderAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/Resources/Readers/Adapter/Interfaces/IResourceReaderAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAI9E;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IAInC;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;IAElE;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAAC;CAIhD"}
|
|
@@ -20,10 +20,10 @@ export declare class JsonResourceReaderAdapter implements IResourceReaderAdapter
|
|
|
20
20
|
* Scans the specified directory for .json files.
|
|
21
21
|
*
|
|
22
22
|
* @public
|
|
23
|
-
* @param path - The
|
|
23
|
+
* @param path - The path or paths to scan.
|
|
24
24
|
* @returns The resource information.
|
|
25
25
|
*/
|
|
26
|
-
scanDirectory(path: string): Array<IJsonResourceInfo>;
|
|
26
|
+
scanDirectory(path: string | Array<string>): Array<IJsonResourceInfo>;
|
|
27
27
|
/**
|
|
28
28
|
* Scans a specific file for resource information.
|
|
29
29
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonResourceReaderAdapter.d.ts","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/JsonResourceReaderAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAoB,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAMxG;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,sBAAsB;IAIpE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAM/B;;;;OAIG;gBACgB,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO;IAU3D;;;;;;OAMG;IACI,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"JsonResourceReaderAdapter.d.ts","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/JsonResourceReaderAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAoB,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAMxG;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,sBAAsB;IAIpE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAM/B;;;;OAIG;gBACgB,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO;IAU3D;;;;;;OAMG;IACI,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAuB5E;;;;;;OAMG;IACI,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI;IAqBvD;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAoB3B;;OAEG;IACH,OAAO,CAAC,cAAc;CAoBzB"}
|
|
@@ -34,29 +34,25 @@ class JsonResourceReaderAdapter {
|
|
|
34
34
|
* Scans the specified directory for .json files.
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
37
|
-
* @param path - The
|
|
37
|
+
* @param path - The path or paths to scan.
|
|
38
38
|
* @returns The resource information.
|
|
39
39
|
*/
|
|
40
40
|
scanDirectory(path) {
|
|
41
41
|
this.invalidateDirectory(path);
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
locale: this._fileSystem.fileGetLocale(scan.file),
|
|
57
|
-
name: this._fileSystem.pathGetFileName(scan.file),
|
|
58
|
-
path: scan.file
|
|
59
|
-
}));
|
|
42
|
+
const result = new Array();
|
|
43
|
+
const paths = Array.isArray(path) ? path : [path];
|
|
44
|
+
for (const p of paths) {
|
|
45
|
+
const globPath = utilities_1.Path.combine(p, this._glob);
|
|
46
|
+
this._logger.info(` Scanning ${(0, utilities_1.gray)(globPath)}`);
|
|
47
|
+
const files = this._fileSystem.fileGlob(globPath);
|
|
48
|
+
for (const file of files) {
|
|
49
|
+
const resourceInfo = this.scanFile(file);
|
|
50
|
+
if (resourceInfo) {
|
|
51
|
+
result.push(resourceInfo);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return result;
|
|
60
56
|
}
|
|
61
57
|
/**
|
|
62
58
|
* Scans a specific file for resource information.
|
|
@@ -85,17 +81,19 @@ class JsonResourceReaderAdapter {
|
|
|
85
81
|
* @private
|
|
86
82
|
*/
|
|
87
83
|
invalidateDirectory(path) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
84
|
+
for (const p of Array.isArray(path) ? path : [path]) {
|
|
85
|
+
if (this._fileSystem.isFileOrDirectory(p) !== 'directory') {
|
|
86
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} is not a valid directory.`);
|
|
87
|
+
}
|
|
88
|
+
if (!this._fileSystem.fileExists(p)) {
|
|
89
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} does not exist.`);
|
|
90
|
+
}
|
|
91
|
+
if (this._fileSystem.fileGlob(p).length === 0) {
|
|
92
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} is empty or does not contain any files.`);
|
|
93
|
+
}
|
|
94
|
+
if (p.endsWith(this._glob)) {
|
|
95
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} should not end with ${(0, utilities_1.gray)(this._glob)}.`);
|
|
96
|
+
}
|
|
99
97
|
}
|
|
100
98
|
}
|
|
101
99
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonResourceReaderAdapter.js","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/JsonResourceReaderAdapter.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;AAIlB,oEAAwG;AACxG,oEAAiE;AACjE,uEAAoE;AAEpE,aAAa;AAEb;;;;GAIG;AACH,MAAa,yBAAyB;IAElC,iBAAiB;IAEA,WAAW,CAAc;IACzB,OAAO,CAAU;IACjB,KAAK,CAAS;IAE/B,aAAa;IAEb,eAAe;IAEf;;;;OAIG;IACH,YAAmB,UAAuB,EAAE,MAAe;QACvD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC;IAC7B,CAAC;IAED,aAAa;IAEb,kBAAkB;IAElB;;;;;;OAMG;IACI,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"JsonResourceReaderAdapter.js","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/JsonResourceReaderAdapter.ts"],"names":[],"mappings":";AAAA,k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AAK,CAAC,YAAY,IAAA,gBAAI,EAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;QAC1E,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;CAIJ;AAnID,8DAmIC"}
|
|
@@ -17,13 +17,13 @@ export declare class ResxResourceReaderAdapter implements IResourceReaderAdapter
|
|
|
17
17
|
*/
|
|
18
18
|
constructor(fileSystem: IFileSystem, logger: ILogger);
|
|
19
19
|
/**
|
|
20
|
-
* Scans the specified directory for .
|
|
20
|
+
* Scans the specified directory for .json files.
|
|
21
21
|
*
|
|
22
22
|
* @public
|
|
23
|
-
* @param path - The
|
|
23
|
+
* @param path - The path or paths to scan.
|
|
24
24
|
* @returns The resource information.
|
|
25
25
|
*/
|
|
26
|
-
scanDirectory(path: string): Array<IResxResourceInfo>;
|
|
26
|
+
scanDirectory(path: string | Array<string>): Array<IResxResourceInfo>;
|
|
27
27
|
/**
|
|
28
28
|
* Scans a specific file for resource information.
|
|
29
29
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResxResourceReaderAdapter.d.ts","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/ResxResourceReaderAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAoB,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAMxG;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,sBAAsB;IAIpE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAM/B;;;;OAIG;gBACgB,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO;IAU3D;;;;;;OAMG;IACI,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"ResxResourceReaderAdapter.d.ts","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/ResxResourceReaderAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAoB,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAMxG;;;;GAIG;AACH,qBAAa,yBAA0B,YAAW,sBAAsB;IAIpE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAM/B;;;;OAIG;gBACgB,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO;IAU3D;;;;;;OAMG;IACI,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAuB5E;;;;;;OAMG;IACI,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI;IAqBvD;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAoB3B;;OAEG;IACH,OAAO,CAAC,cAAc;CAoBzB"}
|
|
@@ -31,32 +31,28 @@ class ResxResourceReaderAdapter {
|
|
|
31
31
|
// #endregion
|
|
32
32
|
// #region Methods
|
|
33
33
|
/**
|
|
34
|
-
* Scans the specified directory for .
|
|
34
|
+
* Scans the specified directory for .json files.
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
37
|
-
* @param path - The
|
|
37
|
+
* @param path - The path or paths to scan.
|
|
38
38
|
* @returns The resource information.
|
|
39
39
|
*/
|
|
40
40
|
scanDirectory(path) {
|
|
41
41
|
this.invalidateDirectory(path);
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
locale: this._fileSystem.fileGetLocale(scan.file),
|
|
57
|
-
name: this._fileSystem.pathGetFileName(scan.file),
|
|
58
|
-
path: scan.file
|
|
59
|
-
}));
|
|
42
|
+
const result = new Array();
|
|
43
|
+
const paths = Array.isArray(path) ? path : [path];
|
|
44
|
+
for (const p of paths) {
|
|
45
|
+
const globPath = utilities_1.Path.combine(p, this._glob);
|
|
46
|
+
this._logger.info(` Scanning ${(0, utilities_1.gray)(globPath)}`);
|
|
47
|
+
const files = this._fileSystem.fileGlob(globPath);
|
|
48
|
+
for (const file of files) {
|
|
49
|
+
const resourceInfo = this.scanFile(file);
|
|
50
|
+
if (resourceInfo) {
|
|
51
|
+
result.push(resourceInfo);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return result;
|
|
60
56
|
}
|
|
61
57
|
/**
|
|
62
58
|
* Scans a specific file for resource information.
|
|
@@ -85,17 +81,19 @@ class ResxResourceReaderAdapter {
|
|
|
85
81
|
* @private
|
|
86
82
|
*/
|
|
87
83
|
invalidateDirectory(path) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
84
|
+
for (const p of Array.isArray(path) ? path : [path]) {
|
|
85
|
+
if (this._fileSystem.isFileOrDirectory(p) !== 'directory') {
|
|
86
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} is not a valid directory.`);
|
|
87
|
+
}
|
|
88
|
+
if (!this._fileSystem.fileExists(p)) {
|
|
89
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} does not exist.`);
|
|
90
|
+
}
|
|
91
|
+
if (this._fileSystem.fileGlob(p).length === 0) {
|
|
92
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} is empty or does not contain any files.`);
|
|
93
|
+
}
|
|
94
|
+
if (p.endsWith(this._glob)) {
|
|
95
|
+
throw new Error(`The path ${(0, utilities_1.gray)(p)} should not end with ${(0, utilities_1.gray)(this._glob)}.`);
|
|
96
|
+
}
|
|
99
97
|
}
|
|
100
98
|
}
|
|
101
99
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResxResourceReaderAdapter.js","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/ResxResourceReaderAdapter.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;AAIlB,oEAAwG;AACxG,oEAAiE;AACjE,uEAAoE;AAEpE,aAAa;AAEb;;;;GAIG;AACH,MAAa,yBAAyB;IAElC,iBAAiB;IAEA,WAAW,CAAc;IACzB,OAAO,CAAU;IACjB,KAAK,CAAS;IAE/B,aAAa;IAEb,eAAe;IAEf;;;;OAIG;IACH,YAAmB,UAAuB,EAAE,MAAe;QACvD,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,KAAK,GAAG,WAAW,CAAC;IAC7B,CAAC;IAED,aAAa;IAEb,kBAAkB;IAElB;;;;;;OAMG;IACI,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"ResxResourceReaderAdapter.js","sourceRoot":"","sources":["../../../../src/Resources/Readers/Adapter/ResxResourceReaderAdapter.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;AAIlB,oEAAwG;AACxG,oEAAiE;AACjE,uEAAoE;AAEpE,aAAa;AAEb;;;;GAIG;AACH,MAAa,yBAAyB;I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AAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;CAIJ;AAnID,8DAmIC"}
|
|
@@ -23,11 +23,11 @@ export declare class ResourceReader {
|
|
|
23
23
|
* Scans a directory for resources of the given type.
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
|
-
* @param path - The path to scan.
|
|
26
|
+
* @param path - The path or paths to scan.
|
|
27
27
|
* @param type - The type of resource to scan for.
|
|
28
28
|
* @returns An array of resource information found in the directory.
|
|
29
29
|
*/
|
|
30
|
-
scanDirectory(path: string
|
|
30
|
+
scanDirectory(path: string | Array<string>, type: ResourceMode): Array<IResourceInfo>;
|
|
31
31
|
/**
|
|
32
32
|
* Scans a specific file for resources of the given type.
|
|
33
33
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceReader.d.ts","sourceRoot":"","sources":["../../../src/Resources/Readers/ResourceReader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAQ,KAAK,WAAW,EAAE,KAAK,OAAO,EAAsB,MAAM,sCAAsC,CAAC;AAIhH;;;;;GAKG;AACH,qBAAa,cAAc;IAIvB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA4C;IAMtE;;;;;;OAMG;gBACgB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW;IAY3D;;;;;;;OAOG;IACI,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ResourceReader.d.ts","sourceRoot":"","sources":["../../../src/Resources/Readers/ResourceReader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAQ,KAAK,WAAW,EAAE,KAAK,OAAO,EAAsB,MAAM,sCAAsC,CAAC;AAIhH;;;;;GAKG;AACH,qBAAa,cAAc;IAIvB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA4C;IAMtE;;;;;;OAMG;gBACgB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW;IAY3D;;;;;;;OAOG;IACI,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC;IAgB5F;;;;;;;OAOG;IACI,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,aAAa,GAAG,IAAI;CAkB1E"}
|
|
@@ -40,7 +40,7 @@ class ResourceReader {
|
|
|
40
40
|
* Scans a directory for resources of the given type.
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
|
-
* @param path - The path to scan.
|
|
43
|
+
* @param path - The path or paths to scan.
|
|
44
44
|
* @param type - The type of resource to scan for.
|
|
45
45
|
* @returns An array of resource information found in the directory.
|
|
46
46
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceReader.js","sourceRoot":"","sources":["../../../src/Resources/Readers/ResourceReader.ts"],"names":[],"mappings":";AAAA,kBAAkB;;;AAGlB,mFAAgF;AAEhF,kDAA+C;AAC/C,mFAAgF;AAChF,oEAAgH;AAEhH,aAAa;AAEb;;;;;GAKG;AACH,MAAa,cAAc;IAEvB,iBAAiB;IAEA,WAAW,CAAc;IACzB,OAAO,CAAU;IACjB,SAAS,CAA4C;IAEtE,aAAa;IAEb,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AC;QAEtC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,aAAC,EAAA,GAAG,IAAA,mBAAO,EAAC,qBAAqB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAA,kBAAM,EAAC,qBAAqB,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QAEpG,OAAO,MAAM,CAAC;IAClB,CAAC;CAIJ;AAjFD,wCAiFC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone-tools/localizator-core",
|
|
3
3
|
"description": "Localizator core library",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.83",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
7
7
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"module": "./Index.js",
|
|
14
14
|
"types": "./Index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@breadstone-infrastructure/utilities": "^0.0.
|
|
16
|
+
"@breadstone-infrastructure/utilities": "^0.0.83",
|
|
17
17
|
"cheerio": "^1.1.2"
|
|
18
18
|
}
|
|
19
19
|
}
|