From b30a70dc375a80bb90a10aa1505c5d00d0bec519 Mon Sep 17 00:00:00 2001 From: Aniket Katkar Date: Sun, 3 Aug 2025 21:15:51 +0530 Subject: [PATCH] Chore(UI): Add make recipe for updating the typescript types (#22688) * Add make recipe for updating the typescript types * change recipe name --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 784f6f44806..11336d2ef72 100644 --- a/Makefile +++ b/Makefile @@ -219,3 +219,10 @@ update_dockerfile_ri_version: ## To update the dockerfile RI_VERSION argument #make update_dockerfile_ri_version RELEASE_VERSION=2.2.2 #Upgrade release automation scripts above + +.PHONY: update_typescript_types +update_typescript_types: + @echo "Generating JSON to TS files" + ./openmetadata-ui/src/main/resources/ui/json2ts-generate-all.sh -l true + @echo "Generating antlr typescript files" + $(MAKE) js_antlr