File tree Expand file tree Collapse file tree 4 files changed +18
-9
lines changed
Expand file tree Collapse file tree 4 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 3434 ],
3535 "scripts" : {
3636 "build" : " pnpm run \" /^build:.*/\" " ,
37- "build:tsc" : " tsc -b tsconfig.build.json " ,
37+ "build:tsc" : " tsdown " ,
3838 "clean" : " pnpm run \" /^clean:.*/\" " ,
3939 "clean:tsc" : " rm -rf dist" ,
4040 "docs" : " node '../../markdown.mjs'" ,
5353 "@w5s/task" : " workspace:^1.0.0-alpha.0"
5454 },
5555 "devDependencies" : {
56+ "@w5s/tsdown-config" : " 1.0.0-alpha.4" ,
57+ "tsdown" : " 0.21.3" ,
5658 "typescript" : " 5.9.3" ,
5759 "vite" : " latest" ,
5860 "vitest" : " latest"
Original file line number Diff line number Diff line change 1+ import { defineConfig } from '@w5s/tsdown-config' ;
2+
3+ export default defineConfig ( { } ) ;
Original file line number Diff line number Diff line change 1- import { Console as defaultConsole } from '@w5s/console/dist/Console.js' ;
2- import { fontWeight as ansiFontWeight } from '@w5s/console/dist/ANSICode/fontWeight.js' ;
3- import { color as ansiColor } from '@w5s/console/dist/ANSICode/color.js' ;
1+ import { Console as defaultConsole , ANSICode } from '@w5s/console' ;
42import { format as timeAsString } from '@w5s/time/dist/Time/format.js' ;
53import type { LogHandler } from '../LogHandler.js' ;
64import { LogLevelAsString } from '../LogLevel/LogLevelAsString.js' ;
@@ -10,11 +8,11 @@ import type { LogRecord } from '../LogRecord.js';
108import { messageWithData } from '../LogRecord/messageWithData.js' ;
119import type { LogLevel } from '../LogLevel.js' ;
1210
13- const red = ansiColor ( 'red' ) ;
14- const yellow = ansiColor ( 'yellow' ) ;
15- const blue = ansiColor ( 'blue' ) ;
16- const black = ansiColor ( 'black' ) ;
17- const dim = ansiFontWeight ( 'dim' ) ;
11+ const red = ANSICode . color ( 'red' ) ;
12+ const yellow = ANSICode . color ( 'yellow' ) ;
13+ const blue = ANSICode . color ( 'blue' ) ;
14+ const black = ANSICode . color ( 'black' ) ;
15+ const dim = ANSICode . fontWeight ( 'dim' ) ;
1816const formatTime = dim ;
1917const logLevelAsInt = LogLevelAsInt . asInt ;
2018
You can’t perform that action at this time.
0 commit comments