Commit Graph

869 Commits

Author SHA1 Message Date
Chenlei Hu
218b0aa937 1.0.1 (#84) 2024-07-03 11:26:13 -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
ee6788a35e Add object_info schema (#67) 2024-06-30 10:14:16 -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
Ping
7884faf516 chore: add --noEmit to tsc and extract it to typecheck script (#16) 2024-06-15 16:33:03 -04:00
Chenlei Hu
2595d12a84 Re-enable TSC on build (#5)
* Fix fall through

* Re-enable tsc
2024-06-14 09:55:33 -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
24f1dde35f Add test command guide 2024-06-13 17:25:32 -04:00
huchenlei
0711fa683c Bootstrap vite 2024-06-12 20:34:50 -04:00
huchenlei
97a90a49d0 Add package.json 2024-06-12 20:26:28 -04:00