Skip to content

Commit b676604

Browse files
authored
Update README (#93)
1 parent e05a33c commit b676604

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ Front-end of [ComfyUI](https://github.com/comfyanonymous/ComfyUI) modernized. Th
88

99
- Migrate all code to TypeScript with minimal change modification to the original logic.
1010
- Bundle all code with vite's rollup build.
11-
- Added a shim layer to be backward compatible with the existing extension system. https://github.com/huchenlei/ComfyUI_frontend/pull/15
11+
- Added a shim layer to be backward compatible with the existing extension system. <https://github.com/huchenlei/ComfyUI_frontend/pull/15>
1212
- Front-end dev server.
1313
- Zod schema for input validation on ComfyUI workflow.
14-
- Make litegraph a npm dependency.
14+
- Make litegraph a npm dependency. <https://github.com/Comfy-Org/ComfyUI_frontend/pull/89>
1515

1616
### What to be done
1717

18-
- Replace the existing ComfyUI front-end impl.
18+
- Replace the existing ComfyUI front-end impl (<https://github.com/comfyanonymous/ComfyUI/pull/3897>).
19+
- Remove `@ts-ignore`s.
1920
- Turn on `strict` on `tsconfig.json`.
20-
- Introduce react to start managing part of the UI.
21+
- Introduce Vue to start managing part of the UI.
22+
23+
- Starting with node search box revamp
2124
- Introduce a UI library to add more widget types for node developers.
2225
- LLM streaming node.
2326
- Linear mode (Similar to InvokeAI's linear mode).
@@ -27,14 +30,21 @@ Front-end of [ComfyUI](https://github.com/comfyanonymous/ComfyUI) modernized. Th
2730

2831
## Development
2932

33+
### Git pre-commit hooks
34+
35+
Run `npm run prepare` to install Git pre-commit hooks. Currently, the pre-commit
36+
hook is used to auto-format code on commit.
37+
38+
### Dev Server
39+
3040
Note: The dev server will NOT load any extension from the ComfyUI server. Only
3141
core extensions will be loaded.
3242

3343
- Run `npm install` to install the necessary packages
3444
- Start local ComfyUI backend at `localhost:8188`
3545
- Run `npm run dev` to start the dev server
3646

37-
## Test
47+
### Test
3848

3949
- `npm i` to install all dependencies
4050
- `npm run test:generate` to fetch `tests-ui/data/object_info.json`
@@ -45,4 +55,5 @@ core extensions will be loaded.
4555
Copy everything under `dist/` to `ComfyUI/web/` in your ComfyUI checkout.
4656

4757
## Breaking changes
58+
4859
- api.api_url now adds a prefix `api/` to every url going through the method. If the custom node registers a new api endpoint but does not offer the `api/` prefixed alt endpoint, it will have issue. Luckily there aren't many extensions that do that. We can perform an audit before launching to resolve this issue.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"test": "npm run build && jest",
1313
"test:generate": "npx tsx tests-ui/setup",
1414
"test:browser": "npx playwright test",
15+
"prepare": "husky || true",
1516
"preview": "vite preview"
1617
},
1718
"devDependencies": {

0 commit comments

Comments
 (0)