Skip to content

Commit

Permalink
Merge pull request #338 from plopjs/turborepo
Browse files Browse the repository at this point in the history
chore: replace Lerna with Turborepo
  • Loading branch information
crutchcorn authored May 7, 2022
2 parents 41f628c + 56ce273 commit d87e7c5
Show file tree
Hide file tree
Showing 5 changed files with 142 additions and 2,784 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ jobs:
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Bootstrap Dependencies
run: yarn bootstrap

- name: Test
run: yarn test
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
node_modules/
.idea
.vscode
.idea/
.vscode/
.nyc_output/
.turbo/
.eslintcache
yarn-error.log
.nyc_output
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
},
"type": "module",
"scripts": {
"bootstrap": "lerna exec yarn install",
"build": "lerna run build",
"test": "lerna run --parallel test",
"test": "turbo run test --parallel",
"format": "eslint -c .eslintrc.cjs --fix ./",
"prepare": "husky install",
"plop": "node ./packages/plop/bin/plop.js"
Expand All @@ -40,9 +38,9 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lerna": "^4.0.0",
"lint-staged": "^12.4.0",
"prettier": "^2.6.2",
"turbo": "^1.2.5",
"typescript": "^4.6.3"
},
"lint-staged": {
Expand Down
8 changes: 8 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"test": {
"outputs": ["instrumented/**", "coverage/**", ".nyc_output/**"]
}
}
}
Loading

0 comments on commit d87e7c5

Please sign in to comment.