From ef3bf0c698547aac7d78e909466c4db4403f9c31 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 31 Aug 2025 12:29:34 -0700 Subject: [PATCH] Remove Dockerfile and .dockerignore; keep PR focused on caching and HTTP client fixes using npm (no Docker) --- app/lib/api-utils.ts | 2 -- package.json | 7 +++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/lib/api-utils.ts b/app/lib/api-utils.ts index 841071ef..6ff7d695 100644 --- a/app/lib/api-utils.ts +++ b/app/lib/api-utils.ts @@ -16,8 +16,6 @@ const httpClient = axios.create({ // Keep connections alive to reduce socket churn httpAgent: new http.Agent({ keepAlive: true, maxSockets: 50 }), httpsAgent: new https.Agent({ keepAlive: true, maxSockets: 50 }), - // Do not throw on HTTP status by default; let callers handle - validateStatus: () => true, }); // Utility to get auth token from cookies on the server diff --git a/package.json b/package.json index 90df92d5..b46b0e5f 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,10 @@ "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, + "engines": { + "node": ">=20.0.0", + "npm": ">=10.0.0" + }, "dependencies": { "@radix-ui/react-alert-dialog": "^1.0.5", "@radix-ui/react-dialog": "^1.0.5", @@ -114,6 +118,5 @@ "@tiptap/extension-mention": { "@tiptap/suggestion": "^2.1.16" } - }, - "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" + } }