Skip to content

Commit

Permalink
release: [email protected] [skip ci]
Browse files Browse the repository at this point in the history
## ✨ Features

- Split internals from primary exports (available at `rejoinder/internal`) ([8a503eb][2])

[1]: https://github.com/Xunnamius/rejoinder/compare/[email protected]@1.1.0
[2]: 8a503eb
  • Loading branch information
Xunnamius committed Jan 10, 2025
1 parent 8a503eb commit c95f060
Show file tree
Hide file tree
Showing 39 changed files with 449 additions and 167 deletions.
34 changes: 30 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,43 @@ this project adheres to [Semantic Versioning][2].

<br />

## rejoinder[@1.0.0][3] (2025-01-10)
## rejoinder[@1.1.0][3] (2025-01-10)

### ✨ Features

- Split internals from primary exports (available at `rejoinder/internal`) ([8a503eb][4])

<br />

## rejoinder[@1.0.0][5] (2025-01-10)

### 💥 BREAKING CHANGES 💥

- Jump to 1.0.0

### ⚙️ Build System

- **rejoinder:** jump to 1.0.0 ([49f5a5b][4])
- **rejoinder:** jump to 1.0.0 ([49f5a5b][6])

## rejoinder[@0.3.21][7] (2025-01-09)

#### ⚙️ Build System

- **rejoinder:** split off listr2 functionality from primary package ([1d93349][8])

## rejoinder[@0.3.20][9] (2020-09-16)

## rejoinder[@0.3.18][10] (2020-09-15)

## rejoinder\@0.3.17 (2020-05-15)

[1]: https://conventionalcommits.org
[2]: https://semver.org
[3]: https://github.com/Xunnamius/rejoinder/compare/[email protected]@1.0.0
[4]: https://github.com/Xunnamius/rejoinder/commit/49f5a5b6bdfa22c9d737f729307f17e76e106dd5
[3]: https://github.com/Xunnamius/rejoinder/compare/[email protected]@1.1.0
[4]: https://github.com/Xunnamius/rejoinder/commit/8a503ebeed2689d0efaa12692a8cdaf933b5902d
[5]: https://github.com/Xunnamius/rejoinder/compare/[email protected]@1.0.0
[6]: https://github.com/Xunnamius/rejoinder/commit/49f5a5b6bdfa22c9d737f729307f17e76e106dd5
[7]: https://github.com/Xunnamius/rejoinder/compare/[email protected]@0.3.21
[8]: https://github.com/Xunnamius/rejoinder/commit/1d93349ce956b897a64948edbbd692d6e79bc22d
[9]: https://github.com/Xunnamius/rejoinder/compare/[email protected]@0.3.20
[10]: https://github.com/Xunnamius/rejoinder/compare/[email protected]@0.3.18
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
## Modules

- [src](src/README.md)
- [src/internal](src/internal/README.md)
- [test/setup](test/setup/README.md)
- [test/util](test/util/README.md)
21 changes: 12 additions & 9 deletions docs/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,12 @@

# src

## Enumerations

- [LoggerType](enumerations/LoggerType.md)

## Interfaces

- [ExtendedDebugger](interfaces/ExtendedDebugger.md)
- [ExtendedLogger](interfaces/ExtendedLogger.md)
- [UnextendableInternalLogger](interfaces/UnextendableInternalLogger.md)

## Variables

- [ansiOrangeColorCodes](variables/ansiOrangeColorCodes.md)
- [ansiRedColorCodes](variables/ansiRedColorCodes.md)
- [SHORT\_TAB](variables/SHORT_TAB.md)
- [SINGLE\_SPACE](variables/SINGLE_SPACE.md)
- [TAB](variables/TAB.md)
Expand All @@ -32,6 +24,17 @@
- [disableLoggingByTag](functions/disableLoggingByTag.md)
- [enableLoggers](functions/enableLoggers.md)
- [enableLoggingByTag](functions/enableLoggingByTag.md)
- [extendedDebugFactory](functions/extendedDebugFactory.md)
- [getDisabledTags](functions/getDisabledTags.md)
- [getLoggersByType](functions/getLoggersByType.md)

## References

### ExtendedLogger

Re-exports [ExtendedLogger](internal/interfaces/ExtendedLogger.md)

***

### LoggerType

Re-exports [LoggerType](internal/enumerations/LoggerType.md)
35 changes: 0 additions & 35 deletions docs/src/enumerations/LoggerType.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/src/functions/createDebugLogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **createDebugLogger**(`__namedParameters`): [`ExtendedDebugger`](../interfaces/ExtendedDebugger.md)
Defined in: [src/index.ts:202](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L202)
Defined in: [src/index.ts:74](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L74)

Create a new debug logger instance.

Expand Down
6 changes: 3 additions & 3 deletions docs/src/functions/createGenericLogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

# Function: createGenericLogger()

> **createGenericLogger**(`__namedParameters`): [`ExtendedLogger`](../interfaces/ExtendedLogger.md)
> **createGenericLogger**(`__namedParameters`): [`ExtendedLogger`](../internal/interfaces/ExtendedLogger.md)
Defined in: [src/index.ts:177](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L177)
Defined in: [src/index.ts:49](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L49)

Create and return new set of logger instances.

Expand All @@ -29,4 +29,4 @@ https://npm.im/debug#namespace-colors

## Returns

[`ExtendedLogger`](../interfaces/ExtendedLogger.md)
[`ExtendedLogger`](../internal/interfaces/ExtendedLogger.md)
4 changes: 2 additions & 2 deletions docs/src/functions/disableLoggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **disableLoggers**(`__namedParameters`): `void`
Defined in: [src/index.ts:267](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L267)
Defined in: [src/index.ts:139](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L139)

