From ec39cba60626029f7e0cf62ee2bf1207ad8dbf43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Thu, 5 May 2022 23:27:32 -0300 Subject: [PATCH] fix(esm): export facades and providers --- package-lock.json | 4 ++-- package.json | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7f6c1a5..6af188e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/logger", - "version": "1.0.0", + "version": "1.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@athenna/logger", - "version": "1.0.0", + "version": "1.2.0", "license": "MIT", "dependencies": { "@athenna/ioc": "1.1.7", diff --git a/package.json b/package.json index 8e351e4..6f59f96 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/logger", - "version": "1.1.9", + "version": "1.2.0", "description": "Template for new projects.", "license": "MIT", "author": "João Lenon ", @@ -23,12 +23,16 @@ ], "type": "module", "main": "./src/index.js", - "exports": "./src/index.js", "types": "./src/index.d.ts", "imports": { "#src/*": "./src/*.js", "#tests/*": "./tests/*.js" }, + "exports": { + ".": "./src/index.js", + "./facades/Log": "./src/Facades/Log.js", + "./providers/LoggerProvider": "./src/Providers/LoggerProvider.js" + }, "dependencies": { "@athenna/ioc": "1.1.7", "@secjs/utils": "1.9.3",