@openapi-typescript-infra/service 5.1.3 → 5.1.4
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 +4 -1
- package/package.json +1 -1
package/Makefile
CHANGED
|
@@ -94,6 +94,9 @@ dbi: src/generated/database.ts
|
|
|
94
94
|
|
|
95
95
|
src/generated/database.ts: $(wildcard migrations/* migrations/**/*)
|
|
96
96
|
echo "Generating database types"
|
|
97
|
-
|
|
97
|
+
envfile=$$(mktemp) && \
|
|
98
|
+
echo "DATABASE_URL=postgres://$(PGUSER):$(PGPASSWORD)@$(PGHOST)/$(DB_NAME)" > $$envfile && \
|
|
99
|
+
yarn kysely-codegen \
|
|
100
|
+
--env-file $$envfile \
|
|
98
101
|
--dialect postgres --schema public \
|
|
99
102
|
--out-file src/generated/database.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openapi-typescript-infra/service",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.4",
|
|
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
|
".": {
|