@openapi-typescript-infra/service 6.1.2 → 6.1.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/Makefile +3 -1
- package/package.json +2 -2
package/Makefile
CHANGED
|
@@ -28,6 +28,8 @@ build_dir := $(shell node -e "console.log(require('./package.json').exports.repl
|
|
|
28
28
|
src_files := $(shell find src -name '*.ts')
|
|
29
29
|
build_files := $(patsubst src/%.ts,$(build_dir)/%.js,$(src_files))
|
|
30
30
|
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
|
+
# tsgo is pretty cool. Maybe you should try it?
|
|
32
|
+
TSC ?= tsc
|
|
31
33
|
|
|
32
34
|
ts: $(word 1, $(build_files))
|
|
33
35
|
|
|
@@ -35,7 +37,7 @@ clean:
|
|
|
35
37
|
yarn dlx rimraf ./$(build_dir) src/generated tsconfig.build.tsbuildinfo
|
|
36
38
|
|
|
37
39
|
$(word 1, $(build_files)): $(src_files)
|
|
38
|
-
yarn
|
|
40
|
+
yarn $(TSC) -p tsconfig.build.json
|
|
39
41
|
@if yarn info tsc-alias name --silent > /dev/null 2>&1; then \
|
|
40
42
|
yarn tsc-alias --project tsconfig.build.json; \
|
|
41
43
|
fi
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-typescript-infra/service",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.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
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"tsconfig-paths": "^4.2.0",
|
|
132
132
|
"tsx": "^4.20.6",
|
|
133
133
|
"typescript": "^5.9.3",
|
|
134
|
-
"vitest": "^4.0.
|
|
134
|
+
"vitest": "^4.0.7"
|
|
135
135
|
},
|
|
136
136
|
"resolutions": {
|
|
137
137
|
"qs": "^6.11.0"
|