Skip to content

Commit d9a0186

Browse files
authored
chore: update lerna, turbo, jest, husky version (#209)
* chore: bump turbo version to 2.0.11 * ignore .turbo * chore: bump lerna version to 8.1.8 * chore: bump jest version to 29.7.0 * chore: bump husky version to 9.1.4 * chore: update husky * chore: change to pre-push
1 parent 6b933b3 commit d9a0186

File tree

5 files changed

+1432
-1540
lines changed

5 files changed

+1432
-1540
lines changed

.husky/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarn check

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dist
1111
**/dist
1212
.yarn/releases
1313
yarn.lock
14+
.turbo
1415

1516
# generated types
1617
packages/parser/types

package.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"check:format": "prettier --check .",
1717
"check:spell": "cspell --config .cspell.json \"**/*.{js,ts,tsx,md,html}\" --quiet",
1818
"check": "yarn test && yarn check:format && yarn check:spell && yarn check:ts",
19-
"publish:website": "yarn workspace website deploy"
19+
"publish:website": "yarn workspace website deploy",
20+
"prepare": "husky"
2021
},
2122
"author": "yeonjuan",
2223
"license": "MIT",
@@ -25,22 +26,17 @@
2526
"eslint": "^7.32.0",
2627
"eslint-plugin-jest": "^24.1.3",
2728
"eslint-plugin-node": "^11.1.0",
28-
"husky": "^4.3.0",
29-
"jest": "^27.3.1",
30-
"lerna": "^8.1.4",
29+
"husky": "^9.1.4",
30+
"jest": "^29.7.0",
31+
"lerna": "^8.1.8",
3132
"prettier": "^2.4.1",
32-
"turbo": "^1.11.3",
33+
"turbo": "^2.0.11",
3334
"typescript": "^4.4.4"
3435
},
3536
"engines": {
3637
"node": "^12.22.0 || ^14.17.0 || >=16.0.0",
3738
"npm": ">=7"
3839
},
39-
"husky": {
40-
"hooks": {
41-
"pre-push": "yarn check"
42-
}
43-
},
4440
"packageManager": "[email protected]",
4541
"workspaces": [
4642
"packages/**"

turbo.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
3-
"pipeline": {
4-
"build": { "dependsOn": ["^build"] },
3+
"tasks": {
4+
"build": {
5+
"dependsOn": ["^build"]
6+
},
57
"lint": {},
68
"dev": {
79
"dependsOn": ["^dev"]
810
},
9-
"test": { "dependsOn": ["^build"] },
10-
"ts": { "dependsOn": ["^build"] },
11+
"test": {
12+
"dependsOn": ["^build"]
13+
},
14+
"ts": {
15+
"dependsOn": ["^build"]
16+
},
1117
"docs": {}
1218
}
1319
}

0 commit comments

Comments
 (0)