@openapi-typescript-infra/service 6.3.2 → 6.4.0

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 +7 -4
  2. package/package.json +21 -21
package/Makefile CHANGED
@@ -26,18 +26,21 @@ endif
26
26
 
27
27
  build_dir := $(shell node -e "console.log(require('./package.json').exports.replace(/^.\//, '').split('/')[0])")
28
28
  src_files := $(shell find src -name '*.ts')
29
- build_files := $(patsubst src/%.ts,$(build_dir)/%.js,$(src_files))
29
+ ts_sources := $(shell find src -name '*.ts' -not -name '*.d.ts')
30
+ build_files := $(patsubst src/%.ts,$(build_dir)/%.js,$(ts_sources))
31
+ build_dts := $(patsubst src/%.ts,$(build_dir)/%.d.ts,$(ts_sources))
32
+ build_maps := $(patsubst src/%.ts,$(build_dir)/%.js.map,$(ts_sources))
30
33
  camel_case_name := $(shell echo $(SERVICE_NAME) | awk -F- '{result=""; for(i=1; i<=NF; i++) result = result toupper(substr($$i,1,1)) substr($$i,2); print result}' | tr -d '\n')
31
34
  # tsgo is pretty cool. Maybe you should try it?
32
35
  TSC ?= tsc
33
36
 
34
- ts: $(word 1, $(build_files))
37
+ ts: $(build_files) $(build_dts) $(build_maps)
35
38
 
36
39
  clean:
37
40
  yarn dlx rimraf ./$(build_dir) src/generated tsconfig.build.tsbuildinfo
38
41
 
39
- $(word 1, $(build_files)): $(src_files)
40
- yarn $(TSC) -p tsconfig.build.json
42
+ $(build_files) $(build_dts) $(build_maps): $(src_files) tsconfig.build.json tsconfig.json
43
+ yarn $(TSC) -p tsconfig.build.json --noEmitOnError
41
44
  @if yarn info tsc-alias name > /dev/null 2>&1; then \
42
45
  yarn tsc-alias -f --project tsconfig.build.json; \
43
46
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openapi-typescript-infra/service",
3
- "version": "6.3.2",
3
+ "version": "6.4.0",
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
  ".": {
@@ -71,17 +71,17 @@
71
71
  "dependencies": {
72
72
  "@godaddy/terminus": "^4.12.1",
73
73
  "@opentelemetry/api": "^1.9.0",
74
- "@opentelemetry/auto-instrumentations-node": "^0.67.0",
74
+ "@opentelemetry/auto-instrumentations-node": "^0.67.3",
75
75
  "@opentelemetry/exporter-prometheus": "^0.208.0",
76
76
  "@opentelemetry/instrumentation-dns": "^0.52.0",
77
- "@opentelemetry/instrumentation-express": "^0.57.0",
77
+ "@opentelemetry/instrumentation-express": "^0.57.1",
78
78
  "@opentelemetry/instrumentation-generic-pool": "^0.52.0",
79
79
  "@opentelemetry/instrumentation-graphql": "^0.56.0",
80
80
  "@opentelemetry/instrumentation-http": "^0.208.0",
81
81
  "@opentelemetry/instrumentation-net": "^0.52.0",
82
- "@opentelemetry/instrumentation-pg": "^0.61.0",
83
- "@opentelemetry/instrumentation-pino": "^0.55.0",
84
- "@opentelemetry/instrumentation-redis": "^0.57.0",
82
+ "@opentelemetry/instrumentation-pg": "^0.61.2",
83
+ "@opentelemetry/instrumentation-pino": "^0.55.1",
84
+ "@opentelemetry/instrumentation-redis": "^0.57.2",
85
85
  "@opentelemetry/instrumentation-undici": "^0.19.0",
86
86
  "@opentelemetry/resource-detector-container": "^0.7.11",
87
87
  "@opentelemetry/resource-detector-gcp": "^0.43.0",
@@ -93,46 +93,46 @@
93
93
  "clean-stack": "^6.0.0",
94
94
  "cookie-parser": "^1.4.7",
95
95
  "dotenv": "^17.2.3",
96
- "express": "^5.1.0",
96
+ "express": "^5.2.1",
97
97
  "express-openapi-validator": "^5.6.0",
98
98
  "glob": "^13.0.0",
99
- "import-in-the-middle": "^2.0.0",
99
+ "import-in-the-middle": "^2.0.1",
100
100
  "minimist": "^1.2.8",
101
101
  "moderndash": "^4.0.0",
102
102
  "opentelemetry-resource-detector-sync-api": "^0.30.0",
103
- "pino": "^10.1.0",
103
+ "pino": "^10.1.1",
104
104
  "read-package-up": "^12.0.0",
105
105
  "request-ip": "^3.3.0"
106
106
  },
107
107
  "devDependencies": {
108
- "@commitlint/cli": "^20.1.0",
109
- "@commitlint/config-conventional": "^20.0.0",
108
+ "@commitlint/cli": "^20.3.1",
109
+ "@commitlint/config-conventional": "^20.3.1",
110
110
  "@openapi-typescript-infra/cpconfig": "^1.1.0",
111
111
  "@semantic-release/commit-analyzer": "^13.0.1",
112
112
  "@semantic-release/exec": "^7.1.0",
113
113
  "@semantic-release/github": "^12.0.2",
114
114
  "@semantic-release/release-notes-generator": "^14.1.0",
115
115
  "@types/cookie-parser": "^1.4.10",
116
- "@types/express": "^5.0.5",
116
+ "@types/express": "^5.0.6",
117
117
  "@types/minimist": "^1.2.5",
118
- "@types/node": "^24.10.1",
118
+ "@types/node": "^24.10.5",
119
119
  "@types/request-ip": "^0.0.41",
120
120
  "@types/supertest": "^6.0.3",
121
- "@typescript-eslint/eslint-plugin": "^8.47.0",
122
- "@typescript-eslint/parser": "^8.47.0",
121
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
122
+ "@typescript-eslint/parser": "^8.52.0",
123
123
  "cpconfig": "^1.4.4",
124
- "eslint": "^9.39.1",
124
+ "eslint": "^9.39.2",
125
125
  "eslint-config-prettier": "^10.1.8",
126
126
  "eslint-import-resolver-typescript": "^4.4.4",
127
127
  "eslint-plugin-import": "^2.32.0",
128
- "pino-pretty": "^13.1.2",
128
+ "pino-pretty": "^13.1.3",
129
129
  "pinst": "^3.0.0",
130
- "prettier": "^3.6.2",
131
- "supertest": "^7.1.4",
130
+ "prettier": "^3.7.4",
131
+ "supertest": "^7.2.2",
132
132
  "tsconfig-paths": "^4.2.0",
133
- "tsx": "^4.20.6",
133
+ "tsx": "^4.21.0",
134
134
  "typescript": "^5.9.3",
135
- "vitest": "^4.0.13"
135
+ "vitest": "^4.0.16"
136
136
  },
137
137
  "resolutions": {
138
138
  "qs": "^6.11.0"