mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
fix(deps): add @swc/helpers as explicit dependency (#306)
next@16 lists @swc/helpers@0.5.15 in its own dependencies but npm's deduplication during global install fails to place it in the omniroute app's node_modules when hoisted. This causes MODULE_NOT_FOUND for @swc/helpers/esm/_interop_require_default.js on startup. Fix: add @swc/helpers@0.5.19 to omniroute's top-level dependencies and overrides so npm guarantees its presence regardless of hoisting strategy. Reproducible on Windows (Node 22) and Linux.
This commit is contained in:
1
package-lock.json
generated
1
package-lock.json
generated
@@ -15,6 +15,7 @@
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.27.1",
|
||||
"@monaco-editor/react": "^4.7.0",
|
||||
"@swc/helpers": "0.5.19",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"better-sqlite3": "^12.6.2",
|
||||
"bottleneck": "^2.19.5",
|
||||
|
||||
@@ -109,7 +109,8 @@
|
||||
"uuid": "^13.0.0",
|
||||
"wreq-js": "^2.0.1",
|
||||
"zod": "^4.3.6",
|
||||
"zustand": "^5.0.10"
|
||||
"zustand": "^5.0.10",
|
||||
"@swc/helpers": "0.5.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.58.2",
|
||||
@@ -142,6 +143,6 @@
|
||||
]
|
||||
},
|
||||
"overrides": {
|
||||
"@swc/helpers": "^0.5.19"
|
||||
"@swc/helpers": "0.5.19"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user