diff --git a/cookiecutter.json b/cookiecutter.json index a34290c..5d6c82b 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -2,7 +2,7 @@ "full_name": "", "email": "you@gmail.com", "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", diff --git a/{{cookiecutter.project_name}}/.editorconfig b/{{cookiecutter.project_slug}}/.editorconfig similarity index 100% rename from {{cookiecutter.project_name}}/.editorconfig rename to {{cookiecutter.project_slug}}/.editorconfig diff --git a/{{cookiecutter.project_name}}/.github/ISSUE_TEMPLATE.md b/{{cookiecutter.project_slug}}/.github/ISSUE_TEMPLATE.md similarity index 87% rename from {{cookiecutter.project_name}}/.github/ISSUE_TEMPLATE.md rename to {{cookiecutter.project_slug}}/.github/ISSUE_TEMPLATE.md index 4732fba..328ba0a 100644 --- a/{{cookiecutter.project_name}}/.github/ISSUE_TEMPLATE.md +++ b/{{cookiecutter.project_slug}}/.github/ISSUE_TEMPLATE.md @@ -1,4 +1,4 @@ -* {{ cookiecutter.project_name }} version: +* {{ cookiecutter.project_slug }} version: * Python version: * Operating System: diff --git a/{{cookiecutter.project_name}}/.github/workflows/build-pipeline.yml b/{{cookiecutter.project_slug}}/.github/workflows/build-pipeline.yml similarity index 100% rename from {{cookiecutter.project_name}}/.github/workflows/build-pipeline.yml rename to {{cookiecutter.project_slug}}/.github/workflows/build-pipeline.yml diff --git a/{{cookiecutter.project_name}}/.github/workflows/publish_node.yml b/{{cookiecutter.project_slug}}/.github/workflows/publish_node.yml similarity index 100% rename from {{cookiecutter.project_name}}/.github/workflows/publish_node.yml rename to {{cookiecutter.project_slug}}/.github/workflows/publish_node.yml diff --git a/{{cookiecutter.project_name}}/.gitignore b/{{cookiecutter.project_slug}}/.gitignore similarity index 100% rename from {{cookiecutter.project_name}}/.gitignore rename to {{cookiecutter.project_slug}}/.gitignore diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml similarity index 100% rename from {{cookiecutter.project_name}}/.pre-commit-config.yaml rename to {{cookiecutter.project_slug}}/.pre-commit-config.yaml diff --git a/{{cookiecutter.project_name}}/LICENSE b/{{cookiecutter.project_slug}}/LICENSE similarity index 100% rename from {{cookiecutter.project_name}}/LICENSE rename to {{cookiecutter.project_slug}}/LICENSE diff --git a/{{cookiecutter.project_name}}/MANIFEST.in b/{{cookiecutter.project_slug}}/MANIFEST.in similarity index 100% rename from {{cookiecutter.project_name}}/MANIFEST.in rename to {{cookiecutter.project_slug}}/MANIFEST.in diff --git a/{{cookiecutter.project_name}}/README.md b/{{cookiecutter.project_slug}}/README.md similarity index 98% rename from {{cookiecutter.project_name}}/README.md rename to {{cookiecutter.project_slug}}/README.md index 1f46a7c..7d96b6f 100644 --- a/{{cookiecutter.project_name}}/README.md +++ b/{{cookiecutter.project_slug}}/README.md @@ -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 ``` diff --git a/{{cookiecutter.project_name}}/__init__.py b/{{cookiecutter.project_slug}}/__init__.py similarity index 89% rename from {{cookiecutter.project_name}}/__init__.py rename to {{cookiecutter.project_slug}}/__init__.py index e9f1ea4..1ef5461 100644 --- a/{{cookiecutter.project_name}}/__init__.py +++ b/{{cookiecutter.project_slug}}/__init__.py @@ -1,4 +1,4 @@ -"""Top-level package for {{cookiecutter.project_name}}.""" +"""Top-level package for {{cookiecutter.project_slug}}.""" __all__ = [ "NODE_CLASS_MAPPINGS", diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml similarity index 100% rename from {{cookiecutter.project_name}}/pyproject.toml rename to {{cookiecutter.project_slug}}/pyproject.toml diff --git a/{{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/__init__.py b/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/__init__.py similarity index 100% rename from {{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/__init__.py rename to {{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/__init__.py diff --git a/{{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/nodes.py b/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/nodes.py similarity index 100% rename from {{cookiecutter.project_name}}/src/{{cookiecutter.project_slug}}/nodes.py rename to {{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/nodes.py diff --git a/{{cookiecutter.project_name}}/tests/__init__.py b/{{cookiecutter.project_slug}}/tests/__init__.py similarity index 100% rename from {{cookiecutter.project_name}}/tests/__init__.py rename to {{cookiecutter.project_slug}}/tests/__init__.py diff --git a/{{cookiecutter.project_name}}/tests/conftest.py b/{{cookiecutter.project_slug}}/tests/conftest.py similarity index 100% rename from {{cookiecutter.project_name}}/tests/conftest.py rename to {{cookiecutter.project_slug}}/tests/conftest.py diff --git a/{{cookiecutter.project_name}}/tests/pytest.ini b/{{cookiecutter.project_slug}}/tests/pytest.ini similarity index 100% rename from {{cookiecutter.project_name}}/tests/pytest.ini rename to {{cookiecutter.project_slug}}/tests/pytest.ini diff --git a/{{cookiecutter.project_name}}/tests/test_{{cookiecutter.project_slug}}.py b/{{cookiecutter.project_slug}}/tests/test_{{cookiecutter.project_slug}}.py similarity index 100% rename from {{cookiecutter.project_name}}/tests/test_{{cookiecutter.project_slug}}.py rename to {{cookiecutter.project_slug}}/tests/test_{{cookiecutter.project_slug}}.py diff --git a/{{cookiecutter.project_name}}/web/js/example.js b/{{cookiecutter.project_slug}}/web/js/example.js similarity index 100% rename from {{cookiecutter.project_name}}/web/js/example.js rename to {{cookiecutter.project_slug}}/web/js/example.js