@thi.ng/transclude 0.1.44 → 0.1.47

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-10-23T07:37:37Z
3
+ - **Last updated**: 2023-11-09T10:28:19Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [0.1.46](https://github.com/thi-ng/umbrella/tree/@thi.ng/transclude@0.1.46) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages T-Z) ([020ef6c](https://github.com/thi-ng/umbrella/commit/020ef6c))
17
+
12
18
  ### [0.1.22](https://github.com/thi-ng/umbrella/tree/@thi.ng/transclude@0.1.22) (2023-08-04)
13
19
 
14
20
  #### ♻️ Refactoring
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transclude",
3
- "version": "0.1.44",
3
+ "version": "0.1.47",
4
4
  "description": "Extensible functional template engine for text document generation, incl. various high-level Markdown features",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,25 +28,24 @@
28
28
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc tpl",
29
29
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
30
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && tools:readme",
32
- "doc:stats": "tools:module-stats",
31
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
33
32
  "pub": "yarn npm publish --access public",
34
33
  "test": "testament test"
35
34
  },
36
35
  "dependencies": {
37
- "@thi.ng/api": "^8.9.6",
38
- "@thi.ng/checks": "^3.4.6",
39
- "@thi.ng/file-io": "^0.5.27",
40
- "@thi.ng/logger": "^1.4.22",
41
- "@thi.ng/strings": "^3.6.3",
42
- "@thi.ng/transducers": "^8.8.7"
36
+ "@thi.ng/api": "^8.9.8",
37
+ "@thi.ng/checks": "^3.4.8",
38
+ "@thi.ng/file-io": "^1.0.1",
39
+ "@thi.ng/logger": "^1.4.24",
40
+ "@thi.ng/strings": "^3.6.6",
41
+ "@thi.ng/transducers": "^8.8.10"
43
42
  },
44
43
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.38.0",
46
- "@thi.ng/testament": "^0.3.24",
44
+ "@microsoft/api-extractor": "^7.38.2",
45
+ "@thi.ng/testament": "^0.4.1",
47
46
  "rimraf": "^5.0.5",
48
47
  "tools": "^0.0.1",
49
- "typedoc": "^0.25.2",
48
+ "typedoc": "^0.25.3",
50
49
  "typescript": "^5.2.2"
51
50
  },
52
51
  "keywords": [
@@ -109,5 +108,5 @@
109
108
  "status": "alpha",
110
109
  "year": 2022
111
110
  },
112
- "gitHead": "bfa16829786146bd24df3cdbd44649a45a603e44\n"
111
+ "gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
113
112
  }
package/transclude.d.ts CHANGED
@@ -1,25 +1,7 @@
1
1
  import type { SomeRequired } from "@thi.ng/api";
2
2
  import type { TranscludeCtx } from "./api.js";
3
3
  type Mandatory = "src" | "templates" | "user";
4
- export declare const transclude: <T>(ctx: SomeRequired<TranscludeCtx<T>, Mandatory>, path: string) => {
5
- match: RegExp;
6
- pre: import("./api.js").TemplateFn<T>[];
7
- logger: import("@thi.ng/logger").ILogger;
8
- post: import("./api.js").TemplateFn<T>[];
9
- eol: string;
10
- user: T;
11
- src: string;
12
- templates: import("@thi.ng/api").IObjectOf<string | import("./api.js").TemplateFn<T>>;
13
- };
14
- export declare const transcludeFile: <T>(path: string, ctx: SomeRequired<TranscludeCtx<T>, "user" | "templates">) => {
15
- match: RegExp;
16
- pre: import("./api.js").TemplateFn<T>[];
17
- logger: import("@thi.ng/logger").ILogger;
18
- post: import("./api.js").TemplateFn<T>[];
19
- eol: string;
20
- user: T;
21
- src: string;
22
- templates: import("@thi.ng/api").IObjectOf<string | import("./api.js").TemplateFn<T>>;
23
- };
4
+ export declare const transclude: <T>(ctx: SomeRequired<TranscludeCtx<T>, Mandatory>, path: string) => TranscludeCtx<T>;
5
+ export declare const transcludeFile: <T>(path: string, ctx: SomeRequired<TranscludeCtx<T>, "user" | "templates">) => TranscludeCtx<T>;
24
6
  export {};
25
7
  //# sourceMappingURL=transclude.d.ts.map