add zod as dependency to specify version

Signed-off-by: Claire Casey <ccasey@spotify.com>
This commit is contained in:
Claire Casey
2023-03-10 16:25:47 -05:00
parent 297118ce46
commit 21e9c235b9
2 changed files with 3 additions and 2 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 zod
$ yarn workspace @internal/plugin-todo-list-backend add @backstage/plugin-permission-node
```
Create a new `plugins/todo-list-backend/src/service/rules.ts` file and append the following code:
@@ -34,7 +34,8 @@
"express-promise-router": "^4.1.0",
"uuid": "^8.3.2",
"winston": "^3.2.1",
"yn": "^4.0.0"
"yn": "^4.0.0",
"zod": "~3.18.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",