Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): automatic release v0.1.0 #1049

Merged
merged 30 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7ec4adc
chore(deps): update dependency eslint to ^9.9.1 (#1021)
homarr-renovate[bot] Aug 23, 2024
acbb834
feat: add media requests widget (#774)
manuel-rw Aug 24, 2024
b81f5a2
fix: improve ping performance (#1020)
Meierschlumpf Aug 24, 2024
ec2de90
chore(deps): update dependency testcontainers to ^10.12.0 (#1023)
homarr-renovate[bot] Aug 24, 2024
022fad9
fix: empty wrappers without items should not be visible in view mode …
Meierschlumpf Aug 25, 2024
e34af86
fix: testConnectionAsync url (#1024)
hillaliy Aug 25, 2024
89fe289
chore(deps): update dependency jsdom to ^24.1.2 (#1027)
homarr-renovate[bot] Aug 25, 2024
e193c1c
fix(deps): update dependency @t3-oss/env-nextjs to ^0.11.1 (#1029)
homarr-renovate[bot] Aug 25, 2024
a3520e4
chore(deps): update dependency jsdom to ^24.1.3 (#1028)
homarr-renovate[bot] Aug 25, 2024
f0cd45c
feat: implement openapi (#482)
manuel-rw Aug 25, 2024
6351bf7
fix(deps): update dependency swagger-ui-react to ^5.17.14 (#1031)
homarr-renovate[bot] Aug 25, 2024
e60e4a4
fix(deps): update dependency trpc-swagger to ^1.2.6 (#1032)
homarr-renovate[bot] Aug 25, 2024
78b45c4
fix(deps): update dependency drizzle-kit to ^0.24.2 (#1033)
homarr-renovate[bot] Aug 26, 2024
2ea0d04
fix(deps): update dependency @tabler/icons-react to ^3.13.0 (#1034)
homarr-renovate[bot] Aug 26, 2024
09c88a1
chore(deps): update pnpm to v9.9.0 (#1035)
homarr-renovate[bot] Aug 26, 2024
b0e2692
fix(deps): update dependency typescript-eslint to ^8.3.0 (#1036)
homarr-renovate[bot] Aug 26, 2024
48d01e3
fix(deps): update tanstack-query monorepo to ^5.52.2 (#1037)
homarr-renovate[bot] Aug 26, 2024
b507bf2
fix(deps): update dependency ldapts to v7.1.1 (#1038)
homarr-renovate[bot] Aug 26, 2024
961fca0
fix(deps): update dependency @tabler/icons-react to ^3.14.0 (#1039)
homarr-renovate[bot] Aug 27, 2024
f7f676a
chore(deps): update turbo monorepo to ^2.1.0 (#1040)
homarr-renovate[bot] Aug 27, 2024
3771a61
fix(deps): update nextjs monorepo to ^14.2.7 (#1041)
homarr-renovate[bot] Aug 27, 2024
69e69ee
fix: DnsHole controls timer (#953)
hillaliy Aug 28, 2024
c7a7cef
chore(deps): update dependency @types/node to ^20.16.2 (#1042)
homarr-renovate[bot] Aug 28, 2024
94984ac
feat: add million-lint (#607)
ajnart Aug 29, 2024
2738f40
fix: when removing one item and then adding another one that newly ad…
Meierschlumpf Aug 29, 2024
afb6adf
fix(deps): update tanstack-query monorepo to ^5.52.3 (#1043)
homarr-renovate[bot] Aug 29, 2024
0f14e37
chore(deps): update dependency @types/react to ^18.3.5 (#1044)
homarr-renovate[bot] Aug 30, 2024
775c359
fix(deps): update tanstack-query monorepo to ^5.53.1 (#1045)
homarr-renovate[bot] Aug 30, 2024
6d437bd
chore(deps): update dependency jsdom to v25 (#1030)
homarr-renovate[bot] Aug 30, 2024
51be024
fix(deps): update mantine monorepo to ^7.12.2 (#1048)
homarr-renovate[bot] Aug 30, 2024
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ yarn-error.log*
*.log

apps/tasks/tasks.cjs
apps/websocket/wssServer.cjs
apps/websocket/wssServer.cjs
apps/nextjs/.million/
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"yoavbls.pretty-ts-errors"
"yoavbls.pretty-ts-errors",
"million.million-lint"
]
}
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
"cqmin",
"homarr",
"jellyfin",
"mantine",
"overseerr",
"Sonarr",
"superjson",
"tabler",
"trpc",
"Umami",
"Sonarr"
"Umami"
],
"i18n-ally.dirStructure": "auto",
"i18n-ally.enabledFrameworks": ["next-international"],
Expand Down
6 changes: 6 additions & 0 deletions apps/nextjs/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// Importing env files here to validate on build
import "@homarr/auth/env.mjs";

import MillionLint from "@million/lint";

import "./src/env.mjs";

/** @type {import("next").NextConfig} */
Expand Down Expand Up @@ -28,4 +31,7 @@ const config = {
},
};

// Skip transform is used because of webpack loader, without it for example 'Tooltip.Floating' will not work and show an error
const withMillionLint = MillionLint.next({ rsc: true, skipTransform: true, telemetry: false });

export default config;
33 changes: 18 additions & 15 deletions apps/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,23 @@
"@homarr/log": "workspace:^",
"@homarr/modals": "workspace:^0.1.0",
"@homarr/notifications": "workspace:^0.1.0",
"@homarr/server-settings": "workspace:^0.1.0",
"@homarr/spotlight": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"@homarr/widgets": "workspace:^0.1.0",
"@mantine/colors-generator": "^7.12.1",
"@mantine/core": "^7.12.1",
"@mantine/hooks": "^7.12.1",
"@mantine/modals": "^7.12.1",
"@mantine/tiptap": "^7.12.1",
"@homarr/server-settings": "workspace:^0.1.0",
"@t3-oss/env-nextjs": "^0.11.0",
"@tanstack/react-query": "^5.52.1",
"@tanstack/react-query-devtools": "^5.52.1",
"@tanstack/react-query-next-experimental": "5.52.1",
"@tabler/icons-react": "^3.12.0",
"@mantine/colors-generator": "^7.12.2",
"@mantine/core": "^7.12.2",
"@mantine/hooks": "^7.12.2",
"@mantine/modals": "^7.12.2",
"@mantine/tiptap": "^7.12.2",
"@million/lint": "1.0.0-rc.84",
"@t3-oss/env-nextjs": "^0.11.1",
"@tanstack/react-query": "^5.53.1",
"@tanstack/react-query-devtools": "^5.53.1",
"@tanstack/react-query-next-experimental": "5.53.1",
"@tabler/icons-react": "^3.14.0",
"@trpc/client": "next",
"@trpc/next": "next",
"@trpc/react-query": "next",
Expand All @@ -58,7 +59,7 @@
"glob": "^11.0.0",
"jotai": "^2.9.3",
"mantine-react-table": "2.0.0-beta.6",
"next": "^14.2.6",
"next": "^14.2.7",
"postcss-preset-mantine": "^1.17.0",
"prismjs": "^1.29.0",
"react": "^18.3.1",
Expand All @@ -67,19 +68,21 @@
"react-simple-code-editor": "^0.14.1",
"sass": "^1.77.8",
"superjson": "2.2.1",
"swagger-ui-react": "^5.17.14",
"use-deep-compare-effect": "^1.8.1"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/chroma-js": "2.4.4",
"@types/node": "^20.16.1",
"@types/node": "^20.16.2",
"@types/prismjs": "^1.26.4",
"@types/react": "^18.3.4",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/swagger-ui-react": "^4.18.3",
"concurrently": "^8.2.2",
"eslint": "^9.9.0",
"eslint": "^9.9.1",
"node-loader": "^2.0.0",
"prettier": "^3.3.3",
"typescript": "^5.5.4"
Expand Down
5 changes: 5 additions & 0 deletions apps/nextjs/src/app/[locale]/manage/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ export default async function ManageLayout({ children }: PropsWithChildren) {
icon: IconBrandDocker,
href: "/manage/tools/docker",
},
{
label: t("items.tools.items.api"),
icon: IconPlug,
href: "/manage/tools/api",
},
{
label: t("items.tools.items.logs"),
icon: IconLogs,
Expand Down
28 changes: 28 additions & 0 deletions apps/nextjs/src/app/[locale]/manage/tools/api/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { getScopedI18n } from "@homarr/translation/server";

// workaround for CSS that cannot be processed by next.js, https://github.com/swagger-api/swagger-ui/issues/10045
import "./swagger-ui-dark.css";
import "./swagger-ui-overrides.css";
import "./swagger-ui.css";

import { headers } from "next/headers";
import SwaggerUI from "swagger-ui-react";

import { openApiDocument } from "@homarr/api";
import { extractBaseUrlFromHeaders } from "@homarr/common";

import { createMetaTitle } from "~/metadata";

export async function generateMetadata() {
const t = await getScopedI18n("management");

return {
title: createMetaTitle(t("metaTitle")),
};
}

export default function ApiPage() {
const document = openApiDocument(extractBaseUrlFromHeaders(headers()));

return <SwaggerUI spec={document} />;
}
Loading