@openapi-typescript-infra/service 4.8.6 → 4.8.7
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 +7 -0
- package/Makefile +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [4.8.7](https://github.com/openapi-typescript-infra/service/compare/v4.8.6...v4.8.7) (2023-11-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **make:** another indent fix ([28120f9](https://github.com/openapi-typescript-infra/service/commit/28120f999bd92ec93791fb9116999f7557dbc05b))
|
|
7
|
+
|
|
1
8
|
## [4.8.6](https://github.com/openapi-typescript-infra/service/compare/v4.8.5...v4.8.6) (2023-11-20)
|
|
2
9
|
|
|
3
10
|
|
package/Makefile
CHANGED
|
@@ -45,17 +45,17 @@ bundlespec:
|
|
|
45
45
|
|
|
46
46
|
src/generated/service/index.ts: $(shell find api -type f)
|
|
47
47
|
echo "Building service interface"
|
|
48
|
-
|
|
48
|
+
ifndef BUNDLE_OUTPUT
|
|
49
49
|
$(eval BUNDLE_OUTPUT := $(shell mktemp -d))
|
|
50
50
|
$(eval GENERATED_DIR := true)
|
|
51
|
-
|
|
51
|
+
endif
|
|
52
52
|
$(MAKE) bundlespec SERVICE_NAME=$(SERVICE_NAME) BUNDLE_OUTPUT=$(BUNDLE_OUTPUT)
|
|
53
53
|
yarn dlx openapi-typescript-express $(BUNDLE_OUTPUT)/openapi-spec.json \
|
|
54
54
|
--output ./src/generated/service/index.ts
|
|
55
55
|
yarn prettier ./src/generated/service/index.ts --write
|
|
56
|
-
|
|
56
|
+
ifdef GENERATED_DIR
|
|
57
57
|
rm -rf $(BUNDLE_OUTPUT)
|
|
58
|
-
|
|
58
|
+
endif
|
|
59
59
|
|
|
60
60
|
# Config schema generation
|
|
61
61
|
CONFIG_TYPE_SRC ?= src/types/config.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-typescript-infra/service",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.7",
|
|
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": {
|