This commit is contained in:
Chenlei Hu
2025-02-28 14:26:49 -05:00
committed by GitHub
parent 24e560bb2d
commit 7494b512ac
8 changed files with 11 additions and 9 deletions

View File

@@ -82,8 +82,8 @@ jobs:
run: python -m pip install build
- name: Setup pypi package
run: |
mkdir -p comfyui_frontend_package/comfyui_frontend/static/
cp -r dist/* comfyui_frontend_package/comfyui_frontend/static/
mkdir -p comfyui_frontend_package/comfyui_frontend_package/static/
cp -r dist/* comfyui_frontend_package/comfyui_frontend_package/static/
- name: Build pypi package
run: python -m build
working-directory: comfyui_frontend_package

View File

@@ -1,4 +1,4 @@
comfyui_frontend/static/*
comfyui_frontend_package/static/*
comfyui_frontend_package.egg-info/*
__pycache__/

View File

@@ -0,0 +1 @@
recursive-include comfyui_frontend_package/static *

View File

@@ -1 +0,0 @@
recursive-include comfyui_frontend/static *

View File

@@ -2,10 +2,12 @@
This is the pypi package structure for the comfyui frontend.
During build process, the compiled assets are copied into the `comfyui_frontend/static` directory.
During build process, the compiled assets are copied into the `${PROJECT_ROOT}/comfyui_frontend_package/comfyui_frontend_package/static` directory.
The package can be installed with the following command:
```bash
pip install comfyui_frontend
pip install comfyui-frontend-package
```
Ref: <https://pypi.org/project/comfyui-frontend-package/>

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@comfyorg/comfyui-frontend",
"version": "1.10.16",
"version": "1.10.17",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@comfyorg/comfyui-frontend",
"version": "1.10.16",
"version": "1.10.17",
"license": "GPL-3.0-only",
"dependencies": {
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",

View File

@@ -1,7 +1,7 @@
{
"name": "@comfyorg/comfyui-frontend",
"private": true,
"version": "1.10.16",
"version": "1.10.17",
"type": "module",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"homepage": "https://comfy.org",