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;
27
27
28
28
# General utilities
29
29
clean :
30
- yarn dlx rimraf ./$(build_dir ) src/generated
30
+ yarn dlx rimraf ./$(build_dir ) src/generated tsconfig.build.tsbuildinfo
31
31
32
32
# Typescript items
33
33
ts : $(word 1, $(build_files ) )
@@ -60,13 +60,14 @@ endif
60
60
# Config schema generation
61
61
CONFIG_TYPE_SRC ?= src/types/config.ts
62
62
CONFIG_TYPE ?= $(camel_case_name ) ConfigSchema
63
+ CONFIG_TS_CONFIG ?= tsconfig.tsup.json
63
64
64
65
config-schema : src/generated/config-validator.ts
65
66
66
67
src/generated/config-validator.ts : $(CONFIG_TYPE_SRC )
67
68
yarn typia-standalone-validator --force \
68
69
$(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
70
71
71
72
# Postgres database things
72
73
export PGUSER ?= postgres
You can’t perform that action at this time.
0 commit comments