Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/nushell/mise.toml

Raw
[tasks.bench]
description = "Benchmark fresh Nushell tool calls"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types __bench__/calls.bench.ts"

[tasks.e2e-json]
description = "Run isolated Pi JSON-mode Nushell module exercises and retain evidence"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types __e2e__/json.ts"

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

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

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

[tasks.coverage]
description = "Non-gating V8 coverage for nushell extension"
depends = ["//:install"]
run = [{ task = "//:coverage", args = ["nushell"] }]

[tasks.mutate]
description = "Author-driven mutation testing for nushell extension. Usage: mutate <target>"
depends = ["//:install"]
usage = 'arg "<target>" help="Path under this extension to mutate"'
run = 'mise run //:mutate nushell "{{ usage.target }}"'

[tasks.fuzz]
description = "Author-driven fuzz campaigns for nushell extension. Usage: fuzz <target>"
depends = ["//:install"]
usage = 'arg "<target>" help="Fuzz target name under __fuzz__"'
run = 'mise run //:fuzz nushell "{{ usage.target }}"'