From 0f90e0ae72ce5301d7c8fcde92adf98a3409584b Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Sun, 20 Apr 2025 02:00:47 +0800 Subject: [PATCH] update build config, --- 002_source/cms/_AI_GUIDELINE/index.md | 10 +++++++--- 002_source/cms/package.json | 4 ++-- 002_source/cms/tsconfig.json | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/002_source/cms/_AI_GUIDELINE/index.md b/002_source/cms/_AI_GUIDELINE/index.md index 08a8d5d..d79e657 100644 --- a/002_source/cms/_AI_GUIDELINE/index.md +++ b/002_source/cms/_AI_GUIDELINE/index.md @@ -1,11 +1,15 @@ # guideline - please divide the problem into small parts -- if you found you cannot understand the problem, please ask the question -- if you found you cannot solve the problem, plesae stop and shout +- if you found youself cannot understand the problem, please stop and ask how to do +- if you found youself cannot solve the problem, plesae stop and ask how to do - review the whole solution before you reply to user +- if code syntax is already there, do follow (e.g. naming convention, syntax) the existing code - example for page can be found in `./src/app/_helloworld/page.tsx` - example for component can be found in `./src/components/_helloworld/index.tsx` -Thanks. +- no need to explain the reason until you are told to do so +- no need to show me the code change, at the end just simple summary in point form is ok + +Thanks diff --git a/002_source/cms/package.json b/002_source/cms/package.json index bea3684..12a5214 100644 --- a/002_source/cms/package.json +++ b/002_source/cms/package.json @@ -13,7 +13,7 @@ "start": "next start", "lint": "next lint --quiet", "lint:fix": "next lint --fix", - "lint:w": "pnpx nodemon --ext ts,tsx,json,mjs,js,jsx --delay 60 --exec \"pnpm run lint\"", + "lint:w": "pnpx nodemon --ext ts,tsx,json,mjs,js,jsx --delay 5 --exec \"pnpm run lint\"", "typecheck": "tsc --noEmit", "typecheck:w": "tsc --noEmit -w", "format:write": "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache", @@ -116,4 +116,4 @@ "protobufjs" ] } -} \ No newline at end of file +} diff --git a/002_source/cms/tsconfig.json b/002_source/cms/tsconfig.json index ee073f3..92c39d0 100644 --- a/002_source/cms/tsconfig.json +++ b/002_source/cms/tsconfig.json @@ -34,8 +34,8 @@ "*.bug", "*.del", "*.draft", - "* copy *.tsx", - "* copy.tsx" + "**/* copy *.tsx", + "**/* copy.tsx" ], "watchOptions": { "excludeDirectories": [