Skip to content

Commit d87e7c5

Browse files
authored
Merge pull request #338 from plopjs/turborepo
chore: replace Lerna with Turborepo
2 parents 41f628c + 56ce273 commit d87e7c5

File tree

5 files changed

+142
-2784
lines changed

5 files changed

+142
-2784
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,5 @@ jobs:
2727
- name: Install Dependencies
2828
run: yarn install --frozen-lockfile
2929

30-
- name: Bootstrap Dependencies
31-
run: yarn bootstrap
32-
3330
- name: Test
3431
run: yarn test

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
node_modules/
2-
.idea
3-
.vscode
2+
.idea/
3+
.vscode/
4+
.nyc_output/
5+
.turbo/
46
.eslintcache
57
yarn-error.log
6-
.nyc_output

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
},
1313
"type": "module",
1414
"scripts": {
15-
"bootstrap": "lerna exec yarn install",
16-
"build": "lerna run build",
17-
"test": "lerna run --parallel test",
15+
"test": "turbo run test --parallel",
1816
"format": "eslint -c .eslintrc.cjs --fix ./",
1917
"prepare": "husky install",
2018
"plop": "node ./packages/plop/bin/plop.js"
@@ -40,9 +38,9 @@
4038
"eslint-config-prettier": "^8.5.0",
4139
"eslint-plugin-prettier": "^4.0.0",
4240
"husky": "^7.0.4",
43-
"lerna": "^4.0.0",
4441
"lint-staged": "^12.4.0",
4542
"prettier": "^2.6.2",
43+
"turbo": "^1.2.5",
4644
"typescript": "^4.6.3"
4745
},
4846
"lint-staged": {

turbo.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"pipeline": {
4+
"test": {
5+
"outputs": ["instrumented/**", "coverage/**", ".nyc_output/**"]
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)