Skip to content

Commit

Permalink
Use project slug as directory name.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Dec 29, 2024
1 parent 1249e9d commit 5a2108a
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"full_name": "",
"email": "[email protected]",
"github_username": "your_github_username",
"project_name": "my-custom-nodepack",
"project_name": "My Custom Nodepack",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_').replace('comfyui_', '').replace('comfy_', '') }}",
"project_short_description": "A collection of custom nodes for ComfyUI",
"version": "0.0.1",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* {{ cookiecutter.project_name }} version:
* {{ cookiecutter.project_slug }} version:
* Python version:
* Operating System:

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
To install the dev dependencies and pre-commit (will run the ruff hook), do:

```bash
cd {{cookiecutter.project_name}}
cd {{cookiecutter.project_slug}}
pip install -e .[dev]
pre-commit install
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Top-level package for {{cookiecutter.project_name}}."""
"""Top-level package for {{cookiecutter.project_slug}}."""

__all__ = [
"NODE_CLASS_MAPPINGS",
Expand Down

0 comments on commit 5a2108a

Please sign in to comment.