Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
refactor(logger): separate index file
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Oct 23, 2023
1 parent 5beaaf4 commit bae3b9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"esm",
"alwatr"
],
"main": "logger.js",
"main": "index.js",
"type": "module",
"types": "logger.d.ts",
"types": "index.d.ts",
"author": "S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com)",
"license": "MIT",
"files": [
Expand Down
3 changes: 3 additions & 0 deletions packages/logger/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from './logger.js'
export * from './define-package.js'
export type * from './type.js'
3 changes: 1 addition & 2 deletions packages/logger/src/type.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/* eslint-disable no-var */

export interface GlobalAlwatr {
packages: Record<string, string>;
}

declare global {
// eslint-disable-next-line no-var
var Alwatr: GlobalAlwatr;
}

Expand Down

0 comments on commit bae3b9a

Please sign in to comment.