node-ansi-logger 3.3.2-dev-20261101-dd33bb5 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -21,7 +21,9 @@ If you like this project and find it useful, please consider giving it a star on
21
21
 
22
22
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
23
23
 
24
- ## [3.3.2] - Dev branch
24
+ ---
25
+
26
+ ## [3.3.2] - 2026-11-13
25
27
 
26
28
  ### Added
27
29
 
@@ -34,22 +36,22 @@ If you like this project and find it useful, please consider giving it a star on
34
36
  ### Changed
35
37
 
36
38
  - [logger]: BREAKING: Remove the deprecated `logDebug` constructor option. Use `logLevel` instead.
37
- - [vscode]: Update `.vscode/settings.json` to v.1.0.17.
39
+ - [vscode]: Update `.vscode/settings.json` to v.1.0.21.
38
40
  - [config]: Update Oxlint and Oxfmt configurations to v.1.1.0 and Antigravity settings to v.1.0.5.
39
- - [config]: Update TypeScript build configurations and rename `vite.config.ts` to `vitest.config.ts`, including CI workflow detection.
40
- - [styleguide]: Update [`STYLEGUIDE.md`](STYLEGUIDE.md) to v.1.1.0: align it with the lint and format config and add the Commit Messages and Changelog sections.
41
+ - [config]: Update `vitest.config.ts` to v.2.0.9.
42
+ - [styleguide]: Update `STYLEGUIDE.md` to v.1.1.1.
41
43
  - [scripts]: Update scripts to v.2.0.0.
42
44
  - [package]: Upgrade package.
43
- - [package]: Bump `oxfmt` to v.0.75.0.
44
- - [package]: Bump `oxlint` to v.1.90.0.
45
- - [package]: Bump `oxlint-tsgolint` to v.7.0.2004.
46
- - [package]: Bump `vitest` to v.5.0.5.
47
- - [package]: Bump `@vitest/coverage-v8` to v.5.0.5.
45
+ - [package]: Bump `oxfmt` to v.0.78.0.
46
+ - [package]: Bump `oxlint` to v.1.93.0.
47
+ - [package]: Bump `oxlint-tsgolint` to v.7.0.2007.
48
+ - [package]: Bump `vitest` to v.5.1.0.
49
+ - [package]: Bump `@vitest/coverage-v8` to v.5.1.0.
48
50
  - [package]: Bump `@types/node` to v.26.6.6.
49
- - [codex]: Update `.codex/config.toml` to v.1.0.6.
51
+ - [codex]: Update `.codex/config.toml` to v.1.0.8.
50
52
  - [agents]: Update `.github/commit-message-instructions.md` to v.1.0.1.
51
53
  - [vscode]: Update `.vscode/tasks.json`.
52
- - [agents]: Update `AGENTS.md` to v.1.0.8.
54
+ - [agents]: Update `AGENTS.md` to v.1.0.12.
53
55
  - [config]: Update `CODE_OF_CONDUCT.md` to v.1.0.0.
54
56
  - [config]: Update `CONTRIBUTING.md` to v.1.0.1.
55
57
  - [scripts]: Update `scripts/downloads.mjs`.
@@ -58,8 +60,22 @@ If you like this project and find it useful, please consider giving it a star on
58
60
  - [config]: Update `vitest/cache.test.ts`.
59
61
  - [config]: Update `vitest/logger.branchcoverage.test.ts`.
60
62
  - [config]: Update `vitest/logger.test.ts`.
61
- - [config]: Add `SHARED-AGENTS.md`.
63
+ - [config]: Update `SHARED-AGENTS.md` to v.1.0.0.
62
64
  - [config]: Add `TOOLCHAIN.md` v.1.0.1.
65
+ - [agents]: Update `.agents/README.md` to v.1.0.6.
66
+ - [agents]: Update `.agents/rules/testing.instructions.md`, `.claude/rules/testing/testing.instructions.md` and `.github/instructions/testing/testing.instructions.md` to v.1.0.8.
67
+ - [agents]: Update `.agents/skills/verify-agent-context/SKILL.md`, `.claude/skills/verify-agent-context/SKILL.md` and `.github/skills/verify-agent-context/SKILL.md` to v.1.0.6.
68
+ - [agents]: Update `.antigravity/settings.json` to v.1.0.6.
69
+ - [agents]: Update `.claude/settings.json` to v.1.0.12.
70
+ - [codex]: Update `.codex/rules/default.rules` to v.1.0.8.
71
+ - [workflows]: Update `.github/workflows/build.yml` to v.2.0.6.
72
+ - [workflows]: Update `.github/workflows/codecov.yml` to v.2.0.5.
73
+ - [workflows]: Update `.github/workflows/codeql.yml` to v.2.0.0.
74
+ - [workflows]: Update `.github/workflows/publish.yml` to v.2.0.5.
75
+ - [config]: Update `.gitignore` to v.1.0.5.
76
+ - [config]: Update `.oxfmtrc.json` to v.1.2.0.
77
+ - [config]: Update `.oxlintrc.json` to v.1.2.0.
78
+ - [vscode]: Update `.vscode/extensions.json` to v.1.0.6.
63
79
 
