Skip to content

Commit

Permalink
chore(release): automatic release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
homarr-releases[bot] authored Nov 15, 2024
2 parents 3e65af9 + 6dcf1ad commit 4ce76f8
Show file tree
Hide file tree
Showing 23 changed files with 1,418 additions and 744 deletions.
28 changes: 14 additions & 14 deletions apps/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
"@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"@homarr/widgets": "workspace:^0.1.0",
"@mantine/colors-generator": "^7.13.5",
"@mantine/core": "^7.13.5",
"@mantine/hooks": "^7.13.5",
"@mantine/modals": "^7.13.5",
"@mantine/tiptap": "^7.13.5",
"@million/lint": "1.0.11",
"@mantine/colors-generator": "^7.14.0",
"@mantine/core": "^7.14.0",
"@mantine/hooks": "^7.14.0",
"@mantine/modals": "^7.14.0",
"@mantine/tiptap": "^7.14.0",
"@million/lint": "1.0.12",
"@t3-oss/env-nextjs": "^0.11.1",
"@tabler/icons-react": "^3.21.0",
"@tanstack/react-query": "^5.59.20",
"@tanstack/react-query-devtools": "^5.59.20",
"@tanstack/react-query-next-experimental": "5.59.20",
"@tabler/icons-react": "^3.22.0",
"@tanstack/react-query": "^5.60.5",
"@tanstack/react-query-devtools": "^5.60.5",
"@tanstack/react-query-next-experimental": "5.60.5",
"@trpc/client": "next",
"@trpc/next": "next",
"@trpc/react-query": "next",
Expand All @@ -61,16 +61,16 @@
"dotenv": "^16.4.5",
"flag-icons": "^7.2.3",
"glob": "^11.0.0",
"jotai": "^2.10.1",
"jotai": "^2.10.2",
"mantine-react-table": "2.0.0-beta.7",
"next": "^14.2.17",
"next": "^14.2.18",
"postcss-preset-mantine": "^1.17.0",
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.1.2",
"react-simple-code-editor": "^0.14.1",
"sass": "^1.80.6",
"sass": "^1.81.0",
"superjson": "2.2.1",
"swagger-ui-react": "^5.18.2",
"use-deep-compare-effect": "^1.8.1"
Expand All @@ -87,7 +87,7 @@
"@types/swagger-ui-react": "^4.18.3",
"concurrently": "^9.1.0",
"eslint": "^9.14.0",
"node-loader": "^2.0.0",
"node-loader": "^2.1.0",
"prettier": "^3.3.3",
"typescript": "^5.6.3"
}
Expand Down
13 changes: 11 additions & 2 deletions apps/nextjs/src/app/[locale]/_client-providers/trpc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ import { clientApi } from "@homarr/api/client";

import { env } from "~/env.mjs";

const getWebSocketProtocol = () => {
// window is not defined on server side
if (typeof window === "undefined") {
return "ws";
}

return window.location.protocol === "https:" ? "wss" : "ws";
};

const constructWebsocketUrl = () => {
const fallback = "ws://localhost:3001/websockets";
const fallback = `${getWebSocketProtocol()}://localhost:3001/websockets`;
if (typeof window === "undefined") {
return fallback;
}
Expand All @@ -31,7 +40,7 @@ const constructWebsocketUrl = () => {
return fallback;
}

return `ws://${window.location.hostname}:${window.location.port}/websockets`;
return `${getWebSocketProtocol()}://${window.location.hostname}:${window.location.port}/websockets`;
};

