From 44843664880f3bdbad4f5c89527ae0979b7c6d93 Mon Sep 17 00:00:00 2001 From: hacxy Date: Wed, 8 Jan 2025 19:15:56 +0800 Subject: [PATCH] perf: adjust the default page size to 5 --- packages/create-theme/scripts/release.js | 2 +- packages/theme/src/constants/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/create-theme/scripts/release.js b/packages/create-theme/scripts/release.js index 63c44fa..7e964e1 100644 --- a/packages/create-theme/scripts/release.js +++ b/packages/create-theme/scripts/release.js @@ -87,7 +87,7 @@ async function main() { // Commit changes to the Git and create a tag. step('\nCommitting changes...'); await run('git', ['add', 'package.json', 'template']); - await run('git', ['commit', '-m', `chore: release: v${targetVersion}`]); + await run('git', ['commit', '-m', `chore: release CLI version ${targetVersion}`]); // Publish the package. step('\nPublishing the package...'); diff --git a/packages/theme/src/constants/index.ts b/packages/theme/src/constants/index.ts index 892676d..f50fa3b 100644 --- a/packages/theme/src/constants/index.ts +++ b/packages/theme/src/constants/index.ts @@ -1,2 +1,2 @@ export const NOT_ARTICLE_LAYOUTS = ['blog', 'tags', 'categorys', 'projects', 'home', 'page']; -export const DEFAULT_PAGE_SIZE = 4; +export const DEFAULT_PAGE_SIZE = 5;