immich/packages/cli/mise.toml

55 lines
1 KiB
TOML
Raw Normal View History

2025-11-10 15:55:15 +01:00
[tasks.install]
run = "pnpm install --filter @immich/cli --frozen-lockfile"
[tasks.build]
env._.path = "./node_modules/.bin"
run = "vite build"
[tasks.test]
env._.path = "./node_modules/.bin"
2026-05-08 15:21:33 -04:00
run = "vitest"
2025-11-10 15:55:15 +01:00
[tasks.lint]
env._.path = "./node_modules/.bin"
run = "eslint \"src/**/*.ts\" --max-warnings 0"
[tasks."lint-fix"]
run = { task = "lint --fix" }
[tasks.format]
env._.path = "./node_modules/.bin"
run = "prettier --check ."
[tasks."format-fix"]
env._.path = "./node_modules/.bin"
run = "prettier --write ."
[tasks.check]
env._.path = "./node_modules/.bin"
run = "tsc --noEmit"
2026-05-08 15:21:33 -04:00
[tasks.ci-publish]
run = [
{ task = "//:sdk:install" },
{ task = "//:sdk:build" },
2026-05-08 15:21:33 -04:00
{ task = ":install" },
{ task = ":build" },
"pnpm publish --provenance --no-git-checks",
]
[tasks.ci-unit]
run = [
{ task = "//:sdk:install" },
{ task = "//:sdk:build" },
2026-05-08 15:21:33 -04:00
{ task = ":install" },
{ task = ":format" },
{ task = ":lint" },
{ task = ":check" },
{ task = ":test --run" },
]
[tasks.checklist]
run = [
{ task = ":ci-unit" },
]