Skip to content

Commit

Permalink
chore(release): release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Meierschlumpf committed Sep 21, 2024
2 parents de4283b + bbd0ff7 commit b46d30b
Show file tree
Hide file tree
Showing 37 changed files with 249 additions and 254 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ npm-debug.log
README.md
.next
.git
dev
dev
.build
19 changes: 5 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,16 @@ WORKDIR /app
COPY .gitignore .gitignore

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/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/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/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/pnpm-lock.yaml ./pnpm-lock.yaml
RUN corepack enable pnpm && pnpm install
COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml

# 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

# Build the project
Expand Down
4 changes: 2 additions & 2 deletions apps/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"react-dom": "^18.3.1",
"react-error-boundary": "^4.0.13",
"react-simple-code-editor": "^0.14.1",
"sass": "^1.79.2",
"sass": "^1.79.3",
"superjson": "2.2.1",
"swagger-ui-react": "^5.17.14",
"use-deep-compare-effect": "^1.8.1"
Expand All @@ -85,7 +85,7 @@
"@types/react-dom": "^18.3.0",
"@types/swagger-ui-react": "^4.18.3",
"concurrently": "^9.0.1",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"node-loader": "^2.0.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion apps/tasks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/node": "^20.16.5",
"dotenv-cli": "^7.4.2",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"prettier": "^3.3.3",
"tsx": "4.13.3",
"typescript": "^5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion apps/websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/ws": "^8.5.12",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
}
Expand Down
2 changes: 1 addition & 1 deletion development/docker-run.cmd
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/dockerode": "^3.3.31",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/bcrypt": "5.0.2",
"@types/cookies": "0.9.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/cron-job-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/cron-job-status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/cron-jobs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/node-cron": "^3.0.11",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/cron-jobs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
7 changes: 5 additions & 2 deletions packages/cron-jobs/src/jobs/icons-updater.ts
Original file line number Diff line number Diff line change
@@ -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 type { InferInsertModel } from "@homarr/db";
import { db, inArray } from "@homarr/db";
Expand Down Expand Up @@ -79,7 +79,10 @@ export const iconsUpdaterJob = createCronJob("iconsUpdater", EVERY_WEEK, {
}

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) {
await transaction.delete(icons).where(
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/better-sqlite3": "7.6.11",
"dotenv-cli": "^7.4.2",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/definitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/modals-collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
},
"prettier": "@homarr/prettier-config"
Expand Down
2 changes: 1 addition & 1 deletion packages/modals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/old-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
},
"prettier": "@homarr/prettier-config"
Expand Down
2 changes: 1 addition & 1 deletion packages/old-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
},
"prettier": "@homarr/prettier-config"
Expand Down
2 changes: 1 addition & 1 deletion packages/ping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/server-settings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/spotlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
},
"prettier": "@homarr/prettier-config"
Expand Down
2 changes: 1 addition & 1 deletion packages/translation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/css-modules": "^1.0.5",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
},
"prettier": "@homarr/prettier-config"
Expand Down
2 changes: 1 addition & 1 deletion packages/validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/widgets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"@types/video.js": "^7.3.58",
"eslint": "^9.10.0",
"eslint": "^9.11.0",
"typescript": "^5.6.2"
}
}
Loading

0 comments on commit b46d30b

Please sign in to comment.