Commit Graph

265 Commits

Author SHA1 Message Date
Chenlei Hu
2ae2e827d8 Add deploy script (#96) 2024-07-06 12:03:54 -04:00
Chenlei Hu
d6b2d5fb4f Use npm package @ComfyOrg/litegraph (#89)
* Use npm to manage litegraph

* Fix merge issues caused by BetaUI change

* Switch to @comfyorg/litegraph

* Fix various import

* Fix css apply order bug

* Fix package lock

* Update litegraph

* Update litegraph

* Update browsertest expectations

* Update test expectations [skip ci]

* Fix default view screenshot

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-07-05 20:53:47 -04:00
Chenlei Hu
acdaa6a594 Format all code / Add pre-commit format hook (#81)
* Add format-guard

* Format code
2024-07-02 13:22:37 -04:00
Chenlei Hu
4355b43332 Zip dist on build (#61) 2024-06-27 15:30:29 -04:00
Chenlei Hu
51b925f7ef Add playwright browser test (#48)
* Add playwright

* Add test:browser command

* Remove test examples

* Add basic node tests

* Add drag node test

* Merge workflows

* nit

* Localize jest

* Add local config

* Change working dir

* Use consistent fonts

* Fix emoji fonts

* Update github action to save expectation

* update on test failure

* push to head

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-24 09:41:40 -04:00
Chenlei Hu
3ace859106 Revert "Use npm to manage litegraph dependency (#45)" (#47)
This reverts commit 4640eaf0ac.
2024-06-20 13:55:36 -04:00
Chenlei Hu
4640eaf0ac Use npm to manage litegraph dependency (#45)
* Add comfyui-litegraph dep

* remove static copy

* Remove litegraph impl

* Fix various issues

* LiteGraph import

* Fix test ref issue

* Change to stable version of litegraph

* update README
2024-06-19 23:08:43 -04:00
huchenlei
7eb6734ddf 1.0.0 2024-06-18 21:42:29 -04:00
Chenlei Hu
d7bf368cec Bundle all dynamically loaded css (#28)
* static css

* Fix css import in tests
2024-06-18 13:58:21 -04:00
Chenlei Hu
e4b9cbbe17 Add back .js suffix on extension imports (#25) 2024-06-17 23:06:35 -04:00
Chenlei Hu
b11a12d925 Add workflow schema with zod (#22)
* Safe parse with zod

* Fix zod issue

* Fix all validation errors

* nit

* Add tests

* Add color fields

* Passthrough
2024-06-17 17:28:52 -04:00
Chenlei Hu
b794d96eff Bundle frontend app (#15)
* Add shim in vite build

* shim

* Move public back to src
2024-06-17 12:18:53 -04:00
Chenlei Hu
f85cb3d5e9 Migrate all tests to TypeScript (#19)
* Merge 2 npm repos

* Install ts-jest

* Update jestconfig

* Fix jest types

* jest fix

* Fix babel config ref issue

* Fix import

* Fix import meta issue

* fix generate

* Skip multi-user tests
2024-06-17 11:25:56 -04:00
Chenlei Hu
3fbb75ce76 Configure vite to copy from src to dist (#2)
* nit

* move

* direct copy lib dir

* nit

* disable treeshake
2024-06-13 23:09:10 -04:00
huchenlei
0711fa683c Bootstrap vite 2024-06-12 20:34:50 -04:00