update build config,

This commit is contained in:
louiscklaw
2025-04-20 02:00:47 +08:00
parent b963a85cc6
commit 0f90e0ae72
3 changed files with 11 additions and 7 deletions

View File

@@ -1,11 +1,15 @@
# guideline # guideline
- please divide the problem into small parts - please divide the problem into small parts
- if you found you cannot understand the problem, please ask the question - if you found youself cannot understand the problem, please stop and ask how to do
- if you found you cannot solve the problem, plesae stop and shout - if you found youself cannot solve the problem, plesae stop and ask how to do
- review the whole solution before you reply to user - 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 page can be found in `./src/app/_helloworld/page.tsx`
- example for component can be found in `./src/components/_helloworld/index.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

View File

@@ -13,7 +13,7 @@
"start": "next start", "start": "next start",
"lint": "next lint --quiet", "lint": "next lint --quiet",
"lint:fix": "next lint --fix", "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": "tsc --noEmit",
"typecheck:w": "tsc --noEmit -w", "typecheck:w": "tsc --noEmit -w",
"format:write": "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache", "format:write": "prettier --write \"**/*.{js,jsx,mjs,ts,tsx,mdx}\" --cache",

View File

@@ -34,8 +34,8 @@
"*.bug", "*.bug",
"*.del", "*.del",
"*.draft", "*.draft",
"* copy *.tsx", "**/* copy *.tsx",
"* copy.tsx" "**/* copy.tsx"
], ],
"watchOptions": { "watchOptions": {
"excludeDirectories": [ "excludeDirectories": [