64
80
  ### Fixed
65
81
 
package/README.md CHANGED
@@ -216,78 +216,46 @@ log.debug(`State changed: ${green`on`} → ${red`off`}`);
216
216
 
217
217
  ![Example Image](https://github.com/Luligu/node-ansi-logger/blob/main/screenshots/Screenshot.png)
218
218
 
219
- ## Repository toolchain
219
+ ## Development guide
220
+
221
+ Refer to the Matterbridge [Development guide](https://matterbridge.io/README-DEV.html) for other guidelines.
220
222
 
221
- > **Note:** This repository uses a new toolchain. It replaces the traditional TypeScript / ESLint / Prettier / Jest stack with a faster and lighter setup.
223
+ ## Repository toolchain
222
224
 
223
- - **No `typescript 6.x` package** — replaced by [TypeScript Native 7.x](https://github.com/microsoft/typescript-go).
224
- - **No ESLint, no Prettier** — replaced by the [oxc](https://oxc.rs) stack: [oxlint](https://oxc.rs/docs/guide/usage/linter.html) for linting and [oxfmt](https://oxc.rs/docs/guide/usage/formatter.html) for formatting.
225
- - **No Jest** — replaced by [Vitest](https://vitest.dev), which is much faster and natively supports ESM without extra configuration.
226
- - **Far fewer development dependencies** — the number of installed packages drops from **~600** to **~75**. A clean install is much faster.
227
- - **Much faster linting and formatting** — oxlint and oxfmt run in a fraction of the time required by the ESLint / Prettier pipeline.
228
- - **Much faster builds** — tsgo compiles the project in a fraction of the time required by the standard `tsc` build.
229
- - **Editor support** — use the VS Code extensions for tsgo and oxc to get the same experience in the editor.
225
+ See [TOOLCHAIN.md](./TOOLCHAIN.md) for compilers, linting, formatting, testing, and editor support.
230
226
 
231
227
  ## Shared agent instructions
232
228
 
233
- All coding agents read the same guidance. [AGENTS.md](./AGENTS.md) and [.agents/](./.agents/) are the **single source of truth**; everything under `.github/`, `.claude/`, `.codex/` and `.antigravity/` are pointers and mirrors. Edit `.agents/` (or `AGENTS.md`), never the copies. See [.agents/README.md](./.agents/README.md) for the full layout.
234
-
235
- | File | Notes |
236
- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
237
- | `AGENTS.md` | Main project instructions — shared by every agent |
238
- | `.agents/README.md` | Layout and versioning of the shared instructions |
239
- | `.agents/rules/testing.instructions.md` | Testing standards for unit tests |
240
- | `.agents/skills/verify-agent-context/SKILL.md` | Verify the agent loaded this context — `$verify-agent-context` (Codex), `/verify-agent-context` (all others) |
229
+ See [SHARED-AGENTS.md](./SHARED-AGENTS.md) for shared guidance, rules, skills, and configuration for coding agents.
241
230
 
242
- Content lives only in `.agents/`. The per-agent folders exist because each tool discovers rules and skills from its own hardcoded location, so they hold stubs that point back here — except where the tool reads `.agents/` natively.
231
+ See [.agents/README.md](./.agents/README.md) for the shared instructions layout and versioning.
243
232
 
244
- | Tool | Instructions | Rules | Skills |
245
- | ---------------------------------- | ----------------------------------------------- | ----------------------------------------------------- | --------------------------------------------------- |
246
- | Codex | `AGENTS.md` — read natively | `.agents/rules/` — linked from `AGENTS.md`, on demand | `.agents/skills/` — native, `$verify-agent-context` |
247
- | Copilot (VS Code and coding agent) | `.github/copilot-instructions.md` → `AGENTS.md` | stubs in `.github/instructions/` — `applyTo` globs | stub in `.github/skills/` — `/verify-agent-context` |
248
- | Claude Code | `CLAUDE.md` imports `AGENTS.md` | stubs in `.claude/rules/` — `paths` globs | stub in `.claude/skills/` — `/verify-agent-context` |
249
- | Gemini / Antigravity | `GEMINI.md` imports `AGENTS.md` | `.agents/rules/` — on demand | `.agents/skills/` — native, `/verify-agent-context` |
233
+ ## Shared dev container support
250
234
 
251
- ### Copilot instructions
235
+ See [.devcontainer/README.md](./.devcontainer/README.md) for the shared development container setup and usage.
252
236
 
253
- | File | Notes |
254
- | ------------------------------------------------------ | -------------------------------------------- |
255
- | `.github/copilot-instructions.md` | Pointer to AGENTS.md — always loaded |
256
- | `.github/instructions/testing/testing.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
257
- | `.github/skills/verify-agent-context/SKILL.md` | Skill invocable as `/verify-agent-context` |
237
+ ## Contributing
258
238
 
259
- ### Claude instructions
239
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) for contribution guidelines.
260
240
 
261
- | File | Notes |
262
- | ----------------------------------------------- | --------------------------------------------- |
263
- | `CLAUDE.md` | Pointer to AGENTS.md — always loaded |
264
- | `.claude/settings.json` | Claude permissions: allow, ask and deny rules |
265
- | `.claude/rules/testing/testing.instructions.md` | Testing standards — scoped to `**/*.test.ts` |
266
- | `.claude/skills/verify-agent-context/SKILL.md` | Skill invocable as `/verify-agent-context` |
241
+ ## Style guide
267
242
 
268
- ### Codex instructions
243
+ See [STYLEGUIDE.md](./STYLEGUIDE.md) for code style, naming, documentation, and testing conventions.
269
244
 
270
- | File | Notes |
271
- | ---------------------------- | ----------------------------------------------------------------- |
272
- | `AGENTS.md` | Main project instructions — read directly, no pointer file needed |
273
- | `.codex/config.toml` | Codex project permissions, approvals, and profile |
274
- | `.codex/rules/default.rules` | Codex command allow, prompt, and deny rules |
245
+ ## Changelog
275
246
 
276
- Codex reads the shared rules and skills from `.agents/` directly; the skill is invoked as `$verify-agent-context`.
247
+ See [CHANGELOG.md](./CHANGELOG.md) for release history and notable changes.
277
248
 
278
- ### Gemini / Antigravity instructions
249
+ ## Issues and feature requests
279
250
 
280
- | File | Notes |
281
- | ---------------------------- | ----------------------------------------------------- |
282
- | `GEMINI.md` | Pointer to AGENTS.md — always loaded |
283
- | `.antigravity/settings.json` | Sandboxing and permissions: allow, ask and deny rules |
251
+ Report bugs and suggest improvements on [GitHub Issues](https://github.com/Luligu/node-ansi-logger/issues).
284
252
 
285
- The shared rules under `.agents/rules/` apply on demand for the relevant tasks, and `.agents/skills/` is discovered automatically as `/verify-agent-context`.
253
+ ## License
286
254
 
287
- # Contributing
255
+ Licensed under the [Apache License 2.0](./LICENSE).
288
256
 
289
- Contributions to AnsiLogger are welcome.
257
+ ## Support the project
290
258
 
291
- # License
259
+ If you find this project useful, please consider giving it a star on [GitHub](https://github.com/Luligu/node-ansi-logger) and sponsoring it. Your support helps maintain and improve the project.
292
260
 
293
- This project is licensed under the MIT License - see the LICENSE file for details.
261
+ [!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png)](https://www.buymeacoffee.com/luligugithub)
package/dist/cache.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * @version 1.0.0
7
7
  * @license Apache-2.0
8
8
  *
9
- * Copyright 2026 Luca Liguori.
9
+ * Copyright 2026, 2027, 2028 Luca Liguori.
10
10
  *
11
11
  * Licensed under the Apache License, Version 2.0 (the "License");
12
12
  * you may not use this file except in compliance with the License.
package/dist/cache.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * @version 1.0.0
7
7
  * @license Apache-2.0
8
8
  *
9
- * Copyright 2026 Luca Liguori.
9
+ * Copyright 2026, 2027, 2028 Luca Liguori.
10
10
  *
11
11
  * Licensed under the Apache License, Version 2.0 (the "License");
12
12
  * you may not use this file except in compliance with the License.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "node-ansi-logger",
3
- "version": "3.3.2-dev-20261101-dd33bb5",
3
+ "version": "3.3.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "node-ansi-logger",
9
- "version": "3.3.2-dev-20261101-dd33bb5",
9
+ "version": "3.3.2",
10
10
  "license": "Apache-2.0",
11
11
  "engines": {
12
12
  "node": ">=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-ansi-logger",
3
- "version": "3.3.2-dev-20261101-dd33bb5",
3
+ "version": "3.3.2",
4
4
  "description": "Enhanced Ansi Color Logging and Stringify for Node.js in type script",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",