@wgtechlabs/log-engine 2.2.1-staging.9bad2bb → 2.2.2-dev.2b76490

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/README.md +3 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -29,6 +29,7 @@ Log Engine transforms your development experience from chaotic debugging session
29
29
  - **⚙️ Auto-Configuration**: Intelligent environment-based setup using NODE_ENV variables. No config files, initialization scripts, or manual setup - Log Engine works perfectly out of the box.
30
30
  - **✨ Enhanced Formatting**: Structured log entries with dual timestamps (ISO + human-readable) and colored level indicators for maximum readability.
31
31
  - **🔗 Zero Dependencies**: No external dependencies for maximum compatibility and security - keeps your bundle clean and your project simple.
32
+ - **📏 Size Monitoring**: Automated bundle size checking ensures the package stays under 1MB to maintain its lightweight promise.
32
33
  - **🔌 Easy Integration**: Simple API that works seamlessly with existing Node.js applications. Just `import` and start logging - no middleware, plugins, or configuration required.
33
34
 
34
35
  ## ⚠️ Breaking Changes Notice
@@ -901,7 +902,8 @@ Contributions are welcome, create a pull request to this repo and I will review
901
902
  - `pnpm lint:security` - Run security-focused linting
902
903
  - `pnpm secure` - Run comprehensive security checks
903
904
  - `pnpm build` - Build the TypeScript project
904
- - `pnpm validate` - Run full validation (lint + test + build)
905
+ - `pnpm size:check` - Check bundle size to maintain lightweight feature
906
+ - `pnpm validate` - Run full validation (lint + test + build + size check)
905
907
 
906
908
  Read the project's [contributing guide](./CONTRIBUTING.md) for detailed development setup, testing guidelines, and contribution requirements.
907
909
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wgtechlabs/log-engine",
3
- "version": "2.2.1-staging.9bad2bb",
3
+ "version": "2.2.2-dev.2b76490",
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": [
@@ -103,7 +103,8 @@
103
103
  "secure:test": "snyk test --org=wgtechlabs",
104
104
  "secure:code": "snyk code test --org=wgtechlabs",
105
105
  "secure": "run-s lint:security secure:test secure:code",
106
- "validate": "run-s lint test build",
106
+ "size:check": "node scripts/check-size.js",
107
+ "validate": "run-s lint test build size:check",
107
108
  "clean": "rm -rf dist coverage",
108
109
  "coverage:open": "open coverage/lcov-report/index.html",
109
110
  "coverage:upload": "npx codecov"