bunki 0.16.0 → 0.16.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 +32 -4
- package/dist/cli.js +134 -71
- package/dist/index.js +381 -318
- package/dist/utils/file-utils.d.ts +4 -2
- package/package.json +1 -1
|
@@ -55,10 +55,12 @@ export declare function writeFile(filePath: string, content: string): Promise<vo
|
|
|
55
55
|
*/
|
|
56
56
|
export declare function writeFileBuffer(filePath: string, data: Uint8Array | ArrayBuffer): Promise<void>;
|
|
57
57
|
/**
|
|
58
|
-
* Get base filename without extension
|
|
58
|
+
* Get base filename without extension, handling both patterns:
|
|
59
|
+
* - content/2025/georgia-aquarium-atlanta.md → georgia-aquarium-atlanta
|
|
60
|
+
* - content/2025/georgia-aquarium-atlanta/README.md → georgia-aquarium-atlanta
|
|
59
61
|
* @param filePath - Path to file
|
|
60
62
|
* @param extension - Extension to remove (default: ".md")
|
|
61
|
-
* @returns Base filename
|
|
63
|
+
* @returns Base filename (slug)
|
|
62
64
|
*/
|
|
63
65
|
export declare function getBaseFilename(filePath: string, extension?: string): string;
|
|
64
66
|
/**
|
package/package.json
CHANGED