@mfgames-writing/format 3.3.0 → 3.3.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/lib/build.d.ts CHANGED
@@ -1,2 +1,6 @@
1
- export declare function runBuild(argv: any, packageJson: any, logger: any): Promise<any>;
2
- //# sourceMappingURL=build.d.ts.map
1
+ export declare function runBuild(
2
+ argv: any,
3
+ packageJson: any,
4
+ logger: any
5
+ ): Promise<any>;
6
+ //# sourceMappingURL=build.d.ts.map
package/lib/cli.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=cli.d.ts.map
2
+ //# sourceMappingURL=cli.d.ts.map
package/lib/content.d.ts CHANGED
@@ -13,4 +13,4 @@ export declare function loadContents(args: EditionArgs): Promise<EditionArgs>;
13
13
  * Renders the various content for inclusion with the format.
14
14
  */
15
15
  export declare function renderContents(args: EditionArgs): Promise<EditionArgs>;
16
- //# sourceMappingURL=content.d.ts.map
16
+ //# sourceMappingURL=content.d.ts.map
package/lib/image.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  import { ContentArgs } from "@mfgames-writing/contracts";
2
- export declare function processImages(content: ContentArgs): Promise<ContentArgs>;
3
- //# sourceMappingURL=image.d.ts.map
2
+ export declare function processImages(
3
+ content: ContentArgs
4
+ ): Promise<ContentArgs>;
5
+ //# sourceMappingURL=image.d.ts.map
package/lib/includes.d.ts CHANGED
@@ -4,4 +4,4 @@ import { PublicationArgs } from "@mfgames-writing/contracts";
4
4
  * may be included.
5
5
  */
6
6
  export declare function mergeIncludes(args: PublicationArgs): Promise<void>;
7
- //# sourceMappingURL=includes.d.ts.map
7
+ //# sourceMappingURL=includes.d.ts.map
package/lib/index.d.ts CHANGED
@@ -8,4 +8,4 @@ export * from "./image";
8
8
  export * from "./includes";
9
9
  export * from "./markdown";
10
10
  export * from "./plugins";
11
- //# sourceMappingURL=index.d.ts.map
11
+ //# sourceMappingURL=index.d.ts.map
package/lib/markdown.d.ts CHANGED
@@ -2,5 +2,7 @@ import { ContentArgs } from "@mfgames-writing/contracts";
2
2
  /**
3
3
  * Renders a Markdown file as HTML.
4
4
  */
5
- export declare function renderContentMarkdown(content: ContentArgs): Promise<ContentArgs>;
6
- //# sourceMappingURL=markdown.d.ts.map
5
+ export declare function renderContentMarkdown(
6
+ content: ContentArgs
7
+ ): Promise<ContentArgs>;
8
+ //# sourceMappingURL=markdown.d.ts.map
package/lib/plugins.d.ts CHANGED
@@ -1,3 +1,7 @@
1
1
  import { EditionArgs } from "@mfgames-writing/contracts";
2
- export declare function loadModule(args: EditionArgs, name: string, requireDefault?: boolean): any;
3
- //# sourceMappingURL=plugins.d.ts.map
2
+ export declare function loadModule(
3
+ args: EditionArgs,
4
+ name: string,
5
+ requireDefault?: boolean
6
+ ): any;
7
+ //# sourceMappingURL=plugins.d.ts.map
@@ -1,5 +1,10 @@
1
1
  /// <reference types="node" />
2
- import { Theme, EditionArgs, ContentArgs, ContentTheme } from "@mfgames-writing/contracts";
2
+ import {
3
+ Theme,
4
+ EditionArgs,
5
+ ContentArgs,
6
+ ContentTheme,
7
+ } from "@mfgames-writing/contracts";
3
8
  import Token = require("markdown-it/lib/token");
4
9
  export declare class OverrideTheme implements Theme {
5
10
  stylesheetFileName: string;
@@ -16,8 +21,11 @@ export declare class OverrideTheme implements Theme {
16
21
  renderHtml(args: ContentArgs): Promise<ContentArgs>;
17
22
  renderLayout(args: ContentArgs): Promise<ContentArgs>;
18
23
  renderNavigationTitle(args: ContentArgs): string;
19
- renderStylesheet(args: EditionArgs, mode?: string | string[] | undefined): Buffer;
24
+ renderStylesheet(
25
+ args: EditionArgs,
26
+ mode?: string | string[] | undefined
27
+ ): Buffer;
20
28
  renderTableOfContents(args: ContentArgs): Promise<ContentArgs>;
21
29
  getContentTheme(content: ContentArgs): ContentTheme;
22
30
  }
23
- //# sourceMappingURL=OverrideTheme.d.ts.map
31
+ //# sourceMappingURL=OverrideTheme.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { OverrideTheme } from "./OverrideTheme";
2
2
  export default function load(): OverrideTheme;
3
- //# sourceMappingURL=overrides-theme.d.ts.map
3
+ //# sourceMappingURL=overrides-theme.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=theme-overrides.test.d.ts.map
2
+ //# sourceMappingURL=theme-overrides.test.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mfgames-writing/format",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "A command-line framework for formatting books into a variety of formats and themes.",
5
5
  "keywords": [
6
6
  "ebook",
@@ -40,7 +40,7 @@
40
40
  "test": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@mfgames-writing/contracts": "^4.0.0",
43
+ "@mfgames-writing/contracts": "^4.4.0",
44
44
  "fs-finder": "^1.8.1",
45
45
  "incremental": "^1.0.1",
46
46
  "jimp": "^0.3.5",