Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/ephemlets/mise.toml

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

[tasks.lint]
description = "Lint ephemlets 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 ephemlets extension"
depends = ["//:install"]
run = [{ task = "//:test", args = ["extensions/ephemlets"] }]

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

[tasks.context]
description = "Measure TUI/headless context deltas with a scripted provider (heuristic, no live API calls)"
depends = ["//:install"]
run = "node --no-warnings __bench__/context.ts"

[tasks.verify-package]
description = "Build ephemlets and load its relocated package"
depends = ["//:install"]
env.PI_EPHEMLETS_PACKAGE_TEST = "1"
run = [
  { task = "//:build-ext", args = ["ephemlets"] },
  { task = "//:verify-packages", args = ["--testNamePattern", "ephemlets loads relocated"] },
  { task = "//:test", args = ["extensions/ephemlets/__serial__/package.test.ts"] },
]