Commit graph

461 commits

Author SHA1 Message Date
Ukendio
753adf884d Bump 2025-01-15 19:24:14 +01:00
Ukendio
bc11bd9cff Merge unit testing 2025-01-15 13:11:22 +01:00
Ukendio
d85a8914d9 Fix names on workflow files 2025-01-15 13:10:05 +01:00
Marcus
fb372d7e09
Update unit-testing.yaml 2025-01-15 13:08:32 +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
Some checks are pending
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
Some checks are pending
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)
Some checks failed
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
EncodedVenom
aafafc90b2
chore: bump (testing npm action)
Some checks are pending
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-04 00:36:42 -05:00
EncodedVenom
302dedd538
chore: give a name to the publish npm action (I forgor sorry) 2025-01-04 00:29:30 -05:00
EncodedVenom
08c0d24f18
Create publish-npm.yml (#172) 2025-01-04 06:26:07 +01:00
juste
489366bb8e
Update ts declarations (#170)
Some checks failed
Analysis / Run Luau Analyze (push) Has been cancelled
Deploy VitePress site to Pages / build (push) Has been cancelled
Unit Testing / Run Luau Tests (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
2025-01-02 10:39:29 +01:00
EncodedVenom
c8884c8eac
bump ver
Some checks failed
Analysis / Run Luau Analyze (push) Has been cancelled
Deploy VitePress site to Pages / build (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-27 14:20:06 -05:00
EncodedVenom
500c494812
Fix unit test 2024-12-27 14:09:39 -05:00
EncodedVenom
0243efe4ba
Remove pin on luau version 2024-12-27 14:05:10 -05:00
Ukendio
f8b3772bce Fix spelling error
Some checks are pending
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
1c8a4967e3 Bump patch 2024-12-27 03:47:43 +01:00
Ukendio
b14e984c66 Fix shadowed variable 2024-12-27 03:47:02 +01:00
Ukendio
ed3b2ae35d Bump
Some checks are pending
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 07:05:20 +01:00
Ukendio
b2fc046ef0 Changed Pair type 2024-12-26 07:04:40 +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)
Some checks are pending
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)
Some checks are pending
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
Some checks failed
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
Some checks are pending
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)
Some checks are pending
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
maeriil
d9be40d2ca
resolves requiring ecs path issue for demo (#160) 2024-11-30 06:11:17 +01:00
Ukendio
dec958b058 Update changelog 2024-11-23 20:52:01 +01:00
Ukendio
042903df93 Fix entity type 2024-11-23 20:50:31 +01:00
Ukendio
46147cc9f9 Remove upvalues 2024-11-23 20:50:15 +01:00
Ukendio
727cc93a7d Update workflows 2024-11-23 04:47:12 +01:00
Ukendio
24ccd2cc98 Bump 2024-11-23 04:46:03 +01:00
Ukendio
b7a5785dbb Cleanup repository 2024-11-23 04:42:54 +01:00
Ukendio
dacec22efa Stylua shenanigans 2024-11-23 00:49:10 +01:00
Ukendio
adf09d2412 Add trailing comma to type 2024-11-22 23:07:58 +01:00
Ukendio
95d6a6f398 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-11-22 23:06:27 +01:00
Ukendio
1dd108401f Merge Archetype with its node interface 2024-11-22 23:06:17 +01:00
Christopher Buss
8c90749c39
fix(ci): stylua ci failing (#158) 2024-11-22 22:14:10 +01:00
Ukendio
59abdcbe6f Fix type error on World.add in debug mode 2024-11-21 04:13:12 +01:00
Ukendio
78127d73e9 Update jabby code 2024-11-21 04:12:36 +01:00
Ukendio
9ce28b999f Merge branch 'main' of https://github.com/Ukendio/jecs 2024-11-20 18:28:44 +01:00
Ukendio
166e572815 Add comma 2024-11-20 18:28:36 +01:00
ChinoUkaegbu
46f99a5e2b
Fix typos in docs (#151)
* fix typos in docs

* Update component-traits.md
2024-11-17 21:05:20 +01:00
Ukendio
39490eef99 Merge branch 'main' of https://github.com/Ukendio/jecs 2024-11-17 19:06:48 +01:00
Ukendio
9a98c6508a Bump 2024-11-17 19:06:40 +01:00
EncodedVenom
3cde5c8152
Create dependabot.yml 2024-11-16 21:16:23 -05:00
EncodedVenom
638272bfcf
Update unit-testing.yaml 2024-11-16 16:38:42 -05:00