@jmlq/logger-plugin-fs 0.1.0-alpha.1 → 0.1.0-alpha.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ILogDatasource, Log } from "@jmlq/logger";
1
+ import { ILogDatasource, ILog } from "@jmlq/logger";
2
2
  type FsOpts = {
3
3
  filePath: string;
4
4
  };
@@ -6,7 +6,7 @@ export declare class FileSystemDatasource implements ILogDatasource {
6
6
  private readonly opts;
7
7
  private stream;
8
8
  constructor(opts: FsOpts);
9
- save(log: Log): Promise<void>;
9
+ save(log: ILog): Promise<void>;
10
10
  flush(): Promise<void>;
11
11
  dispose(): Promise<void>;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmlq/logger-plugin-fs",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "author": "MLahuasi",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,14 +9,14 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "build": "tsc -p tsconfig.json",
12
- "prepublishOnly": "pnpm build"
12
+ "prepublishOnly": "npm run build"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/node": "^24.3.0",
16
16
  "tsx": "^4.20.5",
17
17
  "typescript": "^5.9.2"
18
18
  },
19
- "peerDependencies": {
20
- "@jmlq/logger": "^0.1.0-alpha.0"
19
+ "dependencies": {
20
+ "@jmlq/logger": "^0.1.0-alpha.2"
21
21
  }
22
22
  }