specify zod version in workspace install command

Signed-off-by: Claire Casey <ccasey@spotify.com>
This commit is contained in:
Claire Casey
2023-03-20 10:45:24 -07:00
parent 21e9c235b9
commit c1db0317f6
2 changed files with 2 additions and 3 deletions
@@ -91,7 +91,7 @@ This enables decisions based on characteristics of the resource, but it's import
Install the missing module:
```bash
$ yarn workspace @internal/plugin-todo-list-backend add @backstage/plugin-permission-node
$ yarn workspace @internal/plugin-todo-list-backend add @backstage/plugin-permission-node zod@~3.18.0
```
Create a new `plugins/todo-list-backend/src/service/rules.ts` file and append the following code:
@@ -34,8 +34,7 @@
"express-promise-router": "^4.1.0",
"uuid": "^8.3.2",
"winston": "^3.2.1",
"yn": "^4.0.0",
"zod": "~3.18.0"
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",