Ketasaja
7af6908781
Fix types ( #190 )
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-02-14 10:51:30 +01:00
Ukendio
0064f24924
Merge branch 'main' of https://github.com/Ukendio/jecs
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-02-09 20:38:08 +01:00
Ketasaja
6ec0b0bb8b
Change entity type ( #189 )
2025-02-09 20:37:20 +01:00
Ukendio
44534b7c81
Improve deletion
2025-02-01 13:07:55 +01:00
Ukendio
cc7daa6a06
Cleanup codebase
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-01-29 08:28:08 +01:00
Ukendio
0cb7558fbb
Fix types on idr
2025-01-17 11:17:07 +01:00
Intrinsic
5e3739036a
Fixed hooks invocation in the event of relationship target deletion. ( #179 )
...
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
* Fixed hooks invocation (case #3 )
* Reverted world:component() to world:entity()
Co-authored-by: lolmanurfunny <77128366+lolmanurfunny@users.noreply.github.com>
* Removed whitespace
---------
Co-authored-by: lolmanurfunny <77128366+lolmanurfunny@users.noreply.github.com>
2025-01-17 01:46:14 +01:00
Magic
0296c4b2f9
fix 'jecs.World.new()' being inferred to return 'any' ( #177 )
2025-01-17 00:45:55 +01:00
Intrinsic
c354a29fb1
Fixed world:delete() not invoking OnRemove hooks. ( #178 )
...
* Fixed cached wildcard queries
* Fixed world:delete() not calling OnRemove hook
* Typo in hooks fix
* Fixed test case
* Fixed test case (again)
* Fixed test case (again 2x)
* Now it should work
2025-01-17 00:45:29 +01:00
Intrinsic
669c216387
Fixed cached wildcard queries ( #176 )
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-01-16 09:02:21 +01:00
Laud Boateng
bce46bc93f
Fix World Each to iterate multiple archetypes ( #174 )
...
* Add tests for entity-child relationships and removal in world queries, fixed world_each
* Correct test case
---------
Co-authored-by: Marcus <ukendio@gmail.com>
2025-01-15 13:03:28 +01:00
Ukendio
bacf056851
Optimize removal of children
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Publish to NPM / publish (push) Waiting to run
Unit Testing / Run Luau Tests (push) Waiting to run
2025-01-14 22:11:45 +01:00
Ukendio
4392f94126
Merge branch 'main' of https://github.com/Ukendio/jecs
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Publish to NPM / publish (push) Waiting to run
Unit Testing / Run Luau Tests (push) Waiting to run
2025-01-14 11:09:28 +01:00
Ukendio
6123946e11
Improve cached queries
2025-01-14 11:09:18 +01:00
vnnh
509048b9df
Fix table.move usage in query_cached ( #173 )
...
Analysis / Run Luau Analyze (push) Has been cancelled
Deploy VitePress site to Pages / build (push) Has been cancelled
Publish to NPM / publish (push) Has been cancelled
Unit Testing / Run Luau Tests (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
* Fix table.move usage in query_cached
* Add test case
2025-01-05 06:41:52 +01:00
Ukendio
f8b3772bce
Fix spelling error
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Unit Testing / Run Luau Tests (push) Waiting to run
2024-12-27 04:50:15 +01:00
Ukendio
fad88419a3
Fix type errors
2024-12-27 04:34:17 +01:00
Ukendio
b14e984c66
Fix shadowed variable
2024-12-27 03:47:02 +01:00
Marcus
ec4fa3ff3e
Add cached queries ( #166 )
...
* Initial commit
* Add tests
* Dedup observers
* Handle filters on table creation
* Handle Archetype deletion
* Remove print
* Fix type errors
* Cleanup code
* Manually inline code
* Build terms for cached queries
* Specialized cached query iterator
* Remove shadowed variable
* Inverse statement
* Rework demo
* Fix metatable
* Use generalized iteration
2024-12-26 06:15:41 +01:00
Marcus
0f2e0eba76
Initial commit ( #167 )
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Unit Testing / Run Luau Tests (push) Waiting to run
2024-12-26 01:06:14 +01:00
Marcus
eaafd27280
Add support for components in both positions of pairs ( #164 )
...
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Unit Testing / Run Luau Tests (push) Waiting to run
* Add support for components in both positions of pairs
* Export type function
* Rework query types
2024-12-24 22:39:32 +01:00
Marcus
ee9bc6a775
Remove stylua ( #163 )
...
* Add support for components in both positions of pairs
* Remove stylua workflow!
* remove file
2024-12-24 22:38:25 +01:00
Ukendio
7c025a3782
Fix linting errors from debug.info
Analysis / Run Luau Analyze (push) Has been cancelled
Deploy VitePress site to Pages / build (push) Has been cancelled
Styling / Run Stylua (push) Has been cancelled
Unit Testing / Run Luau Tests (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
2024-12-21 22:08:46 +01:00
Ukendio
02cb4ad7a2
Prevent iterator invalidation in world:each
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Styling / Run Stylua (push) Waiting to run
Unit Testing / Run Luau Tests (push) Waiting to run
2024-12-21 06:51:48 +01:00
Marcus
4841915af3
Specialized method to find entities with a single ID ( #165 )
...
Analysis / Run Luau Analyze (push) Waiting to run
Deploy VitePress site to Pages / build (push) Waiting to run
Deploy VitePress site to Pages / Deploy (push) Blocked by required conditions
Styling / Run Stylua (push) Waiting to run
Unit Testing / Run Luau Tests (push) Waiting to run
* Initial commit
* Export query functions to make Michael happy
* Adding trailing commas
2024-12-20 13:08:50 +01:00
Ukendio
46147cc9f9
Remove upvalues
2024-11-23 20:50:15 +01:00
Ukendio
b7a5785dbb
Cleanup repository
2024-11-23 04:42:54 +01:00