Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,25 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'pnpm'

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Lint
run: npm run lint
run: pnpm run lint

- name: Type Check
run: npm run type-check # Assumes a script "type-check": "tsc --noEmit" exists in package.json
run: pnpm run type-check

- name: Build Verification
run: npm run build
run: pnpm run build
2 changes: 1 addition & 1 deletion .next/cache/.previewinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"previewModeId":"e8d5fa8de10a6dd7d07cffc3cbce554c","previewModeSigningKey":"57d36d034d9c1806a53aeb9c2d808b80a5f2c8f10085af51ad99e95ccddbc605","previewModeEncryptionKey":"0a31d8b7e83186513835432420f4f217f3ae527340e5d4fe32cad3c1981f592f","expireAt":1778352509199}
{"previewModeId":"929c3f850748a3a6ee61407382eaea7c","previewModeSigningKey":"6fff592a23859b82c7640cc156c1157840ef0c7b06078afe23525dc3be050a81","previewModeEncryptionKey":"cd9e451eb231b82d526c0387814918d75de2c855c9a37cab373ad0b9bec0a340","expireAt":1783457733675}
2 changes: 1 addition & 1 deletion .next/cache/.rscinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"encryption.key":"/GMupKf8auDyRL+FwqivyERAp99VxV8/vmqKa3gM4YI=","encryption.expire_at":1778352509151}
{"encryption.key":"bzvNwvqjWqjetBF6AXMIDtQkkV43vwZIhrEXhIqzewE=","encryption.expire_at":1783457733402}
2 changes: 1 addition & 1 deletion .next/cache/.tsbuildinfo

Large diffs are not rendered by default.

