This commit completes the migration started in the previous commit, updating all remaining files: - Lexer: Changed token from Extends to Modifies - Parser: Updated lalrpop grammar rules and AST field names - AST: Renamed Schedule.extends field to modifies - Grammar: Updated tree-sitter grammar.js - Tree-sitter: Regenerated parser.c and node-types.json - Examples: Updated baker-family work schedules - Tests: Updated schedule composition tests and corpus - Docs: Updated all reference documentation and tutorials - Validation: Updated error messages and validation logic - Package: Bumped version to 0.3.1 in all package manifests All 554 tests pass.
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[workspace]
|
|
members = [".", "xtask"]
|
|
exclude = ["tree-sitter-storybook"]
|
|
|
|
[package]
|
|
name = "storybook"
|
|
version = "0.3.1"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "storybook"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "sb"
|
|
path = "src/bin/sb.rs"
|
|
|
|
[[bin]]
|
|
name = "storybook-lsp"
|
|
path = "src/bin/storybook-lsp.rs"
|
|
|
|
[dependencies]
|
|
logos = "0.14"
|
|
lalrpop-util = "0.21"
|
|
miette = { version = "7.0", features = ["fancy"] }
|
|
thiserror = "1.0"
|
|
strsim = "0.11" # Fuzzy matching for "did you mean?" suggestions
|
|
indexmap = "2.0" # Order-preserving maps
|
|
petgraph = "0.6" # Cycle detection
|
|
# Phase 3: Public API + CLI
|
|
anyhow = "1.0" # Error handling
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
notify = "6.0" # Filesystem watching
|
|
toml = "0.8" # storybook.toml parsing
|
|
walkdir = "2.4" # Directory traversal
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
# LSP Server dependencies
|
|
tower-lsp = "0.20"
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde_json = "1.0"
|
|
env_logger = "0.11"
|
|
|
|
[build-dependencies]
|
|
lalrpop = "0.21"
|
|
|
|
[dev-dependencies]
|
|
proptest = "1.4"
|
|
insta = "1.34"
|
|
tempfile = "3.8" # Temporary directories for integration tests
|