cdk-booster 1.2.1 → 1.2.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/README.md +18 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -222,6 +222,24 @@ For large projects, if you encounter ESBuild crashes:
222
222
  - **Then adjust:** Increase batch size or parallelism based on your system resources
223
223
  - **Skip specific functions:** Add `SKIP_CDK_BOOSTER: 'true'` to `bundling.environment` for problematic Lambdas
224
224
 
225
+ ## Known Issues
226
+
227
+ Check the [GitHub issues](https://github.com/ServerlessLife/cdk-booster/issues).
228
+
229
+ ### AWS CDK: NodejsFunction entry autodiscovery not supported
230
+
231
+ The `NodejsFunction` entry autodiscovery feature is not supported. When using `NodejsFunction`, you must explicitly specify the `entry` property pointing to your Lambda handler file. The automatic entry lookup based on construct ID (e.g., looking for `stack.my-handler.ts` when the ID is `my-handler`) cannot be detected by Lambda Live Debugger.
232
+
233
+ ```typescript
234
+ // ❌ Not supported - autodiscovery based on construct ID
235
+ new NodejsFunction(this, 'my-handler');
236
+
237
+ // ✅ Supported - explicit entry path
238
+ new NodejsFunction(this, 'my-handler', {
239
+ entry: 'src/handlers/my-handler.ts',
240
+ });
241
+ ```
242
+
225
243
  ## Authors
226
244
 
227
245
  - [Marko (ServerlessLife)](https://www.serverlesslife.com/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdk-booster",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "description": "Speed up AWS CDK's bundling of TypeScript/JavaScript Lambda handlers",
6
6
  "homepage": "https://www.cdkbooster.com",
@@ -63,20 +63,20 @@
63
63
  "@eslint/js": "^9.39.2",
64
64
  "@tsconfig/node22": "^22.0.5",
65
65
  "@types/eslint-config-prettier": "^6.11.3",
66
- "@types/node": "^25.0.3",
67
- "aws-cdk": "2.1100.1",
68
- "aws-cdk-lib": "2.233.0",
66
+ "@types/node": "^25.0.5",
67
+ "aws-cdk": "2.1100.3",
68
+ "aws-cdk-lib": "2.234.1",
69
69
  "constructs": "^10.4.4",
70
70
  "eslint": "^9.39.2",
71
71
  "eslint-config-prettier": "^10.1.8",
72
- "globals": "^16.5.0",
72
+ "globals": "^17.0.0",
73
73
  "husky": "^9.1.7",
74
74
  "prettier": "^3.7.4",
75
75
  "semantic-release": "^25.0.2",
76
76
  "tsx": "^4.21.0",
77
- "typescript-eslint": "^8.50.0",
77
+ "typescript-eslint": "^8.52.0",
78
78
  "vitepress": "^1.6.4",
79
- "@aws-sdk/client-lambda": "^3.956.0",
79
+ "@aws-sdk/client-lambda": "^3.966.0",
80
80
  "adm-zip": "^0.5.16",
81
81
  "@types/adm-zip": "^0.5.7"
82
82
  },