Package tests added: - @bytelyst/cosmos: 12 tests (client singleton, env vars, container registry) - @bytelyst/config: 15 tests (base schema, loadConfig, product identity) - @bytelyst/auth: 10 tests (JWT round-trip, password hash/verify) - @bytelyst/api-client: 10 tests (fetch, safeFetch, auth injection) - @bytelyst/design-tokens: 11 tests (loadTokens, generated file checks) New package: - @bytelyst/fastify-core: 8 tests (createServiceApp factory with CORS, x-request-id, health endpoint, ServiceError handler) Total: 246 tests passing (was 180)
28 lines
493 B
JSON
28 lines
493 B
JSON
{
|
|
"name": "@bytelyst/fastify-core",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/errors": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"fastify": ">=5.0.0",
|
|
"@fastify/cors": ">=10.0.0"
|
|
}
|
|
}
|