@breadstone-tools/markdowner-app 0.0.221 → 0.0.223
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/Run.d.ts.map +1 -1
- package/Run.js +4 -4
- package/Run.js.map +1 -1
- package/package.json +3 -3
package/Run.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Run.d.ts","sourceRoot":"","sources":["../src/Run.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Run.d.ts","sourceRoot":"","sources":["../src/Run.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,KAAK,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAIvF,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAqED;;GAEG;AACH,wBAAgB,GAAG,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAG3D"}
|
package/Run.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// #region Imports
|
|
2
|
-
import { MarkdownProcessor } from '@breadstone-tools/markdowner-core';
|
|
3
2
|
import { File, Path } from '@breadstone-infrastructure/utilities';
|
|
3
|
+
import { MarkdownProcessor } from '@breadstone-tools/markdowner-core';
|
|
4
4
|
/**
|
|
5
5
|
* Handles the Markdown transformation workflow for the Markdowner tool.
|
|
6
6
|
*/
|
|
@@ -33,10 +33,10 @@ class RunExecutor {
|
|
|
33
33
|
/**
|
|
34
34
|
* Executes the Markdown processing pipeline.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
execute() {
|
|
37
37
|
const files = File.glob(this._config.files);
|
|
38
38
|
files.forEach((filePath) => this.processFile(filePath));
|
|
39
|
-
return this._result;
|
|
39
|
+
return Promise.resolve(this._result);
|
|
40
40
|
}
|
|
41
41
|
processFile(filePath) {
|
|
42
42
|
const content = File.readAllText(filePath);
|
|
@@ -52,7 +52,7 @@ class RunExecutor {
|
|
|
52
52
|
/**
|
|
53
53
|
* Executes the Markdowner workflow with the given configuration.
|
|
54
54
|
*/
|
|
55
|
-
export
|
|
55
|
+
export function run(config) {
|
|
56
56
|
const executor = new RunExecutor(config);
|
|
57
57
|
return executor.execute();
|
|
58
58
|
}
|
package/Run.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Run.js","sourceRoot":"","sources":["../src/Run.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Run.js","sourceRoot":"","sources":["../src/Run.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAmB,MAAM,mCAAmC,CAAC;AAgBvF;;GAEG;AACH,MAAM,WAAW;IAEb,iBAAiB;IAEA,OAAO,CAAa;IACpB,kBAAkB,CAAoB;IACtC,OAAO,CAAa;IAErC,aAAa;IAEb,qBAAqB;IAErB,IAAY,QAAQ;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,KAAK,CAAC;IACxC,CAAC;IAED,aAAa;IAEb,eAAe;IAEf;;;;OAIG;IACH,YAAmB,MAAkB;QACjC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,kBAAkB,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACnE,IAAI,CAAC,OAAO,GAAG;YACX,KAAK,EAAE,EAAE;SACZ,CAAC;IACN,CAAC;IAED,aAAa;IAEb,kBAAkB;IAElB;;OAEG;IACI,OAAO;QACV,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC5C,KAAK,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAExD,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;IAEO,WAAW,CAAC,QAAgB;QAChC,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAC3C,MAAM,iBAAiB,GAAG,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAEnE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChB,OAAO;QACX,CAAC;QAED,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAC3D,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;CAIJ;AAED;;GAEG;AACH,MAAM,UAAU,GAAG,CAAC,MAAkB;IAClC,MAAM,QAAQ,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IACzC,OAAO,QAAQ,CAAC,OAAO,EAAE,CAAC;AAC9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone-tools/markdowner-app",
|
|
3
3
|
"description": "Markdowner cli",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.223",
|
|
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.
|
|
17
|
-
"@breadstone-tools/markdowner-core": "^0.0.
|
|
16
|
+
"@breadstone-infrastructure/utilities": "^0.0.223",
|
|
17
|
+
"@breadstone-tools/markdowner-core": "^0.0.223"
|
|
18
18
|
}
|
|
19
19
|
}
|