From 32ee83bb64318e1cad1ae725f6ecaf949571fd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Thu, 10 Aug 2023 09:14:25 -0300 Subject: [PATCH] feat(app): import packages as types --- package-lock.json | 4 ++-- package.json | 2 +- src/applications/Artisan.ts | 2 +- src/applications/Http.ts | 2 +- src/ignite/Ignite.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca6b150..fcfc101 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/core", - "version": "4.2.0", + "version": "4.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@athenna/core", - "version": "4.2.0", + "version": "4.3.0", "license": "MIT", "dependencies": { "pretty-repl": "^3.1.2", diff --git a/package.json b/package.json index 033fdc8..23e1556 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/core", - "version": "4.2.0", + "version": "4.3.0", "description": "The plug and play Node.js framework.", "license": "MIT", "author": "João Lenon ", diff --git a/src/applications/Artisan.ts b/src/applications/Artisan.ts index bc05f35..c88825c 100644 --- a/src/applications/Artisan.ts +++ b/src/applications/Artisan.ts @@ -8,8 +8,8 @@ */ import { Log } from '@athenna/logger' -import { ArtisanImpl } from '@athenna/artisan' import { Module, Options } from '@athenna/common' +import type { ArtisanImpl } from '@athenna/artisan' import type { ArtisanOptions } from '#src/types/ArtisanOptions' export class Artisan { diff --git a/src/applications/Http.ts b/src/applications/Http.ts index b3b2593..8359e45 100644 --- a/src/applications/Http.ts +++ b/src/applications/Http.ts @@ -8,7 +8,7 @@ */ import { Log } from '@athenna/logger' -import { ServerImpl } from '@athenna/http' +import type { ServerImpl } from '@athenna/http' import { Is, Module, Options } from '@athenna/common' import type { HttpOptions } from '#src/types/HttpOptions' diff --git a/src/ignite/Ignite.ts b/src/ignite/Ignite.ts index 3cfbbfb..aa116f4 100644 --- a/src/ignite/Ignite.ts +++ b/src/ignite/Ignite.ts @@ -17,10 +17,10 @@ import type { import { Ioc } from '@athenna/ioc' import { Http } from '#src/applications/Http' import { Repl } from '#src/applications/Repl' -import type { PrettyREPLServer } from 'pretty-repl' import { EnvHelper, Rc } from '@athenna/config' import { isAbsolute, resolve } from 'node:path' import { Artisan } from '#src/applications/Artisan' +import type { PrettyREPLServer } from 'pretty-repl' import { LoadHelper } from '#src/helpers/LoadHelper' import { Log, LoggerProvider } from '@athenna/logger' import { File, Is, Module, Options } from '@athenna/common'