fix(bindings): update swift & node dependencies (#4432) (#4499)

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
This commit is contained in:
tree-sitter-ci-bot[bot] 2025-06-07 15:09:22 -04:00 committed by GitHub
parent 415a657d08
commit 4fcf78cfec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 24 additions and 19 deletions

View file

@ -679,10 +679,13 @@ pub fn generate_grammar_files(
|path| generate_file(path, PACKAGE_SWIFT_TEMPLATE, language_name, &generate_opts),
|path| {
let mut contents = fs::read_to_string(path)?;
contents = contents.replace(
"https://github.com/ChimeHQ/SwiftTreeSitter",
"https://github.com/tree-sitter/swift-tree-sitter",
);
contents = contents
.replace(
"https://github.com/ChimeHQ/SwiftTreeSitter",
"https://github.com/tree-sitter/swift-tree-sitter",
)
.replace("version: \"0.8.0\")", "version: \"0.9.0\")")
.replace("(url:", "(name: \"SwiftTreeSitter\", url:");
write_file(path, contents)?;
Ok(())
},