From 0c722ae9d7839286489f688e5ec655f6aea6035e Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Thu, 27 Mar 2025 01:27:22 +0900 Subject: [PATCH] refactor(nestlogged-fastify): change out directory to lib --- packages/nestlogged-fastify/package.json | 5 +++-- packages/nestlogged-fastify/tsconfig.build.json | 2 +- packages/nestlogged-fastify/tsconfig.json | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/nestlogged-fastify/package.json b/packages/nestlogged-fastify/package.json index 3ccfed7..9f47055 100644 --- a/packages/nestlogged-fastify/package.json +++ b/packages/nestlogged-fastify/package.json @@ -1,8 +1,9 @@ { "name": "nestlogged-fastify", - "version": "3.2.3", + "version": "3.2.4", "description": "A NestJS Logger Decorator Library With Fastify Support", - "main": "./dist/lib/index.js", + "main": "./lib/index.js", + "types": "./lib/index.d.ts", "repository": "https://git.psw.kr/p-sw/nestlogged", "author": "Shinwoo PARK", "license": "MIT", diff --git a/packages/nestlogged-fastify/tsconfig.build.json b/packages/nestlogged-fastify/tsconfig.build.json index 1ab50dd..786db75 100644 --- a/packages/nestlogged-fastify/tsconfig.build.json +++ b/packages/nestlogged-fastify/tsconfig.build.json @@ -2,7 +2,7 @@ "extends": "./tsconfig.json", "exclude": [ "node_modules", - "dist", + "lib", "src/test", ], "compilerOptions": { diff --git a/packages/nestlogged-fastify/tsconfig.json b/packages/nestlogged-fastify/tsconfig.json index 3546de1..96b36a8 100644 --- a/packages/nestlogged-fastify/tsconfig.json +++ b/packages/nestlogged-fastify/tsconfig.json @@ -3,7 +3,7 @@ "module": "commonjs", "target": "ES2021", "sourceMap": false, - "outDir": "./dist/lib", + "outDir": "./lib", "rootDir": "./src", "declaration": true, "declarationMap": false, @@ -12,6 +12,6 @@ }, "exclude": [ "node_modules", - "dist", + "lib", ], }