diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..0d3d899 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + - master + paths: + - "pyproject.toml" + +permissions: + issues: write + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'ComfyAssets' }} + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + submodules: true + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@v1 + with: + ## Add your own personal access token to your Github Repository secrets and reference it here. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9e9a66e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[project] +name = "kikotools" +description = "Simple tools for ComfyUI" +version = "1.0.0" +license = {file = "LICENSE"} +dependencies = ["# Development dependencies for ComfyUI-KikoTools", "# Testing framework", "pytest>=7.0.0", "pytest-cov>=4.0.0", "pytest-mock>=3.10.0", "# Code quality", "black>=23.0.0", "flake8>=6.0.0", "mypy>=1.0.0", "# Development utilities", "pre-commit>=3.0.0", "# ComfyUI testing (mock dependencies for unit tests)", "torch>=2.0.0", "numpy>=1.24.0", "pillow>=9.0.0"] + +[project.urls] +Repository = "https://github.com/ComfyAssets/ComfyUI-KikoTools" +# Used by Comfy Registry https://registry.comfy.org + +[tool.comfy] +PublisherId = "kiko9" +DisplayName = "ComfyUI-KikoTools" +Icon = "https://avatars.githubusercontent.com/u/213204677?s=200" +includes = [] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..355f3d7 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,19 @@ +# Development dependencies for ComfyUI-KikoTools + +# Testing framework +pytest>=7.0.0 +pytest-cov>=4.0.0 +pytest-mock>=3.10.0 + +# Code quality +black>=23.0.0 +flake8>=6.0.0 +mypy>=1.0.0 + +# Development utilities +pre-commit>=3.0.0 + +# ComfyUI testing (mock dependencies for unit tests) +torch>=2.0.0 +numpy>=1.24.0 +pillow>=9.0.0 \ No newline at end of file