File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ camel_case_name := $(shell echo $(SERVICE_NAME) | awk -F- '{result=""; for(i=1;
2727
2828# General utilities
2929clean :
30- yarn dlx rimraf ./$(build_dir ) src/generated
30+ yarn dlx rimraf ./$(build_dir ) src/generated tsconfig.build.tsbuildinfo
3131
3232# Typescript items
3333ts : $(word 1, $(build_files ) )
@@ -60,13 +60,14 @@ endif
6060# Config schema generation
6161CONFIG_TYPE_SRC ?= src/types/config.ts
6262CONFIG_TYPE ?= $(camel_case_name ) ConfigSchema
63+ CONFIG_TS_CONFIG ?= tsconfig.tsup.json
6364
6465config-schema : src/generated/config-validator.ts
6566
6667src/generated/config-validator.ts : $(CONFIG_TYPE_SRC )
6768 yarn typia-standalone-validator --force \
6869 $(CONFIG_TYPE_SRC ) $(CONFIG_TYPE ) \
69- --project tsconfig.json -o src/generated/config-validator.ts
70+ --project $( CONFIG_TS_CONFIG ) -o src/generated/config-validator.ts
7071
7172# Postgres database things
7273export PGUSER ?= postgres
You can’t perform that action at this time.
0 commit comments