Commits on Source (23)
-
creations authored
-
creations authored
-
creations authored
- Rename customColors to tagColors (BREAKING CHANGE) - Add comprehensive ANSI color support (bold, bright, bg variants) - Split configuration docs into separate configuration.md - Streamline main README with doc links - Update all examples to use new tagColors property BREAKING CHANGE: customColors config property renamed to tagColors
Showing
- .forgejo/workflows/biomejs.yml 0 additions, 24 deletions.forgejo/workflows/biomejs.yml
- .gitlab-ci.yml 20 additions, 0 deletions.gitlab-ci.yml
- README.md 35 additions, 214 deletionsREADME.md
- biome.json 18 additions, 9 deletionsbiome.json
- configuration.md 145 additions, 0 deletionsconfiguration.md
- demo/image-no-pretty.png 0 additions, 0 deletionsdemo/image-no-pretty.png
- demo/image.png 0 additions, 0 deletionsdemo/image.png
- package.json 36 additions, 28 deletionspackage.json
- src/index.ts 48 additions, 57 deletionssrc/index.ts
- src/lib/char.ts 268 additions, 61 deletionssrc/lib/char.ts
- src/lib/config.ts 293 additions, 40 deletionssrc/lib/config.ts
- src/lib/file.ts 75 additions, 41 deletionssrc/lib/file.ts
- tsconfig.json 3 additions, 5 deletionstsconfig.json
- tsup.config.ts 29 additions, 0 deletionstsup.config.ts
- types/index.ts 28 additions, 6 deletionstypes/index.ts
.forgejo/workflows/biomejs.yml
deleted
100644 → 0
.gitlab-ci.yml
0 → 100644
configuration.md
0 → 100644
demo/image-no-pretty.png
deleted
100644 → 0
17 KiB
demo/image.png
deleted
100644 → 0
32.5 KiB
{ | ||
"name": "@atums/echo", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"description": "A minimal, flexible logger", | ||
"private": false, | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"lib/char": ["./dist/lib/char.d.ts"], | ||
"lib/config": ["./dist/lib/config.d.ts"] | ||
} | ||
}, | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.js" | ||
}, | ||
"./lib/char": { | ||
"import": "./dist/lib/char.js", | ||
"require": "./dist/lib/char.js" | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"./lib/config": { | ||
"import": "./dist/lib/config.js", | ||
"require": "./dist/lib/config.js" | ||
"require": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.cjs" | ||
} | ||
} | ||
}, | ||
"scripts": { | ||
"dev": "bun run build --watch", | ||
"build": "rm -rf dist && tsup src/index.ts --dts --out-dir dist --format esm,cjs", | ||
"dev": "bun run --watch build", | ||
"build": "rm -rf dist && tsup && rm -f dist/*.d.cts dist/**/*.d.cts", | ||
"lint": "bunx biome check", | ||
"lint:fix": "bunx biome check --fix", | ||
"cleanup": "rm -rf logs node_modules bun.lock" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.9.4", | ||
"@types/bun": "^1.2.13", | ||
"tsup": "^8.5.0", | ||
"typescript": "^5.8.3" | ||
"@biomejs/biome": "^2.0.6", | ||
"@types/bun": "latest", | ||
"tsup": "latest" | ||
}, | ||
"files": ["dist", "README.md", "LICENSE"], | ||
"files": [ | ||
"dist", | ||
"README.md", | ||
"LICENSE", | ||
"configuration.md" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://git.creations.works/atums/echo" | ||
"url": "https://heliopolis.live/atums/echo" | ||
}, | ||
"keywords": [ | ||
"logger", | ||
"logging", | ||
"typescript", | ||
"nodejs", | ||
"structured" | ||
], | ||
"author": "creations.works", | ||
"homepage": "https://heliopolis.live/atums/echo", | ||
"bugs": { | ||
"url": "https://heliopolis.live/atums/echo/issues" | ||
}, | ||
"dependencies": { | ||
"date-fns-tz": "^3.2.0" | ||
"date-fns-tz": "latest" | ||
} | ||
} |
tsup.config.ts
0 → 100644