@openapi-typescript-infra/service 4.3.0 → 4.3.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [4.3.1](https://github.com/openapi-typescript-infra/service/compare/v4.3.0...v4.3.1) (2023-10-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **make:** use more compatible awk function ([fa9adda](https://github.com/openapi-typescript-infra/service/commit/fa9addab9be8a56e5ec99d8d6e9c436b1faccc40))
7
+
1
8
  # [4.3.0](https://github.com/openapi-typescript-infra/service/compare/v4.2.0...v4.3.0) (2023-10-19)
2
9
 
3
10
 
package/Makefile CHANGED
@@ -55,7 +55,7 @@ src/generated/service/index.ts: $(shell find api -type f)
55
55
  # Config schema generation
56
56
  # Function to convert snake case to camel case
57
57
  define to_camel
58
- $(shell echo $(1) | awk -F- '{for(i=1; i<=NF; i++) $i=toupper(substr($i,1,1)) substr($i,2)} 1' | tr -d '\n')
58
+ $(shell echo $(1) | awk -F- '{result=""; for(i=1; i<=NF; i++) result = result toupper(substr($$i,1,1)) substr($$i,2); print result}' | tr -d '\n')
59
59
  endef
60
60
 
61
61
  export CONFIG_SOURCE ?= src/types/config.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openapi-typescript-infra/service",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
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
  "main": "build/index.js",
6
6
  "scripts": {