@holz/stream-backend 0.8.3-rc.154 → 0.8.3-rc.155

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.
@@ -1,16 +1,19 @@
1
- import { Writable } from 'node:stream';
2
- import { LogProcessor } from '@holz/core';
3
- /**
4
- * Prints logs to a writable stream in plaintext. Optimized for log files.
5
- *
6
- * @example
7
- * createStreamBackend({
8
- * stream: fs.createWriteStream('my-app.log', { flags: 'a' }),
9
- * })
10
- */
11
- export declare const createStreamBackend: ({ stream }: Config) => LogProcessor;
12
- interface Config {
13
- /** Where to print logs. Normally `process.stderr`. */
14
- stream: Writable;
15
- }
16
- export {};
1
+ import { LogProcessor } from '@holz/core';
2
+ import { Writable } from 'node:stream';
3
+
4
+ declare interface Config {
5
+ /** Where to print logs. Normally `process.stderr`. */
6
+ stream: Writable;
7
+ }
8
+
9
+ /**
10
+ * Prints logs to a writable stream in plaintext. Optimized for log files.
11
+ *
12
+ * @example
13
+ * createStreamBackend({
14
+ * stream: fs.createWriteStream('my-app.log', { flags: 'a' }),
15
+ * })
16
+ */
17
+ export declare const createStreamBackend: ({ stream }: Config) => LogProcessor;
18
+
19
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@holz/stream-backend",
3
- "version": "0.8.3-rc.154+3f5148e",
3
+ "version": "0.8.3-rc.155+ca9302f",
4
4
  "description": "Print logs to stdout or a file.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -39,7 +39,8 @@
39
39
  "@holz/core": "^0.8.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@holz/core": "^0.8.3-rc.154+3f5148e",
42
+ "@holz/core": "^0.8.3-rc.155+ca9302f",
43
+ "@microsoft/api-extractor": "^7.58.8",
43
44
  "@types/node": "^24.0.0",
44
45
  "@vitest/coverage-v8": "^4.0.0",
45
46
  "typescript": "^6.0.0",
@@ -48,5 +49,5 @@
48
49
  "vite-tsconfig-paths": "^6.0.0",
49
50
  "vitest": "^4.0.0"
50
51
  },
51
- "gitHead": "3f5148eb94bb1d7200d4b4993c95ea30db76b0c4"
52
+ "gitHead": "ca9302f8b1709bb57058eb0dc73af0ed2021ddfd"
52
53
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export { createStreamBackend } from './stream-backend';