Skip to content

Commit 7b11e8a

Browse files
committed
Setup Turborepo boilerplate
1 parent 7739bec commit 7b11e8a

File tree

7 files changed

+158
-0
lines changed

7 files changed

+158
-0
lines changed

.gitignore

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules
5+
.pnp
6+
.pnp.js
7+
8+
# testing
9+
coverage
10+
11+
# next.js
12+
.next/
13+
out/
14+
build
15+
16+
# misc
17+
.DS_Store
18+
*.pem
19+
.idea/
20+
21+
# debug
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
.pnpm-debug.log*
26+
27+
# local env files
28+
.env.local
29+
.env.development.local
30+
.env.test.local
31+
.env.production.local
32+
33+
# turbo
34+
.turbo

package.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "saleor-apps",
3+
"version": "0.0.0",
4+
"private": true,
5+
"workspaces": [
6+
"apps/*",
7+
"packages/*",
8+
"templates/*"
9+
],
10+
"scripts": {
11+
"build": "turbo run build",
12+
"dev": "turbo run dev",
13+
"lint": "turbo run lint",
14+
"format": "prettier --write \"**/*.{ts,tsx,md}\""
15+
},
16+
"devDependencies": {
17+
"prettier": "^2.8.3",
18+
"turbo": "^1.7.3"
19+
},
20+
"engines": {
21+
"node": ">=18.0.0"
22+
},
23+
"packageManager": "[email protected]"
24+
}

packages/.gitkeep

Whitespace-only changes.

pnpm-lock.yaml

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

pnpm-workspace.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
packages:
2+
- "apps/*"
3+
- "packages/*"
4+
- "templates/*"

templates/.gitkeep

Whitespace-only changes.

turbo.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"globalDependencies": ["**/.env.*local"],
4+
"pipeline": {
5+
"build": {
6+
"dependsOn": ["^build"],
7+
"outputs": ["dist/**", ".next/**"]
8+
},
9+
"lint": {
10+
"outputs": []
11+
},
12+
"dev": {
13+
"cache": false
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)