Fix tests after ts change
CI Pipeline / test (20) (pull_request) Successful in 2m41s
CI Pipeline / test (18) (pull_request) Successful in 3m21s
CI Pipeline / e2e (chromium) (pull_request) Failing after 1m25s
CI Pipeline / e2e (firefox) (pull_request) Failing after 1m24s
CI Pipeline / e2e (webkit) (pull_request) Failing after 1m24s
CI Pipeline / visual-regression (pull_request) Failing after 1m53s
CI Pipeline / performance (pull_request) Failing after 1m31s
CI Pipeline / lint (pull_request) Failing after 1m5s
CI Pipeline / storybook (pull_request) Successful in 1m36s
CI Pipeline / build (pull_request) Failing after 1m19s
CI Pipeline / test (20) (pull_request) Successful in 2m41s
CI Pipeline / test (18) (pull_request) Successful in 3m21s
CI Pipeline / e2e (chromium) (pull_request) Failing after 1m25s
CI Pipeline / e2e (firefox) (pull_request) Failing after 1m24s
CI Pipeline / e2e (webkit) (pull_request) Failing after 1m24s
CI Pipeline / visual-regression (pull_request) Failing after 1m53s
CI Pipeline / performance (pull_request) Failing after 1m31s
CI Pipeline / lint (pull_request) Failing after 1m5s
CI Pipeline / storybook (pull_request) Successful in 1m36s
CI Pipeline / build (pull_request) Failing after 1m19s
This commit is contained in:
+4
-1
@@ -206,7 +206,10 @@ export function getCacheStats(): CacheStats {
|
||||
tagCacheSize: tagCache.size,
|
||||
authorCacheSize: authorCache.size,
|
||||
totalCacheSize:
|
||||
blogPostCache.size + blogListCache.size + tagCache.size + authorCache.size,
|
||||
blogPostCache.size +
|
||||
blogListCache.size +
|
||||
tagCache.size +
|
||||
authorCache.size,
|
||||
maxCacheSize: MAX_CACHE_SIZE,
|
||||
cacheTTL: CACHE_TTL,
|
||||
};
|
||||
|
||||
+2
-5
@@ -1,11 +1,8 @@
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import matter from "gray-matter";
|
||||
import {
|
||||
validateBlogPost,
|
||||
sanitizeBlogPost,
|
||||
type BlogPostFrontmatter,
|
||||
} from "./validation";
|
||||
import { validateBlogPost, sanitizeBlogPost } from "./validation";
|
||||
import type { BlogPostFrontmatter } from "./validation";
|
||||
|
||||
/**
|
||||
* Content processing utilities for blog posts
|
||||
|
||||
+3
-11
@@ -3,15 +3,9 @@
|
||||
*/
|
||||
|
||||
// Re-export types from other modules for convenience
|
||||
export type {
|
||||
BlogPost,
|
||||
BlogStats,
|
||||
} from "./content";
|
||||
export type { BlogPost, BlogStats } from "./content";
|
||||
|
||||
export type {
|
||||
BlogPostFrontmatter,
|
||||
ValidationResult,
|
||||
} from "./validation";
|
||||
export type { BlogPostFrontmatter, ValidationResult } from "./validation";
|
||||
|
||||
export type {
|
||||
Heading,
|
||||
@@ -21,9 +15,7 @@ export type {
|
||||
ProcessedFrontmatter,
|
||||
} from "./mdx";
|
||||
|
||||
export type {
|
||||
CacheStats,
|
||||
} from "./cache";
|
||||
export type { CacheStats } from "./cache";
|
||||
|
||||
// Additional shared types
|
||||
export interface ComponentProps {
|
||||
|
||||
Reference in New Issue
Block a user