@wgtechlabs/log-engine 2.2.1-patch.4870679 â 2.2.1-staging.20ed597
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 +13 -19
- 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 yarn (recommended):
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
|
|
68
|
+
yarn add @wgtechlabs/log-engine
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
Or using npm:
|
|
@@ -74,13 +74,7 @@ Or using npm:
|
|
|
74
74
|
npm install @wgtechlabs/log-engine
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
|
|
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.
|
|
77
|
+
> **Note**: This project uses yarn as the primary package manager for development. If you're contributing to the project, please use yarn to ensure consistency with the development environment.
|
|
84
78
|
|
|
85
79
|
## đšī¸ Usage
|
|
86
80
|
|
|
@@ -885,7 +879,7 @@ Contributions are welcome, create a pull request to this repo and I will review
|
|
|
885
879
|
**Development Environment:**
|
|
886
880
|
|
|
887
881
|
- This project is configured for **local development workflows only** - no CI/CD setup required
|
|
888
|
-
- Uses **
|
|
882
|
+
- Uses **yarn** as the primary package manager for consistency
|
|
889
883
|
- Simple, cross-platform development setup with TypeScript, Jest, and ESLint
|
|
890
884
|
- Clean test output maintained using `jest.setup.js` to suppress console noise during testing
|
|
891
885
|
- All error logging functionality remains intact in production code
|
|
@@ -893,15 +887,15 @@ Contributions are welcome, create a pull request to this repo and I will review
|
|
|
893
887
|
|
|
894
888
|
**Available Scripts:**
|
|
895
889
|
|
|
896
|
-
- `
|
|
897
|
-
- `
|
|
898
|
-
- `
|
|
899
|
-
- `
|
|
900
|
-
- `
|
|
901
|
-
- `
|
|
902
|
-
- `
|
|
903
|
-
- `
|
|
904
|
-
- `
|
|
890
|
+
- `yarn test` - Run all tests
|
|
891
|
+
- `yarn test:watch` - Run tests in watch mode
|
|
892
|
+
- `yarn test:coverage` - Run tests with coverage reporting
|
|
893
|
+
- `yarn lint` - Run TypeScript and code quality checks
|
|
894
|
+
- `yarn lint:fix` - Automatically fix linting issues
|
|
895
|
+
- `yarn lint:security` - Run security-focused linting
|
|
896
|
+
- `yarn secure` - Run comprehensive security checks
|
|
897
|
+
- `yarn build` - Build the TypeScript project
|
|
898
|
+
- `yarn validate` - Run full validation (lint + test + build)
|
|
905
899
|
|
|
906
900
|
Read the project's [contributing guide](./CONTRIBUTING.md) for detailed development setup, testing guidelines, and contribution requirements.
|
|
907
901
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wgtechlabs/log-engine",
|
|
3
|
-
"version": "2.2.1-
|
|
3
|
+
"version": "2.2.1-staging.20ed597",
|
|
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": "yarn@4.9.2",
|
|
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": "yarn build",
|
|
90
90
|
"test": "jest",
|
|
91
91
|
"test:watch": "jest --watch",
|
|
92
92
|
"test:coverage": "jest --coverage",
|