Skip to content

Commit

Permalink
Updated monorepo example to also build/watch module on monorepo:start…
Browse files Browse the repository at this point in the history
… command
  • Loading branch information
doseofted committed Jan 15, 2023
1 parent 8544ac9 commit 8a5818a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/04-monorepo/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Monorepo Example

In this example, a web server and web browser are bridged with Prim+RPC. This is
very similar to the [Client /Server Example](../02-client-server) except that
very similar to the [Client / Server Example](../02-client-server) except that
this example splits the client, server, and module into separate packages in a
monolithic repository (monorepo).

Expand Down
1 change: 1 addition & 0 deletions examples/04-monorepo/packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"build": "tsup --config build.config.js",
"dev": "tsup --watch --config build.config.js",
"start": "pnpm dev",
"check": "tsc --noEmit"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"build": {
"outputs": ["dist/**"]
},
"dev": {
"outputs": []
},
"start": {
"dependsOn": ["^build"]
}
Expand Down

0 comments on commit 8a5818a

Please sign in to comment.