17 changes: 2 additions & 15 deletions .next/dev/build-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,10 @@
"/_app": []
},
"devFiles": [],
"polyfillFiles": [
"static/chunks/4ca00_next_dist_build_polyfills_polyfill-nomodule.js"
],
"polyfillFiles": [],
"lowPriorityFiles": [
"static/development/_ssgManifest.js",
"static/development/_buildManifest.js"
],
"rootMainFiles": [
"static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_64cc4bcb._.js",
"static/chunks/4ca00_next_dist_compiled_react-dom_cd0fb749._.js",
"static/chunks/4ca00_next_dist_compiled_react-server-dom-turbopack_e6a6f8b7._.js",
"static/chunks/4ca00_next_dist_compiled_next-devtools_index_51f40b8a.js",
"static/chunks/4ca00_next_dist_compiled_390899a9._.js",
"static/chunks/4ca00_next_dist_client_58f30882._.js",
"static/chunks/4ca00_next_dist_260f0b9e._.js",
"static/chunks/69652_@swc_helpers_cjs_679851cc._.js",
"static/chunks/_a0ff3932._.js",
"static/chunks/turbopack-_3c4e011e._.js"
]
"rootMainFiles": []
}
6 changes: 3 additions & 3 deletions .next/dev/prerender-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"dynamicRoutes": {},
"notFoundRoutes": [],
"preview": {
"previewModeId": "ec48cf17b5fbd2740db0a861776c5563",
"previewModeSigningKey": "320314dab860aab83d56212260e1f2bfcb8b9b2042ac8b66a14d3d9940e9f925",
"previewModeEncryptionKey": "ada6a1014499cd4cb37c2b3b3029b45783356eff4abf77983b0e3882aa74a597"
"previewModeId": "970c6bd4b400f7b01e4fa4f0ff43a7aa",
"previewModeSigningKey": "750ac3a6c796d0d2607ac191c9cbb7a0beed0a1676451207e24e367592345fca",
"previewModeEncryptionKey": "5915192d9fa4de267185f6ec79234d48e6909b4afe7de0e55ec7eda5f038b9df"
}
}
5 changes: 1 addition & 4 deletions .next/dev/server/app-paths-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
{
"/_not-found/page": "app/_not-found/page.js",
"/page": "app/page.js"
}
{}
17 changes: 2 additions & 15 deletions .next/dev/server/middleware-build-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,9 @@ globalThis.__BUILD_MANIFEST = {
"/_app": []
},
"devFiles": [],
"polyfillFiles": [
"static/chunks/4ca00_next_dist_build_polyfills_polyfill-nomodule.js"
],
"polyfillFiles": [],
"lowPriorityFiles": [],
"rootMainFiles": [
"static/chunks/[turbopack]_browser_dev_hmr-client_hmr-client_ts_64cc4bcb._.js",
"static/chunks/4ca00_next_dist_compiled_react-dom_cd0fb749._.js",
"static/chunks/4ca00_next_dist_compiled_react-server-dom-turbopack_e6a6f8b7._.js",
"static/chunks/4ca00_next_dist_compiled_next-devtools_index_51f40b8a.js",
"static/chunks/4ca00_next_dist_compiled_390899a9._.js",
"static/chunks/4ca00_next_dist_client_58f30882._.js",
"static/chunks/4ca00_next_dist_260f0b9e._.js",
"static/chunks/69652_@swc_helpers_cjs_679851cc._.js",
"static/chunks/_a0ff3932._.js",
"static/chunks/turbopack-_3c4e011e._.js"
]
"rootMainFiles": []
};
globalThis.__BUILD_MANIFEST.lowPriorityFiles = [
"/static/" + process.env.__NEXT_BUILD_ID + "/_buildManifest.js",
Expand Down
6 changes: 3 additions & 3 deletions .next/dev/server/middleware-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"env": {
"__NEXT_BUILD_ID": "development",
"NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "/FeHRLgVUuySwH+AsP31pbdrODRqErWyi5ws9pbH0Cw=",
"__NEXT_PREVIEW_MODE_ID": "ec48cf17b5fbd2740db0a861776c5563",
"__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "ada6a1014499cd4cb37c2b3b3029b45783356eff4abf77983b0e3882aa74a597",
"__NEXT_PREVIEW_MODE_SIGNING_KEY": "320314dab860aab83d56212260e1f2bfcb8b9b2042ac8b66a14d3d9940e9f925"
"__NEXT_PREVIEW_MODE_ID": "970c6bd4b400f7b01e4fa4f0ff43a7aa",
"__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "5915192d9fa4de267185f6ec79234d48e6909b4afe7de0e55ec7eda5f038b9df",
"__NEXT_PREVIEW_MODE_SIGNING_KEY": "750ac3a6c796d0d2607ac191c9cbb7a0beed0a1676451207e24e367592345fca"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions .next/dev/server/middleware/middleware-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"env": {
"__NEXT_BUILD_ID": "development",
"NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "/FeHRLgVUuySwH+AsP31pbdrODRqErWyi5ws9pbH0Cw=",
"__NEXT_PREVIEW_MODE_ID": "ec48cf17b5fbd2740db0a861776c5563",
"__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "ada6a1014499cd4cb37c2b3b3029b45783356eff4abf77983b0e3882aa74a597",
"__NEXT_PREVIEW_MODE_SIGNING_KEY": "320314dab860aab83d56212260e1f2bfcb8b9b2042ac8b66a14d3d9940e9f925"
"__NEXT_PREVIEW_MODE_ID": "970c6bd4b400f7b01e4fa4f0ff43a7aa",
"__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "5915192d9fa4de267185f6ec79234d48e6909b4afe7de0e55ec7eda5f038b9df",
"__NEXT_PREVIEW_MODE_SIGNING_KEY": "750ac3a6c796d0d2607ac191c9cbb7a0beed0a1676451207e24e367592345fca"
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions .next/dev/trace
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
[{"name":"hot-reloader","duration":330,"timestamp":28264393982,"id":3,"tags":{"version":"16.1.6"},"startTime":1780353140546,"traceId":"a0151e38480f28ad"},{"name":"compile-path","duration":3877562,"timestamp":28265280379,"id":4,"tags":{"trigger":"middleware"},"startTime":1780353141433,"traceId":"a0151e38480f28ad"}]
[{"name":"setup-dev-bundler","duration":7060561,"timestamp":28263938172,"id":2,"parentId":1,"tags":{},"startTime":1780353140090,"traceId":"a0151e38480f28ad"},{"name":"start-dev-server","duration":16850729,"timestamp":28260136235,"id":1,"tags":{"cpus":"4","platform":"linux","memory.freeMem":"1687416832","memory.totalMem":"8213114880","memory.heapSizeLimit":"4156555264","memory.rss":"365645824","memory.heapTotal":"91426816","memory.heapUsed":"61341328"},"startTime":1780353136290,"traceId":"a0151e38480f28ad"},{"name":"compile-path","duration":103565848,"timestamp":28277762974,"id":7,"tags":{"trigger":"/"},"startTime":1780353153922,"traceId":"a0151e38480f28ad"}]
[{"name":"ensure-page","duration":109328088,"timestamp":28277754086,"id":6,"parentId":3,"tags":{"inputPage":"/page"},"startTime":1780353153906,"traceId":"a0151e38480f28ad"},{"name":"handle-request","duration":77390955,"timestamp":28326922603,"id":8,"tags":{"url":"/"},"startTime":1780353203075,"traceId":"a0151e38480f28ad"},{"name":"memory-usage","duration":84,"timestamp":28404314743,"id":10,"parentId":8,"tags":{"url":"/","memory.rss":"1247477760","memory.heapUsed":"112162528","memory.heapTotal":"144396288"},"startTime":1780353280467,"traceId":"a0151e38480f28ad"},{"name":"handle-request","duration":126921202,"timestamp":28277458281,"id":5,"tags":{"url":"/"},"startTime":1780353153611,"traceId":"a0151e38480f28ad"},{"name":"memory-usage","duration":35,"timestamp":28404379945,"id":11,"parentId":5,"tags":{"url":"/","memory.rss":"1247477760","memory.heapUsed":"112206760","memory.heapTotal":"144396288"},"startTime":1780353280532,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":19344,"timestamp":28420152757,"id":12,"parentId":3,"tags":{"inputPage":"/favicon.ico/route"},"startTime":1780353296305,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":7801,"timestamp":28420172538,"id":13,"parentId":3,"tags":{"inputPage":"/favicon.ico"},"startTime":1780353296325,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":5709,"timestamp":28420200804,"id":14,"parentId":3,"tags":{"inputPage":"/favicon.ico/route"},"startTime":1780353296353,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":17439,"timestamp":28420206786,"id":15,"parentId":3,"tags":{"inputPage":"/favicon.ico"},"startTime":1780353296359,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":1133,"timestamp":28424439457,"id":16,"parentId":3,"tags":{"inputPage":"/favicon.ico/route"},"startTime":1780353300592,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":11028,"timestamp":28424440869,"id":17,"parentId":3,"tags":{"inputPage":"/favicon.ico"},"startTime":1780353300593,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":1017,"timestamp":28424500629,"id":18,"parentId":3,"tags":{"inputPage":"/favicon.ico/route"},"startTime":1780353300653,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":6085,"timestamp":28424501890,"id":19,"parentId":3,"tags":{"inputPage":"/favicon.ico"},"startTime":1780353300654,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":1802,"timestamp":28424959839,"id":20,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353301112,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":2801,"timestamp":28424963196,"id":21,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353301115,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":2282,"timestamp":28424973703,"id":22,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353301126,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":1497,"timestamp":28424978256,"id":23,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353301131,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":3264,"timestamp":28425057771,"id":27,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353301210,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":1293,"timestamp":28425061262,"id":28,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353301214,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":1410,"timestamp":28425073108,"id":29,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353301225,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":2543,"timestamp":28425075354,"id":30,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353301228,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":960,"timestamp":28438935851,"id":33,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353315088,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":15075,"timestamp":28438947357,"id":34,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353315100,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":965,"timestamp":28438986728,"id":35,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353315139,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":34179,"timestamp":28438987917,"id":36,"parentId":3,"tags":{"inputPage":"/api/notifications"},"startTime":1780353315140,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":4078,"timestamp":28439086806,"id":39,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353315239,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":882,"timestamp":28439091166,"id":40,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353315243,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":4099,"timestamp":28439112787,"id":41,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353315265,"traceId":"a0151e38480f28ad"},{"name":"ensure-page","duration":912,"timestamp":28439117139,"id":42,"parentId":3,"tags":{"inputPage":"/api/user/preferences/theme"},"startTime":1780353315269,"traceId":"a0151e38480f28ad"},{"name":"compile-path","duration":18884595,"timestamp":28424999387,"id":26,"tags":{"trigger":"/_not-found/page"},"startTime":1780353301152,"traceId":"a0151e38480f28ad"}]
[{"name":"hot-reloader","duration":77,"timestamp":21243130448,"id":3,"tags":{"version":"16.1.6"},"startTime":1782383825365,"traceId":"46820a424221aa4e"},{"name":"compile-path","duration":477412,"timestamp":21243589334,"id":4,"tags":{"trigger":"middleware"},"startTime":1782383825824,"traceId":"46820a424221aa4e"}]
[{"name":"hot-reloader","duration":356,"timestamp":26070985958,"id":3,"tags":{"version":"16.1.6"},"startTime":1782388653221,"traceId":"f5c706439ca40db6"},{"name":"compile-path","duration":472365,"timestamp":26072174624,"id":4,"tags":{"trigger":"middleware"},"startTime":1782388654410,"traceId":"f5c706439ca40db6"}]
3 changes: 2 additions & 1 deletion .next/dev/types/routes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Do not edit this file manually

type AppRoutes = "/" | "/admin" | "/admin/overview" | "/deliveries/[id]" | "/deliveries/create" | "/dev/login" | "/driver/jobs" | "/driver/kyc" | "/faq" | "/fleet" | "/login" | "/register" | "/settings" | "/settings/profile" | "/support"
type AppRouteHandlerRoutes = "/api/federation/resolve" | "/api/fleet/drivers"
type AppRouteHandlerRoutes = "/api/federation/resolve" | "/api/fleet/drivers" | "/api/places/autocomplete"
type PageRoutes = never
type LayoutRoutes = "/"
type RedirectRoutes = never
Expand All @@ -16,6 +16,7 @@ interface ParamMap {
"/admin/overview": {}
"/api/federation/resolve": {}
"/api/fleet/drivers": {}
"/api/places/autocomplete": {}
"/deliveries/[id]": { "id": string; }
"/deliveries/create": {}
"/dev/login": {}
Expand Down
9 changes: 9 additions & 0 deletions .next/dev/types/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
type __Unused = __Check
}

// Validate ../../../app/api/places/autocomplete/route.ts
{
type __IsExpected<Specific extends RouteHandlerConfig<"/api/places/autocomplete">> = Specific
const handler = {} as typeof import("../../../app/api/places/autocomplete/route.js")
type __Check = __IsExpected<typeof handler>
// @ts-ignore
type __Unused = __Check
}




Expand Down
2 changes: 1 addition & 1 deletion .next/diagnostics/build-diagnostics.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"buildStage": "compile",
"buildStage": "type-checking",
"buildOptions": {
"useBuildWorker": "true"
}
Expand Down
2 changes: 1 addition & 1 deletion .next/next-minimal-server.js.nft.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .next/next-server.js.nft.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions .next/server/app/(auth)/login/page.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
var R=require("../../../chunks/ssr/[turbopack]_runtime.js")("server/app/(auth)/login/page.js")
R.c("server/chunks/ssr/[root-of-the-server]__9038a635._.js")
R.c("server/chunks/ssr/node_modules_next_dist_4b63a0e1._.js")
R.c("server/chunks/ssr/_04d634e6._.js")
R.c("server/chunks/ssr/[root-of-the-server]__7933cdd2._.js")
R.c("server/chunks/ssr/node_modules_next_dist_174ae28d._.js")
R.c("server/chunks/ssr/node_modules_next_dist_f9713a08._.js")
R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_ece394eb.js")
R.c("server/chunks/ssr/[root-of-the-server]__cb057373._.js")
R.c("server/chunks/ssr/4ca00_next_dist_749862b3._.js")
R.c("server/chunks/ssr/_e2f509c3._.js")
R.c("server/chunks/ssr/[root-of-the-server]__88466063._.js")
R.c("server/chunks/ssr/4ca00_next_dist_8c11f1c9._.js")
R.c("server/chunks/ssr/4ca00_next_dist_387a492e._.js")
R.c("server/chunks/ssr/4ca00_next_dist_client_components_builtin_global-error_b81edecd.js")
R.c("server/chunks/ssr/_806593dc._.js")
R.c("server/chunks/ssr/app_error_tsx_5275429f._.js")
R.c("server/chunks/ssr/node_modules_next_dist_client_components_9774470f._.js")
R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_45780354.js")
R.c("server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_15817684.js")
R.c("server/chunks/ssr/4ca00_next_dist_client_components_9e3a0413._.js")
R.c("server/chunks/ssr/4ca00_next_dist_client_components_builtin_forbidden_b2e5fab6.js")
R.c("server/chunks/ssr/4ca00_next_dist_client_components_builtin_unauthorized_65d1d10e.js")
R.c("server/chunks/ssr/_next-internal_server_app_(auth)_login_page_actions_bf14911e.js")
R.m(15089)
module.exports=R.m(15089).exports
R.m(4743)
module.exports=R.m(4743).exports
Loading
Loading