mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
fix(factory-droid): address PR #225 review issues
- Remove unrelated husky and lint-staged dev dependencies - Fix Windows path encoding in session storage (handle backslashes) - Add debug logging to empty catch blocks for better diagnostics - Add type guard validation for JSON parsing in output parser
This commit is contained in:
13
package.json
13
package.json
@@ -37,7 +37,7 @@
|
||||
"package:linux": "node scripts/set-version.mjs npm run build && node scripts/set-version.mjs electron-builder --linux",
|
||||
"start": "electron .",
|
||||
"clean": "rm -rf dist release node_modules/.vite",
|
||||
"prepare": "husky || true",
|
||||
"prepare": "echo 'No prepare script'",
|
||||
"postinstall": "electron-rebuild -f -w node-pty,better-sqlite3",
|
||||
"lint": "tsc -p tsconfig.lint.json && tsc -p tsconfig.main.json --noEmit && tsc -p tsconfig.cli.json --noEmit",
|
||||
"lint:eslint": "eslint src/",
|
||||
@@ -289,9 +289,7 @@
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"globals": "^16.5.0",
|
||||
"husky": "^9.1.7",
|
||||
"jsdom": "^27.2.0",
|
||||
"lint-staged": "^16.2.7",
|
||||
"lucide-react": "^0.303.0",
|
||||
"playwright": "^1.57.0",
|
||||
"postcss": "^8.4.33",
|
||||
@@ -307,14 +305,5 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22.0.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{ts,tsx}": [
|
||||
"prettier --write",
|
||||
"eslint --fix"
|
||||
],
|
||||
"src/**/*.{json,css,md}": [
|
||||
"prettier --write"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user