Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/nushell/mise.toml

Raw
[tasks.bench]
description = "Benchmark fresh and persistent 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"] },
]