chore: update next.js version to 15.4.7 and comment out TRPC panel API handler
This commit is contained in:
parent
18bde5eb9e
commit
2c0ff3bbbb
3 changed files with 2298 additions and 2614 deletions
4877
apps/infoalloggi/package-lock.json
generated
4877
apps/infoalloggi/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -62,7 +62,7 @@
|
||||||
"leaflet": "^1.9.4",
|
"leaflet": "^1.9.4",
|
||||||
"leaflet-defaulticon-compatibility": "^0.1.2",
|
"leaflet-defaulticon-compatibility": "^0.1.2",
|
||||||
"lucide-react": "^0.536.0",
|
"lucide-react": "^0.536.0",
|
||||||
"next": "^15.3.4",
|
"next": "15.4.7",
|
||||||
"next-themes": "^0.4.6",
|
"next-themes": "^0.4.6",
|
||||||
"nextjs-progressbar": "^0.0.16",
|
"nextjs-progressbar": "^0.0.16",
|
||||||
"nodemailer": "^7.0.5",
|
"nodemailer": "^7.0.5",
|
||||||
|
|
@ -140,7 +140,6 @@
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"prettier-plugin-classnames": "^0.8.2",
|
"prettier-plugin-classnames": "^0.8.2",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.14",
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
||||||
"trpc-ui": "https://gitpkg.vercel.app/jrhe/trpc-ui/packages/trpc-ui?feature/zod-v4-support&scripts.postinstall=%26%26%20npm%20install%20pnpm%20%26%26%20npm%20install%20--ignore-scripts%20%26%26%20npm%20run%20build",
|
|
||||||
"typescript": "^5.9.2",
|
"typescript": "^5.9.2",
|
||||||
"typescript-eslint": "^8.39.0"
|
"typescript-eslint": "^8.39.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,19 @@
|
||||||
import type { NextApiRequest, NextApiResponse } from "next";
|
import type { NextApiRequest, NextApiResponse } from "next";
|
||||||
import { appRouter } from "~/server/api/root";
|
|
||||||
import { env } from "~/env.mjs";
|
|
||||||
|
|
||||||
export default async function handler(_: NextApiRequest, res: NextApiResponse) {
|
export default async function handler(_: NextApiRequest, res: NextApiResponse) {
|
||||||
if (env.NODE_ENV !== "development") {
|
|
||||||
return res.status(404).send("Not Found");
|
return res.status(404).send("Not Found");
|
||||||
}
|
}
|
||||||
|
|
||||||
const { renderTrpcPanel } = await import(/* webpackIgnore: true */ "trpc-ui");
|
// export default async function handler(_: NextApiRequest, res: NextApiResponse) {
|
||||||
res.status(200).send(
|
// if (env.NODE_ENV !== "development") {
|
||||||
renderTrpcPanel(appRouter, {
|
// return res.status(404).send("Not Found");
|
||||||
url: "/api/trpc",
|
// }
|
||||||
transformer: "superjson",
|
|
||||||
}),
|
// const { renderTrpcPanel } = await import(/* webpackIgnore: true */ "trpc-ui");
|
||||||
);
|
// res.status(200).send(
|
||||||
}
|
// renderTrpcPanel(appRouter, {
|
||||||
|
// url: "/api/trpc",
|
||||||
|
// transformer: "superjson",
|
||||||
|
// }),
|
||||||
|
// );
|
||||||
|
// }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue