Loading...
Loading...
Compare original and translation side by side
package.jsontsconfig.jsonKey directories to identify:
- Source code: src/, app/, pages/, components/
- Tests: __tests__/, tests/, *.test.*, *.spec.*
- Config: config/, .config/
- Documentation: docs/, README.md
- Build output: dist/, build/, .next/vite.config.*, webpack.config.*, next.config.*tsconfig.jsontsconfig.*.jsonpackage.jsonpackage-lock.jsonyarn.lockpnpm-lock.yaml.env*.env.example.gitignore.git/package.jsontsconfig.json需要识别的关键目录:
- 源代码:src/, app/, pages/, components/
- 测试:__tests__/, tests/, *.test.*, *.spec.*
- 配置:config/, .config/
- 文档:docs/, README.md
- 构建输出:dist/, build/, .next/vite.config.*, webpack.config.*, next.config.*tsconfig.jsontsconfig.*.jsonpackage.jsonpackage-lock.jsonyarn.lockpnpm-lock.yaml.env*.env.example.gitignore.git/dependenciesdevDependenciesscriptsenginesnextnext.config.*app/pages/reactreact-domvue*.vuesvelte*.svelte@angular/coreangular.jsondependenciesdevDependenciesscriptsenginesnextnext.config.*app/pages/reactreact-domvue*.vuesvelte*.svelte@angular/coreangular.jsonUse Glob to find: **/*.{jsx,tsx,vue,svelte}
Analyze:
- Component naming conventions
- File structure (co-located styles, tests)
- Component size (lines of code)Use Grep to search for:
- API routes: "export.*GET|POST|PUT|DELETE"
- Database queries: "prisma\.|mongoose\.|sql"
- Authentication: "auth|jwt|session"Use Grep to find:
- Context API: "createContext|useContext"
- Redux: "createSlice|useSelector"
- Zustand: "create.*useStore"packages/apps/turbo.jsonnx.jsonfeatures/modules/components/services/utils/hooks/Use Glob to find: **/*.{jsx,tsx,vue,svelte}
Analyze:
- Component naming conventions
- File structure (co-located styles, tests)
- Component size (lines of code)Use Grep to search for:
- API routes: "export.*GET|POST|PUT|DELETE"
- Database queries: "prisma\.|mongoose\.|sql"
- Authentication: "auth|jwt|session"Use Grep to find:
- Context API: "createContext|useContext"
- Redux: "createSlice|useSelector"
- Zustand: "create.*useStore"packages/apps/turbo.jsonnx.jsonfeatures/modules/components/services/utils/hooks/.eslintrc*.prettierrc*biome.jsonnpm run lint**/*.{test,spec}.{js,ts,jsx,tsx}npm run test:coveragetsconfig.jsonstrict: truestrictNullChecks@ts-ignoreanyUse Grep to flag potential issues:
- Large files: Find files > 500 lines
- Deep nesting: Search for excessive indentation
- TODO/FIXME comments: Grep for "TODO|FIXME|HACK"
- Console logs: Grep for "console\.(log|debug|warn)".eslintrc*.prettierrc*biome.jsonnpm run lint**/*.{test,spec}.{js,ts,jsx,tsx}npm run test:coveragetsconfig.jsonstrict: truestrictNullChecks@ts-ignoreanyUse Grep to flag potential issues:
- Large files: Find files > 500 lines
- Deep nesting: Search for excessive indentation
- TODO/FIXME comments: Grep for "TODO|FIXME|HACK"
- Console logs: Grep for "console\.(log|debug|warn)"package-lock.jsonyarn.lockpnpm-lock.yamlnpm audit --json
# or
pnpm audit --jsonnpm outdatedpackage-lock.jsonyarn.lockpnpm-lock.yamlnpm audit --json
# or
pnpm audit --jsonnpm outdatedundefinedundefined[tree-like representation of key directories][tree-like representation of key directories]undefinedundefinedquality-gatesproject-initializationrefactoring-safenextjs-optimizationreact-patternsquality-gatesproject-initializationrefactoring-safenextjs-optimizationreact-patternsnpm installnpm install