Files
storybook/tree-sitter-storybook/Cargo.toml
Sienna Meridian Satterwhite 37793cea0d fix(deps): update dependencies and fix all compilation errors
Updated dependencies to latest versions causing breaking changes:
- logos: 0.14 -> 0.16
- lalrpop: 0.21 -> 0.23
- thiserror: 1.0 -> 2.0
- petgraph: 0.6 -> 0.8
- notify: 6.0 -> 8
- toml: 0.8 -> 1.0.2
- tree-sitter (grammar): 0.20 -> 0.26

Fixed compilation issues:
1. logos 0.16: Added allow_greedy for unbounded repetitions in lexer
2. lalrpop 0.23: Changed from process_current_dir() to process()
3. tree-sitter 0.26: Updated bindings to use &Language reference

Also fixed Zed extension:
- Removed local highlights.scm override that had diverged from source
- Added regression test to prevent future divergence
2026-02-16 23:49:29 +00:00

28 lines
526 B
TOML

[workspace]
[package]
name = "tree-sitter-storybook"
version = "0.3.1"
description = "Tree-sitter grammar for Storybook narrative DSL"
authors = ["Storybook Contributors"]
license = "MIT"
readme = "README.md"
keywords = ["tree-sitter", "parser", "storybook"]
repository = "https://github.com/yourusername/storybook"
edition = "2021"
include = [
"bindings/rust/*",
"grammar.js",
"queries/*",
"src/*"
]
[lib]
path = "bindings/rust/lib.rs"
[dependencies]
tree-sitter = "~0.26"
[build-dependencies]
cc = "1.0"