Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/web/mise.toml

Raw
[tasks.bench]
description = "Benchmark web processing hot paths"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types --experimental-loader ../../scripts/ts-js-loader.mjs __bench__/bench.ts"

[tasks.evaluate-search]
description = "Compare all configured search providers live on five fixed queries (uses existing credentials)"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types --experimental-loader ../../scripts/ts-js-loader.mjs scripts/evaluate-search.ts"

[tasks.fmt]
description = "Format web extension"
depends = ["//:install"]
run = [
  "biome check --write --config-path ../.. .",
  "rumdl fmt --config ../../.rumdl.toml .",
  "taplo format --config ../../.taplo.toml mise.toml",
]

[tasks.lint]
description = "Lint web extension"
depends = ["//:install"]
run = [
  "biome ci --config-path ../.. .",
  "rumdl check --config ../../.rumdl.toml .",
  "taplo format --check --config ../../.taplo.toml mise.toml",
]

[tasks.test]
description = "Test web extension"
depends = ["//:install"]
run = [
  { task = "//:test", args = ["extensions/web"] },
]

[tasks.check]
description = "Check web extension"
depends = ["//:install"]
run = [
  { task = "//:build", args = ["web"] },
  { task = "//:build-ext", args = ["web"] },
]

[tasks.verify-package]
description = "Build web and load the generated package relocated outside the checkout"
depends = ["//:install"]
run = [
  { task = "//:build-ext", args = ["web"] },
  { task = "//:verify-packages", args = ["web"] },
]