등록 모달의 '한 줄 설명' input 을 여러 줄 textarea 로 바꾸고, 설명을 markdown-it 로 렌더링한다(html:false 로 raw HTML 이스케이프·javascript: 링크 차단 — XSS 안전). 상세 화면은 마크다운으로, 카드 미리보기는 기호를 걷어낸 순수 텍스트(mdPlain) + 3줄 클램프로 표시. '저장소 README 가져오기' 버튼과 GET /api/readme 라우트를 추가해 repo_url 의 Gitea README 를 설명란으로 불러올 수 있다(gitea.js fetchReadme). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
25 lines
600 B
JSON
25 lines
600 B
JSON
{
|
|
"name": "ai-dev-portal",
|
|
"version": "0.1.0",
|
|
"description": "AI DEV 사내 개발 포털 — Keycloak SSO + 사이트 모음 + 프로젝트 공유/코멘트",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "node --watch src/server.js",
|
|
"start": "node index.js",
|
|
"db:init": "node scripts/init-db.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"dependencies": {
|
|
"cookie-parser": "^1.4.7",
|
|
"ejs": "^3.1.10",
|
|
"express": "^4.21.2",
|
|
"express-session": "^1.18.1",
|
|
"markdown-it": "^14.3.0",
|
|
"openid-client": "^5.7.0",
|
|
"pg": "^8.13.1"
|
|
}
|
|
}
|