@openapi-typescript-infra/service 6.1.1 → 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/build/bootstrap.js +1 -1
- package/build/bootstrap.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/bootstrap.ts +2 -2
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
|
".": {
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
"@types/node": "^24.10.0",
|
|
118
118
|
"@types/request-ip": "^0.0.41",
|
|
119
119
|
"@types/supertest": "^6.0.3",
|
|
120
|
-
"@typescript-eslint/eslint-plugin": "^8.46.
|
|
121
|
-
"@typescript-eslint/parser": "^8.46.
|
|
120
|
+
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
121
|
+
"@typescript-eslint/parser": "^8.46.3",
|
|
122
122
|
"coconfig": "^1.6.2",
|
|
123
123
|
"eslint": "^8.57.1",
|
|
124
124
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -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"
|
package/src/bootstrap.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
2
|
import assert from 'node:assert';
|
|
3
3
|
|
|
4
|
-
import { config } from 'dotenv';
|
|
4
|
+
import { config, DotenvConfigOptions } from 'dotenv';
|
|
5
5
|
import { readPackageUp } from 'read-package-up';
|
|
6
6
|
import type { NormalizedPackageJson } from 'read-package-up';
|
|
7
7
|
import { NodeSDKConfiguration } from '@opentelemetry/sdk-node';
|
|
@@ -102,7 +102,7 @@ export async function bootstrap<
|
|
|
102
102
|
entrypoint = './build/index.js';
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
config();
|
|
105
|
+
config({ quiet: true } as DotenvConfigOptions);
|
|
106
106
|
|
|
107
107
|
const absoluteEntrypoint = path.resolve(rootDirectory, entrypoint);
|
|
108
108
|
if (argv?.telemetry) {
|