Skip to content

Commit

Permalink
typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowningMaster committed May 24, 2024
1 parent 5862f4a commit 6e1f361
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/basic/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sourceRoot": "{projectRoot}/src",
"targets": {
"check": {},
"types": {},
"start": {
"command": "bun src/index.ts",
"options": {
Expand Down
1 change: 1 addition & 0 deletions examples/tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sourceRoot": "{projectRoot}/src",
"targets": {
"check": {},
"types": {},
"start": {
"command": "bun src/index.ts",
"options": {
Expand Down
1 change: 1 addition & 0 deletions libs/client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sourceRoot": "{projectRoot}/src",
"targets": {
"check": {},
"types": {},
"publish": {
"dependsOn": ["@wsx/shared:publish", "@wsx/server:publish"]
}
Expand Down
1 change: 1 addition & 0 deletions libs/server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sourceRoot": "{projectRoot}/src",
"targets": {
"check": {},
"types": {},
"publish": {
"dependsOn": ["@wsx/shared:publish"]
}
Expand Down
1 change: 1 addition & 0 deletions libs/shared/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sourceRoot": "{projectRoot}/src",
"targets": {
"check": {},
"types": {},
"publish": {}
}
}
7 changes: 7 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"cwd": "{projectRoot}"
}
},
"types": {
"executor": "nx:run-commands",
"options": {
"command": "tsc --noEmit",
"cwd": "{projectRoot}"
}
},
"publish": {
"executor": "nx:run-commands",
"options": {
Expand Down

0 comments on commit 6e1f361

Please sign in to comment.