@openapi-typescript-infra/service 4.3.0 → 4.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/CHANGELOG.md +14 -0
- package/Makefile +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.3.2](https://github.com/openapi-typescript-infra/service/compare/v4.3.1...v4.3.2) (2023-10-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **make:** point to generate schema script properly ([2c3c824](https://github.com/openapi-typescript-infra/service/commit/2c3c824e08837d1323f7e09a745ca6bb39ea3b8f))
|
|
7
|
+
|
|
8
|
+
## [4.3.1](https://github.com/openapi-typescript-infra/service/compare/v4.3.0...v4.3.1) (2023-10-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **make:** use more compatible awk function ([fa9adda](https://github.com/openapi-typescript-infra/service/commit/fa9addab9be8a56e5ec99d8d6e9c436b1faccc40))
|
|
14
|
+
|
|
1
15
|
# [4.3.0](https://github.com/openapi-typescript-infra/service/compare/v4.2.0...v4.3.0) (2023-10-19)
|
|
2
16
|
|
|
3
17
|
|
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++)
|
|
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
|
|
@@ -66,7 +66,7 @@ config-schema: src/generated/config-schema.ts
|
|
|
66
66
|
src/generated/config-schema.ts: $(CONFIG_SOURCE)
|
|
67
67
|
mkdir -p src/generated
|
|
68
68
|
echo "Building config schema"
|
|
69
|
-
|
|
69
|
+
yarn generate-config-schema \
|
|
70
70
|
--source $(CONFIG_SOURCE) \
|
|
71
71
|
--type $(CONFIG_TYPE) \
|
|
72
72
|
--output src/generated/config-schema.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-typescript-infra/service",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.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
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|