Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit c537597

Browse files
Implement naming convention
1 parent 012cc06 commit c537597

File tree

1 file changed

+3
-3
lines changed
  • tree-sitter-stack-graphs/src/bin/tree-sitter-stack-graphs

1 file changed

+3
-3
lines changed

tree-sitter-stack-graphs/src/bin/tree-sitter-stack-graphs/init.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl ProjectSettings {
120120
};
121121
let project_npm_name: String = Input::new()
122122
.with_prompt("Project NPM package name")
123-
.with_initial_text("stack-graphs-".to_string() + &language_id)
123+
.with_initial_text("tree-sitter-stack-graphs-".to_string() + &language_id)
124124
.validate_with(regex_validator(&VALID_NPM_PKG))
125125
.interact_text()?;
126126
println!();
@@ -219,9 +219,9 @@ impl ProjectSettings {
219219
fn generate_readme(&self, project_path: &Path) -> anyhow::Result<()> {
220220
let mut file = File::create(project_path.join("README.md"))?;
221221
writedoc! {file, r####"
222-
# Stack graphs definition for {}
222+
# tree-sitter-stack-graphs definition for {}
223223
224-
This project defines stack graph rules for {} using the [{}](https://www.npmjs.com/package/{}) grammar.
224+
This project defines tree-sitter-stack-graphs rules for {} using the [{}](https://www.npmjs.com/package/{}) grammar.
225225
226226
## Development
227227

0 commit comments

Comments
 (0)