Skip to content

Commit

Permalink
Fix #1778: Add support for Turborepo (#2721)
Browse files Browse the repository at this point in the history
  • Loading branch information
menghif authored Jan 25, 2022
1 parent 3e4d63a commit 81775c4
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ certs/
redis-data/

.pnpm-debug.log

# Turborepo
.turbo
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"html-elements": "tools/html-elements.js"
},
"scripts": {
"build": "pnpm build --prefix src/web --",
"build": "pnpm turbo run build",
"dev": "pnpm dev --prefix src/web --",
"develop": "pnpm dev",
"eslint": "eslint --config .eslintrc.js \"**/*.{jsx,tsx,ts,js}\"",
Expand Down Expand Up @@ -116,10 +116,20 @@
"pretty-quick": "3.1.3",
"run.env": "1.1.0",
"supertest": "6.1.6",
"ts-jest": "27.1.2"
"ts-jest": "27.1.2",
"turbo": "1.0.28"
},
"engines": {
"node": ">=14.0.0",
"pnpm": ">=6"
},
"turbo": {
"pipeline": {
"build": {
"dependsOn": [
"^build"
]
}
}
}
}
156 changes: 156 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81775c4

Please sign in to comment.