chore: Next.js proxy migration & E2E integration

Former-commit-id: daf08548d0a8f45b07b4b87405edd081e823edd5
This commit is contained in:
2026-04-28 19:12:44 +02:00
parent d14122005d
commit 306a2c6c2b
213 changed files with 697 additions and 522 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +0,0 @@
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["chunks/[root-of-the-server]__56dd5119._.js",951615,(e,r,o)=>{r.exports=e.x("node:buffer",()=>require("node:buffer"))},478500,(e,r,o)=>{r.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},521777,(e,r,o)=>{self._ENTRIES||={};let n=Promise.resolve().then(()=>e.i(151216));n.catch(()=>{}),self._ENTRIES.middleware_middleware=new Proxy(n,{get(e,r){if("then"===r)return(r,o)=>e.then(r,o);let o=(...o)=>e.then(e=>(0,e[r])(...o));return o.then=(o,n)=>e.then(e=>e[r]).then(o,n),o}})}]);
//# sourceMappingURL=%5Broot-of-the-server%5D__56dd5119._.js.map
@@ -1 +0,0 @@
{"version":3,"sources":["turbopack:///[project]/node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@opentelemetry+api@1.9.1_react-dom@19.2.4_react@19.2.4__react@19.2.4_sass@1.98.0/node_modules/next/src/build/templates/edge-wrapper.js"],"sourcesContent":["// The wrapped module could be an async module, we handle that with the proxy\n// here. The comma expression makes sure we don't call the function with the\n// module as the \"this\" arg.\n// Turn exports into functions that are also a thenable. This way you can await the whole object\n// or exports (e.g. for Components) or call them directly as though they are async functions\n// (e.g. edge functions/middleware, this is what the Edge Runtime does).\n// Catch promise to prevent UnhandledPromiseRejectionWarning, this will be propagated through\n// the awaited export(s) anyway.\nself._ENTRIES ||= {}\nconst modProm = import('MODULE')\nmodProm.catch(() => {})\nself._ENTRIES['VAR_ENTRY_NAME'] = new Proxy(modProm, {\n get(innerModProm, name) {\n if (name === 'then') {\n return (res, rej) => innerModProm.then(res, rej)\n }\n let result = (...args) =>\n innerModProm.then((mod) => (0, mod[name])(...args))\n result.then = (res, rej) =>\n innerModProm.then((mod) => mod[name]).then(res, rej)\n return result\n },\n})\n"],"names":["self","_ENTRIES","modProm","catch","Proxy","get","innerModProm","name","res","rej","then","result","args","mod"],"mappings":"oRAQAA,KAAKC,QAAQ,GAAK,CAAC,EACnB,IAAMC,EAAU,MAAM,CAAC,CAAA,OAAA,GAAA,IAAA,CAAA,IAAA,EAAA,CAAA,CAAA,SACvBA,EAAQC,KAAK,CAAC,KAAO,GACrBH,KAAKC,QAAQ,CAAC,iBAAiB,GAAG,CAAIG,CAAAA,GAAMF,CAAAA,MAAAA,EAAS,CACnDG,IAAIC,CAAY,CAAEC,CAAI,EACpB,GAAa,QAAQ,CAAjBA,EACF,MAAO,CAACC,EAAKC,IAAQH,EAAaI,IAAI,CAACF,EAAKC,GAE9C,IAAIE,EAAS,CAAC,GAAGC,IACfN,EAAaI,IAAI,CAAC,AAACG,GAAS,CAAA,EAAGA,CAAG,CAACN,EAAAA,AAAI,KAAMK,IAG/C,OAFAD,EAAOD,IAAI,CAAG,CAACF,EAAKC,IAClBH,EAAaI,IAAI,CAAC,AAACG,GAAQA,CAAG,CAACN,EAAK,EAAEG,IAAI,CAACF,EAAKC,GAC3CE,CACT,CACF","ignoreList":[0]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long