File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010export { Logger } from './src/logger.ts'
1111export { targets } from './src/targets/main.ts'
1212export { defineConfig } from './src/define_config.ts'
13- export { destinations } from './src/destinations.cts'
1413export { LoggerManager } from './src/logger_manager.ts'
1514export {
1615 transport ,
Original file line number Diff line number Diff line change 1212 "exports" : {
1313 "." : " ./build/index.js" ,
1414 "./types" : " ./build/src/types.js" ,
15+ "./destinations" : " ./build/src/destinations.cjs" ,
1516 "./factories" : " ./build/factories/main.js"
1617 },
1718 "engines" : {
2526 "typecheck" : " tsc --noEmit" ,
2627 "clean" : " del-cli build" ,
2728 "precompile" : " npm run lint && npm run clean " ,
28- "compile" : " tsup-node && tsc --emitDeclarationOnly --declaration" ,
29+ "compile" : " tsup-node && tsc --emitDeclarationOnly --declaration && tsc src/destinations.cts --outDir build/src " ,
2930 "build" : " npm run compile" ,
3031 "docs" : " typedoc" ,
3132 "version" : " npm run build" ,
Original file line number Diff line number Diff line change 77 * file that was distributed with this source code.
88 */
99
10- import { type PrettyTargetOptions } from './types.ts '
10+ import { type PrettyTargetOptions } from './types.js '
1111
1212/**
1313 * Collection of destination helpers for logger transport targets
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { test } from '@japa/runner'
1111import { levels } from '../src/pino.ts'
1212import { Logger } from '../src/logger.ts'
1313import { getFakeStream } from '../factories/logger.ts'
14- import { destinations } from '../index.ts '
14+ import { destinations } from '../src/destinations.cts '
1515
1616test . group ( 'Logger' , ( ) => {
1717 test ( 'log message at all log levels' , ( { assert } ) => {
You can’t perform that action at this time.
0 commit comments