bunki 0.3.2 → 0.3.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.
@@ -0,0 +1,11 @@
1
+ import { SiteConfig } from "./types";
2
+ export declare const DEFAULT_CONTENT_DIR: string;
3
+ export declare const DEFAULT_OUTPUT_DIR: string;
4
+ export declare const DEFAULT_TEMPLATES_DIR: string;
5
+ export declare const DEFAULT_CONFIG_TS: string;
6
+ export declare const DEFAULT_CONFIG_FILE: string;
7
+ export declare function configExists(configPath?: string): Promise<boolean>;
8
+ export declare function loadConfig(configPath?: string): Promise<SiteConfig>;
9
+ export declare function getDefaultConfig(): SiteConfig;
10
+ export declare function createDefaultConfig(configPath?: string): Promise<boolean>;
11
+ export declare function saveConfig(config: SiteConfig, configPath?: string): Promise<boolean>;
@@ -0,0 +1,9 @@
1
+ export * from "./types";
2
+ export { parseMarkdownDirectory } from "./parser";
3
+ export { startServer } from "./server";
4
+ export { SiteGenerator } from "./site-generator";
5
+ export { configExists, createDefaultConfig, DEFAULT_CONFIG_FILE, DEFAULT_CONTENT_DIR, DEFAULT_OUTPUT_DIR, DEFAULT_TEMPLATES_DIR, loadConfig, saveConfig } from "./config";
6
+ export { copyFile, ensureDir, fileExists, findFilesByPattern, getBaseFilename, readFileAsText } from "./utils/file-utils";
7
+ export { convertMarkdownToHtml, extractExcerpt, parseMarkdownFile } from "./utils/markdown-utils";
8
+ export { DEFAULT_IMAGES_DIR, uploadImages } from "./utils/image-uploader";
9
+ export { createUploader } from "./utils/s3-uploader";