@ctcstack/ctcdocs-core 0.21.3 → 0.21.4
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.
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The version of the text `publishedMarkdownBody` writes. It moves whenever
|
|
3
|
+
* that text changes for the same page, as when 0.21.0 wrote tables without
|
|
4
|
+
* padding and split long ones (ADR-046), so a length the sync measured with
|
|
5
|
+
* an earlier version is known to describe other text (ADR-043).
|
|
6
|
+
*/
|
|
7
|
+
export declare const PUBLISHED_MARKDOWN_VERSION = 2;
|
|
1
8
|
export interface PublishedMarkdownInput {
|
|
2
9
|
title: string;
|
|
3
10
|
/**
|
|
@@ -18,6 +18,13 @@ const processor = unified()
|
|
|
18
18
|
listItemIndent: 'one',
|
|
19
19
|
strong: '*',
|
|
20
20
|
});
|
|
21
|
+
/**
|
|
22
|
+
* The version of the text `publishedMarkdownBody` writes. It moves whenever
|
|
23
|
+
* that text changes for the same page, as when 0.21.0 wrote tables without
|
|
24
|
+
* padding and split long ones (ADR-046), so a length the sync measured with
|
|
25
|
+
* an earlier version is known to describe other text (ADR-043).
|
|
26
|
+
*/
|
|
27
|
+
export const PUBLISHED_MARKDOWN_VERSION = 2;
|
|
21
28
|
function walk(node, visit) {
|
|
22
29
|
if (node.type !== 'root') {
|
|
23
30
|
visit(node);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctcstack/ctcdocs-core",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.4",
|
|
4
4
|
"description": "Configuration schema, project layout, generated-path allowlist and the published Markdown form shared by the CTCDocs platform packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctcdocs",
|
|
@@ -25,6 +25,14 @@ const processor = unified()
|
|
|
25
25
|
strong: '*',
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
+
/**
|
|
29
|
+
* The version of the text `publishedMarkdownBody` writes. It moves whenever
|
|
30
|
+
* that text changes for the same page, as when 0.21.0 wrote tables without
|
|
31
|
+
* padding and split long ones (ADR-046), so a length the sync measured with
|
|
32
|
+
* an earlier version is known to describe other text (ADR-043).
|
|
33
|
+
*/
|
|
34
|
+
export const PUBLISHED_MARKDOWN_VERSION = 2;
|
|
35
|
+
|
|
28
36
|
export interface PublishedMarkdownInput {
|
|
29
37
|
title: string;
|
|
30
38
|
/**
|