fix(documentation): improve readme with comprehensive examples and formatting

- Enhanced readme with detailed API documentation
- Added real-world usage examples and best practices
- Updated legal section to Task Venture Capital GmbH
- Updated CI/CD workflow configurations
- Updated dependencies to latest versions
- Removed obsolete gitlab-ci.yml
This commit is contained in:
2025-08-08 11:47:18 +00:00
parent 3544586761
commit 047e994439
13 changed files with 7962 additions and 4421 deletions

View File

@@ -1,14 +1,20 @@
import { expect, tap } from '@push.rocks/tapbundle';
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as consolecolor from '../ts/index.js';
tap.test('should produce a blue font', async () => {
console.log(consolecolor.coloredString('this is a blue font, no background', 'blue'));
console.log(
consolecolor.coloredString('this is a blue font, no background', 'blue'),
);
});
tap.test('should produce a red string with green background', async () => {
console.log(
consolecolor.coloredString('this is a red font with green background', 'red', 'green')
consolecolor.coloredString(
'this is a red font with green background',
'red',
'green',
),
);
});
@@ -20,7 +26,7 @@ tap.test('should produce different font colors', async () => {
consolecolor.coloredString('orange', 'orange'),
consolecolor.coloredString('green', 'green'),
consolecolor.coloredString('pink', 'pink'),
consolecolor.coloredString('cyan', 'cyan')
consolecolor.coloredString('cyan', 'cyan'),
);
});
@@ -32,8 +38,8 @@ tap.test('should produce different background colors', async () => {
consolecolor.coloredString('orange', 'white', 'orange'),
consolecolor.coloredString('green', 'white', 'green'),
consolecolor.coloredString('pink', 'white', 'pink'),
consolecolor.coloredString('cyan', 'white', 'cyan')
consolecolor.coloredString('cyan', 'white', 'cyan'),
);
});
tap.start();
export default tap.start();