YAML values like '1.0' (unquoted) parse as double, not String.
Changed parseStringList to use string interpolation ('$e') instead
of 'e as String', so numeric YAML scalars in labels/milestones
don't crash ticket parsing.
Also quote all '1.0' label values in existing ticket files so they
are unambiguously strings in YAML.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
31 lines
883 B
Markdown
31 lines
883 B
Markdown
---
|
|
id: DEW-0018
|
|
title: Switch path deps to versioned deps + add dependency_overrides for local dev
|
|
type: task
|
|
created: 2026-04-25T19:52:18.589466Z
|
|
milestones:
|
|
- 1.0.0
|
|
labels:
|
|
- 1.0
|
|
- metadata
|
|
---
|
|
|
|
pub.dev rejects path dependencies. Switch all inter-package deps to versioned, and use dependency_overrides in the workspace root for local development.
|
|
|
|
Changes needed:
|
|
- `packages/cli/pubspec.yaml`: change dew_core, dew_kanban, dew_mcp from `path: ../x` to `^1.0.0`
|
|
- `packages/kanban/pubspec.yaml`: change dew_core from `path: ../core` to `^1.0.0`
|
|
- `packages/mcp/pubspec.yaml`: change dew_core from `path: ../core` to `^1.0.0`
|
|
|
|
Add to root `pubspec.yaml`:
|
|
```yaml
|
|
dependency_overrides:
|
|
dew_core:
|
|
path: packages/core
|
|
dew_kanban:
|
|
path: packages/kanban
|
|
dew_mcp:
|
|
path: packages/mcp
|
|
```
|
|
|
|
After changes, run `dart pub get` at root and verify it resolves cleanly.
|