Skip to content

Commit

Permalink
add shared dependencies to catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Sep 8, 2024
1 parent b2f4e2a commit 8626969
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 6 deletions.
29 changes: 28 additions & 1 deletion pnpm-lock.yaml

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

8 changes: 5 additions & 3 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ packages:
- 'client/**'
- 'shared/**'

## use catalog here for shared dependencies, i.e:
#catalog:
# zod: 3.23.8

catalog:
pg: "^8.12.0"
typeorm: "^0.3.20"
zod: "^3.23.8"
5 changes: 3 additions & 2 deletions shared/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "shared",
"private": true,
"dependencies": {
},
"devDependencies": {
"pg": "catalog:",
"typeorm": "catalog:",
"zod": "catalog:"
}
}

0 comments on commit 8626969

Please sign in to comment.