Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

planner: keep REFRESH_FIELDS inside its module; docker: leave shared/node_modules out of the build context

Maurice7f2a3b603950
diff --git a/.dockerignore b/.dockerignore
index 72a0b6b6a..3be9434e6 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,6 +1,7 @@
node_modules
client/node_modules
server/node_modules
+shared/node_modules
client/dist
shared/dist
data
diff --git a/client/src/components/Planner/placeRefresh.ts b/client/src/components/Planner/placeRefresh.ts
index 0f99f1f6d..8510ae4e6 100644
--- a/client/src/components/Planner/placeRefresh.ts
+++ b/client/src/components/Planner/placeRefresh.ts
@@ -3,7 +3,7 @@ import type { PlaceFormData } from './PlaceFormModal.helpers';
import { cleanWeek, weekFromPeriods, writeWeek } from './placeHours';
/** The details a saved place can take over from a fresh lookup. */
-export const REFRESH_FIELDS = ['website', 'phone', 'email', 'opening_hours'] as const;
+const REFRESH_FIELDS = ['website', 'phone', 'email', 'opening_hours'] as const;
export type RefreshField = (typeof REFRESH_FIELDS)[number];
/** One field where the lookup says something else than the place holds now. */