const wsClient = createWSClient({
Expand Down
2 changes: 1 addition & 1 deletion apps/tasks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dayjs": "^1.11.13",
"dotenv": "^16.4.5",
"superjson": "2.2.1",
"undici": "6.20.1"
"undici": "6.21.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@
"prettier": "@homarr/prettier-config",
"devDependencies": {
"@homarr/prettier-config": "workspace:^0.1.0",
"@turbo/gen": "^2.2.3",
"@turbo/gen": "^2.3.0",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "^2.1.4",
"@vitest/coverage-v8": "^2.1.5",
"@vitest/ui": "^2.1.5",
"cross-env": "^7.0.3",
"jsdom": "^25.0.1",
"prettier": "^3.3.3",
"testcontainers": "^10.14.0",
"turbo": "^2.2.3",
"turbo": "^2.3.0",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.1.0",
"vitest": "^2.1.4"
"vite-tsconfig-paths": "^5.1.2",
"vitest": "^2.1.5"
},
"packageManager": "pnpm@9.12.3",
"packageManager": "pnpm@9.13.2",
"engines": {
"node": ">=22.11.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@trpc/react-query": "next",
"@trpc/server": "next",
"dockerode": "^4.0.2",
"next": "^14.2.17",
"next": "^14.2.18",
"react": "^18.3.1",
"superjson": "2.2.1",
"trpc-swagger": "^1.2.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"bcrypt": "^5.1.1",
"cookies": "^0.9.1",
"ldapts": "7.2.1",
"next": "^14.2.17",
"next": "^14.2.18",
"next-auth": "5.0.0-beta.25",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"dependencies": {
"@homarr/log": "workspace:^0.1.0",
"dayjs": "^1.11.13",
"next": "^14.2.17",
"next": "^14.2.18",
"react": "^18.3.1",
"tldts": "^6.1.59"
"tldts": "^6.1.61"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@testcontainers/mysql": "^10.14.0",
"better-sqlite3": "^11.5.0",
"dotenv": "^16.4.5",
"drizzle-kit": "^0.28.0",
"drizzle-orm": "^0.36.1",
"drizzle-kit": "^0.28.1",
"drizzle-orm": "^0.36.3",
"mysql2": "3.11.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"dependencies": {
"@homarr/translation": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"@mantine/form": "^7.13.5"
"@mantine/form": "^7.14.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@ctrl/deluge": "^6.1.0",
"@ctrl/qbittorrent": "^9.0.1",
"@ctrl/transmission": "^7.0.0",
"@ctrl/transmission": "^7.1.0",
"@homarr/common": "workspace:^0.1.0",
"@homarr/db": "workspace:^0.1.0",
"@homarr/definitions": "workspace:^0.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,119 +2,35 @@ import { z } from "@homarr/validation";

export const queueSchema = z.object({
queue: z.object({
status: z.string(),
speedlimit: z.string(),
speedlimit_abs: z.string(),
paused: z.boolean(),
noofslots_total: z.number(),
noofslots: z.number(),
limit: z.number(),
start: z.number(),
timeleft: z.string(),
speed: z.string(),
kbpersec: z.string(),
size: z.string(),
sizeleft: z.string(),
mb: z.string(),
mbleft: z.string(),
slots: z.array(
z.object({
status: z.string(),
index: z.number(),
password: z.string(),
avg_age: z.string(),
script: z.string(),
has_rating: z.boolean().optional(),
mb: z.string(),
mbleft: z.string(),
mbmissing: z.string(),
size: z.string(),
sizeleft: z.string(),
filename: z.string(),
labels: z.array(z.string().or(z.null())).or(z.null()).optional(),
priority: z
.number()
.or(z.string())
.transform((priority) => (typeof priority === "number" ? priority : parseInt(priority))),
cat: z.string(),
timeleft: z.string(),
percentage: z.string(),
nzo_id: z.string(),
unpackopts: z.string(),
}),
),
categories: z.array(z.string()).or(z.null()).optional(),
scripts: z.array(z.string()).or(z.null()).optional(),
diskspace1: z.string(),
diskspace2: z.string(),
diskspacetotal1: z.string(),
diskspacetotal2: z.string(),
diskspace1_norm: z.string(),
diskspace2_norm: z.string(),
have_warnings: z.string(),
pause_int: z.string(),
loadavg: z.string().optional(),
left_quota: z.string(),
version: z.string(),
finish: z.number(),
cache_art: z.string(),
cache_size: z.string(),
finishaction: z.null().optional(),
paused_all: z.boolean(),
quota: z.string(),
have_quota: z.boolean(),
queue_details: z.string().optional(),
}),
});

export const historySchema = z.object({
history: z.object({
noofslots: z.number(),
day_size: z.string(),
week_size: z.string(),
month_size: z.string(),
total_size: z.string(),
last_history_update: z.number(),
slots: z.array(
z.object({
action_line: z.string(),
series: z.string().or(z.null()).optional(),
script_log: z.string().optional(),
meta: z.null().optional(),
fail_message: z.string(),
loaded: z.boolean(),
id: z.number().optional(),
size: z.string(),
category: z.string(),
pp: z.string(),
retry: z.number(),
script: z.string(),
nzb_name: z.string(),
download_time: z.number(),
storage: z.string(),
has_rating: z.boolean().optional(),
status: z.string(),
script_line: z.string(),
completed: z.number(),
nzo_id: z.string(),
downloaded: z.number(),
report: z.string(),
password: z.string().or(z.null()).optional(),
path: z.string(),
postproc_time: z.number(),
name: z.string(),
url: z.string().or(z.null()).optional(),
md5sum: z.string(),
bytes: z.number(),
url_info: z.string(),
stage_log: z
.array(
z.object({
name: z.string(),
actions: z.array(z.string()).or(z.null()).optional(),
}),
)
.optional(),
}),
),
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"ioredis": "5.4.1",
"superjson": "2.2.1",
"winston": "3.16.0"
"winston": "3.17.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/modals-collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0",
"@homarr/validation": "workspace:^0.1.0",
"@mantine/core": "^7.13.5",
"@tabler/icons-react": "^3.21.0",
"@mantine/core": "^7.14.0",
"@tabler/icons-react": "^3.22.0",
"dayjs": "^1.11.13",
"next": "^14.2.17",
"next": "^14.2.18",
"react": "^18.3.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/modals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"dependencies": {
"@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0",
"@mantine/core": "^7.13.5",
"@mantine/hooks": "^7.13.5",
"@mantine/core": "^7.14.0",
"@mantine/hooks": "^7.14.0",
"react": "^18.3.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"prettier": "@homarr/prettier-config",
"dependencies": {
"@homarr/ui": "workspace:^0.1.0",
"@mantine/notifications": "^7.13.5",
"@tabler/icons-react": "^3.21.0"
"@mantine/notifications": "^7.14.0",
"@tabler/icons-react": "^3.22.0"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/spotlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"@homarr/modals-collection": "workspace:^0.1.0",
"@homarr/translation": "workspace:^0.1.0",
"@homarr/ui": "workspace:^0.1.0",
"@mantine/core": "^7.13.5",
"@mantine/hooks": "^7.13.5",
"@mantine/spotlight": "^7.13.5",
"@tabler/icons-react": "^3.21.0",
"jotai": "^2.10.1",
"next": "^14.2.17",
"@mantine/core": "^7.14.0",
"@mantine/hooks": "^7.14.0",
"@mantine/spotlight": "^7.14.0",
"@tabler/icons-react": "^3.22.0",
"jotai": "^2.10.2",
"next": "^14.2.18",
"react": "^18.3.1",
"use-deep-compare-effect": "^1.8.1"
},
Expand Down
Loading

0 comments on commit 4ce76f8

Please sign in to comment.