fix(protobuf): codegen devdependencies

This commit is contained in:
Tomas Martykan
2024-02-13 16:40:20 +01:00
committed by martin
parent cf761cbc5b
commit 0632e9ced3
3 changed files with 5 additions and 3 deletions

View File

@@ -25,8 +25,8 @@
"test:unit": "yarn g:jest -c ../../jest.config.base.js",
"type-check": "yarn g:tsc --build",
"build:lib": "yarn g:rimraf ./lib && yarn g:tsc --build tsconfig.lib.json",
"update:schema": "yarn workspace @trezor/schema-utils codegen $(pwd)/src/messages.ts > src/messages-schema.ts && npx prettier --write src/messages-schema.ts && eslint --fix src/messages-schema.ts",
"update:protobuf": "./scripts/protobuf-build.sh && npx prettier --write \"{messages.json,src/messages.ts}\"",
"update:schema": "yarn workspace @trezor/schema-utils codegen $(pwd)/src/messages.ts > src/messages-schema.ts && yarn g:prettier --write src/messages-schema.ts && yarn g:eslint --fix src/messages-schema.ts",
"update:protobuf": "./scripts/protobuf-build.sh && yarn g:prettier --write \"{messages.json,src/messages.ts}\"",
"prepublishOnly": "yarn g:tsx ../../scripts/prepublishNPM.js",
"prepublish": "yarn g:tsx ../../scripts/prepublish.js"
},

View File

@@ -18,7 +18,8 @@
"prepublish": "yarn g:tsx ../../scripts/prepublish.js"
},
"devDependencies": {
"@sinclair/typebox-codegen": "^0.8.13"
"@sinclair/typebox-codegen": "^0.8.13",
"ts-node": "^10.9.2"
},
"dependencies": {
"@sinclair/typebox": "^0.31.28",

View File

@@ -9457,6 +9457,7 @@ __metadata:
"@sinclair/typebox": "npm:^0.31.28"
"@sinclair/typebox-codegen": "npm:^0.8.13"
ts-mixer: "npm:^6.0.3"
ts-node: "npm:^10.9.2"
languageName: unknown
linkType: soft