deltafold 0.2.0 → 0.2.1
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/README.md +33 -1
- package/dist/changelog.d.ts +10 -10
- package/dist/changelog.js +4 -4
- package/dist/changelog.js.map +1 -1
- package/dist/{document-BZcZo9nr.js → document-HfPyYxEd.js} +20 -20
- package/dist/{document-BZcZo9nr.js.map → document-HfPyYxEd.js.map} +1 -1
- package/dist/{document-DWHsgywm.d.ts → document-gtXeGFJR.d.ts} +41 -41
- package/dist/{document-DWHsgywm.d.ts.map → document-gtXeGFJR.d.ts.map} +1 -1
- package/dist/html.d.ts +2 -2
- package/dist/html.js +2 -2
- package/dist/html.js.map +1 -1
- package/dist/index.d.ts +437 -105
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +750 -273
- package/dist/index.js.map +1 -1
- package/dist/markdown.d.ts +2 -2
- package/dist/markdown.js +2 -2
- package/dist/markdown.js.map +1 -1
- package/dist/{mdast-DiRsYwPU.js → mdast-Oqkh0Gs1.js} +2 -2
- package/dist/{mdast-DiRsYwPU.js.map → mdast-Oqkh0Gs1.js.map} +1 -1
- package/dist/{package-BfBYnaCz.d.ts → package-CA5R57IC.d.ts} +117 -112
- package/dist/{package-BfBYnaCz.d.ts.map → package-CA5R57IC.d.ts.map} +1 -1
- package/package.json +3 -3
- package/src/features/documents/changelog.ts +8 -8
- package/src/features/documents/document.ts +39 -39
- package/src/features/documents/index.ts +2 -2
- package/src/features/execution/executor.ts +485 -313
- package/src/features/execution/handler.ts +30 -30
- package/src/features/execution/interaction.ts +11 -11
- package/src/features/execution/observation.ts +489 -0
- package/src/features/execution/observer.ts +395 -0
- package/src/features/package.ts +3 -3
- package/src/features/planning/history.ts +10 -10
- package/src/features/planning/identifiers.ts +7 -4
- package/src/features/planning/resolve-error.ts +13 -13
- package/src/features/planning/resolve.ts +11 -4
- package/src/features/planning/validate.ts +1 -1
- package/src/foundation/action.ts +17 -17
- package/src/foundation/change.ts +10 -10
- package/src/foundation/instruction.ts +5 -5
- package/src/foundation/migration.ts +12 -12
- package/src/foundation/plan.ts +23 -18
- package/src/foundation/rule.ts +6 -6
- package/src/foundation/shortcut.ts +6 -6
- package/src/foundation/version.ts +6 -6
- package/src/index.ts +14 -12
- package/src/renderers/html.ts +1 -1
- package/src/renderers/markdown.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
/** @since
|
|
1
|
+
/** @since 0.0.1 */
|
|
2
2
|
export * as Action from "./foundation/action.ts";
|
|
3
|
-
/** @since
|
|
3
|
+
/** @since 0.0.1 */
|
|
4
4
|
export * as Change from "./foundation/change.ts";
|
|
5
|
-
/** @since
|
|
5
|
+
/** @since 0.0.1 */
|
|
6
6
|
export * as Executor from "./features/execution/executor.ts";
|
|
7
|
-
/** @since
|
|
7
|
+
/** @since 0.0.1 */
|
|
8
8
|
export * as Handler from "./features/execution/handler.ts";
|
|
9
|
-
/** @since
|
|
9
|
+
/** @since 0.2.0 */
|
|
10
10
|
export * as Interaction from "./features/execution/interaction.ts";
|
|
11
|
-
/** @since
|
|
11
|
+
/** @since 0.0.1 */
|
|
12
12
|
export * as History from "./features/planning/history.ts";
|
|
13
|
-
/** @since
|
|
13
|
+
/** @since 0.0.1 */
|
|
14
14
|
export * as Migration from "./foundation/migration.ts";
|
|
15
|
-
/** @since
|
|
15
|
+
/** @since 0.2.1 */
|
|
16
|
+
export * as Observer from "./features/execution/observer.ts";
|
|
17
|
+
/** @since 0.0.1 */
|
|
16
18
|
export * as Package from "./features/package.ts";
|
|
17
|
-
/** @since
|
|
19
|
+
/** @since 0.0.1 */
|
|
18
20
|
export * as Plan from "./foundation/plan.ts";
|
|
19
|
-
/** @since
|
|
21
|
+
/** @since 0.0.1 */
|
|
20
22
|
export * as Rule from "./foundation/rule.ts";
|
|
21
|
-
/** @since
|
|
23
|
+
/** @since 0.0.1 */
|
|
22
24
|
export * as Shortcut from "./foundation/shortcut.ts";
|
|
23
|
-
/** @since
|
|
25
|
+
/** @since 0.0.1 */
|
|
24
26
|
export * as Version from "./foundation/version.ts";
|
package/src/renderers/html.ts
CHANGED
|
@@ -7,6 +7,6 @@ import { toMdast } from "./mdast.ts";
|
|
|
7
7
|
/**
|
|
8
8
|
* Renders a document as an HTML fragment. Throws `DocumentError` for unsupported structure.
|
|
9
9
|
*
|
|
10
|
-
* @since
|
|
10
|
+
* @since 0.0.1
|
|
11
11
|
*/
|
|
12
12
|
export const render = (document: Document): string => toHtml(toHast(toMdast(document)));
|
|
@@ -6,7 +6,7 @@ import { toMdast } from "./mdast.ts";
|
|
|
6
6
|
/**
|
|
7
7
|
* Renders a document as Markdown. Throws `DocumentError` for unsupported structure.
|
|
8
8
|
*
|
|
9
|
-
* @since
|
|
9
|
+
* @since 0.0.1
|
|
10
10
|
*/
|
|
11
11
|
export const render = (document: Document): string =>
|
|
12
12
|
toMarkdown(toMdast(document), { bullet: "-", emphasis: "_", strong: "*" });
|