- API 클라이언트·토큰 갱신·순수 함수를 shared/ (@nalssigak/shared) 로 옮김 - 토큰 저장소·API 주소는 configureApi 로 플랫폼에서 넣는다 (웹 localStorage) - 루트 package.json 에 frontend·mobile·shared workspaces, lock 파일 하나로 - 웹 Docker 빌드 대상을 저장소 루트로 (compose context ., 루트 .dockerignore)
12 lines
254 B
Plaintext
12 lines
254 B
Plaintext
# 저장소 루트를 빌드 대상으로 쓰는 건 frontend 이미지뿐이라 frontend·shared·루트 package 파일만 넘긴다
|
|
*
|
|
!package.json
|
|
!package-lock.json
|
|
!frontend
|
|
!shared
|
|
!mobile/package.json
|
|
**/node_modules
|
|
**/dist
|
|
**/*.log
|
|
**/.DS_Store
|