53 lines
1.8 KiB
YAML
53 lines
1.8 KiB
YAML
name: dew_workspace
|
|
description: A Dart workspace for the dew project management tool.
|
|
version: 0.1.0
|
|
repository: https://github.com/artificerchris/dew
|
|
publish_to: none
|
|
|
|
environment:
|
|
sdk: ^3.12.0
|
|
workspace:
|
|
- packages/cli
|
|
- packages/core
|
|
- packages/kanban
|
|
- packages/mcp
|
|
- packages/vault
|
|
|
|
dev_dependencies:
|
|
file: ^7.0.1
|
|
lints: ^6.0.0
|
|
melos: ^7.0.0
|
|
|
|
|
|
melos:
|
|
scripts:
|
|
analyze:
|
|
description: Run static analysis across workspace packages.
|
|
run: melos exec --fail-fast -- dart analyze
|
|
test:
|
|
description: Run package tests across workspace packages that define tests.
|
|
run: melos exec --fail-fast --dir-exists=test -- dart test
|
|
format:
|
|
description: Format the workspace.
|
|
run: dart format .
|
|
dew:
|
|
description: >-
|
|
Run the Dew CLI via 'dart run' (for development). Pass subcommands and
|
|
args directly (e.g. melos run dew kanban). Use 'help <command>' for
|
|
usage (e.g. melos run dew help kanban).
|
|
NOTE: 'mcp serve' must be run via the compiled binary (see compile
|
|
script) because melos pollutes stdout, which breaks the stdio MCP
|
|
transport.
|
|
run: dart run packages/cli/bin/dew.dart
|
|
compile:
|
|
description: >-
|
|
Compile the Dew CLI to a native binary at .project/toolchain/bin/dew
|
|
(.project/toolchain/bin/dew.exe on Windows). Use the compiled binary to
|
|
run 'dew mcp serve' from your MCP client config — this keeps stdout
|
|
clean for the JSON-RPC channel.
|
|
run: dart compile exe packages/cli/bin/dew.dart -o .project/toolchain/bin/dew
|
|
install:local:
|
|
description: >-
|
|
Compile and install the Dew CLI to ~/.local/bin/dew so it is available
|
|
globally on your PATH. Requires ~/.local/bin to be on PATH.
|
|
run: dart compile exe packages/cli/bin/dew.dart -o ~/.local/bin/dew
|