pknu-wap / collab-note

🚧
https://note.wap-dev.store (중단)
MIT License
7 stars 1 forks source link

Create Common Workspace #22

Closed alstn113 closed 1 year ago

alstn113 commented 1 year ago

[ FEATURE REQUEST ]

작업 리스트

참고사항

tsc로 build로 하고 client에서는 vite config에서 resolve alias로 경로를 등록해준다.

예상 소요 시간

사실상 2week

alstn113 commented 1 year ago

package.json

{
  "name": "@collab-note/common",
  "version": "1.0.0",
  "main": "dist/index.js",
  "scripts": {
    "build": "tsc ",
    "dev": "tsc --watch"
  }
}
alstn113 commented 1 year ago

tsconfig.json

{
  "compilerOptions": {
    "target": "ESNext",
    "module": "commonjs",
    "rootDir": "./src",
    "declaration": true,
    "outDir": "./dist",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "skipLibCheck": true
  },
  "include": ["./src/**/*"],
  "exclude": ["node_modules", "dist"]
}