chore(release): release v0.1.0

This commit is contained in:
Meier Lukas
2024-09-21 11:42:43 +02:00
committed by GitHub
37 changed files with 249 additions and 254 deletions

View File

@@ -6,3 +6,4 @@ README.md
.next .next
.git .git
dev dev
.build

View File

@@ -24,25 +24,16 @@ WORKDIR /app
COPY .gitignore .gitignore COPY .gitignore .gitignore
COPY --from=builder /app/tasks-out/json/ . COPY --from=builder /app/tasks-out/json/ .
COPY --from=builder /app/tasks-out/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install
COPY --from=builder /app/websocket-out/json/ . COPY --from=builder /app/websocket-out/json/ .
COPY --from=builder /app/websocket-out/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install
COPY --from=builder /app/migration-out/json/ . COPY --from=builder /app/migration-out/json/ .
COPY --from=builder /app/migration-out/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install
COPY --from=builder /app/cli-out/json/ . COPY --from=builder /app/cli-out/json/ .
COPY --from=builder /app/cli-out/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install
COPY --from=builder /app/next-out/json/ . COPY --from=builder /app/next-out/json/ .
COPY --from=builder /app/next-out/pnpm-lock.yaml ./pnpm-lock.yaml COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install
# Uses the lockfile to install the dependencies
RUN corepack enable pnpm && pnpm install --recursive --frozen-lockfile
# Install sharp for image optimization
RUN corepack enable pnpm && pnpm install sharp -w RUN corepack enable pnpm && pnpm install sharp -w
# Build the project # Build the project

View File

@@ -69,7 +69,7 @@
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-error-boundary": "^4.0.13", "react-error-boundary": "^4.0.13",
"react-simple-code-editor": "^0.14.1", "react-simple-code-editor": "^0.14.1",
"sass": "^1.79.2", "sass": "^1.79.3",
"superjson": "2.2.1", "superjson": "2.2.1",
"swagger-ui-react": "^5.17.14", "swagger-ui-react": "^5.17.14",
"use-deep-compare-effect": "^1.8.1" "use-deep-compare-effect": "^1.8.1"
@@ -85,7 +85,7 @@
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@types/swagger-ui-react": "^4.18.3", "@types/swagger-ui-react": "^4.18.3",
"concurrently": "^9.0.1", "concurrently": "^9.0.1",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"node-loader": "^2.0.0", "node-loader": "^2.0.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"typescript": "^5.6.2" "typescript": "^5.6.2"

View File

@@ -46,7 +46,7 @@
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/node": "^20.16.5", "@types/node": "^20.16.5",
"dotenv-cli": "^7.4.2", "dotenv-cli": "^7.4.2",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"tsx": "4.13.3", "tsx": "4.13.3",
"typescript": "^5.6.2" "typescript": "^5.6.2"

View File

@@ -34,7 +34,7 @@
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/ws": "^8.5.12", "@types/ws": "^8.5.12",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }

View File

@@ -1 +1 @@
docker run -p 3000:3000 -p 3001:3001 -e AUTH_SECRET='secrets' homarr:latest docker run -p 7575:7575 -e AUTH_SECRET='secrets' homarr:latest

View File

@@ -32,7 +32,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -49,7 +49,7 @@
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/dockerode": "^3.3.31", "@types/dockerode": "^3.3.31",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }

View File

@@ -45,7 +45,7 @@
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/bcrypt": "5.0.2", "@types/bcrypt": "5.0.2",
"@types/cookies": "0.9.0", "@types/cookies": "0.9.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }

View File

@@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -34,7 +34,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -30,7 +30,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -29,7 +29,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -32,7 +32,7 @@
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/node-cron": "^3.0.11", "@types/node-cron": "^3.0.11",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -41,7 +41,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -1,4 +1,4 @@
import { Stopwatch } from "@homarr/common"; import { splitToNChunks, Stopwatch } from "@homarr/common";
import { EVERY_WEEK } from "@homarr/cron-jobs-core/expressions"; import { EVERY_WEEK } from "@homarr/cron-jobs-core/expressions";
import type { InferInsertModel } from "@homarr/db"; import type { InferInsertModel } from "@homarr/db";
import { db, inArray } from "@homarr/db"; import { db, inArray } from "@homarr/db";
@@ -79,7 +79,10 @@ export const iconsUpdaterJob = createCronJob("iconsUpdater", EVERY_WEEK, {
} }
if (newIcons.length >= 1) { if (newIcons.length >= 1) {
await transaction.insert(icons).values(newIcons); // We only insert 5000 icons at a time to avoid SQLite limitations
for (const chunck of splitToNChunks(newIcons, Math.ceil(newIcons.length / 5000))) {
await transaction.insert(icons).values(chunck);
}
} }
if (deadIcons.length >= 1) { if (deadIcons.length >= 1) {
await transaction.delete(icons).where( await transaction.delete(icons).where(

View File

@@ -49,7 +49,7 @@
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/better-sqlite3": "7.6.11", "@types/better-sqlite3": "7.6.11",
"dotenv-cli": "^7.4.2", "dotenv-cli": "^7.4.2",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }

View File

@@ -28,7 +28,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -30,7 +30,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -29,7 +29,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -39,7 +39,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -34,7 +34,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -40,7 +40,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },
"prettier": "@homarr/prettier-config" "prettier": "@homarr/prettier-config"

View File

@@ -32,7 +32,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -31,7 +31,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },
"prettier": "@homarr/prettier-config" "prettier": "@homarr/prettier-config"

View File

@@ -27,7 +27,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },
"prettier": "@homarr/prettier-config" "prettier": "@homarr/prettier-config"

View File

@@ -29,7 +29,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -25,7 +25,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -43,7 +43,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },
"prettier": "@homarr/prettier-config" "prettier": "@homarr/prettier-config"

View File

@@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -41,7 +41,7 @@
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/css-modules": "^1.0.5", "@types/css-modules": "^1.0.5",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },
"prettier": "@homarr/prettier-config" "prettier": "@homarr/prettier-config"

View File

@@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0", "@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

View File

@@ -68,7 +68,7 @@
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"@types/video.js": "^7.3.58", "@types/video.js": "^7.3.58",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
} }
} }

406
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -28,7 +28,7 @@
"devDependencies": { "devDependencies": {
"@homarr/prettier-config": "workspace:^0.1.0", "@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0", "@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0", "eslint": "^9.11.0",
"typescript": "^5.6.2" "typescript": "^5.6.2"
}, },
"prettier": "@homarr/prettier-config" "prettier": "@homarr/prettier-config"