Skip to content

Commit

Permalink
Switch to nx for monorepo tooling (#13)
Browse files Browse the repository at this point in the history
* Switch to nx for monorepo tooling

* Remove worlds.json
  • Loading branch information
tinkrtailor authored Mar 5, 2024
1 parent 4ed6c8d commit cc8db93
Show file tree
Hide file tree
Showing 9 changed files with 283 additions and 291 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
**/codegen
**/deploys/**
**/cache
**/**/worlds.json
# MUD Client generated static data
**/dist
**/dist

.nx/cache
5 changes: 0 additions & 5 deletions core/smart-character/worlds.json

This file was deleted.

5 changes: 0 additions & 5 deletions core/smart-object-framework/worlds.json

This file was deleted.

5 changes: 0 additions & 5 deletions modules/smart-storage-unit/worlds.json

This file was deleted.

15 changes: 15 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/out"
],
"cache": true
}
},
"defaultBase": "main"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"devDependencies": {
"lerna": "^8.0.1",
"mprocs": "^0.6.4"
"mprocs": "^0.6.4",
"nx": "18.1.0"
}
}
Loading

0 comments on commit cc8db93

Please sign in to comment.