Ukendio
0292574b5f
Merge branch 'main' of https://github.com/Ukendio/jecs
2024-07-15 20:32:11 +02:00
Ukendio
02548f2ac0
Fix typo
2024-07-15 20:31:51 +02:00
Ukendio
459e670ce9
Change casing
2024-07-15 20:29:06 +02:00
EncodedVenom
86f241eae4
Update ci.yaml ( #82 )
2024-07-15 19:10:56 +02:00
EncodedVenom
0ce38c9d93
Improve workflows and use dedicated install luau script for CI ( #81 )
...
* increment checkout version (v3 is deprecated)
* Use action instead to simplify CI
* inc version
* increment version
* Change script
* inc version
* Finalize the CI workflow stuff
2024-07-15 02:32:02 +02:00
EncodedVenom
de5b4d4a9e
Add timeout ( #80 )
2024-07-14 22:05:50 +02:00
Ukendio
1b6cdd4791
Should return noop
2024-07-14 08:34:50 +02:00
Ukendio
48cc4dc7d5
Properly type EmptyQuery
2024-07-14 08:30:20 +02:00
Ukendio
150afc46e4
Rename replace function
2024-07-14 07:30:13 +02:00
Ukendio
43a19f5328
FLAGS_ADD
2024-07-14 07:16:24 +02:00
Marcus
8a7b3de004
Revert mirror ( #79 )
2024-07-14 06:35:13 +02:00
Ukendio
85a970e9ff
Less memory footprint
2024-07-14 05:38:44 +02:00
Ukendio
8bea43a9fc
Merge branch 'main' of https://github.com/Ukendio/jecs
2024-07-14 03:13:56 +02:00
Marcus
134c41014c
Rework tests ( #78 )
...
* Return empty query when Without removes all archetypes
* Type replace callback as Any
* Add test with ChangeTracker
* Rename tests files
* Fix indentation
* Change CI
2024-07-14 02:45:49 +02:00
EncodedVenom
44780f7f7b
Add Continuous Integration ( #76 )
...
* First attempt at CI
* second attempt
* attempt 3
* attempt 4
* Try using git env
* Combine steps
* Rename
* Run last step at all costs
* (testing workflow to see if it passes when it should)
* Workflow dispatch
* Revert commit that made unit tests pass (intentional)
2024-07-14 02:43:40 +02:00
Marcus
9cd00aacb4
Add skip to testkit ( #77 )
...
* Return empty query when Without removes all archetypes
* Adds skip
2024-07-14 02:37:16 +02:00
Ukendio
fd71c1e486
Merge branch 'main' of https://github.com/Ukendio/jecs
2024-07-14 02:04:44 +02:00
EncodedVenom
4dcb66902d
Fix docs formatting ( #75 )
2024-07-14 01:13:03 +02:00
EncodedVenom
8e9225772b
Start Work on Documentation ( #74 )
...
* init bug / feat templates
* capital J for style
* PR templates
* Combine templates because github be like that
* Out with the old
* package and package lock files
* Deploy docs workflow
* Absolutely massive commit (docs)
* Delete cache and add to gitignore
* Goodbye cache
2024-07-14 01:06:50 +02:00
EncodedVenom
d76f343cb0
Add Issue and PR templates ( #73 )
...
* init bug / feat templates
* capital J for style
* PR templates
* Combine templates because github be like that
2024-07-13 04:57:53 +02:00
Marcus
45adef066d
Fixed regression in Without ( #72 )
...
* Return empty query when Without removes all archetypes
* Type replace callback as Any
* Add test with ChangeTracker
2024-07-13 04:32:31 +02:00
Ukendio
570b72c778
Return empty query when Without removes all archetypes
2024-07-13 04:11:48 +02:00
Ukendio
e486c11dc2
bump wally version
2024-07-09 23:36:14 +02:00
Ukendio
fb3b8a5f67
Extract logic from ensureComponentRecord
2024-07-08 23:31:13 +02:00
EncodedVenom
7d2cd6219b
Add world.clear to types ( #68 )
...
* Sync typescript types to 0.2.2
* semicolon
* Add world.clear to the types
* Add luau type for clear
2024-07-08 16:04:28 +02:00
EncodedVenom
6b8dde8fd3
Fix EmptyQuery to properly return an empty iterator ( #70 )
...
* Fix EmptyQuery to properly return an empty iterator
* Remove actualNoOperation and enforce style guide
2024-07-08 16:04:04 +02:00
EncodedVenom
706eded24f
Add null query unit tests ( #69 )
...
* Add null query unit test
* Add unit test
* Update unit tests
* Remove __iter from already tested case
2024-07-08 15:51:34 +02:00
EncodedVenom
a62475471f
Update default.project.json ( #71 )
2024-07-08 14:43:35 +02:00
EncodedVenom
97d6955da0
Sync typescript types (v0.2.2) ( #65 )
...
* Sync typescript types to 0.2.2
* semicolon
2024-07-07 22:29:30 +02:00
Ukendio
4e9aa2ced0
Remove init.luau from src in main
2024-07-07 05:36:14 +02:00
Ukendio
ec88b25503
Fix grammar
2024-07-07 05:17:12 +02:00
Ukendio
cead7ceafe
Fix typings folder
2024-07-07 05:12:14 +02:00
Ukendio
d517ded636
Fix typings folder
2024-07-07 05:11:50 +02:00
Marcus
aa853de818
Release 0.2.2 ( #64 )
...
* Bump package versions
* Fix typo
2024-07-07 04:59:44 +02:00
Marcus
0fe23e151c
Add replace method to query ( #46 )
...
* Add replace function
* Add next method
* Remove tostring
* Fix EmptyQuery
* add replace method
* merge conflicts
* return self in without
* Make aliases relative
* Add test
* add to changelog
2024-07-07 04:53:17 +02:00
Ukendio
b73d7e12b7
Give aliases to jecs and testkit
2024-07-06 23:37:11 +02:00
Ukendio
60c6177815
Add luaurc
2024-07-06 23:30:14 +02:00
Marcus
c0e73273d1
Add backwards iteration ( #61 )
...
* Iterate backwards
* Should test for removing as well
* Add test
* Add faíling test
* Add to changelog
2024-07-06 16:36:00 +02:00
Marcus
6559c56d47
Initial commit ( #63 )
2024-07-06 16:21:44 +02:00
Ukendio
afc0c949f0
Bump wally version
2024-07-03 17:48:55 +02:00
Ukendio
de34636bb3
Add EcsComponent built-in component
2024-07-03 17:48:32 +02:00
EncodedVenom
f041d6fa74
Rename Matter -> Jecs in release workflow ( #60 )
...
* Rename Matter -> Jecs in release workflow
* Delete body from release message
This should theoretically prevent the overriding description bug that Ukendio mentioned on discord. Unsure since I haven't tested in another repo workflow yet.
2024-07-03 03:42:57 +02:00
Ukendio
bd2ed21fc3
Bump wally version
2024-07-03 02:47:29 +02:00
Ukendio
b4a1db871e
Change test to use built in component
2024-07-03 02:46:54 +02:00
Ukendio
0324d3a33f
ChildOf as built-in component
2024-07-03 02:23:16 +02:00
Ukendio
ebc916c7ef
Remove redundant TODO
2024-07-03 02:13:35 +02:00
Ukendio
ec833464a5
Add parent method
2024-07-03 02:10:16 +02:00
Ukendio
b8f35ccb85
Change variable names and style
2024-07-03 02:10:11 +02:00
Marcus
5ff6a43750
Add clear ( #59 )
...
* Rename files to luau
* Rename remaining files
* Update bench.project.json for luau files
* Stress test insertion
* Add clear
* Add a few guards
* Use next() in World.__iter
* Add tests
2024-07-03 01:24:17 +02:00
Ukendio
0f67cb1c86
tuple isnt optional
2024-07-02 14:20:35 +02:00