bunki 0.18.6 → 0.19.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.
@@ -3,6 +3,7 @@
3
3
  * Extracted for better code organization and performance
4
4
  */
5
5
  export declare const RELATIVE_LINK_REGEX: RegExp;
6
+ export declare const SAME_DIR_LINK_REGEX: RegExp;
6
7
  export declare const IMAGE_PATH_REGEX: RegExp;
7
8
  export declare const IMAGE_PATH_ASSETS_DIR: RegExp;
8
9
  export declare const IMAGE_PATH_ASSETS_SAME_DIR: RegExp;
@@ -14,7 +14,7 @@ export interface ValidationError {
14
14
  * @param filePath - File path for error reporting
15
15
  * @returns ValidationError if invalid, null if valid
16
16
  */
17
- export declare function validateBusinessLocation(business: any, filePath: string): ValidationError | null;
17
+ export declare function validateBusinessLocation(business: unknown, filePath: string): ValidationError | null;
18
18
  /**
19
19
  * Validate that tags don't contain spaces (must use hyphens)
20
20
  * @param tags - Array of tag strings
@@ -28,4 +28,4 @@ export declare function validateTags(tags: string[], filePath: string): Validati
28
28
  * @param filePath - File path for error reporting
29
29
  * @returns ValidationError if found, null otherwise
30
30
  */
31
- export declare function checkDeprecatedLocationField(data: any, filePath: string): ValidationError | null;
31
+ export declare function checkDeprecatedLocationField(data: Record<string, unknown>, filePath: string): ValidationError | null;
@@ -20,7 +20,7 @@ export interface PaginationData {
20
20
  * @param pagePath - Base path for pagination (e.g., "/", "/tags/tech/")
21
21
  * @returns Pagination data object
22
22
  */
23
- export declare function createPagination<T>(items: T[], currentPage: number, pageSize: number, pagePath: string): PaginationData;
23
+ export declare function createPagination(items: readonly unknown[], currentPage: number, pageSize: number, pagePath: string): PaginationData;
24
24
  /**
25
25
  * Get paginated slice of items for a specific page
26
26
  * @param items - Array of items to paginate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bunki",
3
- "version": "0.18.6",
3
+ "version": "0.19.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",