- monorepo: pnpm workspace + go.work + pyproject.toml + commitlint/husky - infra: docker-compose (minimal + full profiles) + init-sql + prometheus - arch-scan: multi-language scanner skeleton (TS/Go/Python/Proto) - shared-proto: buf v2 + classes.proto (ClassService CRUD contract) - api-gateway: Go/Gin + JWT HS256 auth + reverse proxy + request ID - classes: NestJS golden template (error system + observability + middleware + CRUD + tests) - teacher-portal: Next.js + paper-feel UI design system - CI/CD: 4 workflows (go/ts/py/proto) - docs: migration guide + project_rules + coding-standards + git-workflow + ui-design-system + 004 + 9 module READMEs + known-issues + spec/plan migration + roadmap
23 lines
690 B
JavaScript
23 lines
690 B
JavaScript
module.exports = {
|
|
extends: ['@commitlint/config-conventional'],
|
|
rules: {
|
|
'type-enum': [
|
|
2,
|
|
'always',
|
|
['feat', 'fix', 'chore', 'docs', 'style', 'refactor', 'test', 'perf', 'ci', 'build', 'revert'],
|
|
],
|
|
'scope-enum': [
|
|
2,
|
|
'always',
|
|
[
|
|
'api-gateway', 'push-gateway',
|
|
'iam', 'core-edu', 'classes', 'content', 'data-ana', 'msg', 'ai',
|
|
'teacher-bff', 'student-bff', 'parent-bff',
|
|
'teacher-portal', 'student-portal', 'parent-portal', 'admin-portal',
|
|
'shared-proto', 'shared-ts', 'shared-go', 'shared-py', 'shared-tokens',
|
|
'arch-scan', 'infra', 'docs', 'deps', 'release',
|
|
],
|
|
],
|
|
},
|
|
};
|