Skip to content

Commit 69c2f5e

Browse files
committed
test depends on prepublish which depends on update references
No need to check references anymore
1 parent a842442 commit 69c2f5e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
},
4343
"scripts": {
4444
"build:all": "NODE_OPTIONS='--max-old-space-size=4096' yarn turbo run prepublish",
45-
"update-references": "yarn workspaces-to-typescript-project-references",
46-
"test": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references --check' 'yarn turbo run test --concurrency=1 --continue'",
45+
"references:update": "yarn workspaces-to-typescript-project-references",
46+
"test": "yarn turbo run test --concurrency=1 --continue",
4747
"test:watch": "yarn turbo run test:watch",
4848
"test:update": "yarn turbo run test:update",
4949
"check-types": "yarn turbo run check-types --continue",

turbo.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"tasks": {
1111
"prepublish": {
12-
"dependsOn": ["^prepublish", "//#update-references"],
12+
"dependsOn": ["^prepublish", "//#references:update"],
1313
"outputs": [
1414
"lib/**",
1515
"es/**",
@@ -38,8 +38,10 @@
3838
"cache": false
3939
},
4040
"lint": {},
41-
"check-types": {},
42-
"//#update-references": {
41+
"check-types": {
42+
"dependsOn": ["//#references:update"]
43+
},
44+
"//#references:update": {
4345
"inputs": ["packages/*/package.json", "packages/plugins/*/package.json"],
4446
"outputs": [
4547
"packages/*/tsconfig.json",

0 commit comments

Comments
 (0)