Disable all logger instances (coarse-grain).

Expand All @@ -27,7 +27,7 @@ will be disabled.

#### type

[`LoggerType`](../enumerations/LoggerType.md)
[`LoggerType`](../internal/enumerations/LoggerType.md)

The type of logging to disable. Valid values are one of:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/functions/disableLoggingByTag.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **disableLoggingByTag**(`__namedParameters`): `void`
Defined in: [src/index.ts:341](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L341)
Defined in: [src/index.ts:213](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L213)

Prevents logs with the specified tags from being sent to output.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/functions/enableLoggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **enableLoggers**(`__namedParameters`): `void`
Defined in: [src/index.ts:304](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L304)
Defined in: [src/index.ts:176](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L176)

Enable all logger instances (coarse-grain).

Expand All @@ -27,7 +27,7 @@ will be enabled.

#### type

[`LoggerType`](../enumerations/LoggerType.md)
[`LoggerType`](../internal/enumerations/LoggerType.md)

The type of logging to enable. Valid values are one of:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/functions/enableLoggingByTag.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **enableLoggingByTag**(`__namedParameters`): `void`
Defined in: [src/index.ts:356](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L356)
Defined in: [src/index.ts:228](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L228)

Allows logs with the specified tags to resume being sent to output. Only relevant as the inverse function of [disableLoggingByTag](disableLoggingByTag.md).

Expand Down
62 changes: 0 additions & 62 deletions docs/src/functions/extendedDebugFactory.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/src/functions/getDisabledTags.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> **getDisabledTags**(): `Set`\<`string`\>
Defined in: [src/index.ts:371](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L371)
Defined in: [src/index.ts:243](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L243)

Returns an array of the tags disabled via [disableLoggingByTag](disableLoggingByTag.md).

Expand Down
8 changes: 4 additions & 4 deletions docs/src/functions/getLoggersByType.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

# Function: getLoggersByType()

> **getLoggersByType**(`__namedParameters`): ([`ExtendedLogger`](../interfaces/ExtendedLogger.md) \| [`ExtendedDebugger`](../interfaces/ExtendedDebugger.md) \| `UnextendableInternalDebugger`)[]
> **getLoggersByType**(`__namedParameters`): ([`ExtendedLogger`](../internal/interfaces/ExtendedLogger.md) \| [`ExtendedDebugger`](../interfaces/ExtendedDebugger.md) \| `UnextendableInternalDebugger`)[]
Defined in: [src/index.ts:227](https://github.com/Xunnamius/rejoinder/blob/f565868f81df25d1011782666f1a2b9fb2361f02/src/index.ts#L227)
Defined in: [src/index.ts:99](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/index.ts#L99)

Return an array of all known loggers of a specific type: either `stdout`,
`debug`, or both (`all`). Pre-extended loggers (e.g. `::message`,
Expand All @@ -33,7 +33,7 @@ true

#### type

[`LoggerType`](../enumerations/LoggerType.md)
[`LoggerType`](../internal/enumerations/LoggerType.md)

The type of loggers to return. Valid values are one of:

Expand All @@ -45,4 +45,4 @@ The type of loggers to return. Valid values are one of:

## Returns

([`ExtendedLogger`](../interfaces/ExtendedLogger.md) \| [`ExtendedDebugger`](../interfaces/ExtendedDebugger.md) \| `UnextendableInternalDebugger`)[]
([`ExtendedLogger`](../internal/interfaces/ExtendedLogger.md) \| [`ExtendedDebugger`](../interfaces/ExtendedDebugger.md) \| `UnextendableInternalDebugger`)[]
36 changes: 36 additions & 0 deletions docs/src/internal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[**rejoinder**](../../README.md)

***

[rejoinder](../../README.md) / src/internal

# src/internal

## Enumerations

- [LoggerType](enumerations/LoggerType.md)

## Interfaces

- [ExtendedLogger](interfaces/ExtendedLogger.md)
- [UnextendableInternalLogger](interfaces/UnextendableInternalLogger.md)

## Type Aliases

- [ExtendedLoggerParameters](type-aliases/ExtendedLoggerParameters.md)
- [WithExtendedParameters](type-aliases/WithExtendedParameters.md)
- [WithTagSupport](type-aliases/WithTagSupport.md)

## Variables

- [ansiRedColorCodes](variables/ansiRedColorCodes.md)
- [ansiYellowColorCodes](variables/ansiYellowColorCodes.md)
- [metadata](variables/metadata.md)

## Functions

- [decorateWithTagSupport](functions/decorateWithTagSupport.md)
- [makeExtendedLogger](functions/makeExtendedLogger.md)
- [resetInternalState](functions/resetInternalState.md)
- [withMetadataTracking](functions/withMetadataTracking.md)
- [withPatchedExtend](functions/withPatchedExtend.md)
35 changes: 35 additions & 0 deletions docs/src/internal/enumerations/LoggerType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[**rejoinder**](../../../README.md)

***

[rejoinder](../../../README.md) / [src/internal](../README.md) / LoggerType

# Enumeration: LoggerType

Defined in: [src/internal.ts:336](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/internal.ts#L336)

An enum representing the types of loggers classified by output target.

## Enumeration Members

### All

> **All**: `"all"`
Defined in: [src/internal.ts:337](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/internal.ts#L337)

***

### DebugOnly

> **DebugOnly**: `"debugger"`
Defined in: [src/internal.ts:339](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/internal.ts#L339)

***

### GenericOutput

> **GenericOutput**: `"logger"`
Defined in: [src/internal.ts:338](https://github.com/Xunnamius/rejoinder/blob/8a503ebeed2689d0efaa12692a8cdaf933b5902d/src/internal.ts#L338)
Loading

0 comments on commit c95f060

Please sign in to comment.