@openapi-typescript-infra/service 5.3.0 → 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.
package/.eslintrc.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Instead, edit the coconfig.js or coconfig.ts file in your project root.
4
4
  *
5
5
  * See https://github.com/gas-buddy/coconfig for more information.
6
- * @version coconfig@1.5.2
6
+ * @version coconfig@1.6.0
7
7
  */
8
8
  const configModule = require('@openapi-typescript-infra/coconfig');
9
9
 
package/.prettierrc.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Instead, edit the coconfig.js or coconfig.ts file in your project root.
4
4
  *
5
5
  * See https://github.com/gas-buddy/coconfig for more information.
6
- * @version coconfig@1.5.2
6
+ * @version coconfig@1.6.0
7
7
  */
8
8
  const configModule = require('@openapi-typescript-infra/coconfig');
9
9
 
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.0",
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
  ".": {
@@ -117,7 +117,7 @@
117
117
  "@types/supertest": "^6.0.2",
118
118
  "@typescript-eslint/eslint-plugin": "^7.18.0",
119
119
  "@typescript-eslint/parser": "^7.18.0",
120
- "coconfig": "^1.5.2",
120
+ "coconfig": "^1.6.0",
121
121
  "eslint": "^8.57.1",
122
122
  "eslint-config-prettier": "^9.1.0",
123
123
  "eslint-import-resolver-typescript": "^3.6.3",
package/vitest.config.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Instead, edit the coconfig.js or coconfig.ts file in your project root.
4
4
  *
5
5
  * See https://github.com/gas-buddy/coconfig for more information.
6
- * @version coconfig@1.5.2
6
+ * @version coconfig@1.6.0
7
7
  */
8
8
  import cjs from '@openapi-typescript-infra/coconfig';
9
9
  import * as esmToCjs from '@openapi-typescript-infra/coconfig';