chore(release): automatic release v1.13.1

This commit is contained in:
homarr-releases[bot]
2025-03-28 21:57:48 +00:00
committed by GitHub
18 changed files with 384 additions and 389 deletions

View File

@@ -31,6 +31,7 @@ body:
label: Version
description: What version of Homarr are you running?
options:
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0

View File

@@ -77,8 +77,8 @@
"next": "15.2.4",
"postcss-preset-mantine": "^1.17.0",
"prismjs": "^1.30.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-error-boundary": "^5.0.0",
"react-simple-code-editor": "^0.14.1",
"sass": "^1.86.0",

View File

@@ -39,7 +39,7 @@ export const IntegrationCreateDropdownContent = () => {
{filteredKinds.length > 0 ? (
<ScrollArea.Autosize mah={384}>
{filteredKinds.map((kind) => (
<Menu.Item component={Link} href={`/manage/integrations/new/${kind}`} key={kind}>
<Menu.Item component={Link} href={`/manage/integrations/new?kind=${kind}`} key={kind}>
<Group>
<IntegrationAvatar kind={kind} size="sm" />
<Text size="sm">{getIntegrationName(kind)}</Text>

View File

@@ -3,55 +3,49 @@ import { Container, Group, Stack, Title } from "@mantine/core";
import { z } from "zod";
import { auth } from "@homarr/auth/next";
import type { IntegrationKind } from "@homarr/definitions";
import { getIntegrationName, integrationKinds } from "@homarr/definitions";
import { getScopedI18n } from "@homarr/translation/server";
import { IntegrationAvatar } from "@homarr/ui";
import type { validation } from "@homarr/validation";
import { DynamicBreadcrumb } from "~/components/navigation/dynamic-breadcrumb";
import { NewIntegrationForm } from "../_integration-new-form";
import { NewIntegrationForm } from "./_integration-new-form";
interface NewIntegrationByIdPageProps {
params: {
id: string;
};
searchParams: Partial<z.infer<typeof validation.integration.create>>;
interface NewIntegrationPageProps {
searchParams: Promise<
Partial<z.infer<typeof validation.integration.create>> & {
kind: IntegrationKind;
}
>;
}
export function generateStaticParams() {
return integrationKinds.map((kind) => ({
id: kind,
}));
}
export default async function IntegrationNewByIdPage(props: NewIntegrationByIdPageProps) {
const { id } = props.params;
export default async function IntegrationsNewPage(props: NewIntegrationPageProps) {
const searchParams = await props.searchParams;
const session = await auth();
if (!session?.user.permissions.includes("integration-create")) {
notFound();
}
const result = z.enum(integrationKinds).safeParse(id);
const result = z.enum(integrationKinds).safeParse(searchParams.kind);
if (!result.success) {
notFound();
}
const tCreate = await getScopedI18n("integration.page.create");
const currentKind = result.data;
const dynamicMappings = new Map<string, string>([[id, getIntegrationName(currentKind)]]);
const currentKind = result.data;
return (
<>
<DynamicBreadcrumb dynamicMappings={dynamicMappings} nonInteractable={["new"]} />
<DynamicBreadcrumb />
<Container>
<Stack>
<Group align="center">
<IntegrationAvatar kind={currentKind} size="md" />
<Title>{tCreate("title", { name: getIntegrationName(currentKind) })}</Title>
</Group>
<NewIntegrationForm searchParams={{ kind: currentKind }} />
<NewIntegrationForm searchParams={searchParams} />
</Stack>
</Container>
</>

View File

@@ -47,8 +47,8 @@
"lodash.clonedeep": "^4.5.0",
"next": "15.2.4",
"pretty-print-error": "^1.1.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"superjson": "2.2.2",
"trpc-to-openapi": "^2.1.3",
"zod": "^3.24.2"

View File

@@ -38,8 +38,8 @@
"next": "15.2.4",
"next-auth": "5.0.0-beta.25",
"pretty-print-error": "^1.1.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"zod": "^3.24.2"
},
"devDependencies": {

View File

@@ -25,8 +25,8 @@
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/api": "workspace:^0.1.0",
"react": "19.0.0",
"react-dom": "19.0.0"
"react": "19.1.0",
"react-dom": "19.1.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",

View File

@@ -31,8 +31,8 @@
"@homarr/log": "workspace:^0.1.0",
"dayjs": "^1.11.13",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"undici": "7.6.0",
"zod": "^3.24.2"
},

View File

@@ -30,7 +30,7 @@
"@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"@mantine/core": "^7.17.3",
"react": "19.0.0",
"react": "19.1.0",
"zod": "^3.24.2"
},
"devDependencies": {

View File

@@ -37,8 +37,8 @@
"@tabler/icons-react": "^3.31.0",
"dayjs": "^1.11.13",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"zod": "^3.24.2"
},
"devDependencies": {

View File

@@ -26,7 +26,7 @@
"@homarr/ui": "workspace:^0.1.0",
"@mantine/core": "^7.17.3",
"@mantine/hooks": "^7.17.3",
"react": "19.0.0"
"react": "19.1.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",

View File

@@ -42,8 +42,8 @@
"@mantine/hooks": "^7.17.3",
"adm-zip": "0.5.16",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"superjson": "2.2.2",
"zod": "^3.24.2",
"zod-form-data": "^2.0.7"

View File

@@ -27,8 +27,8 @@
"@homarr/server-settings": "workspace:^0.1.0",
"@mantine/dates": "^7.17.3",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0"
"react": "19.1.0",
"react-dom": "19.1.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",

View File

@@ -39,8 +39,8 @@
"@tabler/icons-react": "^3.31.0",
"jotai": "^2.12.2",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"use-deep-compare-effect": "^1.8.1"
},
"devDependencies": {

View File

@@ -34,8 +34,8 @@
"mantine-react-table": "2.0.0-beta.9",
"next": "15.2.4",
"next-intl": "4.0.2",
"react": "19.0.0",
"react-dom": "19.0.0"
"react": "19.1.0",
"react-dom": "19.1.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",

View File

@@ -35,8 +35,8 @@
"@tabler/icons-react": "^3.31.0",
"mantine-react-table": "2.0.0-beta.9",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0"
"react": "19.1.0",
"react-dom": "19.1.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",

View File

@@ -67,8 +67,8 @@
"dayjs": "^1.11.13",
"mantine-react-table": "2.0.0-beta.9",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"recharts": "^2.15.1",
"video.js": "^8.22.0",
"zod": "^3.24.2"

684
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff