Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paulshryock committed Jun 9, 2023
1 parent 33264a4 commit 6e164d8
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 24 deletions.
20 changes: 13 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Fixed** for any bug fixes.
- **Security** in case of vulnerabilities.

## [Unreleased]
## [Unreleased](https://github.com/paulshryock/abstractions/compare/HEAD..v0.1.0)

## Added
### Added

### Changed

## Changed
### Deprecated

## Deprecated
### Removed

## Removed
### Fixed

## Fixed
### Security

## Security
## [v0.1.0](https://github.com/paulshryock/abstractions/releases/tag/v0.1.0) - 2023-06-09

## Added
- Console interface.
- ConsoleOutput class.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paulshryock/abstractions",
"version": "0.0.0",
"version": "0.1.0",
"description": "Reusable abstractions for Node.js.",
"keywords": [
"abstraction",
Expand Down
16 changes: 8 additions & 8 deletions src/Output/ConsoleOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import { stderr, stdout } from 'node:process'
/**
* Console Output class for printing messages to stdout and stderr streams.
*
* @since unreleased
* @since 0.1.0
*/
export class ConsoleOutput implements Output {
/**
* Console Output class constructor.
*
* @since unreleased
* @since 0.1.0
*
* @param {Console} console Console instance which writes to stdout and
* stderr streams.
Expand All @@ -26,7 +26,7 @@ export class ConsoleOutput implements Output {
/**
* Prints an error to stderr stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -38,7 +38,7 @@ export class ConsoleOutput implements Output {
/**
* Prints a warning to stderr stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -50,7 +50,7 @@ export class ConsoleOutput implements Output {
/**
* Prints a log message to stdout stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -62,7 +62,7 @@ export class ConsoleOutput implements Output {
/**
* Prints an info message to stdout stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -74,7 +74,7 @@ export class ConsoleOutput implements Output {
/**
* Print a debug message to stdout stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -86,7 +86,7 @@ export class ConsoleOutput implements Output {
/**
* Gets the console instance.
*
* @since unreleased
* @since 0.1.0
*
* @return {Console}
*/
Expand Down
12 changes: 6 additions & 6 deletions src/Output/Output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
/**
* Output abstraction for printing messages to output and error streams.
*
* @since unreleased
* @since 0.1.0
*/
export interface Output {
/**
* Prints an error to an error stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -19,7 +19,7 @@ export interface Output {
/**
* Prints a warning to an error stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -29,7 +29,7 @@ export interface Output {
/**
* Prints a log message to an output stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -39,7 +39,7 @@ export interface Output {
/**
* Prints an info message to an output stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand All @@ -49,7 +49,7 @@ export interface Output {
/**
* Print a debug message to an output stream.
*
* @since unreleased
* @since 0.1.0
*
* @param {string} message Message to output.
* @param {any[]} ...optionalParams Optional parameters.
Expand Down

0 comments on commit 6e164d8

Please sign in to comment.