Skip to content

Commit

Permalink
chore: add tsuml2
Browse files Browse the repository at this point in the history
and tidy up unused dev uml dependencies
  • Loading branch information
zz-hh-aa committed Oct 11, 2024
1 parent 5b26f25 commit f23ceef
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 33 deletions.
146 changes: 118 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"postinstall": "npm run prisma:generate",
"prettier": "prettier --write .",
"prepare": "husky",
"docs": "typedoc"
"docs": "typedoc && npm run map",
"map": "tsuml2 --glob app/models/**/*.ts --modifiers false --propertyTypes false -m -o docs/class-map.svg"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
Expand Down Expand Up @@ -57,8 +58,8 @@
"prisma": "^5.20.0",
"tailwindcss": "^3.4.10",
"ts-jest": "^29.2.5",
"tsuml2": "^0.17.0",
"typedoc": "^0.26.7",
"typedoc-plugin-mermaid": "^1.12.0",
"typescript": "^5"
}
}
4 changes: 1 addition & 3 deletions typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
"entryPoints": ["app/models/**/*.ts"],
"entryPointStrategy": "expand",
"exclude": ["**/*.test.ts"],
"out": "docs",
"plugin": ["typedoc-plugin-mermaid"]

"out": "docs",
}

0 comments on commit f23ceef

Please sign in to comment.