Skip to content

Commit d6ba331

Browse files
committed
Use yarn instead of npx to use pinned openapi-typescrip
1 parent c4d9991 commit d6ba331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ remove-api-schema:
203203
rm _shed_schema.yaml
204204

205205
update-client-api-schema: client-node-deps build-api-schema ## Update client API schema
206-
$(IN_VENV) cd client && npx openapi-typescript ../_schema.yaml > src/api/schema/schema.ts && npx prettier --write src/api/schema/schema.ts
207-
$(IN_VENV) cd client && npx openapi-typescript ../_shed_schema.yaml > ../lib/tool_shed/webapp/frontend/src/schema/schema.ts && npx prettier --write ../lib/tool_shed/webapp/frontend/src/schema/schema.ts
206+
$(IN_VENV) cd client && yarn openapi-typescript ../_schema.yaml -o src/api/schema/schema.ts && yarn prettier --write src/api/schema/schema.ts
207+
$(IN_VENV) cd client && yarn openapi-typescript ../_shed_schema.yaml -o ../lib/tool_shed/webapp/frontend/src/schema/schema.ts && yarn prettier --write ../lib/tool_shed/webapp/frontend/src/schema/schema.ts
208208
$(MAKE) remove-api-schema
209209

210210
lint-api-schema: build-api-schema

0 commit comments

Comments
 (0)