lambda-live-debugger 0.0.106 → 0.0.107

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/fix-imports.js CHANGED
@@ -1,4 +1,4 @@
1
- import { readdir, readFile, writeFile, rename, stat } from "fs/promises";
1
+ import { readdir, readFile, writeFile, rename } from "fs/promises";
2
2
  import { join, dirname, parse } from "path";
3
3
  import { fileURLToPath } from "url";
4
4
 
@@ -39,6 +39,8 @@ const directoryPath = join(__dirname, "dist");
39
39
 
40
40
  processFiles(directoryPath)
41
41
  .then(() =>
42
- console.log("JS files have been converted to MJS and import paths updated.")
42
+ console.log(
43
+ "JS files have been converted to MJS and import paths updated.",
44
+ ),
43
45
  )
44
46
  .catch((err) => console.error("Error processing files:", err));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambda-live-debugger",
3
- "version": "0.0.106",
3
+ "version": "0.0.107",
4
4
  "type": "module",
5
5
  "description": "Debug Lambda functions locally like it is running in the cloud",
6
6
  "repository": {
@@ -38,6 +38,9 @@
38
38
  "typings": "dist/index.d.ts",
39
39
  "scripts": {
40
40
  "typecheck": "tsc --noEmit -p tsconfig.typecheck.json && npx tsc --noEmit -p src/extension/tsconfig.json",
41
+ "lint": "eslint . --fix",
42
+ "prettier": "prettier . --write",
43
+ "prepare": "husky",
41
44
  "add-bang": "sed -i '1s|^|#!/usr/bin/env node\\n|' ./dist/lldebugger.mjs",
42
45
  "build": "tsc -p tsconfig.build.json && cp src/nodeWorkerRunner.mjs dist && cp src/frameworks/cdkFrameworkWorker.mjs dist/frameworks && node fix-imports.js && npm run add-bang && npm run bundle-extension",
43
46
  "bundle-extension": "cd src/extension && npm run build && cd ../../",
@@ -58,6 +61,7 @@
58
61
  "test-terraform-basic-observable": "npm run build && RUN_TEST_FROM_CLI=true OBSERVABLE_MODE=true vitest run test/terraform-basic.test.ts"
59
62
  },
60
63
  "devDependencies": {
64
+ "@eslint/js": "^9.8.0",
61
65
  "@tsconfig/node20": "^20.1.4",
62
66
  "@types/aws-iot-device-sdk": "^2.2.8",
63
67
  "@types/inquirer": "^9.0.7",
@@ -66,10 +70,17 @@
66
70
  "aws-cdk": "2.135.0",
67
71
  "aws-cdk-lib": "2.135.0",
68
72
  "constructs": "^10.0.0",
73
+ "eslint": "^9.8.0",
74
+ "eslint-config-prettier": "^9.1.0",
75
+ "eslint-plugin-prettier": "^5.2.1",
76
+ "globals": "^15.9.0",
77
+ "husky": "^9.1.4",
78
+ "prettier": "^3.3.3",
69
79
  "semantic-release": "^23.0.8",
70
80
  "serverless": "^3.38.0",
71
81
  "serverless-esbuild": "^1.52.1",
72
- "tsx": "^4.7.1"
82
+ "tsx": "^4.7.1",
83
+ "typescript-eslint": "^8.0.0"
73
84
  },
74
85
  "dependencies": {
75
86
  "@aws-sdk/client-cloudformation": "^3.577.0",
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "outDir": "./dist",
5
5
  "rootDir": "./src",
6
- "declaration": true,
6
+ "declaration": true
7
7
  },
8
8
  "include": ["src/**/*"],
9
9
  "exclude": ["node_modules", "dist", "src/extension"]