openapi-utils: move tests utils to separate entrypoint

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2025-01-21 20:05:04 +01:00
parent 08cb6ef94c
commit 541cb4e219
2 changed files with 14 additions and 1 deletions
@@ -18,8 +18,22 @@
"directory": "packages/backend-openapi-utils"
},
"license": "Apache-2.0",
"exports": {
".": "./src/index.ts",
"./tests": "./src/testUtils.ts"
},
"main": "src/index.ts",
"types": "src/index.ts",
"typesVersions": {
"*": {
"tests": [
"src/testUtils.ts"
],
"package.json": [
"package.json"
]
}
},
"files": [
"dist"
],