immich/web/mise.toml
Timon 7b4cabc2c6
chore: update task commands in web/mise.toml to use pnpm (#26345)
* chore: update task commands in mise.toml to use pnpm

* Replaced direct commands with pnpm run equivalents for consistency.
* Added new tasks for type checking and Svelte checks.
* Removed deprecated svelte-kit-sync task and adjusted dependencies accordingly.

* mroe

* chore: update mise.toml to add demo server task

* Removed the direct IMMICH_SERVER_URL setting from the environment section.
* Added a new task for starting the demo server with the IMMICH_SERVER_URL environment variable.
* Ensured consistency in task definitions.
2026-02-19 16:10:55 -05:00

53 lines
943 B
TOML

[tasks.install]
run = "pnpm install --filter immich-web --frozen-lockfile"
[tasks.build]
run = "pnpm run build"
[tasks."build-stats"]
run = "pnpm run build:stats"
[tasks.preview]
run = "pnpm run preview"
[tasks.start]
depends = [":install", "//:sdk:install", "//:sdk:build"]
run = "pnpm run dev"
[tasks."start-demo"]
env.IMMICH_SERVER_URL = "https://demo.immich.app"
run = { task = ":start" }
[tasks.test]
run = "pnpm run test"
[tasks.format]
run = "pnpm run format"
[tasks."format-fix"]
run = "pnpm run format:fix"
[tasks.lint]
run = "pnpm run lint"
[tasks."lint-fix"]
run = "pnpm run lint:fix"
[tasks.check-typescript]
run = "pnpm run check:typescript"
[tasks."check-svelte"]
run = "pnpm run check:svelte"
[tasks.check]
run = { tasks = [":check-typescript", ":check-svelte"] }
[tasks.checklist]
run = [
{ task = ":install" },
{ task = ":format" },
{ task = ":check" },
{ task = ":test --run" },
{ task = ":lint" },
]