From 7dc4981907ee0e0ed342b55c49cb3cfaaedf06c3 Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Thu, 27 Mar 2025 01:08:05 +0900 Subject: [PATCH] build: update package.json main and types paths Update the `main` field to point to the `lib` directory instead of `dist/lib` and add the `types` field to specify the TypeScript definition file location. This change aligns the package configuration with the actual file structure and improves TypeScript support. --- packages/nestlogged/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nestlogged/package.json b/packages/nestlogged/package.json index 410bf24..f3be418 100644 --- a/packages/nestlogged/package.json +++ b/packages/nestlogged/package.json @@ -2,7 +2,8 @@ "name": "nestlogged", "version": "3.2.3", "description": "A NestJS Logger Decorator Library", - "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",