@wgtechlabs/log-engine 2.2.1-patch.4b28e34 â 2.2.1-patch.7dbddef
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.
- package/README.md +19 -13
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -62,10 +62,10 @@ Open source development is resource-intensive. These **sponsored ads help keep L
|
|
|
62
62
|
|
|
63
63
|
## đĻ Installation
|
|
64
64
|
|
|
65
|
-
Install the package using
|
|
65
|
+
Install the package using pnpm (recommended):
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
|
|
68
|
+
pnpm add @wgtechlabs/log-engine
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
Or using npm:
|
|
@@ -74,7 +74,13 @@ Or using npm:
|
|
|
74
74
|
npm install @wgtechlabs/log-engine
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
Or using yarn:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
yarn add @wgtechlabs/log-engine
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
> **Note**: This project uses pnpm as the primary package manager for development. If you're contributing to the project, please use pnpm to ensure consistency with the development environment.
|
|
78
84
|
|
|
79
85
|
## đšī¸ Usage
|
|
80
86
|
|
|
@@ -879,7 +885,7 @@ Contributions are welcome, create a pull request to this repo and I will review
|
|
|
879
885
|
**Development Environment:**
|
|
880
886
|
|
|
881
887
|
- This project is configured for **local development workflows only** - no CI/CD setup required
|
|
882
|
-
- Uses **
|
|
888
|
+
- Uses **pnpm** as the primary package manager for consistency
|
|
883
889
|
- Simple, cross-platform development setup with TypeScript, Jest, and ESLint
|
|
884
890
|
- Clean test output maintained using `jest.setup.js` to suppress console noise during testing
|
|
885
891
|
- All error logging functionality remains intact in production code
|
|
@@ -887,15 +893,15 @@ Contributions are welcome, create a pull request to this repo and I will review
|
|
|
887
893
|
|
|
888
894
|
**Available Scripts:**
|
|
889
895
|
|
|
890
|
-
- `
|
|
891
|
-
- `
|
|
892
|
-
- `
|
|
893
|
-
- `
|
|
894
|
-
- `
|
|
895
|
-
- `
|
|
896
|
-
- `
|
|
897
|
-
- `
|
|
898
|
-
- `
|
|
896
|
+
- `pnpm test` - Run all tests
|
|
897
|
+
- `pnpm test:watch` - Run tests in watch mode
|
|
898
|
+
- `pnpm test:coverage` - Run tests with coverage reporting
|
|
899
|
+
- `pnpm lint` - Run TypeScript and code quality checks
|
|
900
|
+
- `pnpm lint:fix` - Automatically fix linting issues
|
|
901
|
+
- `pnpm lint:security` - Run security-focused linting
|
|
902
|
+
- `pnpm secure` - Run comprehensive security checks
|
|
903
|
+
- `pnpm build` - Build the TypeScript project
|
|
904
|
+
- `pnpm validate` - Run full validation (lint + test + build)
|
|
899
905
|
|
|
900
906
|
Read the project's [contributing guide](./CONTRIBUTING.md) for detailed development setup, testing guidelines, and contribution requirements.
|
|
901
907
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wgtechlabs/log-engine",
|
|
3
|
-
"version": "2.2.1-patch.
|
|
3
|
+
"version": "2.2.1-patch.7dbddef",
|
|
4
4
|
"description": "A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"structured-logging",
|
|
34
34
|
"json-logging"
|
|
35
35
|
],
|
|
36
|
-
"packageManager": "
|
|
36
|
+
"packageManager": "pnpm@9.15.4",
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"author": "WG Tech Labs <opensource@wgtechlabs.com> (https://wgtechlabs.com)",
|
|
39
39
|
"contributors": [
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"build": "node scripts/forklift-runner.js --clean",
|
|
87
87
|
"build:watch": "node scripts/forklift-runner.js --watch",
|
|
88
88
|
"start": "node dist/cjs/index.cjs",
|
|
89
|
-
"prepublishOnly": "
|
|
89
|
+
"prepublishOnly": "pnpm build",
|
|
90
90
|
"test": "jest",
|
|
91
91
|
"test:watch": "jest --watch",
|
|
92
92
|
"test:coverage": "jest --coverage",
|