Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sangmin802/sono-repo
๐ mono-repo / turborepo
https://github.com/sangmin802/sono-repo
nextjs turborepo typescript
Last synced: 16 days ago
JSON representation
๐ mono-repo / turborepo
- Host: GitHub
- URL: https://github.com/sangmin802/sono-repo
- Owner: sangmin802
- Created: 2023-04-13T01:59:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-18T07:11:29.000Z (3 months ago)
- Last Synced: 2024-12-15T23:38:27.778Z (25 days ago)
- Topics: nextjs, turborepo, typescript
- Language: TypeScript
- Homepage: https://sono-repo-lostark-hands-next.vercel.app
- Size: 463 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SONO-REPO
turborepo## turbo.json
```js
{
// turbo์ ์ปค๋งจ๋๋ ์ฌ๊ธฐ์ ์ ์๋์ด์ผ๋ง ์ธ ์ ์์
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"pipeline": {// ํจํค์ง ๋ด๋ถ์ ๋ชจ๋ build๋ฅผ ์คํ์ํฌ๊บผ์ --filter๋ก ์ ํ์ ์ค ์ ์์ผ๋ฉฐ, ์๋์ dev์ ์ ์ฉ๋ --filter๋ ์ ์ฉ ๋จ
"build": {// ^๊ฐ ์์ด์, ๋ชจ๋ workspace ํน์ --filtere๋ workspace์ build๊ฐ ์คํ๋๊ธฐ ์ deps ํน์ devDeps์ ๋ชจ๋ build๊ฐ ๋ ๋ค์์ ์คํ
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**", "dist/**", "storybook-static/**"]
},// ํจํค์ง ๋ด๋ถ์ ๋ชจ๋ dev๋ฅผ ์คํ์ํฌ๊บผ์ --filter๋ก ์ ํ ์ค ์ ์์
"dev": {// ์ ์ ์๋ build ์ปค๋งจ๋๊ฐ ๋จผ์ ์คํ๋ ํ์ dev๋ฅผ ์คํ์ํด dependsOn์ ๋ช ๋ น์ด๋ ๊ผญ pipeline์ ์ ์๋์ด์์ด์ผ ํจ
"dependsOn": ["build"],// devํ๊ฒฝ watch mode
"cache": false,
"persistent": true
},
"start": {
"dependsOn": ["build"]
},
"build:storybook": {}
}
}
```