Skip to content

Commit 4a5289b

Browse files
committedAug 18, 2024
chore: add turbo
1 parent a765e58 commit 4a5289b

File tree

7 files changed

+97
-25
lines changed

7 files changed

+97
-25
lines changed
 

‎.gitignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ out
1515
build
1616
.cache
1717

18-
# Verce
18+
# Vercel
1919
.vercel
2020

21-
# typescript
21+
# Typescript
2222
*.tsbuildinfo
2323
next-env.d.ts
2424

25+
# Turborepo
26+
.turbo
27+
2528
# Personal
2629
ideas.md
2730

‎demos/astro/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6+
"build": "astro build",
67
"dev": "astro dev --port 3000"
78
},
89
"dependencies": {
910
"astro": "4.14.2",
10-
"palettez": "*",
11+
"palettez": "workspace:*",
1112
"react": "18.3.1",
1213
"react-dom": "18.3.1"
1314
},

‎demos/next/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6+
"build": "next build",
67
"dev": "next dev"
78
},
89
"dependencies": {
910
"body-parser": "1.20.2",
1011
"cookies": "0.9.1",
1112
"next": "14.2.5",
12-
"palettez": "*",
13+
"palettez": "workspace:*",
1314
"react": "18.3.1",
1415
"react-dom": "18.3.1"
1516
},

‎demos/remix/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@remix-run/server-runtime": "2.11.2",
1414
"@vercel/remix": "2.11.2",
1515
"isbot": "5.1.16",
16-
"palettez": "*",
16+
"palettez": "workspace:*",
1717
"react": "18.3.1",
1818
"react-dom": "18.3.1"
1919
},

‎package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
2+
"name": "palettez-monorepo",
23
"private": true,
34
"devDependencies": {
45
"@biomejs/biome": "1.8.3",
56
"@changesets/changelog-github": "0.5.0",
67
"@changesets/cli": "2.27.7",
78
"@commitlint/cli": "19.4.0",
8-
"@commitlint/config-conventional": "19.2.2"
9-
}
9+
"@commitlint/config-conventional": "19.2.2",
10+
"turbo": "2.0.14"
11+
},
12+
"packageManager": "pnpm@9.7.1"
1013
}

‎pnpm-lock.yaml

+70-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎turbo.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"tasks": {
4+
"build": {
5+
"dependsOn": ["^build"],
6+
"outputs": ["dist/**", "build/**", ".next/**"]
7+
},
8+
"dev": {
9+
"cache": false
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)