node-ansi-logger 3.3.0-dev-20260617-6ebcff7 → 3.3.0

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
@@ -7,9 +7,11 @@
7
7
  ![Node.js CI](https://github.com/Luligu/node-ansi-logger/actions/workflows/build.yml/badge.svg)
8
8
  ![CodeQL](https://github.com/Luligu/node-ansi-logger/actions/workflows/codeql.yml/badge.svg)
9
9
  [![codecov](https://codecov.io/gh/Luligu/node-ansi-logger/branch/main/graph/badge.svg)](https://codecov.io/gh/Luligu/node-ansi-logger)
10
- [![styled with prettier](https://img.shields.io/badge/styled_with-Prettier-f8bc45.svg?logo=prettier)](https://prettier.io/)
11
- [![linted with eslint](https://img.shields.io/badge/linted_with-ES_Lint-4B32C3.svg?logo=eslint)](https://eslint.org/)
10
+ [![tested with Vitest](https://img.shields.io/badge/tested_with-Vitest-6E9F18.svg?logo=vitest&logoColor=white)](https://vitest.dev)
11
+ [![styled with Oxc](https://img.shields.io/badge/styled_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/formatter.html)
12
+ [![linted with Oxc](https://img.shields.io/badge/linted_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/linter.html)
12
13
  [![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
14
+ [![TypeScript Native](https://img.shields.io/badge/TypeScript_Native-3178C6?logo=typescript&logoColor=white)](https://github.com/microsoft/typescript-go)
13
15
  [![ESM](https://img.shields.io/badge/ESM-Node.js-339933?logo=node.js&logoColor=white)](https://nodejs.org/)
14
16
 
15
17
  ---
@@ -20,11 +22,10 @@ If you like this project and find it useful, please consider giving it a star on
20
22
 
21
23
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
22
24
 
23
- ## [3.2.2] - Dev branch
25
+ ## [3.3.0] - 2026-06-20
24
26
 
25
27
  ### Added
26
28
 
27
- - [package]: Enable @typescript-eslint promise rules.
28
29
  - [ansi]: Add `ansi.ts` — a chainable ANSI tagged template styling API (`AnsiTag` type).
29
30
  - [ansi]: Add named style exports: `bold`, `dim`, `italic`, `underline`, `inverse`, `strikethrough`.
30
31
  - [ansi]: Add foreground color exports: `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`, `gray`.
@@ -37,37 +38,29 @@ If you like this project and find it useful, please consider giving it a star on
37
38
  ### Changed
38
39
 
39
40
  - [package]: Update dependencies.
40
- - [package]: Bump package to `automator` v.3.1.12.
41
- - [package]: Bump `eslint` to v.10.4.1.
42
- - [package]: Bump `@types/node` to v.25.9.2.
43
- - [package]: Bump `ts-jest` to v.29.4.11.
44
- - [package]: Bump `typescript-eslint` to v.8.60.1.
45
- - [package]: Bump `eslint-plugin-jsdoc` to v.63.0.2.
46
- - [package]: Bump `@eslint/markdown` to v.8.0.2.
47
- - [package]: Bump `npm-check-updates` to v.22.2.3.
41
+ - [package]: Bump package to `automator` v.3.1.12 and the [new toolchain](README.md#repository-setup).
48
42
  - [package]: Bump `typescript` to v.6.0.3.
49
- - [package]: Bump `jest` to v.30.4.2.
50
-
51
- - [package]: Bump `.devcontainer/devcontainer.json` config to v.1.0.2.
52
- - [package]: Bump `.vscode/settings.json` config to v.1.0.2.
53
- - [package]: Bump `.vscode/extensions.json` config to v.1.0.1.
54
- - [package]: Bump `.vscode/tasks.json` config to v.1.0.1.
55
- - [eslint]: Bump `eslint.config.js` config to v.2.0.7.
56
- - [prettier]: Bump `prettier.config.js` config to v.2.0.0.
57
- - [jest]: Bump `jest.config.js` config to v.2.0.2.
58
- - [workflows]: Bump `build.yml` workflow to v.2.0.4.
43
+ - [package]: Bump `.devcontainer/devcontainer.json` config to v.1.0.4.
44
+ - [package]: Bump `.vscode/settings.json` config to v.1.0.3.
45
+ - [package]: Bump `.vscode/extensions.json` config to v.1.0.4.
46
+ - [package]: Bump `.vscode/tasks.json` config to v.1.0.3.
47
+ - [workflows]: Bump `build.yml` workflow to v.2.0.5.
59
48
  - [workflows]: Bump `codecov.yml` workflow to v.2.0.5.
60
- - [workflows]: Bump `publish.yml` workflow to v.2.0.4.
49
+ - [workflows]: Bump `publish.yml` workflow to v.2.0.5.
61
50
  - [workflows]: Bump `codeql.yml` workflow to v.2.0.0.
62
-
63
51
  - [package]: Refactor `scripts`.
64
52
  - [package]: Add package script `typecheck`.
65
53
  - [package]: Add Node.js 26 to package `engines` field.
66
54
  - [workflows]: Add Node.js 26 to `build.yml` Node matrix and remove Node.js 20.
67
- - [eslint]: Remove `eslint-plugin-promise` (not actively maintained) and add @typescript-eslint promise rules.
68
- - [devcontainer]: Add `Claude Code for VS Code extension` to Dev Container.
55
+ - [devcontainer]: Add `Claude Code VS Code extension` to Dev Container.
56
+ - [devcontainer]: Add `Codex VS Code extension` to Dev Container.
57
+ - [devcontainer]: Add `Jest / Vitest Runner VS Code extension` to Dev Container.
58
+ - [devcontainer]: Add `Vitest VS Code extension` to Dev Container.
69
59
  - [agent]: Add `.github\copilot-instructions.md` for Copilot.
70
60
  - [agent]: Add `CLAUDE.md` for Claude.
61
+ - [codex]: Add `AGENTS.md` for Codex.
62
+ - [codex]: Add `.codex\config.toml` configuration for Codex.
63
+ - [codex]: Add `.codex\rules\default.rules` rules (sandbox) for Codex.
71
64
  - [agent]: Add agent custom instructions (`testing`) for Copilot and Claude.
72
65
 
73
66
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
package/README.md CHANGED
@@ -7,9 +7,11 @@
7
7
  ![Node.js CI](https://github.com/Luligu/node-ansi-logger/actions/workflows/build.yml/badge.svg)
8
8
  ![CodeQL](https://github.com/Luligu/node-ansi-logger/actions/workflows/codeql.yml/badge.svg)
9
9
  [![codecov](https://codecov.io/gh/Luligu/node-ansi-logger/branch/main/graph/badge.svg)](https://codecov.io/gh/Luligu/node-ansi-logger)
10
- [![styled with prettier](https://img.shields.io/badge/styled_with-Prettier-f8bc45.svg?logo=prettier)](https://prettier.io/)
11
- [![linted with eslint](https://img.shields.io/badge/linted_with-ES_Lint-4B32C3.svg?logo=eslint)](https://eslint.org/)
10
+ [![tested with Vitest](https://img.shields.io/badge/tested_with-Vitest-6E9F18.svg?logo=vitest&logoColor=white)](https://vitest.dev)
11
+ [![styled with Oxc](https://img.shields.io/badge/styled_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/formatter.html)
12
+ [![linted with Oxc](https://img.shields.io/badge/linted_with-Oxc-9BE4E0.svg?logo=oxc&logoColor=white)](https://oxc.rs/docs/guide/usage/linter.html)
12
13
  [![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
14
+ [![TypeScript Native](https://img.shields.io/badge/TypeScript_Native-3178C6?logo=typescript&logoColor=white)](https://github.com/microsoft/typescript-go)
13
15
  [![ESM](https://img.shields.io/badge/ESM-Node.js-339933?logo=node.js&logoColor=white)](https://nodejs.org/)
14
16
 
15
17
  ---
@@ -176,6 +178,18 @@ log.debug(`State changed: ${green`on`} → ${red`off`}`);
176
178
 
177
179
  ![Example Image](https://github.com/Luligu/node-ansi-logger/blob/main/screenshots/Screenshot.png)
178
180
 
181
+ # Repository setup
182
+
183
+ > **Note:** This repository uses a new toolchain. It replaces the traditional TypeScript / ESLint / Prettier / Jest stack with a faster, lighter setup.
184
+
185
+ - **No `typescript` package** — replaced by [TypeScript Native](https://github.com/microsoft/typescript-go). The `typescript` package is kept only as a publish-time dependency while tsgo is still in preview.
186
+ - **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.
187
+ - **No Jest** — replaced by [Vitest](https://vitest.dev), which is much faster and natively supports ESM without extra configuration.
188
+ - **Far fewer development dependencies** — the number of installed packages drops from **~600** to **~75**. A clean install is much faster.
189
+ - **Much faster linting and formatting** — oxlint and oxfmt run in a fraction of the time required by the ESLint / Prettier pipeline.
190
+ - **Much faster builds** — tsgo compiles the project in a fraction of the time required by the standard `tsc` build.
191
+ - **Editor support** — uses the VS Code extensions for tsgo and oxc to get the same experience in the editor.
192
+
179
193
  # Contributing
180
194
 
181
195
  Contributions to AnsiLogger are welcome.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "node-ansi-logger",
3
- "version": "3.3.0-dev-20260617-6ebcff7",
3
+ "version": "3.3.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "node-ansi-logger",
9
- "version": "3.3.0-dev-20260617-6ebcff7",
9
+ "version": "3.3.0",
10
10
  "license": "Apache-2.0",
11
11
  "engines": {
12
12
  "node": ">=20.19.0 <21.0.0 || >=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.0-dev-20260617-6ebcff7",
3
+ "version": "3.3.0",
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",