Commit Graph

67 Commits

Author SHA1 Message Date
Chenlei Hu
cd66fa4711 0.7.45 (#71) 2024-08-16 10:54:23 -04:00
Chenlei Hu
f913d66c46 0.7.44 (#69) 2024-08-11 10:09:20 -04:00
Chenlei Hu
c5b0327cfe 0.7.43 (#65) 2024-08-09 11:33:43 -04:00
Chenlei Hu
16a3d384b6 ES6 class convertion of LGraph (#63)
* LGraph ES6 class conversion

* Add compatibility to prototype extension

* Add jest test action

---------

Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com>
2024-08-09 11:20:05 -04:00
Chenlei Hu
704b8e291e Remove legacy unused files (#57) 2024-08-06 11:50:35 -04:00
Chenlei Hu
d2ef32fcb5 Fix Vite build (#55)
* Fix build output

* 0.7.37

* Fix type export

* 0.7.38

* Adjust build

* 0.7.39

* Add css to package declaration

* 0.7.40

* ESM style named export

* 0.7.41

* Fix style export for unit test

* 0.7.42
2024-08-06 10:56:57 -04:00
Chenlei Hu
25a2a6c5c9 0.7.36 (#54) 2024-08-06 09:36:53 -04:00
filtered
ddd1ac4f99 Add vite build (#53)
* Add vite build - baseline

* Fix build output folder structure

Matches pre-vite output

* Fix litegraph errors introduced by vite process

- Remove pre-written encapsulating iife (one is injected by vite)
- Replace all references to the global "this" with globalThis
2024-08-06 09:14:17 -04:00
Chenlei Hu
dbb174b083 0.7.35 (#43) 2024-07-31 10:58:15 -04:00
Chenlei Hu
daa33fad94 0.7.34 (#40)
* 0.7.33

* Fix types

* 0.7.34

* Update readme
2024-07-30 16:09:07 -04:00
Chenlei Hu
58c1f6ea32 0.7.32 (#36) 2024-07-29 21:36:27 -04:00
Chenlei Hu
2c087519d7 0.7.31 (#35) 2024-07-28 14:06:31 -04:00
Chenlei Hu
8742788747 0.7.30 (#34) 2024-07-28 13:25:46 -04:00
Chenlei Hu
a86d8797c5 0.7.29 (#28) 2024-07-23 11:16:45 -04:00
Chenlei Hu
04946a6fc9 0.7.28 (#27) 2024-07-23 11:08:11 -04:00
Chenlei Hu
6280fbf2c7 0.7.27 (#25)
* Update README

* 0.7.27
2024-07-23 10:50:56 -04:00
Chenlei Hu
10a30604f4 0.7.26 (#22)
* 0.7.26

* README update
2024-07-18 15:51:51 -04:00
Chenlei Hu
ac8cb33ac1 0.7.25 (#15) 2024-07-07 23:22:02 -04:00
Chenlei Hu
9b28af1800 0.7.24 (#13) 2024-07-07 18:35:57 -04:00
Chenlei Hu
8e9a0898e5 Revert ESM change (#11) 2024-07-06 18:39:59 -04:00
Chenlei Hu
e361b39f36 Emit searchbox triggering canvas events (#10)
* Emit canvas event

* Update version
2024-07-06 18:13:26 -04:00
Chenlei Hu
2a935df408 Use ESM style export (#9)
* ESM style export

* Update version
2024-07-06 17:49:57 -04:00
Chenlei Hu
7d211fa4d1 Update version (#8) 2024-07-05 19:51:13 -04:00
Chenlei Hu
1933526a61 Distribute src/litegraph.js (#6)
* Use most-up-to-date src/litegraph.js as index

* Update version

* nit
2024-07-05 18:35:32 -04:00
Chenlei Hu
8f1d91f952 Make necessary type def changes for TS repo (#3)
* Make necessary type def changes for TS repo

* Revert unwanted changes

* Revert more accidental changes

* Update version
2024-07-05 15:48:20 -04:00
Chenlei Hu
716180540f Change main to litegraph.core.js (#5) 2024-07-05 15:27:49 -04:00
Chenlei Hu
721c4a9556 Only publish litegraph.core.js (#4)
* Only publish litegraph.core.js

* Update version
2024-07-05 15:24:27 -04:00
Chenlei Hu
a59f6e8001 Update repo info (#2) 2024-07-05 12:33:46 -04:00
tamat
2d83d6e62c fixed bug in operator 2023-10-05 10:54:37 +02:00
Moritz Ulmer
aec5d622a9 Remove extending the Javascript builtin objects
- Remove extending the Math & CanvasRenderingContext2D classes.
  - It was messing up the typescript 4.9+
  - Using the built-in roundRect function
  - Adding global clamp function
- Add some type corrections in litegraph.d.ts
- Fix a couple of build issues

Co-authored-by: Ranuka Perera <premium@sawrc.com>
Co-authored-by: Moritz Ulmer <moritz.ulmer@posteo.de>
2023-06-30 13:45:43 +02:00
tamat
8ae1e5568d Merge branch 'master' of https://github.com/jagenjo/litegraph.js 2023-04-11 08:58:01 +02:00
tamat
42cbc5838c just changing modes 2023-04-11 08:57:53 +02:00
Moritz Ulmer
c3f0d587a5 Use older Jest for Node.js 12
Why:

- Allow tests to run on oldest targeted ECMAScript version

This change addresses the need by:

- Add script to run tests against older JS versions
2023-04-10 15:12:03 +02:00
Moritz Ulmer
c18df08a74 Add tests for registerNodeType
Why:

- Ensure that the function works as expected

This change addresses the need by:

- Add tests
- Remove duplicate logic
2023-03-31 15:04:49 +02:00
Moritz Ulmer
6366f9132b Add first test
Why:

- Every journey starts with a first step

This change addresses the need by:

- Adding jest and a test
- Resolve ESLint warnings/errors in the tested function
2023-03-20 16:08:50 +01:00
tamat
667b04f62a replaced old roundRect function 2021-08-16 16:45:36 +02:00
tamat
f44aeb8b4e 0.7.9 2021-01-05 17:35:27 +01:00
Zoltán Gotthardt
5d7e1af147 Update package.json 2020-06-02 15:56:51 +02:00
Zoltán Gotthardt
7847e4e08e Update package.json 2020-06-02 15:29:01 +02:00
tamat
3087acad00 0.7.8 2020-05-03 13:47:49 +02:00
tamat
30e78c5d10 0.7.7 2020-04-27 00:22:46 +02:00
tamat
c54e6ca3bb 0.7.6 2020-04-26 23:57:02 +02:00
tamat
99e1d85f4f 0.7.5 2020-04-06 12:03:37 +02:00
tamat
e8eda9d30f fixes in audio 2020-03-25 13:13:58 +01:00
tamat
b550042709 fix 2020-02-15 01:45:16 +01:00
tamat
a4352d5624 fix in onNodeDeselected 2019-11-11 16:30:04 +01:00
tamat
775b714861 fixed bug in copy 2019-10-29 10:40:33 +01:00
NateScarlet
a7a1bd3aa5 feat: support typescript
add type definitions
2019-05-08 15:47:41 +08:00
NateScarlet
3bb3ccc98b chore: configure eslint 2019-04-28 20:05:59 +08:00
NateScarlet
5c5caec9b8 chore: configure prettier 2019-04-25 20:54:42 +08:00