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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunki",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "An opinionated static site generator built with Bun featuring PostCSS integration and modern web development workflows",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",