chore: remove unused/misplaced dependencies (bcrypt, express-ws, ts-node-dev, @types/node) #20
Loading…
Reference in a new issue
No description provided.
Delete branch "mailship-6m4-remove-unused-misplaced-dependencies-bcr-d33"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
mailship-6m4
Remove four unused or misplaced dependencies to shrink the supply-chain surface and reduce the production image size.
bcrypt(^5.1.1) — no imports anywhere in src/, test/, or scripts/. Entirely unused; removed.express-ws(^5.0.2) — no imports anywhere (server uses plain REST + welshman sockets). Removed along with its orphaned@types/express-wsdev dependency.ts-node-dev(^2.0.0) — deprecated (replaced bytsx), no imports, and was incorrectly placed independenciesinstead ofdevDependencies. Removed entirely.@types/node(^22.18.1) — moved fromdependenciestodevDependencies, where type-only packages belong.pnpm.onlyBuiltDependencies— prunedbcryptfrom the allowlist since it is no longer a dependency.How to test: Run
pnpm install --frozen-lockfile,pnpm run check(tsc + eslint),pnpm run build, andpnpm test:unit. All 16 unit tests pass.