@openapi-typescript-infra/service 5.3.1 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Makefile +3 -2
  2. package/package.json +1 -1
package/Makefile CHANGED
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openapi-typescript-infra/service",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "description": "An opinionated framework for building configuration driven services - web, api, or ob. Uses OpenAPI, pino logging, express, confit, Typescript and vitest.",
5
5
  "exports": {
6
6
  ".": {