@openapi-typescript-infra/service 2.6.1 → 2.6.3
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
|
+
## [2.6.3](https://github.com/openapi-typescript-infra/service/compare/v2.6.2...v2.6.3) (2023-09-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **openapi:** use latest cli ([2cf2fa2](https://github.com/openapi-typescript-infra/service/commit/2cf2fa222b56ac607c1d9eed0313d6efcd1cf738))
|
|
7
|
+
|
|
8
|
+
## [2.6.2](https://github.com/openapi-typescript-infra/service/compare/v2.6.1...v2.6.2) (2023-09-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **openapi:** depend on all files in subdirs ([d4eaa2c](https://github.com/openapi-typescript-infra/service/commit/d4eaa2cdbaa791bb250f41ce6703c32f8c90b192))
|
|
14
|
+
|
|
1
15
|
## [2.6.1](https://github.com/openapi-typescript-infra/service/compare/v2.6.0...v2.6.1) (2023-09-16)
|
|
2
16
|
|
|
3
17
|
|
package/Makefile
CHANGED
|
@@ -36,10 +36,10 @@ $(word 1, $(build_files)): $(src_files)
|
|
|
36
36
|
|
|
37
37
|
service: src/generated/service/index.ts
|
|
38
38
|
|
|
39
|
-
src/generated/service/index.ts: api
|
|
39
|
+
src/generated/service/index.ts: $(shell find api -type f)
|
|
40
40
|
echo "Building service interface"
|
|
41
41
|
$(eval TMP := $(shell mktemp -d))
|
|
42
|
-
|
|
42
|
+
npx --yes @redocly/cli@latest bundle ./api/${SERVICE_NAME}.yaml -o $(TMP)/api.yaml
|
|
43
43
|
yarn dlx openapi-typescript-express $(TMP)/api.yaml \
|
|
44
44
|
--output ./src/generated/service/index.ts
|
|
45
45
|
./node_modules/.bin/prettier ./src/generated/service/index.ts --write
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-typescript-infra/service",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.3",
|
|
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": {
|