docs: standardize Git submodule and workspace installation
Deploy Storybook / deploy (push) Successful in 1m12s

This commit is contained in:
shkim4 committed 2026-10-23 11:06:19 +09:00
1 parent 3a4c63b5a4
commit 89011a2e42
18 files changed
+51 -39

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ import "@hm-design/sw/styles.css" // 앱 진입점에서 한 번
- 진입점은 `@hm-design/sw`(JS·타입)와 `@hm-design/sw/styles.css` 두 개뿐입니다. `dist/components/...` 같은 내부 경로는 공개 API가 아닙니다.
- Peer: `react`, `react-dom` `^19.0.0`. 런타임 dependency는 없고, SVG·PNG 자산은 JS에 data URI로 포함됩니다. CSS는 자동 import되지 않으며 전역 선택자(`html`, `body`, `*`)를 쓰지 않습니다.
- Registry에는 아직 게시하지 않았습니다. 소비 프로젝트는 HMDesign 저장소를 Git Submodule + npm Workspace로 연결하거나 `npm pack`으로 만든 tarball을 설치합니다.
- `@hm-design/sw`는 npm Registry로 배포하지 않습니다. 소비 프로젝트는 HMDesign 저장소(`https://gitea.hmac.kr/shkim4/HMDesign.git`)를 Git Submodule + npm Workspace로 연결합니다. `npm pack`으로 만든 tarball 설치는 검증용 대안입니다.
- 패키지 내용: `dist/`(`index.js`·`index.d.ts`·`styles.css`·`build-info.json` — 출처 Commit·도구 버전), `ai/`(AI 코딩 도구용 안내·예제), `README.md`, `package.json`.
## 글꼴·테마